Thread (5 messages) 5 messages, 2 authors, 2012-01-18

kernel module parameter

From: Simon Leung <hidden>
Date: 2012-01-18 16:04:52

My kernel is 2.6.21. I can see /sys/modules/... but there is no 
parameter directory.

Thanks,

On 18/01/12 15:40, Manohar Vanga wrote:
Hey Simon,

I found this: http://lwn.net/Articles/85654/
Does that help?

On Wed, Jan 18, 2012 at 4:29 PM, Simon Leung <simonleung@gmx.com 
<mailto:simonleung@gmx.com>> wrote:

    Thanks. When was this interface introduced? I can't find it on my
    system but my kernel is a bit old.



    On 18/01/12 15:26, Manohar Vanga wrote:

        $ ls /sys/module/MODULE_NAME/parameters/


        On Wed, Jan 18, 2012 at 4:20 PM, Simon Leung
        <simonleung at gmx.com <mailto:simonleung@gmx.com>
        <mailto:simonleung at gmx.com <mailto:simonleung@gmx.com>>> wrote:

           Hi all,

           Is there a way to find out what parameters were used when
        loading the
           kernel module. E.g. After loading the driver with 'insmode
        foo.ko
           param1=bla'. How can find out later on about those parameter?


           Thanks,


           _______________________________________________
           Kernelnewbies mailing list
        Kernelnewbies at kernelnewbies.org
        <mailto:Kernelnewbies@kernelnewbies.org>
        <mailto:Kernelnewbies@kernelnewbies.org
        <mailto:Kernelnewbies@kernelnewbies.org>>
        http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




        -- 
        /manohar





-- 
/manohar


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help