[Unionfs] kernel BUG at fs/unionfs/fanout.h:128!

Dale Dude dale at daledude.com
Sat Sep 15 15:50:28 EDT 2007


I get this error and have to reboot.

I have 2 dirs: /volume1 and /volume2
/volume1 = local jfs filesystem
(/volume1 jfs rw,noatime,nodiratime 0 0)

/volume2 = nfs mount filesystem
(nfs2:/volume2 /volume2 nfs 
rw,noatime,vers=3,rsize=32768,wsize=32768,hard,intr,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,addr=nfs2 
0 0)

I unionfs mount them together onto /combined:
mount -t unionfs -o dirs=/volume2=rw:/volume1=rw none /combined


Unionfs module info:
filename:       /lib/modules/2.6.22.6/kernel/fs/unionfs/unionfs.ko
license:        GPL
description:    Unionfs 2.1.3 (for 2.6.22.6) 
(http://unionfs.filesystems.org)
author:         Erez Zadok, Filesystems and Storage Lab, Stony Brook 
University (http://www.fsl.cs.sunysb.edu)
srcversion:     C4129BCBA05DA091D9A887F
depends:
vermagic:       2.6.22.6 SMP mod_unload



DMESG:
Sep 15 12:21:53 newstorage1 kernel: [ 4443.426436] ------------[ cut 
here ]------------
Sep 15 12:21:53 newstorage1 kernel: [ 4443.426464] kernel BUG at 
fs/unionfs/fanout.h:128!
Sep 15 12:21:53 newstorage1 kernel: [ 4443.426491] invalid opcode: 0000 
[1] SMP
Sep 15 12:21:53 newstorage1 kernel: [ 4443.426520] CPU 0
Sep 15 12:21:53 newstorage1 kernel: [ 4443.426543] Modules linked in: 
ntfs nls_iso8859_1 nls_cp437 vfat fat nfs usbhid hid nfsd exportfs lockd 
nfs_acl sunrpc xt_tcpudp iptable_filt
er ip_tables x_tables capability commoncap jfs bnx2 fuse shpchp floppy 
ata_generic serio_raw pci_hotplug evdev dm_mod md_mod psmouse unionfs 
usb_storage libusual ide_generic ehci_h
cd uhci_hcd usbcore ide_cd cdrom ata_piix libata generic piix mptsas 
mptscsih mptbase scsi_transport_sas thermal processor fan megaraid_sas
Sep 15 12:21:53 newstorage1 kernel: [ 4443.426825] Pid: 11513, comm: 
rsync Not tainted 2.6.22.6 #1
Sep 15 12:21:54 newstorage1 kernel: [ 4443.426853] RIP: 
0010:[_end+128092260/2129692076]  [_end+128092260/2129692076] 
:unionfs:unionfs_create+0x3a8/0x460
Sep 15 12:21:54 newstorage1 kernel: [ 4443.426912] RSP: 
0018:ffff810025991da8  EFLAGS: 00010202
Sep 15 12:21:54 newstorage1 kernel: [ 4443.426939] RAX: 0000000000000001 
RBX: ffff8101f1ce47d0 RCX: 0000000000000000
Sep 15 12:21:54 newstorage1 kernel: [ 4443.426970] RDX: 0000000000000001 
RSI: 00000000ffffffff RDI: ffff8100932cf2c0
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427001] RBP: 0000000000000000 
R08: ffff8100932cf388 R09: ffff8100932cf398
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427033] R10: ffff8100932cf378 
R11: ffffffff8031f990 R12: ffff8100932cf308
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427064] R13: ffff8101c406be50 
R14: ffff810199667be0 R15: ffff81021eef4380
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427096] FS: 
00002b1e765466d0(0000) GS:ffffffff805b9000(0000) knlGS:0000000000000000
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427142] CS:  0010 DS: 0000 
ES: 0000 CR0: 000000008005003b
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427170] CR2: 0000000000c75000 
CR3: 0000000025729000 CR4: 00000000000006e0
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427202] Process rsync (pid: 
11513, threadinfo ffff810025990000, task ffff81002a57e240)
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427247] Stack: 
ffff810025991ea8 0000818025991ea8 ffff810199667cb0 ffff810199667be0
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427304]  0000000000000000 
0000000000008180 ffff8100932cf308 ffff810025991ea8
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427356]  ffff8101dcfd3b10 
ffffffff802a1e51 0000000099667be0 ffff810025991ea8
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427392] Call Trace:
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427440]  [vfs_create+273/400] 
vfs_create+0x111/0x190
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427471] 
[open_namei+1770/1872] open_namei+0x6ea/0x750
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427502] 
[cp_new_stat+231/256] cp_new_stat+0xe7/0x100
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427535]  [do_filp_open+32/80] 
do_filp_open+0x20/0x50
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427571]  [do_sys_open+84/240] 
do_sys_open+0x54/0xf0
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427603] 
[system_call+126/131] system_call+0x7e/0x83
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427635]
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427654]
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427655] Code: 0f 0b eb fe 49 
89 84 24 90 00 00 00 48 8b 82 98 00 00 00 49
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427762] RIP 
[_end+128092260/2129692076] :unionfs:unionfs_create+0x3a8/0x460
Sep 15 12:21:54 newstorage1 kernel: [ 4443.427799]  RSP <ffff810025991da8>
Sep 15 12:21:54 newstorage1 kernel: [ 4443.428851] ------------[ cut 
here ]------------
Sep 15 12:21:54 newstorage1 kernel: [ 4443.428927] kernel BUG at 
fs/unionfs/fanout.h:128!
Sep 15 12:21:54 newstorage1 kernel: [ 4443.429004] invalid opcode: 0000 
[2] SMP
Sep 15 12:21:54 newstorage1 kernel: [ 4443.429207] CPU 0
Sep 15 12:21:54 newstorage1 kernel: [ 4443.429330] Modules linked in: 
ntfs nls_iso8859_1 nls_cp437 vfat fat nfs usbhid hid nfsd exportfs lockd 
nfs_acl sunrpc xt_tcpudp iptable_filt
er ip_tables x_tables capability commoncap jfs bnx2 fuse shpchp floppy 
ata_generic serio_raw pci_hotplug evdev dm_mod md_mod psmouse unionfs 
usb_storage libusual ide_generic ehci_h
cd uhci_hcd usbcore ide_cd cdrom ata_piix libata generic piix mptsas 
mptscsih mptbase scsi_transport_sas thermal processor fan megaraid_sas
Sep 15 12:21:54 newstorage1 kernel: [ 4443.432349] Pid: 11513, comm: 
rsync Not tainted 2.6.22.6 #1
Sep 15 12:21:54 newstorage1 kernel: [ 4443.432427] RIP: 
0010:[_end+128140645/2129692076]  [_end+128140645/2129692076] 
:unionfs:unionfs_flush+0x419/0x440
Sep 15 12:21:54 newstorage1 kernel: [ 4443.432591] RSP: 
0018:ffff810025991b18  EFLAGS: 00010202
Sep 15 12:21:54 newstorage1 kernel: [ 4443.432671] RAX: 0000000000000001 
RBX: 00000000127f0799 RCX: ffff8100932cf308
Sep 15 12:21:54 newstorage1 kernel: [ 4443.432754] RDX: 0000000000000001 
RSI: 00000000ffffffff RDI: ffff81019aaa1a20
Sep 15 12:21:54 newstorage1 kernel: [ 4443.432837] RBP: 0000000000000001 
R08: ffff8100932cf2c0 R09: ffff8100932cf388
Sep 15 12:21:54 newstorage1 kernel: [ 4443.432921] R10: ffff8100932cf398 
R11: ffff8100932cf378 R12: ffff8101ce803560
Sep 15 12:21:54 newstorage1 kernel: [ 4443.433004] R13: ffff810223dca280 
R14: 0000000000000000 R15: 0000000000000000
Sep 15 12:21:54 newstorage1 kernel: [ 4443.433088] FS: 
00002b1e765466d0(0000) GS:ffffffff805b9000(0000) knlGS:0000000000000000
Sep 15 12:21:54 newstorage1 kernel: [ 4443.433188] CS:  0010 DS: 0000 
ES: 0000 CR0: 000000008005003b
Sep 15 12:21:54 newstorage1 kernel: [ 4443.433266] CR2: 00002b1e763370d0 
CR3: 000000002b5b2000 CR4: 00000000000006e0
Sep 15 12:21:54 newstorage1 kernel: [ 4443.433351] Process rsync (pid: 
11513, threadinfo ffff810025990000, task ffff81002a57e240)
Sep 15 12:21:54 newstorage1 kernel: [ 4443.433449] Stack: 
ffff81021e2cbec0 ffff81010b1a30c0 0000000000000008 ffff810223dca280
Sep 15 12:21:54 newstorage1 kernel: [ 4443.433805]  ffff81010b1a30c0 
ffff81010b1a30d0 0000000000000000 ffff81010b1a30c0
Sep 15 12:21:54 newstorage1 kernel: [ 4443.434111]  0000000000000000 
ffffffff80294ac3 000000000000000f 0000000000000002
Sep 15 12:21:54 newstorage1 kernel: [ 4443.434370] Call Trace:
Sep 15 12:21:54 newstorage1 kernel: [ 4443.434524]  [filp_close+51/160] 
filp_close+0x33/0xa0
Sep 15 12:21:54 newstorage1 kernel: [ 4443.434632] 
[put_files_struct+125/240] put_files_struct+0x7d/0xf0
Sep 15 12:21:54 newstorage1 kernel: [ 4443.434726]  [do_exit+464/2384] 
do_exit+0x1d0/0x950
Sep 15 12:21:54 newstorage1 kernel: [ 4443.434817] 
[_spin_unlock_irqrestore+8/16] _spin_unlock_irqrestore+0x8/0x10
Sep 15 12:21:54 newstorage1 kernel: [ 4443.434910]  [die+82/96] 
die+0x52/0x60
Sep 15 12:21:54 newstorage1 kernel: [ 4443.434998] 
[do_invalid_op+132/160] do_invalid_op+0x84/0xa0
Sep 15 12:21:54 newstorage1 kernel: [ 4443.435088] 
[_end+128092260/2129692076] :unionfs:unionfs_create+0x3a8/0x460
Sep 15 12:21:54 newstorage1 kernel: [ 4443.435185]  [error_exit+0/132] 
error_exit+0x0/0x84
Sep 15 12:21:54 newstorage1 kernel: [ 4443.435276] 
[dummy_d_instantiate+0/16] dummy_d_instantiate+0x0/0x10
Sep 15 12:21:54 newstorage1 kernel: [ 4443.435373] 
[_end+128092260/2129692076] :unionfs:unionfs_create+0x3a8/0x460
Sep 15 12:21:54 newstorage1 kernel: [ 4443.435470] 
[_end+128091864/2129692076] :unionfs:unionfs_create+0x21c/0x460
Sep 15 12:21:54 newstorage1 kernel: [ 4443.435566]  [vfs_create+273/400] 
vfs_create+0x111/0x190
Sep 15 12:21:54 newstorage1 kernel: [ 4443.435654] 
[open_namei+1770/1872] open_namei+0x6ea/0x750
Sep 15 12:21:54 newstorage1 kernel: [ 4443.435741] 
[cp_new_stat+231/256] cp_new_stat+0xe7/0x100
Sep 15 12:21:54 newstorage1 kernel: [ 4443.435834]  [do_filp_open+32/80] 
do_filp_open+0x20/0x50
Sep 15 12:21:54 newstorage1 kernel: [ 4443.435939]  [do_sys_open+84/240] 
do_sys_open+0x54/0xf0
Sep 15 12:21:54 newstorage1 kernel: [ 4443.436027] 
[system_call+126/131] system_call+0x7e/0x83
Sep 15 12:21:54 newstorage1 kernel: [ 4443.436120]
Sep 15 12:21:54 newstorage1 kernel: [ 4443.436188]
Sep 15 12:21:54 newstorage1 kernel: [ 4443.436190] Code: 0f 0b eb fe 66 
66 90 0f 0b eb fe 0f 0b eb fe 0f 0b eb fe 0f
Sep 15 12:21:54 newstorage1 kernel: [ 4443.437431] RIP 
[_end+128140645/2129692076] :unionfs:unionfs_flush+0x419/0x440
Sep 15 12:21:54 newstorage1 kernel: [ 4443.437574]  RSP <ffff810025991b18>
Sep 15 12:21:54 newstorage1 kernel: [ 4443.438062] Fixing recursive 
fault but reboot is needed!



More information about the unionfs mailing list