* reiser4 oops on unmount
@ 2004-08-24 15:38 Chris Mason
2004-08-24 18:18 ` Hans Reiser
2004-08-25 13:14 ` Nikita Danilov
0 siblings, 2 replies; 4+ messages in thread
From: Chris Mason @ 2004-08-24 15:38 UTC (permalink / raw)
To: reiserfs-list
Hello everyone,
I was testing reiser4 in the suse kernel and hit an oops during
unmount. This could be a problem with my local merge, but I wanted to
send here in case it is obvious.
The workload was create a few files and dirs, delete them, create 1
million files in a single dir, sync, unmount.
Unable to handle kernel NULL pointer dereference at virtual address 00000010
printing eip:
f8a1826c
*pde = 00000000
Oops: 0000 [#1]
SMP
Modules linked in: reiser4 dm_mod
CPU: 0
EIP: 0060:[<f8a1826c>] Tainted: G U
EFLAGS: 00010246 (2.6.8-0-testing)
EIP is at safe_link_locality+0xc/0x30 [reiser4]
eax: 00000000 ebx: 00000000 ecx: 00000000 edx: 00000000
esi: d6a83340 edi: d6a83340 ebp: e65f7c94 esp: e65f7c90
ds: 007b es: 007b ss: 0068
Process umount (pid: 13346, threadinfo=e65f6000 task=f755d2d0)
Stack: 00000000 e65f7cb4 f8a182be e65f7cbc 00000000 d6a83340 04271204 d6a83340
d6a83340 e65f7ce4 f8a184a6 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 04271204 00000000 e65f7d20 f8a19cae 00000000
Call Trace:
[<c0106ed6>] show_stack+0xa6/0xb0
[<c0107057>] show_registers+0x157/0x1c0
[<c01071ec>] die+0x9c/0x160
[<c011726c>] do_page_fault+0x3cc/0x53b
[<c0106b4d>] error_code+0x2d/0x38
[<f8a182be>] build_link_key+0x2e/0xa0 [reiser4]
[<f8a184a6>] safe_link_del+0x16/0x30 [reiser4]
[<f8a19cae>] common_object_delete_no_reserve+0xee/0x120 [reiser4]
[<f8a19d3e>] delete_object+0x5e/0x70 [reiser4]
[<f8a101e7>] reiser4_delete_inode+0x67/0x70 [reiser4]
[<f8a1a67b>] delete_inode_common+0xdb/0x2c0 [reiser4]
[<f8a1a8af>] drop_common+0x3f/0x50 [reiser4]
[<f8a0ffb9>] reiser4_drop_inode+0x19/0x30 [reiser4]
[<c0180716>] iput+0x56/0x80
[<c017bc1f>] dput+0x8f/0x320
[<c017c5bd>] prune_dcache+0x20d/0x370
[<c017ccbd>] shrink_dcache_parent+0xd/0x20
[<c0168bda>] generic_shutdown_super+0x2a/0x260
[<c0169f2a>] kill_block_super+0x1a/0x40
[<c0168a08>] deactivate_super+0x68/0xa0
[<c01835a9>] sys_umount+0x59/0x80
[<c01835e9>] sys_oldumount+0x19/0x20
[<c0106071>] sysenter_past_esp+0x52/0x71
Code: 8b 48 10 8b 81 50 ff ff ff 8b 49 20 89 c2 31 c0 09 da 09 c8
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: reiser4 oops on unmount
2004-08-24 15:38 reiser4 oops on unmount Chris Mason
@ 2004-08-24 18:18 ` Hans Reiser
2004-08-25 13:14 ` Nikita Danilov
1 sibling, 0 replies; 4+ messages in thread
From: Hans Reiser @ 2004-08-24 18:18 UTC (permalink / raw)
To: Chris Mason; +Cc: reiserfs-list
Chris Mason wrote:
>Hello everyone,
>
>I was testing reiser4 in the suse kernel and hit an oops during
>unmount. This could be a problem with my local merge, but I wanted to
>send here in case it is obvious.
>
>The workload was create a few files and dirs, delete them, create 1
>million files in a single dir, sync, unmount.
>
>Unable to handle kernel NULL pointer dereference at virtual address 00000010
> printing eip:
>f8a1826c
>*pde = 00000000
>Oops: 0000 [#1]
>SMP
>Modules linked in: reiser4 dm_mod
>CPU: 0
>EIP: 0060:[<f8a1826c>] Tainted: G U
>EFLAGS: 00010246 (2.6.8-0-testing)
>EIP is at safe_link_locality+0xc/0x30 [reiser4]
>eax: 00000000 ebx: 00000000 ecx: 00000000 edx: 00000000
>esi: d6a83340 edi: d6a83340 ebp: e65f7c94 esp: e65f7c90
>ds: 007b es: 007b ss: 0068
>Process umount (pid: 13346, threadinfo=e65f6000 task=f755d2d0)
>Stack: 00000000 e65f7cb4 f8a182be e65f7cbc 00000000 d6a83340 04271204 d6a83340
> d6a83340 e65f7ce4 f8a184a6 00000000 00000000 00000000 00000000 00000000
> 00000000 00000000 00000000 04271204 00000000 e65f7d20 f8a19cae 00000000
>Call Trace:
> [<c0106ed6>] show_stack+0xa6/0xb0
> [<c0107057>] show_registers+0x157/0x1c0
> [<c01071ec>] die+0x9c/0x160
> [<c011726c>] do_page_fault+0x3cc/0x53b
> [<c0106b4d>] error_code+0x2d/0x38
> [<f8a182be>] build_link_key+0x2e/0xa0 [reiser4]
> [<f8a184a6>] safe_link_del+0x16/0x30 [reiser4]
> [<f8a19cae>] common_object_delete_no_reserve+0xee/0x120 [reiser4]
> [<f8a19d3e>] delete_object+0x5e/0x70 [reiser4]
> [<f8a101e7>] reiser4_delete_inode+0x67/0x70 [reiser4]
> [<f8a1a67b>] delete_inode_common+0xdb/0x2c0 [reiser4]
> [<f8a1a8af>] drop_common+0x3f/0x50 [reiser4]
> [<f8a0ffb9>] reiser4_drop_inode+0x19/0x30 [reiser4]
> [<c0180716>] iput+0x56/0x80
> [<c017bc1f>] dput+0x8f/0x320
> [<c017c5bd>] prune_dcache+0x20d/0x370
> [<c017ccbd>] shrink_dcache_parent+0xd/0x20
> [<c0168bda>] generic_shutdown_super+0x2a/0x260
> [<c0169f2a>] kill_block_super+0x1a/0x40
> [<c0168a08>] deactivate_super+0x68/0xa0
> [<c01835a9>] sys_umount+0x59/0x80
> [<c01835e9>] sys_oldumount+0x19/0x20
> [<c0106071>] sysenter_past_esp+0x52/0x71
>Code: 8b 48 10 8b 81 50 ff ff ff 8b 49 20 89 c2 31 c0 09 da 09 c8
>
>
>
>
>
>
the guys will look at this on thursday, we need to get some billable
hours in on digeo work for me to make payroll.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: reiser4 oops on unmount
2004-08-24 15:38 reiser4 oops on unmount Chris Mason
2004-08-24 18:18 ` Hans Reiser
@ 2004-08-25 13:14 ` Nikita Danilov
1 sibling, 0 replies; 4+ messages in thread
From: Nikita Danilov @ 2004-08-25 13:14 UTC (permalink / raw)
To: Chris Mason; +Cc: reiserfs-list
Chris Mason writes:
> Hello everyone,
>
> I was testing reiser4 in the suse kernel and hit an oops during
> unmount. This could be a problem with my local merge, but I wanted to
> send here in case it is obvious.
>
> The workload was create a few files and dirs, delete them, create 1
> million files in a single dir, sync, unmount.
>
> Unable to handle kernel NULL pointer dereference at virtual address 00000010
> printing eip:
> f8a1826c
> *pde = 00000000
> Oops: 0000 [#1]
> SMP
> Modules linked in: reiser4 dm_mod
> CPU: 0
> EIP: 0060:[<f8a1826c>] Tainted: G U
> EFLAGS: 00010246 (2.6.8-0-testing)
> EIP is at safe_link_locality+0xc/0x30 [reiser4]
> eax: 00000000 ebx: 00000000 ecx: 00000000 edx: 00000000
> esi: d6a83340 edi: d6a83340 ebp: e65f7c94 esp: e65f7c90
> ds: 007b es: 007b ss: 0068
> Process umount (pid: 13346, threadinfo=e65f6000 task=f755d2d0)
> Stack: 00000000 e65f7cb4 f8a182be e65f7cbc 00000000 d6a83340 04271204 d6a83340
> d6a83340 e65f7ce4 f8a184a6 00000000 00000000 00000000 00000000 00000000
> 00000000 00000000 00000000 04271204 00000000 e65f7d20 f8a19cae 00000000
> Call Trace:
> [<c0106ed6>] show_stack+0xa6/0xb0
> [<c0107057>] show_registers+0x157/0x1c0
> [<c01071ec>] die+0x9c/0x160
> [<c011726c>] do_page_fault+0x3cc/0x53b
> [<c0106b4d>] error_code+0x2d/0x38
> [<f8a182be>] build_link_key+0x2e/0xa0 [reiser4]
> [<f8a184a6>] safe_link_del+0x16/0x30 [reiser4]
> [<f8a19cae>] common_object_delete_no_reserve+0xee/0x120 [reiser4]
> [<f8a19d3e>] delete_object+0x5e/0x70 [reiser4]
> [<f8a101e7>] reiser4_delete_inode+0x67/0x70 [reiser4]
> [<f8a1a67b>] delete_inode_common+0xdb/0x2c0 [reiser4]
> [<f8a1a8af>] drop_common+0x3f/0x50 [reiser4]
> [<f8a0ffb9>] reiser4_drop_inode+0x19/0x30 [reiser4]
> [<c0180716>] iput+0x56/0x80
> [<c017bc1f>] dput+0x8f/0x320
> [<c017c5bd>] prune_dcache+0x20d/0x370
> [<c017ccbd>] shrink_dcache_parent+0xd/0x20
> [<c0168bda>] generic_shutdown_super+0x2a/0x260
> [<c0169f2a>] kill_block_super+0x1a/0x40
> [<c0168a08>] deactivate_super+0x68/0xa0
> [<c01835a9>] sys_umount+0x59/0x80
> [<c01835e9>] sys_oldumount+0x19/0x20
> [<c0106071>] sysenter_past_esp+0x52/0x71
> Code: 8b 48 10 8b 81 50 ff ff ff 8b 49 20 89 c2 31 c0 09 da 09 c8
This looks very familiar to me. I think I discussed this with Vladimir a
couple of weeks ago. Problem is that ->delete_inode() does a truncate
after root dentry was destroyed. This shouldn't happen, because there
should be no reiser4 dentries/inodes pending deletion at this
point. Confusingly enough, I see that deactivate_super() calls
kill_block_super() directly... There used to be reiser4_kill_super()
that called kill_block_super() after making sure all inodes/dentries are
removed.
>
>
>
Nikita.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: reiser4 oops on unmount
@ 2004-08-25 2:12 David Dabbs
0 siblings, 0 replies; 4+ messages in thread
From: David Dabbs @ 2004-08-25 2:12 UTC (permalink / raw)
To: Chris Mason; +Cc: reiserfs-list
>Chris Masin wrote:
>
>Hello everyone,
>
>I was testing reiser4 in the suse kernel and hit an oops during
>unmount. This could be a problem with my local merge, but I wanted to
>send here in case it is obvious.
>
>The workload was create a few files and dirs, delete them, create 1
>million files in a single dir, sync, unmount.
>
>
Chris I also experienced issues during umounts while running Namesys' mongo benchmarking utility under SuSE 9.1. That was around the 2.6.7-mm1/2 timeframe. Haven't rerun the benchmarks since. Will rerun it when I get back home. Were you running a SuSE-internal config or on a config I can attempt to reproduce?
David
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-08-25 13:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-24 15:38 reiser4 oops on unmount Chris Mason
2004-08-24 18:18 ` Hans Reiser
2004-08-25 13:14 ` Nikita Danilov
-- strict thread matches above, loose matches on Subject: below --
2004-08-25 2:12 David Dabbs
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.