* kernel module parameter
@ 2012-01-18 15:20 Simon Leung
2012-01-18 15:26 ` Manohar Vanga
0 siblings, 1 reply; 5+ messages in thread
From: Simon Leung @ 2012-01-18 15:20 UTC (permalink / raw)
To: kernelnewbies
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,
^ permalink raw reply [flat|nested] 5+ messages in thread
* kernel module parameter
2012-01-18 15:20 kernel module parameter Simon Leung
@ 2012-01-18 15:26 ` Manohar Vanga
2012-01-18 15:29 ` Simon Leung
0 siblings, 1 reply; 5+ messages in thread
From: Manohar Vanga @ 2012-01-18 15:26 UTC (permalink / raw)
To: kernelnewbies
$ ls /sys/module/MODULE_NAME/parameters/
On Wed, Jan 18, 2012 at 4:20 PM, Simon Leung <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
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
--
/manohar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120118/afebcb00/attachment.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* kernel module parameter
2012-01-18 15:26 ` Manohar Vanga
@ 2012-01-18 15:29 ` Simon Leung
2012-01-18 15:40 ` Manohar Vanga
0 siblings, 1 reply; 5+ messages in thread
From: Simon Leung @ 2012-01-18 15:29 UTC (permalink / raw)
To: kernelnewbies
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@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>
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
>
>
> --
> /manohar
^ permalink raw reply [flat|nested] 5+ messages in thread
* kernel module parameter
2012-01-18 15:29 ` Simon Leung
@ 2012-01-18 15:40 ` Manohar Vanga
2012-01-18 16:04 ` Simon Leung
0 siblings, 1 reply; 5+ messages in thread
From: Manohar Vanga @ 2012-01-18 15:40 UTC (permalink / raw)
To: kernelnewbies
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> 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@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 <Kernelnewbies@kernelnewbies.org>
>> <mailto:Kernelnewbies@**kernelnewbies.org<Kernelnewbies@kernelnewbies.org>
>> >
>> http://lists.kernelnewbies.**org/mailman/listinfo/**kernelnewbies<http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies>
>>
>>
>>
>>
>> --
>> /manohar
>>
>
>
--
/manohar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120118/a5a0f819/attachment.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* kernel module parameter
2012-01-18 15:40 ` Manohar Vanga
@ 2012-01-18 16:04 ` Simon Leung
0 siblings, 0 replies; 5+ messages in thread
From: Simon Leung @ 2012-01-18 16:04 UTC (permalink / raw)
To: kernelnewbies
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-01-18 16:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-18 15:20 kernel module parameter Simon Leung
2012-01-18 15:26 ` Manohar Vanga
2012-01-18 15:29 ` Simon Leung
2012-01-18 15:40 ` Manohar Vanga
2012-01-18 16:04 ` Simon Leung
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).