Hi, I hit the following OOPS while using NFS over aufs, Debian kernel 2.6.25 (recompiled to apply aufs patches) + aufs 20080915. The server is a dual-core box, and four NFS clients were accessing it simultaneously.
I don't know how to reproduce this, so I am posting all details that might help until I find a way to reproduce it. I hope this helps... Thanks! Louis Details: The OOPS were preceded by the following warning: [ 655.131622] aufs decode_by_path:596:nfsd[2635]: ext2 decode_fh failed, -116 Relevant parts of /proc/mounts on the NFS server: /dev/sda10 /srv ext3 rw,errors=continue,data=ordered 0 0 /dev/ram14 /srv/.nfsroot64-scratch ext2 rw,errors=continue 0 0 none /srv/nfsroot64 aufs rw,si=ac27ff8dd33502e8,xino=/srv/.nfsroot64-scratch/.aufs.xino,noplink,udba=inotify,br:/srv/.nfsroot64-scratch=rw:/srv/.nfsroot64-base=ro 0 0 Relevant parts of '# exportfs -v' on the server: /srv/nfsroot64 10.4.0.0/16(rw,async,wdelay,crossmnt,no_root_squash,fsid=4242,anonuid=65534,anongid=65534) Detailed OOPS, followed by backtrace variants which may help finding the real call stack: [ 679.331429] BUG: unable to handle kernel NULL pointer dereference at 0000000000000038 [ 679.331601] IP: [<ffffffff88412a6c>] :aufs:do_open_nondir+0x13b/0x37b [ 679.331725] PGD 7b878067 PUD 7b984067 PMD 0 [ 679.331891] Oops: 0000 [1] SMP [ 679.332020] CPU 0 [ 679.332111] Modules linked in: aufs ext2 netconsole configfs nfs ipv6 nfsd lockd nfs_acl auth_rpcgss sunrpc exportfs ac battery dm_snapshot dm_mirror dm_mod loop snd_hda_intel snd_pcm snd_timer snd i2c_i801 rng_core soundcore serio_raw sg parport_pc parport intel_agp button snd_page_alloc i2c_core iTCO_wdt dcdbas evdev psmouse sr_mod pcspkr cdrom ext3 jbd mbcache sd_mod ata_generic usbhid hid ff_memless ahci r8169 piix ide_core libata scsi_mod dock ehci_hcd uhci_hcd tg3 thermal processor fan [ 679.334574] Pid: 2635, comm: nfsd Not tainted 2.6.25-elric #10 [ 679.334641] RIP: 0010:[<ffffffff88412a6c>] [<ffffffff88412a6c>] :aufs:do_open_nondir+0x13b/0x37b [ 679.334783] RSP: 0018:ffff81007ca27ca0 EFLAGS: 00010246 [ 679.334795] RAX: 0000000000000000 RBX: ffff810056209738 RCX: ffff81005357a500 [ 679.334795] RDX: ffff81007dd99000 RSI: 0000000000000282 RDI: ffff810056209738 [ 679.334795] RBP: ffff8100655d1d40 R08: 0000000000000282 R09: 0000000000000001 [ 679.334795] R10: ffff81007d9ea680 R11: ffffffff802fac6d R12: ffff81005357a590 [ 679.334795] R13: ffffffff88412600 R14: ffff81007dd99000 R15: 0000000000008001 [ 679.334795] FS: 00007fb6815066e0(0000) GS:ffffffff8058b000(0000) knlGS:0000000000000000 [ 679.334795] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 679.334795] CR2: 0000000000000038 CR3: 000000007b981000 CR4: 00000000000006e0 [ 679.334795] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 679.334795] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 679.334795] Process nfsd (pid: 2635, threadinfo ffff81007ca26000, task ffff81007d9ea680) [ 679.334795] Stack: ffff810056209738 ffffffff8840fa4b 000000005a9ecde8 ffff81007bbe8400 [ 679.334795] ffff810056209738 0000000000000000 ffffffff8841266c ffff81005357a590 [ 679.334795] ffff81007dd99000 ffffffff884125b6 00000000000f70a1 0000000000000246 [ 679.334795] Call Trace: [ 679.334795] [<ffffffff8840fa4b>] ? :aufs:di_read_lock+0x165/0x180 [ 679.334795] [<ffffffff8841266c>] ? :aufs:aufs_open_nondir+0x0/0x75 [ 679.334795] [<ffffffff884125b6>] ? :aufs:au_do_open+0x492/0x548 [ 679.334795] [<ffffffff88412931>] ? :aufs:do_open_nondir+0x0/0x37b [ 679.334795] [<ffffffff802a2fad>] ? file_move+0x1d/0x51 [ 679.334795] [<ffffffff8841266c>] ? :aufs:aufs_open_nondir+0x0/0x75 [ 679.334795] [<ffffffff802a0a41>] ? __dentry_open+0xe9/0x1c0 [ 679.334795] [<ffffffff8830a266>] ? :nfsd:nfsd_open+0x13c/0x16f [ 679.334795] [<ffffffff8830a387>] ? :nfsd:nfsd_commit+0x2a/0x7a [ 679.334795] [<ffffffff88310c3f>] ? :nfsd:nfsd3_proc_commit+0xb0/0xbd [ 679.334795] [<ffffffff88306249>] ? :nfsd:nfsd_dispatch+0xde/0x1b6 [ 679.334795] [<ffffffff882b3854>] ? :sunrpc:svc_process+0x3eb/0x707 [ 679.334795] [<ffffffff88306678>] ? :nfsd:nfsd+0x0/0x2b4 [ 679.334795] [<ffffffff88306818>] ? :nfsd:nfsd+0x1a0/0x2b4 [ 679.334795] [<ffffffff8020d028>] ? child_rip+0xa/0x12 [ 679.334795] [<ffffffff8020c5bc>] ? restore_args+0x0/0x30 [ 679.334795] [<ffffffff88306678>] ? :nfsd:nfsd+0x0/0x2b4 [ 679.334795] [<ffffffff8020d01e>] ? child_rip+0x0/0x12 [ 679.334795] [ 679.334795] [ 679.334795] Code: e8 bb 86 e3 f7 85 c0 74 04 0f 0b eb fe 48 89 df e8 5e c8 ff ff 44 8a 68 70 48 89 df 41 0f be c5 89 c6 89 44 24 14 e8 28 c9 ff ff <48> 83 78 38 00 75 04 0f 0b eb fe 8b 74 24 14 4c 89 e2 4c 89 f7 [ 679.334795] RIP [<ffffffff88412a6c>] :aufs:do_open_nondir+0x13b/0x37b [ 679.334795] RSP <ffff81007ca27ca0> [ 679.334795] CR2: 0000000000000038 [ 679.338917] ---[ end trace 119f58c52f3203a2 ]--- Backtrace variants: [ 687.999347] [<ffffffff8840fa4b>] ? :aufs:di_read_lock+0x165/0x180 [ 687.999347] [<ffffffff8841266c>] ? :aufs:aufs_open_nondir+0x0/0x75 [ 687.999347] [<ffffffff884125b6>] ? :aufs:au_do_open+0x492/0x548 [ 687.999347] [<ffffffff88412931>] ? :aufs:do_open_nondir+0x0/0x37b [ 687.999347] [<ffffffff802a2fad>] ? file_move+0x1d/0x51 [ 687.999347] [<ffffffff8841266c>] ? :aufs:aufs_open_nondir+0x0/0x75 [ 687.999347] [<ffffffff802a0a41>] ? __dentry_open+0xe9/0x1c0 [ 687.999347] [<ffffffff8830a266>] ? :nfsd:nfsd_open+0x13c/0x16f [ 687.999347] [<ffffffff8830a468>] ? :nfsd:nfsd_write+0x91/0xe2 [ 687.999347] [<ffffffff883112e3>] ? :nfsd:nfsd3_proc_write+0xe6/0x105 [ 687.999347] [<ffffffff88306249>] ? :nfsd:nfsd_dispatch+0xde/0x1b6 [ 687.999347] [<ffffffff882b3854>] ? :sunrpc:svc_process+0x3eb/0x707 [ 687.999347] [<ffffffff88306678>] ? :nfsd:nfsd+0x0/0x2b4 [ 687.999347] [<ffffffff88306818>] ? :nfsd:nfsd+0x1a0/0x2b4 [ 687.999347] [<ffffffff8020d028>] ? child_rip+0xa/0x12 [ 687.999347] [<ffffffff8020c5bc>] ? restore_args+0x0/0x30 [ 687.999347] [<ffffffff88306678>] ? :nfsd:nfsd+0x0/0x2b4 [ 687.999347] [<ffffffff8020d01e>] ? child_rip+0x0/0x12 ----- [ 688.159357] [<ffffffff8840fa4b>] ? :aufs:di_read_lock+0x165/0x180 [ 688.159357] [<ffffffff8841266c>] ? :aufs:aufs_open_nondir+0x0/0x75 [ 688.159357] [<ffffffff884125b6>] ? :aufs:au_do_open+0x492/0x548 [ 688.159357] [<ffffffff88412931>] ? :aufs:do_open_nondir+0x0/0x37b [ 688.159357] [<ffffffff802a2fad>] ? file_move+0x1d/0x51 [ 688.159357] [<ffffffff8841266c>] ? :aufs:aufs_open_nondir+0x0/0x75 [ 688.159357] [<ffffffff802a0a41>] ? __dentry_open+0xe9/0x1c0 [ 688.159357] [<ffffffff882ba46e>] ? :sunrpc:sunrpc_cache_lookup+0x30/0x132 [ 688.159357] [<ffffffff8830a266>] ? :nfsd:nfsd_open+0x13c/0x16f [ 688.159357] [<ffffffff8830a387>] ? :nfsd:nfsd_commit+0x2a/0x7a [ 688.159357] [<ffffffff882bbe4d>] ? :sunrpc:svc_xprt_enqueue+0x44/0x20c [ 688.159357] [<ffffffff88310c3f>] ? :nfsd:nfsd3_proc_commit+0xb0/0xbd [ 688.159357] [<ffffffff88306249>] ? :nfsd:nfsd_dispatch+0xde/0x1b6 [ 688.159357] [<ffffffff882b3854>] ? :sunrpc:svc_process+0x3eb/0x707 [ 688.159357] [<ffffffff88306678>] ? :nfsd:nfsd+0x0/0x2b4 [ 688.159357] [<ffffffff88306818>] ? :nfsd:nfsd+0x1a0/0x2b4 [ 688.159357] [<ffffffff8020d028>] ? child_rip+0xa/0x12 [ 688.159357] [<ffffffff8020c5bc>] ? restore_args+0x0/0x30 [ 688.159357] [<ffffffff88306678>] ? :nfsd:nfsd+0x0/0x2b4 [ 688.159357] [<ffffffff8020d01e>] ? child_rip+0x0/0x12 ----- [ 688.595385] [<ffffffff8840fa4b>] ? :aufs:di_read_lock+0x165/0x180 [ 688.595385] [<ffffffff8841266c>] ? :aufs:aufs_open_nondir+0x0/0x75 [ 688.595385] [<ffffffff884125b6>] ? :aufs:au_do_open+0x492/0x548 [ 688.595385] [<ffffffff88412931>] ? :aufs:do_open_nondir+0x0/0x37b [ 688.595385] [<ffffffff802a2fad>] ? file_move+0x1d/0x51 [ 688.595385] [<ffffffff8841266c>] ? :aufs:aufs_open_nondir+0x0/0x75 [ 688.595385] [<ffffffff802a0a41>] ? __dentry_open+0xe9/0x1c0 [ 688.595385] [<ffffffff882ba46e>] ? :sunrpc:sunrpc_cache_lookup+0x30/0x132 [ 688.595385] [<ffffffff8830a266>] ? :nfsd:nfsd_open+0x13c/0x16f [ 688.595385] [<ffffffff8830a387>] ? :nfsd:nfsd_commit+0x2a/0x7a [ 688.595385] [<ffffffff882b61e7>] ? :sunrpc:svcauth_unix_set_client+0x12a/0x1ad [ 688.595385] [<ffffffff88310c3f>] ? :nfsd:nfsd3_proc_commit+0xb0/0xbd [ 688.595385] [<ffffffff88306249>] ? :nfsd:nfsd_dispatch+0xde/0x1b6 [ 688.595385] [<ffffffff882b3854>] ? :sunrpc:svc_process+0x3eb/0x707 [ 688.595385] [<ffffffff88306678>] ? :nfsd:nfsd+0x0/0x2b4 [ 688.595385] [<ffffffff88306818>] ? :nfsd:nfsd+0x1a0/0x2b4 [ 688.595385] [<ffffffff8020d028>] ? child_rip+0xa/0x12 [ 688.595385] [<ffffffff8020c5bc>] ? restore_args+0x0/0x30 [ 688.595385] [<ffffffff88306678>] ? :nfsd:nfsd+0x0/0x2b4 [ 688.595385] [<ffffffff8020d01e>] ? child_rip+0x0/0x12 -- Dr Louis Rilling Kerlabs Skype: louis.rilling Batiment Germanium Phone: (+33|0) 6 80 89 08 23 80 avenue des Buttes de Coesmes http://www.kerlabs.com/ 35700 Rennes
signature.asc
Description: Digital signature
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
