lkml.org 
[lkml]   [2013]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Some kernel module options not showing up in modinfo
Date
Raphael Hertzog <hertzog@debian.org> writes:
> Hello,
>
> I noticed that some options are not visible in the modinfo output. For
> instance "modinfo lockd" reports this on my Debian sid system:
>
> $ modinfo lockd
> filename: /lib/modules/3.11-1-amd64/kernel/fs/lockd/lockd.ko
> license: GPL
> description: NFS file locking service version 0.5.
> author: Olaf Kirch <okir@monad.swb.de>
> depends: sunrpc
> intree: Y
> vermagic: 3.11-1-amd64 SMP mod_unload modversions
> parm: nsm_use_hostnames:bool
> parm: nlm_max_connections:uint
> $
>
> Yet I know that there are more options and the kernel source code confirms
> this:
> http://lxr.free-electrons.com/source/fs/lockd/svc.c#L569
>
> Multiple other options are defined by way of module_param_call(...) like
> nlm_grace_period, nlm_timeout, nlm_updport, nlm_tcpport.
>
> Ben Hutchings (one of the Debian kernel maintainers) confirmed me that
> this was unexpected and suggested me to report it to you. If you have any
> questions, just ask.

Yes, the module_param() macro adds a type description. The
module_param_call() does not.

Hope that helps,
Rusty.


\
 
 \ /
  Last update: 2013-11-22 04:21    [W:0.046 / U:0.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site