[Unionfs] unionfs-1.1.3 vs kernel 2.6.15
Dmitry Vereschaka
dmitry at rsl.ru
Thu Mar 9 09:20:14 EST 2006
Hi, all.
It looks like unionfs-1.1.3 package do not want to work with kernel
2.6.15 (1.1.2 works well).
When trying to mount with "mount -t unionfs -o
dirs=/path/to/dir1=ro:/path/to/dir2=ro unionfs /path/to/mount/point"
command I'm getting error message like "mount point unionfs not exists".
After several issues of this command kernel dies.
But at the same time "mount -t unionfs -o dirs=/path/to/dir1 unionfs
/path/to/mount/point" mounts ...dir1 to ..mount/point and allows to
add more directories with unionctl. Anyway, short time after this
mount, kernel dies.
I've examined syslog's message log and found some information, which
might be useful for developers. Here it is (date/time mostly stripped):
unionfs_read_super: error while parsing options (err = -22)
unionfs_read_super: error while parsing options (err = -22)
------------[ cut here ]------------
kernel BUG at fs/unionfs/unionfs_debugmacros.h:291!
invalid operand: 0000 [#1]
PREEMPT
Modules linked in: unionfs
CPU: 0
EIP: 0060:[pg0+415319092/1068614656] Not tainted VLI
EIP: 0060:[<d90f6434>] Not tainted VLI
EFLAGS: 00010286 (2.6.15.5)
EIP is at __fist_print_dentry+0x8fc/0xa44 [unionfs]
eax: d6464e00 ebx: cbe6d3e4 ecx: 00000000 edx: 00000000
esi: d6b7f000 edi: 00000000 ebp: d2758338 esp: ca3c3dc8
ds: 007b es: 007b ss: 0068
Process mount (pid: 21888, threadinfo=ca3c2000 task=d17a4540)
Stack: 00000001 d90f7f05 d7721980 00000000 c013850b 00000044 d17a4540 00000000
c0414640 00000000 00000010 00000020 ce47b320 d7721980 00000046 00000003
cbe6d000 cbe6d000 d7721980 00000020 c013b906 ca3c2000 cbe6d3ec 00000003
Call Trace:
[__alloc_pages+74/614] __alloc_pages+0x4a/0x266
[<c013850b>] __alloc_pages+0x4a/0x266
[cache_grow+234/330] cache_grow+0xea/0x14a
[<c013b906>] cache_grow+0xea/0x14a
[__wake_up_locked+17/19] __wake_up_locked+0x11/0x13
[<c01185ee>] __wake_up_locked+0x11/0x13
[pg0+415185192/1068614656] unionfs_interpose+0xd0/0x1287 [unionfs]
[<d90d5928>] unionfs_interpose+0xd0/0x1287 [unionfs]
[__wake_up_locked+17/19] __wake_up_locked+0x11/0x13
[<c01185ee>] __wake_up_locked+0x11/0x13
[pg0+415195863/1068614656] unionfs_read_super+0x82b/0xac5 [unionfs]
[<d90d82d7>] unionfs_read_super+0x82b/0xac5 [unionfs]
[sget+313/322] sget+0x139/0x142
[<c0152a3a>] sget+0x139/0x142
[set_anon_super+0/158] set_anon_super+0x0/0x9e
[<c0153039>] set_anon_super+0x0/0x9e
[get_sb_nodev+48/95] get_sb_nodev+0x30/0x5f
[<c01532c9>] get_sb_nodev+0x30/0x5f
[pg0+415196543/1068614656] unionfs_get_sb+0xe/0x10 [unionfs]
[<d90d857f>] unionfs_get_sb+0xe/0x10 [unionfs]
[pg0+415193772/1068614656] unionfs_read_super+0x0/0xac5 [unionfs]
[<d90d7aac>] unionfs_read_super+0x0/0xac5 [unionfs]
[do_kern_mount+59/157] do_kern_mount+0x3b/0x9d
[<c01533b1>] do_kern_mount+0x3b/0x9d
[do_new_mount+105/150] do_new_mount+0x69/0x96
[<c0165939>] do_new_mount+0x69/0x96
[do_mount+338/362] do_mount+0x152/0x16a
[<c0165eb8>] do_mount+0x152/0x16a
[sys_mount+111/173] sys_mount+0x6f/0xad
[<c0166194>] sys_mount+0x6f/0xad
[sysenter_past_esp+84/117] sysenter_past_esp+0x54/0x75
[<c0102b43>] sysenter_past_esp+0x54/0x75
Code: b4 0f d9 8b 45 4c 8b 80 58 01 00 00 8b 00 40 39 c2 7e 08 0f 0b a9 00 20 b4 0f d9 8b 43 24 8b 34 b8 85 f6 74 10 8b 06 85 c0 7f 2f <0f> 0b 23 01 20 b4 0f d9 eb 25 57 ff 74 24 08 68 bc 8c 0f d9 6a
<4>unionfs_read_super: error while parsing options (err = -22)
unionfs_read_super: error while parsing options (err = -22)
Mar 5 11:36:12 srv last message repeated 2 times
------------[ cut here ]------------
kernel BUG at fs/unionfs/main.c:62!
invalid operand: 0000 [#2]
PREEMPT
Modules linked in: unionfs
CPU: 0
EIP: 0060:[pg0+415187318/1068614656] Not tainted VLI
EIP: 0060:[<d90d6176>] Not tainted VLI
EFLAGS: 00010202 (2.6.15.5)
EIP is at unionfs_interpose+0x91e/0x1287 [unionfs]
eax: 00000001 ebx: cbe6d984 ecx: 00000000 edx: 00000000
esi: d5d0ccc8 edi: 00000001 ebp: d7792000 esp: c234de64
ds: 007b es: 007b ss: 0068
Process mount (pid: 21900, threadinfo=c234c000 task=d17a4540)
Stack: d5d0ccc8 c234de78 c01185ee 00000000 00000000 00000000 00000000 d7792000
cbe6d984 d5d0ccc8 d5d0ccc8 d7792000 d90d82d7 00000000 00000000 00000000
d6f05e20 c0152a3a c0153039 00000000 d7fe4ba0 d7792000 00000000 c2a07000
Call Trace:
[__wake_up_locked+17/19] __wake_up_locked+0x11/0x13
[<c01185ee>] __wake_up_locked+0x11/0x13
[pg0+415195863/1068614656] unionfs_read_super+0x82b/0xac5 [unionfs]
[<d90d82d7>] unionfs_read_super+0x82b/0xac5 [unionfs]
[sget+313/322] sget+0x139/0x142
[<c0152a3a>] sget+0x139/0x142
[set_anon_super+0/158] set_anon_super+0x0/0x9e
[<c0153039>] set_anon_super+0x0/0x9e
[get_sb_nodev+48/95] get_sb_nodev+0x30/0x5f
[<c01532c9>] get_sb_nodev+0x30/0x5f
[pg0+415196543/1068614656] unionfs_get_sb+0xe/0x10 [unionfs]
[<d90d857f>] unionfs_get_sb+0xe/0x10 [unionfs]
[pg0+415193772/1068614656] unionfs_read_super+0x0/0xac5 [unionfs]
[<d90d7aac>] unionfs_read_super+0x0/0xac5 [unionfs]
[do_kern_mount+59/157] do_kern_mount+0x3b/0x9d
[<c01533b1>] do_kern_mount+0x3b/0x9d
[do_new_mount+105/150] do_new_mount+0x69/0x96
[<c0165939>] do_new_mount+0x69/0x96
[do_mount+338/362] do_mount+0x152/0x16a
[<c0165eb8>] do_mount+0x152/0x16a
[sys_mount+111/173] sys_mount+0x6f/0xad
[<c0166194>] sys_mount+0x6f/0xad
[sysenter_past_esp+84/117] sysenter_past_esp+0x54/0x75
[<c0102b43>] sysenter_past_esp+0x54/0x75
Code: d2 74 0e 8b 02 85 c0 7f 08 0f 0b 23 01 a0 96 0f d9 83 7a 08 00 75 1c 47 3b 7c 24 0c 0f 8e 9d f9 ff ff b8 01 00 00 00 85 c0 74 08 <0f> 0b 3e 00 d5 7e 0f d9 83 7c 24 18 02 75 51 8b 6e 08 8d 5d d4
<1>Unable to handle kernel paging request at virtual address 2d646c00
printing eip:
c013bb77
*pde = 00000000
Oops: 0002 [#3]
PREEMPT
Modules linked in: unionfs
CPU: 0
EIP: 0060:[free_block+76/206] Not tainted VLI
EIP: 0060:[<c013bb77>] Not tainted VLI
EFLAGS: 00010082 (2.6.15.5)
EIP is at free_block+0x4c/0xce
eax: c23f5ee0 ebx: d6f04b80 ecx: 2d646c00 edx: 00000000
esi: d7fed4a0 edi: d7fef6c0 ebp: 00000001 esp: d7fc9efc
ds: 007b es: 007b ss: 0068
Process events/0 (pid: 3, threadinfo=d7fc8000 task=c1379030)
Stack: 00000282 c212a000 00000002 d7feda30 d7feda30 00000002 d7feda20 00000000
c013c192 00000000 d7fef6c0 d7fc8000 d7fed4f0 d7fed4a0 d7fef6c0 c013c21d
00000000 00000002 d7fef70c c1379158 c04c39a4 d7fc8000 c04c39a0 c137b740
Call Trace:
[drain_array_locked+90/122] drain_array_locked+0x5a/0x7a
[<c013c192>] drain_array_locked+0x5a/0x7a
[cache_reap+107/380] cache_reap+0x6b/0x17c
[<c013c21d>] cache_reap+0x6b/0x17c
[worker_thread+385/511] worker_thread+0x181/0x1ff
[<c0127c9c>] worker_thread+0x181/0x1ff
[cache_reap+0/380] cache_reap+0x0/0x17c
[<c013c1b2>] cache_reap+0x0/0x17c
[default_wake_function+0/12] default_wake_function+0x0/0xc
[<c011853d>] default_wake_function+0x0/0xc
[default_wake_function+0/12] default_wake_function+0x0/0xc
[<c011853d>] default_wake_function+0x0/0xc
[worker_thread+0/511] worker_thread+0x0/0x1ff
[<c0127b1b>] worker_thread+0x0/0x1ff
[kthread+117/157] kthread+0x75/0x9d
[<c012b049>] kthread+0x75/0x9d
[kthread+0/157] kthread+0x0/0x9d
[<c012afd4>] kthread+0x0/0x9d
[kernel_thread_helper+5/11] kernel_thread_helper+0x5/0xb
[<c01012d1>] kernel_thread_helper+0x5/0xb
Code: 24 24 8b 04 a8 89 44 24 04 8b 74 97 14 05 00 00 00 40 c1 e8 0c 31 d2 c1 e0 05 03 05 90 3a 4c c0 8b 58 1c 8b 4b 04 8b 03 89 48 04 <89> 01 c7 43 04 00 02 20 00 c7 03 00 01 10 00 8b 43 0c 29 44 24
<6>note: events/0[3] exited with preempt_count 1
Unable to handle kernel NULL pointer dereference at virtual address 00000150
printing eip:
d90f642e
*pde = 00000000
Oops: 0000 [#4]
PREEMPT
Modules linked in: unionfs
CPU: 0
EIP: 0060:[pg0+415319086/1068614656] Not tainted VLI
EIP: 0060:[<d90f642e>] Not tainted VLI
EFLAGS: 00010206 (2.6.15.5)
EIP is at __fist_print_dentry+0x8f6/0xa44 [unionfs]
eax: c23f5200 ebx: cbe6d9d4 ecx: 00000000 edx: 00000000
esi: 00000150 edi: 00000000 ebp: d6b1e668 esp: d7fc9e68
ds: 007b es: 007b ss: 0068
Process umount (pid: 21910, threadinfo=d7fc8000 task=c1379030)
Stack: 00000000 d90f7cc3 4448203a d7fe0030 c0164af8 d7fc9f58 00000000 c01592a4
00000000 d90f5475 c1a0ccf0 d90f80cc d90f69f1 d90f8a24 d90f7ab2 000001a0
00000006 d90f5475 c1a0ccc4 c1a0ccf0 d90d8d1e d90f805c d90f720b 00000125
Call Trace:
[mntput_no_expire+17/122] mntput_no_expire+0x11/0x7a
[<c0164af8>] mntput_no_expire+0x11/0x7a
[__link_path_walk+2704/2918] __link_path_walk+0xa90/0xb66
[<c01592a4>] __link_path_walk+0xa90/0xb66
[pg0+415315061/1068614656] fist_dprint_internal+0xb/0x4e [unionfs]
[<d90f5475>] fist_dprint_internal+0xb/0x4e [unionfs]
[pg0+415320561/1068614656] fist_checkinode+0x166/0x16f [unionfs]
[<d90f69f1>] fist_checkinode+0x166/0x16f [unionfs]
[pg0+415315061/1068614656] fist_dprint_internal+0xb/0x4e [unionfs]
[<d90f5475>] fist_dprint_internal+0xb/0x4e [unionfs]
[pg0+415198494/1068614656] unionfs_clear_inode+0xfd/0x104 [unionfs]
[<d90d8d1e>] unionfs_clear_inode+0xfd/0x104 [unionfs]
[pg0+415315061/1068614656] fist_dprint_internal+0xb/0x4e [unionfs]
[<d90f5475>] fist_dprint_internal+0xb/0x4e [unionfs]
[pg0+415315061/1068614656] fist_dprint_internal+0xb/0x4e [unionfs]
[<d90f5475>] fist_dprint_internal+0xb/0x4e [unionfs]
[pg0+415315061/1068614656] fist_dprint_internal+0xb/0x4e [unionfs]
[<d90f5475>] fist_dprint_internal+0xb/0x4e [unionfs]
[pg0+415136587/1068614656] unionfs_d_release+0x36/0xb2d [unionfs]
[<d90c9b4b>] unionfs_d_release+0x36/0xb2d [unionfs]
[pg0+415136715/1068614656] unionfs_d_release+0xb6/0xb2d [unionfs]
[<d90c9bcb>] unionfs_d_release+0xb6/0xb2d [unionfs]
[d_free+21/35] d_free+0x15/0x23
[<c0160463>] d_free+0x15/0x23
[prune_dcache+421/480] prune_dcache+0x1a5/0x1e0
[<c0160ac2>] prune_dcache+0x1a5/0x1e0
[shrink_dcache_parent+10/23] shrink_dcache_parent+0xa/0x17
[<c0160e3a>] shrink_dcache_parent+0xa/0x17
[generic_shutdown_super+33/278] generic_shutdown_super+0x21/0x116
[<c015280c>] generic_shutdown_super+0x21/0x116
[deactivate_super+107/126] deactivate_super+0x6b/0x7e
[<c0152747>] deactivate_super+0x6b/0x7e
[sys_umount+104/111] sys_umount+0x68/0x6f
[<c01650ed>] sys_umount+0x68/0x6f
[remove_vma+49/54] remove_vma+0x31/0x36
[<c0142587>] remove_vma+0x31/0x36
[do_munmap+218/231] do_munmap+0xda/0xe7
[<c0143bdf>] do_munmap+0xda/0xe7
[sys_oldumount+11/14] sys_oldumount+0xb/0xe
[<c01650ff>] sys_oldumount+0xb/0xe
[sysenter_past_esp+84/117] sysenter_past_esp+0x54/0x75
[<c0102b43>] sysenter_past_esp+0x54/0x75
Code: 08 0f 0b a8 00 20 b4 0f d9 8b 45 4c 8b 80 58 01 00 00 8b 00 40 39 c2 7e 08 0f 0b a9 00 20 b4 0f d9 8b 43 24 8b 34 b8 85 f6 74 10 <8b> 06 85 c0 7f 2f 0f 0b 23 01 20 b4 0f d9 eb 25 57 ff 74 24 08
<4>unionfs_read_super: error while parsing options (err = -22)
Mar 5 12:32:10 srv syslogd 1.4.1: restart.
Mar 5 12:32:10 srv kernel: klogd 1.4.1, log source = /proc/kmsg started.
Mar 5 12:32:10 srv kernel: Inspecting /boot/System.map
Mar 5 12:32:10 srv partmon: Checking if partitions have enough free diskspace:
Mar 5 12:32:10 srv kernel: Loaded 30791 symbols from /boot/System.map.
Mar 5 12:32:10 srv kernel: Symbols match kernel version 2.6.15.
Mar 5 12:32:10 srv kernel: No module symbols loaded - kernel modules not enabled.
Mar 5 12:32:10 srv kernel: Linux version 2.6.15.5 (root at localhost) (gcc version 3.3.3) #1 PREEMPT Sat Mar 4 02:18:57 MSK 2006
--
Regards,
Dmitry mailto:dmitry at rsl.ru
More information about the unionfs
mailing list