Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340601 - sys-kernel/gentoo-sources-2.6.34-r11: kernel BUG at fs/reiserfs/journal.c (from /var/log/messages)
Summary: sys-kernel/gentoo-sources-2.6.34-r11: kernel BUG at fs/reiserfs/journal.c (fr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard: linux-2.6.35
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-11 23:22 UTC by dsuchka
Modified: 2010-12-17 14:06 UTC (History)
1 user (show)

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 dsuchka 2010-10-11 23:22:27 UTC
Oct 12 01:27:26 spb-dzheika kernel: [35453.705102] ------------[ cut here ]------------
Oct 12 01:27:26 spb-dzheika kernel: [35453.705109] kernel BUG at fs/reiserfs/journal.c:1508!
Oct 12 01:27:26 spb-dzheika kernel: [35453.705112] invalid opcode: 0000 [#1] SMP 
Oct 12 01:27:26 spb-dzheika kernel: [35453.705115] last sysfs file: /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
Oct 12 01:27:26 spb-dzheika kernel: [35453.705118] CPU 0 
Oct 12 01:27:26 spb-dzheika kernel: [35453.705120] Modules linked in: ipv6 iwl3945 pcmcia iwlcore sdhci_pci mac80211 sdhci tifm_7xx1 psmouse mmc_core i2c_i801 cfg80211 tifm_core acer_wmi yenta_socket rsrc_nonstatic pcmcia_core wmi snd_pcsp rfkill
Oct 12 01:27:26 spb-dzheika kernel: [35453.705137] 
Oct 12 01:27:26 spb-dzheika kernel: [35453.705140] Pid: 177, comm: sync_supers Not tainted 2.6.34-gentoo-r11 #1 Columbia                       /TravelMate 5720                
Oct 12 01:27:26 spb-dzheika kernel: [35453.705143] RIP: 0010:[<ffffffff8115a6e4>]  [<ffffffff8115a6e4>] flush_journal_list+0x584/0x720
Oct 12 01:27:26 spb-dzheika kernel: [35453.705153] RSP: 0018:ffff88007d2cfc60  EFLAGS: 00010202
Oct 12 01:27:26 spb-dzheika kernel: [35453.705156] RAX: 0000000000000001 RBX: ffff880053e8a000 RCX: 0000000000400000
Oct 12 01:27:26 spb-dzheika kernel: [35453.705158] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffc900104937c0
Oct 12 01:27:26 spb-dzheika kernel: [35453.705161] RBP: ffff88007993f400 R08: ffff88007993f400 R09: 0000000000400000
Oct 12 01:27:26 spb-dzheika kernel: [35453.705163] R10: 0000000000000000 R11: 000000000000001b R12: ffffc900104937c0
Oct 12 01:27:26 spb-dzheika kernel: [35453.705166] R13: ffff88007cc19000 R14: ffffc9001042a000 R15: ffffc9001042a0a8
Oct 12 01:27:26 spb-dzheika kernel: [35453.705169] FS:  0000000000000000(0000) GS:ffff880001a00000(0000) knlGS:0000000000000000
Oct 12 01:27:26 spb-dzheika kernel: [35453.705172] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Oct 12 01:27:26 spb-dzheika kernel: [35453.705175] CR2: 00007f7d301fd000 CR3: 000000007857d000 CR4: 00000000000006f0
Oct 12 01:27:26 spb-dzheika kernel: [35453.705177] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Oct 12 01:27:26 spb-dzheika kernel: [35453.705180] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Oct 12 01:27:26 spb-dzheika kernel: [35453.705183] Process sync_supers (pid: 177, threadinfo ffff88007d2ce000, task ffff88007f06de80)
Oct 12 01:27:26 spb-dzheika kernel: [35453.705185] Stack:
Oct 12 01:27:26 spb-dzheika kernel: [35453.705187]  00000000000006db ffff88007bf3c758 ffff88000008746c 0000000000000000
Oct 12 01:27:26 spb-dzheika kernel: [35453.705191] <0> 000000160000f540 ffffc90000000000 ffff88007bf3c680 ffff880066ff7600
Oct 12 01:27:26 spb-dzheika kernel: [35453.705195] <0> ffff88007993f400 ffffc9001042a000 ffffc9001042a168 ffffc9001042a000
Oct 12 01:27:26 spb-dzheika kernel: [35453.705200] Call Trace:
Oct 12 01:27:26 spb-dzheika kernel: [35453.705205]  [<ffffffff8115a739>] ? flush_journal_list+0x5d9/0x720
Oct 12 01:27:26 spb-dzheika kernel: [35453.705210]  [<ffffffff8115a944>] ? flush_used_journal_lists+0xc4/0xd0
Oct 12 01:27:26 spb-dzheika kernel: [35453.705214]  [<ffffffff8115b543>] ? do_journal_end+0xbf3/0xf60
Oct 12 01:27:26 spb-dzheika kernel: [35453.705217]  [<ffffffff8115e12e>] ? do_journal_begin_r+0x15e/0x370
Oct 12 01:27:26 spb-dzheika kernel: [35453.705222]  [<ffffffff810aac20>] ? bdi_sync_supers+0x0/0x60
Oct 12 01:27:26 spb-dzheika kernel: [35453.705226]  [<ffffffff8114b730>] ? reiserfs_sync_fs+0x60/0x80
Oct 12 01:27:26 spb-dzheika kernel: [35453.705231]  [<ffffffff810d82f3>] ? sync_supers+0xa3/0xc0
Oct 12 01:27:26 spb-dzheika kernel: [35453.705234]  [<ffffffff810aac65>] ? bdi_sync_supers+0x45/0x60
Oct 12 01:27:26 spb-dzheika kernel: [35453.705239]  [<ffffffff8105071e>] ? kthread+0x8e/0xa0
Oct 12 01:27:26 spb-dzheika kernel: [35453.705244]  [<ffffffff81003254>] ? kernel_thread_helper+0x4/0x10
Oct 12 01:27:26 spb-dzheika kernel: [35453.705247]  [<ffffffff81050690>] ? kthread+0x0/0xa0
Oct 12 01:27:26 spb-dzheika kernel: [35453.705251]  [<ffffffff81003250>] ? kernel_thread_helper+0x0/0x10
Oct 12 01:27:26 spb-dzheika kernel: [35453.705252] Code: ff 66 0f 1f 44 00 00 eb 9b 45 31 c0 48 c7 c1 66 d4 6c 81 48 c7 c2 b0 64 56 81 48 c7 c6 82 d4 6c 81 48 89 ef 31 c0 e8 6c 49 ff ff <0f> 0b eb fe 0f 0b eb fe 4c 89 ef e8 ec 29 fa ff e9 8b fd ff ff 
Oct 12 01:27:26 spb-dzheika kernel: [35453.705287] RIP  [<ffffffff8115a6e4>] flush_journal_list+0x584/0x720
Oct 12 01:27:26 spb-dzheika kernel: [35453.705292]  RSP <ffff88007d2cfc60>
Oct 12 01:27:26 spb-dzheika kernel: [35453.705297] ---[ end trace f0d56050316734d4 ]---
Oct 12 01:27:26 spb-dzheika kernel: [35453.705300] ------------[ cut here ]------------
Oct 12 01:27:26 spb-dzheika kernel: [35453.705303] WARNING: at kernel/exit.c:907 do_exit+0x5f0/0x7a0()
Oct 12 01:27:26 spb-dzheika kernel: [35453.705305] Hardware name: TravelMate 5720                
Oct 12 01:27:26 spb-dzheika kernel: [35453.705307] Modules linked in: ipv6 iwl3945 pcmcia iwlcore sdhci_pci mac80211 sdhci tifm_7xx1 psmouse mmc_core i2c_i801 cfg80211 tifm_core acer_wmi yenta_socket rsrc_nonstatic pcmcia_core wmi snd_pcsp rfkill
Oct 12 01:27:26 spb-dzheika kernel: [35453.705324] Pid: 177, comm: sync_supers Tainted: G      D    2.6.34-gentoo-r11 #1
Oct 12 01:27:26 spb-dzheika kernel: [35453.705326] Call Trace:
Oct 12 01:27:26 spb-dzheika kernel: [35453.705330]  [<ffffffff810390c3>] ? warn_slowpath_common+0x73/0xb0
Oct 12 01:27:26 spb-dzheika kernel: [35453.705333]  [<ffffffff8103d460>] ? do_exit+0x5f0/0x7a0
Oct 12 01:27:26 spb-dzheika kernel: [35453.705338]  [<ffffffff8153afc5>] ? printk+0x40/0x4b
Oct 12 01:27:26 spb-dzheika kernel: [35453.705342]  [<ffffffff81039fec>] ? kmsg_dump+0x7c/0x150
Oct 12 01:27:26 spb-dzheika kernel: [35453.705346]  [<ffffffff8153e9d2>] ? oops_end+0x72/0xa0
Oct 12 01:27:26 spb-dzheika kernel: [35453.705350]  [<ffffffff81003c44>] ? do_invalid_op+0x84/0xa0
Oct 12 01:27:26 spb-dzheika kernel: [35453.705354]  [<ffffffff8115a6e4>] ? flush_journal_list+0x584/0x720
Oct 12 01:27:26 spb-dzheika kernel: [35453.705359]  [<ffffffff8123a8c3>] ? elv_insert+0xe3/0x1a0
Oct 12 01:27:26 spb-dzheika kernel: [35453.705362]  [<ffffffff8153c8a6>] ? mutex_lock+0x16/0x50
Oct 12 01:27:26 spb-dzheika kernel: [35453.705366]  [<ffffffff81161fcd>] ? reiserfs_write_lock+0x2d/0x50
Oct 12 01:27:26 spb-dzheika kernel: [35453.705370]  [<ffffffff810030d5>] ? invalid_op+0x15/0x20
Oct 12 01:27:26 spb-dzheika kernel: [35453.705374]  [<ffffffff8115a6e4>] ? flush_journal_list+0x584/0x720
Oct 12 01:27:26 spb-dzheika kernel: [35453.705378]  [<ffffffff8115a739>] ? flush_journal_list+0x5d9/0x720
Oct 12 01:27:26 spb-dzheika kernel: [35453.705382]  [<ffffffff8115a944>] ? flush_used_journal_lists+0xc4/0xd0
Oct 12 01:27:26 spb-dzheika kernel: [35453.705386]  [<ffffffff8115b543>] ? do_journal_end+0xbf3/0xf60
Oct 12 01:27:26 spb-dzheika kernel: [35453.705389]  [<ffffffff8115e12e>] ? do_journal_begin_r+0x15e/0x370
Oct 12 01:27:26 spb-dzheika kernel: [35453.705393]  [<ffffffff810aac20>] ? bdi_sync_supers+0x0/0x60
Oct 12 01:27:26 spb-dzheika kernel: [35453.705397]  [<ffffffff8114b730>] ? reiserfs_sync_fs+0x60/0x80
Oct 12 01:27:26 spb-dzheika kernel: [35453.705400]  [<ffffffff810d82f3>] ? sync_supers+0xa3/0xc0
Oct 12 01:27:26 spb-dzheika kernel: [35453.705404]  [<ffffffff810aac65>] ? bdi_sync_supers+0x45/0x60
Oct 12 01:27:26 spb-dzheika kernel: [35453.705407]  [<ffffffff8105071e>] ? kthread+0x8e/0xa0
Oct 12 01:27:26 spb-dzheika kernel: [35453.705411]  [<ffffffff81003254>] ? kernel_thread_helper+0x4/0x10
Oct 12 01:27:26 spb-dzheika kernel: [35453.705414]  [<ffffffff81050690>] ? kthread+0x0/0xa0
Oct 12 01:27:26 spb-dzheika kernel: [35453.705418]  [<ffffffff81003250>] ? kernel_thread_helper+0x0/0x10
Oct 12 01:27:26 spb-dzheika kernel: [35453.705420] ---[ end trace f0d56050316734d5 ]---


Reproducible: Sometimes

Steps to Reproduce:
1. build new kernel (sys-kernel/gentoo-sources-2.6.34-r11)
2. reboot
3?. hibernate (to disk)
4?. wake-up
...
5. crash! (after 3-4 hours, but hibernate may be isn't true reason)
Comment 1 dsuchka 2010-10-16 08:02:13 UTC
Hmm... I have similar bug too on 2.6.34-gentoo-r6, it's detected immediately after wake-up (after hibernate) and only for reiserfs:

Oct 15 15:02:19 spb-dzheika -- MARK --
Oct 15 15:02:19 spb-dzheika kernel: [91866.304869] PM: Syncing filesystems ... done.
...
Oct 15 15:02:27 spb-dzheika kernel: [91885.902208] ------------[ cut here ]------------
Oct 15 15:02:27 spb-dzheika kernel: [91885.902213] kernel BUG at fs/inode.c:312!
Oct 15 15:02:27 spb-dzheika kernel: [91885.902216] invalid opcode: 0000 [#1] SMP 
Oct 15 15:02:27 spb-dzheika kernel: [91885.902218] last sysfs file: /sys/devices/virtual/thermal/thermal_zone1/temp
Oct 15 15:02:27 spb-dzheika kernel: [91885.902220] CPU 1 
Oct 15 15:02:27 spb-dzheika kernel: [91885.902221] Modules linked in: ipt_addrtype ipv6 iwl3945 pcmcia iwlcore sdhci_pci sdhci mac80211 cfg80211 yenta_socket tifm_7xx1 mmc_core acer_wmi psmouse rsrc_nonstatic tifm_core pcmcia_core rfkill i2c_i801 snd_pcsp wmi
Oct 15 15:02:27 spb-dzheika kernel: [91885.902235] 
Oct 15 15:02:27 spb-dzheika kernel: [91885.902238] Pid: 6656, comm: X Not tainted 2.6.34-gentoo-r6 #2 Columbia                       /TravelMate 5720                
Oct 15 15:02:27 spb-dzheika kernel: [91885.902240] RIP: 0010:[<ffffffff810eb7db>]  [<ffffffff810eb7db>] clear_inode+0xfb/0x110
Oct 15 15:02:27 spb-dzheika kernel: [91885.902249] RSP: 0018:ffff880075e6bc68  EFLAGS: 00010202
Oct 15 15:02:27 spb-dzheika kernel: [91885.902251] RAX: 0000000000000000 RBX: ffff88004b49e890 RCX: 0000000000000000
Oct 15 15:02:27 spb-dzheika kernel: [91885.902253] RDX: 0000000000000000 RSI: 00000000050d15fc RDI: ffff88004b49e890
Oct 15 15:02:27 spb-dzheika kernel: [91885.902255] RBP: ffffffff8155d340 R08: ffff880075e6bab8 R09: 000000000000000e
Oct 15 15:02:27 spb-dzheika kernel: [91885.902257] R10: 0000000000000000 R11: 0000000000000004 R12: ffff88004b49e890
Oct 15 15:02:27 spb-dzheika kernel: [91885.902259] R13: ffff88007f015b00 R14: ffff88006fe95540 R15: ffff88006fe95540
Oct 15 15:02:27 spb-dzheika kernel: [91885.902261] FS:  00007f6a7c4aa840(0000) GS:ffff880001b00000(0000) knlGS:0000000000000000
Oct 15 15:02:27 spb-dzheika kernel: [91885.902263] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Oct 15 15:02:27 spb-dzheika kernel: [91885.902265] CR2: 00007f6a7a92d7c0 CR3: 0000000076075000 CR4: 00000000000006e0
Oct 15 15:02:27 spb-dzheika kernel: [91885.902267] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Oct 15 15:02:27 spb-dzheika kernel: [91885.902269] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Oct 15 15:02:27 spb-dzheika kernel: [91885.902271] Process X (pid: 6656, threadinfo ffff880075e6a000, task ffff8800778406c0)
Oct 15 15:02:27 spb-dzheika kernel: [91885.902273] Stack:
Oct 15 15:02:27 spb-dzheika kernel: [91885.902274]  ffff88004b49e890 ffffffff810ebf16 ffff88004b49e890 ffff88006fe95540
Oct 15 15:02:27 spb-dzheika kernel: [91885.902278] <0> ffff88006fe95548 ffffffff810e7e17 0000000000000292 ffff88006fe95540
Oct 15 15:02:27 spb-dzheika kernel: [91885.902281] <0> ffff88006fe95548 ffffffff810e87df 0000000000000008 ffff88002cc4a540
Oct 15 15:02:27 spb-dzheika kernel: [91885.902285] Call Trace:
Oct 15 15:02:27 spb-dzheika kernel: [91885.902288]  [<ffffffff810ebf16>] ? generic_delete_inode+0x86/0x120
Oct 15 15:02:27 spb-dzheika kernel: [91885.902292]  [<ffffffff810e7e17>] ? d_kill+0x47/0x80
Oct 15 15:02:27 spb-dzheika kernel: [91885.902295]  [<ffffffff810e87df>] ? dput+0x9f/0x190
Oct 15 15:02:27 spb-dzheika kernel: [91885.902298]  [<ffffffff810d7487>] ? __fput+0x187/0x250
Oct 15 15:02:27 spb-dzheika kernel: [91885.902302]  [<ffffffff812f30ee>] ? drm_gem_object_free_common+0x1e/0x50
Oct 15 15:02:27 spb-dzheika kernel: [91885.902305]  [<ffffffff812f3120>] ? drm_gem_object_free_unlocked+0x0/0x80
Oct 15 15:02:27 spb-dzheika kernel: [91885.902309]  [<ffffffff8124fc13>] ? kref_put+0x33/0x70
Oct 15 15:02:27 spb-dzheika kernel: [91885.902312]  [<ffffffff812f32c0>] ? drm_gem_close_ioctl+0xa0/0xb0
Oct 15 15:02:27 spb-dzheika kernel: [91885.902315]  [<ffffffff812f1636>] ? drm_ioctl+0x316/0x460
Oct 15 15:02:27 spb-dzheika kernel: [91885.902318]  [<ffffffff812f3220>] ? drm_gem_close_ioctl+0x0/0xb0
Oct 15 15:02:27 spb-dzheika kernel: [91885.902322]  [<ffffffff8121082c>] ? inode_has_perm+0x3c/0x70
Oct 15 15:02:27 spb-dzheika kernel: [91885.902325]  [<ffffffff8125046f>] ? prio_tree_remove+0xbf/0xf0
Oct 15 15:02:27 spb-dzheika kernel: [91885.902328]  [<ffffffff810e4ae5>] ? vfs_ioctl+0x35/0xd0
Oct 15 15:02:27 spb-dzheika kernel: [91885.902330]  [<ffffffff810e4cc8>] ? do_vfs_ioctl+0x88/0x5a0
Oct 15 15:02:27 spb-dzheika kernel: [91885.902333]  [<ffffffff810e5260>] ? sys_ioctl+0x80/0xa0
Oct 15 15:02:27 spb-dzheika kernel: [91885.902337]  [<ffffffff810024ab>] ? system_call_fastpath+0x16/0x1b
Oct 15 15:02:27 spb-dzheika kernel: [91885.902339] Code: ff ff 66 0f 1f 44 00 00 48 83 bb c8 01 00 00 00 74 95 48 89 df e8 06 66 01 00 0f b7 83 aa 00 00 00 25 00 f0 00 00 e9 75 ff ff ff <0f> 0b eb fe 0f 0b eb fe 0f 0b eb fe 66 0f 1f 84 00 00 00 00 00 
Oct 15 15:02:27 spb-dzheika kernel: [91885.902366] RIP  [<ffffffff810eb7db>] clear_inode+0xfb/0x110
Oct 15 15:02:27 spb-dzheika kernel: [91885.902369]  RSP <ffff880075e6bc68>
Oct 15 15:02:27 spb-dzheika kernel: [91885.902382] ---[ end trace 5ad5de902f7683da ]---
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2010-10-26 09:08:18 UTC
Does this still occur with 2.6.34-r12?
Comment 3 dsuchka 2010-10-26 09:37:47 UTC
(In reply to comment #2)
> Does this still occur with 2.6.34-r12?
> 

I don't known... I'm using vanilla 2.6.35.7 (last stable from kernel.org)
yes, ~amd64, but works stablly
Comment 4 Mike Pagano gentoo-dev 2010-11-13 20:05:50 UTC
So this doesn't happen with 2.6.35.7?
Comment 5 dsuchka 2010-11-13 20:30:21 UTC
(In reply to comment #4)
> So this doesn't happen with 2.6.35.7?

I have not seen such problems, but... I have not used it for a long time...
Approximately in flow of 2 weeks there was no incident.
Comment 6 Mike Pagano gentoo-dev 2010-12-17 14:06:08 UTC
Great, looks like we can close this now