Hi,
just got a reproduceable bug on a "diskless file server". The server has an
aufs rootfs. Above local filesystems are mounted which are nfs-exported.
An nfs-client can mount them but when it unmounts the server gets immediately:
------------[ cut here ]------------
kernel BUG at /net.point/np/src/aufs-20070126-182912/fs/aufs/file.c:342!
invalid opcode: 0000 [#1]
SMP
last sysfs file: /block/hdb/removable
Modules linked in: ipt_LOG xt_state xfs reiserfs ipt_REJECT xt_tcpudp
iptable_mangle iptable_nat ip_nat ip_conntrack nfnetlink iptable_filter
ip_tables x_tables vboxdrv joydev st sr_mod rpcsec_gss_krb5 auth_rpcgss nfsd
exportfs snd_mixer_oss snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm
snd_timer snd soundcore snd_page_alloc usb_storage usbhid ipv6 sg sd_mod ide_cd
cdrom sata_sil i2c_i801 i2c_core ata_piix ehci_hcd intel_agp agpgart piix
libata scsi_mod generic ide_core shpchp pci_hotplug i6300esb uhci_hcd usbcore
parport_pc lp parport aufs nfs lockd nfs_acl sunrpc af_packet e1000 mii
CPU: 0
EIP: 0060:[<f886293b>] Tainted: G U VLI
EFLAGS: 00210246 (2.6.18.2-34-default #1)
EIP is at ready_to_write+0x3d/0x287 [aufs]
eax: f7046240 ebx: f6ecdf64 ecx: f6ecdf48 edx: 01994967
esi: f7046240 edi: f7033364 ebp: f704b114 esp: f6ecdf30
ds: 007b es: 007b ss: 0068
Process rpc.mountd (pid: 2171, ti=f6ecc000 task=c213ec90 task.ti=f6ecc000)
Stack: b7dc10b0 f7046240 c0133e75 f7033344 f704b114 00000000 ffffffff ffffffff
f886241e f7046240 df48b926 67e9f6ec 00019949 00000000 f7046240 f7033364
f7046240 f8863746 00000001 00000001 f7653c00 f8875220 f7046240 f7033410
Call Trace:
[<c0133e75>] down_read+0x8/0x11
[<f886241e>] reval_and_lock_finfo+0x177/0x183 [aufs]
[<f8863746>] aufs_fsync_nondir+0x65/0xff [aufs]
[<c0166c06>] do_fsync+0x40/0x81
[<c0166c64>] __do_fsync+0x1d/0x2b
[<c0103d5d>] sysenter_past_esp+0x56/0x79
Code: 86 f8 89 4c 24 1c 29 da 8d 4c 24 18 89 44 24 24 c6 44 24 29 b9 89 4c 24
2a c6 44 24 2e e9 89 54 24 2f 8b 68 08 f6 40 1c 02 75 08 <0f> 0b 56 01 ea bf 86
f8 8b 45 50 e8 9d 83 ff ff e8 c9 14 8d c7
EIP: [<f886293b>] ready_to_write+0x3d/0x287 [aufs] SS:ESP 0068:f6ecdf30
<4>IN=eth0 OUT= MAC=00:80:3f:03:45:5c:00:02:b3:4c:4d:5b:08:00 SRC=132.230.1.19
DST=132.230.1.194 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=12083 DF PROTO=TCP
SPT=636 DPT=44077 WINDOW=2252 RES=0x00 ACK URGP=0
-------------------------------------------------------------------------
# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root.old /OLDROOT minix rw 0 0
132.230.1.13:/p/9 /BASE nfs
ro,vers=2,rsize=4096,wsize=4096,hard,nolock,proto=tcp,timeo=600,retrans=3,sec=sys,addr=132.230.1.13
0 0
tmpfs /DIFF tmpfs rw 0 0
aufs / aufs rw,xino=/DIFF/.aufs.xino,br:/DIFF=rw:/BASE=ro 0 0
udev /dev tmpfs rw 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw 0 0
tmpfs /tmp tmpfs rw 0 0
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
nfsd /proc/fs/nfsd nfsd rw 0 0
/dev/sda4 /u/8 xfs rw,nosuid,nodev,noexec,usrquota 0 0
Any help is very welcome!
Thanx,
M
--
Martin Walter
University of Freiburg i.Br. --- Germany --- Fon/Fax: +49 761 203-4651/-4643
Rechenzentrum der Universitaet, Hermann-Herder-Str.10, D-79104 Freiburg i.Br.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV