[Logcheck-devel] Bug#494740: first debian openvz 2.6.26 bugs

Michel Messerschmidt www at michel-messerschmidt.de
Thu Aug 14 23:00:59 UTC 2008


Sorry for the late reply, but somehow I haven't received any mail yet
(just saw the answers on the web interface).


> IMHO what the bug reporter means is nfsd loads fine with non-openvz 
> kernels (both 2.6.25 and 2.6.26), but fails to load with openvz 2.6.26 
> kernel.

Exactly.


I tried it again with 2.6.26.2 kernels on 686 and amd64 machines but the 
problem persists.

With the kernel from linux-image-2.6.26-1-openvz-686_2.6.26-2_i386.deb
on the nfs server I get the same error as before.
It seems that nfsd and nfs fail to load:
# lsmod | egrep 'nfs|rpc|lockd|statd|idmap'
auth_rpcgss            34752  0 
lockd                  55016  0 
nfs_acl                 3680  0 
sunrpc                163904  6 auth_rpcgss,lockd,nfs_acl

But NFS works if I use the non-openvz kernel from
linux-image-2.6.26-1-686_2.6.26-2_i386.deb.



Looking at the nfs client, I also get an error with the kernel from 
linux-image-2.6.26-1-openvz-amd64_2.6.26-2_amd64.deb:
Aug 15 00:13:13 ryu kernel: [    0.000000] Linux version 2.6.26-1-openvz-amd64 (Debian 2.6.26-2) (waldi at debian.org) (gcc version 4.1.3 20080623 (prerelease) (Debian 4.1.2-23)) #1 SMP Fri Aug 8 14:18:54 UTC 2008
Aug 15 00:13:13 ryu kernel: [    0.000000] Command line: root=/dev/mapper/sda7_crypt ro 
[...]
Aug 15 00:13:13 ryu kernel: [   47.275613] RPC: Registered udp transport module.
Aug 15 00:13:13 ryu kernel: [   47.275613] RPC: Registered tcp transport module.
Aug 15 00:13:13 ryu kernel: [   47.483786] Installing knfsd (copyright (C) 1996 okir at monad.swb.de).
Aug 15 00:13:16 ryu kernel: [   53.310073] Installing knfsd (copyright (C) 1996 okir at monad.swb.de).
Aug 15 00:13:16 ryu modprobe: FATAL: Error inserting nfs (/lib/modules/2.6.26-1-openvz-amd64/kernel/fs/nfs/nfs.ko): Cannot allocate memory
Aug 15 00:13:16 ryu modprobe: FATAL: Error inserting nfs (/lib/modules/2.6.26-1-openvz-amd64/kernel/fs/nfs/nfs.ko): Cannot allocate memory
Aug 15 00:13:16 ryu modprobe: FATAL: Error inserting nfs (/lib/modules/2.6.26-1-openvz-amd64/kernel/fs/nfs/nfs.ko): Cannot allocate memory
Aug 15 00:13:19 ryu kernel: [   56.570177] Installing knfsd (copyright (C) 1996 okir at monad.swb.de).

# lsmod | egrep 'nfs|rpc|lockd|statd'
auth_rpcgss            47520  0 
lockd                  68560  0 
nfs_acl                 7552  0 
sunrpc                198632  6 auth_rpcgss,lockd,nfs_acl


With a non-openvz kernel there are also no problems on the client:
# lsmod | egrep 'nfs|rpc|lockd|statd'
nfsd                  248360  4 
auth_rpcgss            47520  1 nfsd
exportfs                8704  1 nfsd
nfs                   251696  3 
lockd                  68560  2 nfsd,nfs
nfs_acl                 7552  2 nfsd,nfs
sunrpc                197608  16 nfsd,auth_rpcgss,nfs,lockd,nfs_acl

(BTW why is the nfsd module loaded on a client-only machine?)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20080815/9c1c3242/attachment.pgp 


More information about the Logcheck-devel mailing list