Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366767 - kjournald failed on ext3 volume with "data=ordered" option.
Summary: kjournald failed on ext3 volume with "data=ordered" option.
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://bugzilla.kernel.org/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-10 15:17 UTC by Oleg
Modified: 2011-05-16 16:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg 2011-05-10 15:17:12 UTC
When I use thundrebird sometimes freezing proccess causes. All process writing to the volume freeze (state D) and the volume cann't be synchronized or remounted.
Kernel show error:

May  6 23:43:55 o01eg kernel: [  495.167733] ------------[ cut here
]------------
May  6 23:43:55 o01eg kernel: [  495.167738] kernel BUG at fs/jbd/commit.c:529!
May  6 23:43:55 o01eg kernel: [  495.167741] invalid opcode: 0000 [#1] PREEMPT
SMP 
May  6 23:43:55 o01eg kernel: [  495.167746] last sysfs file:
/sys/devices/platform/it87.656/temp2_input
May  6 23:43:55 o01eg kernel: [  495.167749] CPU 2 
May  6 23:43:55 o01eg kernel: [  495.167750] Modules linked in: ppp_deflate
zlib_deflate bsd_comp ppp_async option usb_wwan oss_hdaudio osscore vhba
vboxnetadp vboxnetflt vboxdrv tun nvidiafb ppdev parport_pc fb_ddc parport
vgastate
May  6 23:43:55 o01eg kernel: [  495.167770] 
May  6 23:43:55 o01eg kernel: [  495.167774] Pid: 1909, comm: kjournald Not
tainted 2.6.36-gentoo-r5 #1 P35T-DS3P/P35T-DS3P
May  6 23:43:55 o01eg kernel: [  495.167777] RIP: 0010:[<ffffffff811788a3>] 
[<ffffffff811788a3>] journal_commit_transaction+0x94d/0x1262
May  6 23:43:55 o01eg kernel: [  495.167787] RSP: 0018:ffff88007c57fd30 
EFLAGS: 00010202
May  6 23:43:55 o01eg kernel: [  495.167790] RAX: 0000000000000023 RBX:
ffff880071ac5bc0 RCX: ffff88007c57e010
May  6 23:43:55 o01eg kernel: [  495.167794] RDX: 0000000000000100 RSI:
ffff88007f46c468 RDI: ffff88007e6a6c24
May  6 23:43:55 o01eg kernel: [  495.167797] RBP: ffff88007c57fe50 R08:
0000000000000000 R09: ffff880001b0d560
May  6 23:43:55 o01eg kernel: [  495.167800] R10: 0000000000000002 R11:
0000000000000002 R12: ffff88007e6a6c00
May  6 23:43:55 o01eg kernel: [  495.167803] R13: ffff88007e6a6d4c R14:
ffff88007eac3000 R15: 0000000000000000
May  6 23:43:55 o01eg kernel: [  495.167807] FS:  0000000000000000(0000)
GS:ffff880001b00000(0000) knlGS:0000000000000000
May  6 23:43:55 o01eg kernel: [  495.167811] CS:  0010 DS: 0000 ES: 0000 CR0:
000000008005003b
May  6 23:43:55 o01eg kernel: [  495.167814] CR2: 00000000015c9660 CR3:
000000006549b000 CR4: 00000000000006e0
May  6 23:43:55 o01eg kernel: [  495.167817] DR0: 0000000000000000 DR1:
0000000000000000 DR2: 0000000000000000
May  6 23:43:55 o01eg kernel: [  495.167820] DR3: 0000000000000000 DR6:
00000000ffff0ff0 DR7: 0000000000000400
May  6 23:43:55 o01eg kernel: [  495.167824] Process kjournald (pid: 1909,
threadinfo ffff88007c57e000, task ffff88007e7fc7b0)
May  6 23:43:55 o01eg kernel: [  495.167827] Stack:
May  6 23:43:55 o01eg kernel: [  495.167829]  ffff880001b12540 ffff88007f8c47b0
ffff88007c57e010 000000734a4bcd0b
May  6 23:43:55 o01eg kernel: [  495.167833] <0> ffff88007c57e000
ffff88007c57e000 ffff88007eac3000 ffff88007e6a6d4c
May  6 23:43:55 o01eg kernel: [  495.167839] <0> ffff88007e6a6c00
0000000000000121 ffff88007e6a6c24 ffff88007c57e010
May  6 23:43:55 o01eg kernel: [  495.167845] Call Trace:
May  6 23:43:55 o01eg kernel: [  495.167852]  [<ffffffff81061551>] ?
lock_timer_base+0x27/0x4d
May  6 23:43:55 o01eg kernel: [  495.167857]  [<ffffffff81061820>] ?
try_to_del_timer_sync+0x7b/0x85
May  6 23:43:55 o01eg kernel: [  495.167862]  [<ffffffff8117bb05>]
kjournald+0xe6/0x22c
May  6 23:43:55 o01eg kernel: [  495.167867]  [<ffffffff8106d995>] ?
autoremove_wake_function+0x0/0x34
May  6 23:43:55 o01eg kernel: [  495.167872]  [<ffffffff8117ba1f>] ?
kjournald+0x0/0x22c
May  6 23:43:55 o01eg kernel: [  495.167875]  [<ffffffff8106d58e>]
kthread+0x7d/0x85
May  6 23:43:55 o01eg kernel: [  495.167881]  [<ffffffff81026754>]
kernel_thread_helper+0x4/0x10
May  6 23:43:55 o01eg kernel: [  495.167885]  [<ffffffff8106d511>] ?
kthread+0x0/0x85
May  6 23:43:55 o01eg kernel: [  495.167889]  [<ffffffff81026750>] ?
kernel_thread_helper+0x0/0x10
May  6 23:43:55 o01eg kernel: [  495.167892] Code: 48 c7 85 58 ff ff ff 00 00
00 00 45 31 f6 c7 85 48 ff ff ff 00 00 00 00 48 c7 85 50 ff ff ff 00 00 00 00
4d 89 ef e9 8d 02 00 00 <0f> 0b eb fe 41 f6 04 24 02 74 24 49 8b 45 00 f0 80 60
02 ef 4c 
May  6 23:43:55 o01eg kernel: [  495.167934] RIP  [<ffffffff811788a3>]
journal_commit_transaction+0x94d/0x1262
May  6 23:43:55 o01eg kernel: [  495.167939]  RSP <ffff88007c57fd30>
May  6 23:43:55 o01eg kernel: [  495.167943] ---[ end trace 51ef317e59fa350a
]---

Checking volume by e2fsck don't find anything.

The next patch fixes wrong behaviour, but it was applied only at 2.3.39-rc3 kernel. Is it possible to add this patch to gentoo-sources for stable kernels?
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=523334ba508a8baaf5fc9f15fbad9ed04f334f48



Reproducible: Sometimes

Steps to Reproduce:
1. Run thundrebird with home at ext3 volume with "data=ordered" option.
2. Wait some hours (include working with thunderbird or getting mail).
3. Get error.
Comment 1 Mike Pagano gentoo-dev 2011-05-16 16:55:00 UTC
Thanks for reporting upstream, we'll follow the upstream report and attempt to back port any fixes identified.