Hello,
i have now used aufs for a very long time, and it was working perfectly!
But now with the update from this monday i have a problem. With the
version from last week everthing was working well.
This is my configuration:
CONFIG_AUFS = m
#CONFIG_AUFS_FAKE_DM = y
CONFIG_AUFS_BRANCH_MAX_127 = y
CONFIG_AUFS_BRANCH_MAX_511 =
CONFIG_AUFS_BRANCH_MAX_1023 =
#CONFIG_AUFS_BRANCH_MAX_32767 =
CONFIG_AUFS_SYSAUFS = y
CONFIG_AUFS_HINOTIFY =
CONFIG_AUFS_EXPORT =
CONFIG_AUFS_ROBR =
#CONFIG_AUFS_DLGT = y
CONFIG_AUFS_RR_SQUASHFS = y
CONFIG_AUFS_SPLICE_PATCH =
CONFIG_AUFS_PUT_FILP_PATCH =
CONFIG_AUFS_LHASH_PATCH = y
CONFIG_AUFS_SYSFS_GET_DENTRY_PATCH =
CONFIG_AUFS_KSIZE_PATCH =
CONFIG_AUFS_WORKAROUND_FUSE =
CONFIG_AUFS_DEBUG = y
CONFIG_AUFS_COMPAT =
Normally i a using CONFIG_AUFS_DLGT, but to make things easier, if have
disabled it.
(Do you remember me, i am the guy using Apparmor)
I am using tmpfs on the RW layer and a compressed reiser4 filesystem on
the RO layer.
Now during boot i get the following kernal crash:
-----------------------------------------------------------------------------------------------------------------------------------
Linux version 2.6.22.9-0.4-ulrich ([EMAIL PROTECTED]) (gcc version 4.2.1
(SUSE Linux)) #4 Mon Oct 22 08:58:58 CEST 2007
....
Freeing unused kernel memory: 188k freed
Loading Reiser4. See www.namesys.com for a description of Reiser4.
reiser4[mount(810)]: try_init_format40
(fs/reiser4/plugin/disk_format/disk_format40.c:298)[vpf-1363]:
NOTICE: Warning: mounting sdb1 with errors.
reiser4: sdb1: found disk format 4.0.0.
aufs 20071022
BUG: unable to handle kernel NULL pointer dereference at virtual address
00000051
printing eip:
e883963f
*pde = 00000000
Oops: 0000 [#1]
last sysfs file:
Modules linked in: aufs reiser4 zlib_deflate
CPU: 0
EIP: 0060:[<e883963f>] Tainted: G N VLI
EFLAGS: 00010207 (2.6.22.9-0.4-ulrich #4)
EIP is at reiser4_seal_is_set+0x0/0xc [reiser4]
eax: 0000004d ebx: e7421cc0 ecx: 00000000 edx: 00000011
esi: e7bfd194 edi: 0000004d ebp: e7bfd238 esp: e7cb3bbc
ds: 007b es: 007b fs: 0000 gs: 0033 ss: 0068
Process sh (pid: 858, ti=e7cb2000 task=c16bfa70 task.ti=e7cb2000)
Stack: e88437e7 e7421cc0 e7cb3c54 e88566c7 c0319531 e7cb3bf4 c031960b
e7a21394
00000001 000003d5 00000001 e7cb3bfc e7cb3cd0 e7c3cf00 00000292
00000001
00000000 00000000 e7c3cf00 00000000 00000000 00000000 00000000
00000000
Call Trace:
[<e88437e7>] load_file_hint+0x1e/0x59 [reiser4]
[<e88566c7>] readpages_ctail+0xee/0x2db [reiser4]
[<c0319531>] cond_resched+0x26/0x31
[<c031960b>] wait_for_completion+0xf/0x82
[<e884a373>] readpages_cryptcompress+0x32/0x56 [reiser4]
[<e884a341>] readpages_cryptcompress+0x0/0x56 [reiser4]
[<c0142500>] __do_page_cache_readahead+0xd3/0x189
[<c015b586>] do_lookup+0x4f/0x140
[<c0163bb0>] dput+0x21/0xd7
[<c015d5da>] __link_path_walk+0x973/0xab4
[<c0142602>] blockable_page_cache_readahead+0x4c/0x9f
[<c01427b8>] page_cache_readahead+0xc5/0x198
[<c013dca2>] do_generic_mapping_read+0x12f/0x3f1
[<c013f7aa>] generic_file_aio_read+0x129/0x14f
[<c013d3e3>] file_read_actor+0x0/0xde
[<c0155af4>] do_sync_read+0xc6/0x109
[<c0122cbe>] autoremove_wake_function+0x0/0x33
[<ea8d7b35>] stobr+0x24/0x42 [aufs]
[<ea8e6cf4>] di_read_unlock+0x87/0xc9 [aufs]
[<ea8e6da9>] di_read_lock+0x73/0x87 [aufs]
[<ea8ea260>] fbstart+0x39/0x3f [aufs]
[<e884b9aa>] read_cryptcompress+0x5a/0x77 [reiser4]
[<e8847a32>] prot_read_cryptcompress+0xc7/0x10d [reiser4]
[<e884796b>] prot_read_cryptcompress+0x0/0x10d [reiser4]
[<c01562f7>] vfs_read+0xa6/0x12e
[<ea8e9313>] aufs_read+0x150/0x253 [aufs]
[<c01546b5>] __dentry_open+0xda/0x16d
[<c01547c2>] nameidata_to_filp+0x24/0x33
[<ea8e91c3>] aufs_read+0x0/0x253 [aufs]
[<c01562f7>] vfs_read+0xa6/0x12e
[<c0158d58>] kernel_read+0x37/0x48
[<c0158e2f>] prepare_binprm+0xc6/0xcc
[<c01589a7>] count+0x14/0x3f
[<c0159f4e>] do_execve+0xe3/0x1d1
[<c0102574>] sys_execve+0x2f/0x57
[<c0103b82>] syscall_call+0x7/0xb
=======================
Code: 00 00 8b 88 8c 00 00 00 89 13 89 4b 04 8b 50 44 8b 40 40 89 53 0c
89 43 08 58 5b 5f c3 c7 00 00 00 00 00 c7 40 04 00 00 00 00 c3 <8b> 50
04 0b 10 0f 95 c0 0f b6 c0 c3 55 89 c5 57 56 be 09 fe ff
EIP: [<e883963f>] reiser4_seal_is_set+0x0/0xc [reiser4] SS:ESP 0068:e7cb3bbc
reiser4[sh(858)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2410)[vs-44]:
WARNING: out of memory?
BUG: unable to handle kernel NULL pointer dereference at virtual address
00000045
printing eip:
e883af21
*pde = 00000000
Oops: 0000 [#2]
last sysfs file:
Modules linked in: aufs reiser4 zlib_deflate
CPU: 0
EIP: 0060:[<e883af21>] Tainted: G N VLI
EFLAGS: 00010206 (2.6.22.9-0.4-ulrich #4)
EIP is at free_file_fsdata_nolock+0xa/0x34 [reiser4]
eax: c15d39e0 ebx: c15d39e0 ecx: 00000011 edx: 000036cf
esi: 00000001 edi: 00000000 ebp: e7ed4334 esp: e7cb3984
ds: 007b es: 007b fs: 0000 gs: 0000 ss: 0068
Process sh (pid: 858, ti=e7cb2000 task=c16bfa70 task.ti=e7cb2000)
Stack: e7ed4334 e884552a e8862072 c16bfc14 0000035a e885e6fc e8861cfa
0000096a
e886206c 00000000 00000000 00000000 00000010 c15d39e0 e7421dc0
e7ed4444
00000010 c15d39e0 e7fe0894 e7ed4334 c0156930 00000000 00000000
e7fe0894
Call Trace:
[<e884552a>] release_unix_file+0x183/0x196 [reiser4]
[<c0156930>] __fput+0xac/0x15d
[<ea8ea317>] au_hfput+0x1f/0x40 [aufs]
[<ea8ea3e2>] set_h_fptr+0xaa/0xc9 [aufs]
[<ea8ea622>] au_finfo_fin+0xa9/0x12f [aufs]
[<c02167fd>] cursor_timer_handler+0x0/0x26
[<ea8e9177>] aufs_release_nondir+0x82/0xce [aufs]
[<c0145ed7>] free_pgd_range+0x152/0x17f
[<c0156930>] __fput+0xac/0x15d
[<c0148d69>] remove_vma+0x2a/0x3b
[<c0148e2c>] exit_mmap+0xb2/0xc9
[<c01138b8>] mmput+0x20/0x63
[<c0117870>] do_exit+0x1be/0x648
[<c0202ec0>] bust_spinlocks+0x14/0x24
[<c01054bb>] die+0x19d/0x1a5
[<c031bfbf>] do_page_fault+0x46b/0x53e
[<c031bb54>] do_page_fault+0x0/0x53e
[<c031ab0a>] error_code+0x6a/0x70
[<e883963f>] reiser4_seal_is_set+0x0/0xc [reiser4]
[<e88437e7>] load_file_hint+0x1e/0x59 [reiser4]
[<e88566c7>] readpages_ctail+0xee/0x2db [reiser4]
[<c0319531>] cond_resched+0x26/0x31
[<c031960b>] wait_for_completion+0xf/0x82
[<e884a373>] readpages_cryptcompress+0x32/0x56 [reiser4]
[<e884a341>] readpages_cryptcompress+0x0/0x56 [reiser4]
[<c0142500>] __do_page_cache_readahead+0xd3/0x189
[<c015b586>] do_lookup+0x4f/0x140
[<c0163bb0>] dput+0x21/0xd7
[<c015d5da>] __link_path_walk+0x973/0xab4
[<c0142602>] blockable_page_cache_readahead+0x4c/0x9f
[<c01427b8>] page_cache_readahead+0xc5/0x198
[<c013dca2>] do_generic_mapping_read+0x12f/0x3f1
[<c013f7aa>] generic_file_aio_read+0x129/0x14f
[<c013d3e3>] file_read_actor+0x0/0xde
[<c0155af4>] do_sync_read+0xc6/0x109
[<c0122cbe>] autoremove_wake_function+0x0/0x33
[<ea8d7b35>] stobr+0x24/0x42 [aufs]
[<ea8e6cf4>] di_read_unlock+0x87/0xc9 [aufs]
[<ea8e6da9>] di_read_lock+0x73/0x87 [aufs]
[<ea8ea260>] fbstart+0x39/0x3f [aufs]
[<e884b9aa>] read_cryptcompress+0x5a/0x77 [reiser4]
[<e8847a32>] prot_read_cryptcompress+0xc7/0x10d [reiser4]
[<e884796b>] prot_read_cryptcompress+0x0/0x10d [reiser4]
[<c01562f7>] vfs_read+0xa6/0x12e
[<ea8e9313>] aufs_read+0x150/0x253 [aufs]
[<c01546b5>] __dentry_open+0xda/0x16d
[<c01547c2>] nameidata_to_filp+0x24/0x33
[<ea8e91c3>] aufs_read+0x0/0x253 [aufs]
[<c01562f7>] vfs_read+0xa6/0x12e
[<c0158d58>] kernel_read+0x37/0x48
[<c0158e2f>] prepare_binprm+0xc6/0xcc
[<c01589a7>] count+0x14/0x3f
[<c0159f4e>] do_execve+0xe3/0x1d1
[<c0102574>] sys_execve+0x2f/0x57
[<c0103b82>] syscall_call+0x7/0xb
=======================
Code: c8 79 87 e8 c7 43 78 00 00 00 00 5b c3 85 c0 75 04 0f 0b eb fe 89
c2 a1 dc 79 87 e8 e9 8c 7e 91 d7 53 8b 48 78 89 c3 85 c9 74 21 <8b> 41
34 8b 51 38 89 50 04 89 02 8d 41 34 83 79 04 00 89 41 34
EIP: [<e883af21>] free_file_fsdata_nolock+0xa/0x34 [reiser4] SS:ESP
0068:e7cb3984
Fixing recursive fault but reboot is needed!
-----------------------------------------------------------------------------------------------------------------------------------
Do you have an idea, that could be the problem?
I already diffed the two aufs versions but i have not seen anything
special ...
Thanks,
Ulrich
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/