ErrMemout Error inserting lockd: Cannot allocate memory
From Linux NFS
Markhobley (Talk | contribs) (→Resolution) |
Markhobley (Talk | contribs) (→Known Cases) |
||
Line 12: | Line 12: | ||
=== Known Cases === | === Known Cases === | ||
- | This error | + | This error was observed using a 2.6.22.9 modular vaninlla kernel built using Gentoo, and still exists in the 2.6.23.9 kernel. (Mark Hobley) |
=== Module Information === | === Module Information === |
Latest revision as of 21:28, 21 January 2008
Contents |
Error inserting lockd: Cannot allocate memory
When attempting to load modules relating to NFS into the kernel, an error may occur as follows:
Error inserting lockd (/lib/modules/2.6.22.9/kernel/fs/lockd/lockd.ko): Cannot allocate memory
Cause
The problem is caused by the lockd module failing to attach to the kernel.
Known Cases
This error was observed using a 2.6.22.9 modular vaninlla kernel built using Gentoo, and still exists in the 2.6.23.9 kernel. (Mark Hobley)
Module Information
modinfo lockd produces the following output:
filename: /lib/modules/2.6.22.9/kernel/fs/lockd/lockd.ko license: GPL description: NFS file locking service version 0.5. author: Olaf Kirch <okir@monad.swb.de> depends: sunrpc vermagic: 2.6.22.9 preempt mod_unload 586 parm: nsm_use_hostnames:bool
Resolution
There is currently a bug in the kernel, which requires the sysctl system control interface to be installed into the kernel. Rebuild the kernel with CONFIG_PROC_SYSCTL enabled to enable loading of the lockd module.