I'm running aufs 20061126 on linux i386 2.6.22.14. The machine I'm using
now is a vmware VM with 2 CPUs, but I've also reproduced similar crashes
on real x86 hardware with older aufs versions.

        # mkdir a b u
        # mount -t tmpfs tmpfs a
        # mount -t tmpfs tmpfs b
        # mount -t aufs -o br:a=rw:b=ro aufs u
        # cd u
        # (while true; do : > x; rm x; done) &
        [1] 2302
        # while true; do : > x; rm x; done

After a bunch of (expected) "rm: cannot remove `x': No such file or
directory" messages, I get:

kernel BUG at fs/aufs/iinfo.c:39!
invalid opcode: 0000 [#1]
SMP
Modules linked in: button ac battery ts_match bridge llc aufs squashfs rd jffs2 
zlib_deflate zlib_inflate block2mtd mtd dm_mod sd_mod mousedev parport_pc 
pcspkr psmouse serio_raw vmxnet(P) floppy parport rtc generic piix ide_core 
ata_generic i2c_piix4 i2c_core BusLogic libata scsi_mod evdev intel_agp agpgart 
fan
CPU:    0
EIP:    0060:[<e0a65043>]    Tainted: P       VLI
EFLAGS: 00010202   (2.6.22.14 #1)
EIP is at ibstart+0x2e/0x3f [aufs]
eax: 00000001   ebx: ce045ea8   ecx: ffff0001   edx: 00000000
esi: c162f800   edi: df90ba00   ebp: ce7275b8   esp: ce13dca0
ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Process rm (pid: 4533, ti=ce13d000 task=c165ea70 task.ti=ce13d000)
Stack: ce045ea8 e0a650db ce045ea8 e0a573cf 0000001d 00000003 c16adc80 ce7c6de0
       ce7db000 c01521e5 00000001 00000000 dee45480 df82f5ea 00000001 dfc2dcf0
       ce07a000 ce13df04 0113dd4c 00000001 00000000 ce13dd80 defc9a78 df90ba00
Call Trace:
 [<e0a650db>] au_h_iptr+0x8/0x13 [aufs]
 [<e0a573cf>] aufs_d_revalidate+0x36f/0x86c [aufs]
 [<c01521e5>] get_unused_fd+0x57/0xad
 [<c015b582>] __link_path_walk+0xac5/0xc0e
 [<e0a609a4>] aufs_permission+0x3eb/0x47f [aufs]
 [<c0165424>] mntput_no_expire+0x13/0x63
 [<c015b774>] link_path_walk+0xa9/0xb3
 [<c01b2d40>] rb_insert_color+0x4c/0xad
 [<c0147852>] vma_link+0x54/0xc7
 [<c0159883>] do_lookup+0x101/0x140
 [<c015b26e>] __link_path_walk+0x7b1/0xc0e
 [<c015b70f>] link_path_walk+0x44/0xb3
 [<c01b2d40>] rb_insert_color+0x4c/0xad
 [<c0147852>] vma_link+0x54/0xc7
 [<c015b9ef>] do_path_lookup+0x15a/0x175
 [<c015c181>] __user_walk_fd+0x2f/0x45
 [<c01562ad>] vfs_lstat_fd+0x16/0x3d
 [<c01b2d40>] rb_insert_color+0x4c/0xad
 [<c0147852>] vma_link+0x54/0xc7
 [<c0156319>] sys_lstat64+0xf/0x23
 [<c026c741>] do_page_fault+0x273/0x516
 [<c026c4ce>] do_page_fault+0x0/0x516
 [<c0103d12>] syscall_call+0x7/0xb
 =======================
Code: 8b 80 98 00 00 00 e8 c5 1c fe ff e8 4b 63 6c df 85 c0 74 04 0f 0b eb fe 
89 d8 e8 e5 fb ff ff 83 c0 08 e8 34 63 6c df 85 c0 74 04 <0f> 0b eb fe 89 d8 e8 
ce fb ff ff 5b 0f be 40 1c c3 56 89 d6 53
EIP: [<e0a65043>] ibstart+0x2e/0x3f [aufs] SS:ESP 0068:ce13dca0

Jason

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4

Reply via email to