lkml.org 
[lkml]   [2009]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Checking module parameters
Nick Craig-Wood wrote:
> David Wagner <daw@cs.berkeley.edu> wrote:
>> Is there a way to tell what options have been applied to a currently
>> loaded kernel module?
>>
>> I'm trying to force libata to use 1.5Gbps rather than 3Gbps,
...
> I had to do this recently (under debian I ended up putting
> "libata force=1.5Gbps" into /etc/modules)
>
> You can check it is working by looking for something like this in the log
>
> [ 2.345058] ata1: FORCE: PHY spd limit set to 1.5Gbps
> [ 2.345058] ata1: SATA max UDMA/133 abar m2048@0xfb106000 port 0xfb106100 irq 218

There is also /sys/module/*/parameters/* which can be read and in some
cases even be written.
--
Stefan Richter
-=====-==--= ---= =--==
http://arcgraph.de/sr/


\
 
 \ /
  Last update: 2009-01-19 11:21    [W:0.059 / U:1.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site