kernel module parameter

Simon Leung simonleung at gmx.com
Wed Jan 18 11:04:52 EST 2012


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 at gmx.com 
> <mailto:simonleung at 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 at gmx.com>
>         <mailto:simonleung at gmx.com <mailto:simonleung at 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 at kernelnewbies.org>
>         <mailto:Kernelnewbies at kernelnewbies.org
>         <mailto:Kernelnewbies at 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




More information about the Kernelnewbies mailing list