Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263365 - ext4 bugs in gentoo-sources-2.6.28-r[34] causing system failures
Summary: ext4 bugs in gentoo-sources-2.6.28-r[34] causing system failures
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-22 14:23 UTC by Jaak Ristioja
Modified: 2009-08-31 16:39 UTC (History)
1 user (show)

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


Attachments
Bugs with gentoo-sources-2.6.28-r3 (1-3,10.22 KB, text/plain)
2009-03-22 14:25 UTC, Jaak Ristioja
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2009-03-22 14:23:17 UTC
I'm running a root ext4 filesystem, and I've been getting some weird behaviour lately: the kernel doesn't panic but outputs a bug to dmesg, after which some apps like the KDE4 plasma just hang, sometimes crash, and wont come up again. Issueing either "reboot" or "poweroff" is a certain way to make a shell unresponsive. These commands just execute and do nothing, not even kill -9 works on them. The same happens to gdb and strace when I try to attach to some of those processes.

Anyway:

/dev/sda5 on / type ext4 (rw,noatime,acl,nodelalloc,commit=1)

And here's a recent output of "dmesg":

[113528.960334] ------------[ cut here ]------------
[113528.960344] kernel BUG at fs/ext4/inode.c:2967!
[113528.960350] invalid opcode: 0000 [#1] PREEMPT SMP 
[113528.960360] last sysfs file: /sys/devices/platform/coretemp.1/temp1_input
[113528.960365] CPU 0 
[113528.960370] Modules linked in: vboxdrv snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss reiserfs snd_hda_intel snd_pcm snd_timer snd_page_alloc snd_hwdep snd
[113528.960406] Pid: 3392, comm: pdflush Not tainted 2.6.28-gentoo-r4-arm #1
[113528.960412] RIP: 0010:[<ffffffff8032b7a1>]  [<ffffffff8032b7a1>] ext4_normal_writepage+0xc1/0xe0
[113528.960429] RSP: 0018:ffff88000fd3db90  EFLAGS: 00010202
[113528.960434] RAX: 0000000000000001 RBX: ffffe20004004a78 RCX: 0000000000000000
[113528.960440] RDX: 0000000000000000 RSI: ffff8800409f7850 RDI: 0000000000000001
[113528.960445] RBP: ffff88000fd3dba0 R08: 0000000000000000 R09: ffffffff8032a490
[113528.960451] R10: 000000001cc99899 R11: 0000000000000000 R12: ffff88000fd3de40
[113528.960456] R13: 0000000000000001 R14: 0000000000000067 R15: 0000000000000002
[113528.960463] FS:  0000000000000000(0000) GS:ffffffff80989040(0000) knlGS:0000000000000000
[113528.960469] CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
[113528.960474] CR2: 0000000000829700 CR3: 0000000000201000 CR4: 00000000000406e0
[113528.960479] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[113528.960485] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[113528.960491] Process pdflush (pid: 3392, threadinfo ffff88000fd3c000, task ffff8800b1c62b40)
[113528.960496] Stack:
[113528.960500]  ffff88007f2f2b70 ffff88000fd3dc28 ffff88000fd3dbc0 ffffffff8027f5e2
[113528.960510]  ffffe20004004a78 ffffe20004004a78 ffff88000fd3dce0 ffffffff802808fc
[113528.960521]  0000000000000000 ffff88007f2f2b70 ffffffff8027f5d0 ffff88000fd3de40
[113528.960533] Call Trace:
[113528.960538]  [<ffffffff8027f5e2>] __writepage+0x12/0x40
[113528.960548]  [<ffffffff802808fc>] write_cache_pages+0x25c/0x480
[113528.960558]  [<ffffffff8027f5d0>] ? __writepage+0x0/0x40
[113528.960567]  [<ffffffff80280b3f>] generic_writepages+0x1f/0x30
[113528.960576]  [<ffffffff80280b88>] do_writepages+0x38/0x40
[113528.960585]  [<ffffffff802c37f0>] __writeback_single_inode+0xb0/0x3b0
[113528.960595]  [<ffffffff8069c9d6>] ? _read_lock+0x16/0x30
[113528.960605]  [<ffffffff802c3ffb>] generic_sync_sb_inodes+0x2fb/0x3a0
[113528.960614]  [<ffffffff802c40a9>] sync_sb_inodes+0x9/0x10
[113528.960622]  [<ffffffff802c42a6>] writeback_inodes+0x86/0xd0
[113528.960631]  [<ffffffff8027fd84>] wb_kupdate+0xa4/0x120
[113528.960639]  [<ffffffff80280fd0>] ? pdflush+0x0/0x220
[113528.960647]  [<ffffffff8028110e>] pdflush+0x13e/0x220
[113528.960655]  [<ffffffff8027fce0>] ? wb_kupdate+0x0/0x120
[113528.960663]  [<ffffffff80280fd0>] ? pdflush+0x0/0x220
[113528.960671]  [<ffffffff80255a1d>] kthread+0x4d/0x80
[113528.960679]  [<ffffffff8020c649>] child_rip+0xa/0x11
[113528.960688]  [<ffffffff802559d0>] ? kthread+0x0/0x80
[113528.960695]  [<ffffffff8020c63f>] ? child_rip+0x0/0x11
[113528.960703] Code: c7 c6 10 e8 32 80 e8 df e9 f9 ff 5b 41 5c c9 c3 48 8b 77 10 45 31 c0 31 d2 31 ff 49 c7 c1 90 a4 32 80 e8 23 ec ff ff 85 c0 74 86 <0f> 0b eb fe 4c 89 e2 48 89 df 48 c7 c6 10 e8 32 80 e8 c9 ea f9 
[113528.960788] RIP  [<ffffffff8032b7a1>] ext4_normal_writepage+0xc1/0xe0
[113528.960797]  RSP <ffff88000fd3db90>
[113528.960802] ---[ end trace bcce41d4506306df ]---
Comment 1 Jaak Ristioja 2009-03-22 14:25:35 UTC
Created attachment 185876 [details]
Bugs with gentoo-sources-2.6.28-r3

With gentoo-sources-2.6.28-r3 I used to have these.
Comment 2 Mike Pagano gentoo-dev 2009-04-07 01:34:52 UTC
Can you test with gentoo-sources-2.6.29-r1 and let me know if this occurs?
Comment 3 Jaak Ristioja 2009-04-07 06:35:46 UTC
(In reply to comment #2)
> Can you test with gentoo-sources-2.6.29-r1 and let me know if this occurs?
> 

I'm sorry - no. It's quite a busy time for me, and as I can't afford much downtime nor data loss these days, so I already switched back to ext3.
Comment 4 Mike Pagano gentoo-dev 2009-04-07 12:43:25 UTC
Ok, if you ever go back to ext4 and experience any problems, feel free to open a bug.  There's good activity in Ext4 development so there's a chance this may have been fixed in later kernels.