[Bug 732893] New: BTRFS: kernel BUG at fs/btrfs/extent-tree.c:5528!
https://bugzilla.novell.com/show_bug.cgi?id=732893 https://bugzilla.novell.com/show_bug.cgi?id=732893#c0 Summary: BTRFS: kernel BUG at fs/btrfs/extent-tree.c:5528! Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: cosoleto@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0.1) Gecko/20100101 Firefox/8.0.1 My BTRFS partition was - sigh - mounted at /home with the following parameters: [ 3.419387] btrfs: use lzo compression [ 3.437858] btrfs: disk space caching is enabled openSUSE installed yesterday. I was performing some benchmark using SQLite, then got this BTRFS crash and the following backtrace. Backtrace: [ 3328.453451] ------------[ cut here ]------------ [ 3328.453463] kernel BUG at /home/abuild/rpmbuild/BUILD/kernel-desktop-3.1.0/linux-3.1/fs/btrfs/extent-tree.c:5528! [ 3328.453471] invalid opcode: 0000 [#1] PREEMPT SMP [ 3328.453480] CPU 1 [ 3328.453484] Modules linked in: ip6t_LOG xt_tcpudp xt_pkttype ipt_LOG xt_limit af_packet ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_raw xt_NOTRACK ipt_REJECT iptable_raw iptable_filter ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4 nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack ip6table_filter ip6_tables x_tables cpufreq_conservative cpufreq_userspace cpufreq_powersave powernow_k8 mperf microcode btrfs zlib_deflate dm_mod fuse sr_mod cdrom pcspkr fglrx(P) snd_hda_codec_hdmi sp5100_tco i2c_piix4 serio_raw k10temp edac_core edac_mce_amd snd_hda_codec_realtek wmi sg snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_timer snd button soundcore snd_page_alloc r8169 autofs4 processor thermal_sys ata_generic pata_jmicron [ 3328.453584] [ 3328.453591] Pid: 833, comm: btrfs-transacti Tainted: P 3.1.0-1.2-desktop #1 MSI MS-7640/890FXA-GD70 (MS-7640) [ 3328.453603] RIP: 0010:[<ffffffffa05046c7>] [<ffffffffa05046c7>] alloc_reserved_tree_block+0x1e7/0x210 [btrfs] [ 3328.453644] RSP: 0018:ffff88007a8d3c20 EFLAGS: 00010282 [ 3328.453650] RAX: 00000000ffffffef RBX: ffff880063071910 RCX: 0000160000000000 [ 3328.453656] RDX: 0000000000000008 RSI: 0000000000000001 RDI: ffff880026b1e590 [ 3328.453661] RBP: ffff88007a8d3cdf R08: 0000000000000001 R09: 0000000000000001 [ 3328.453667] R10: ffff88002d9013d8 R11: 000000000000004c R12: ffff88002d9013d8 [ 3328.453672] R13: ffff880037ba8c00 R14: ffff88007b218000 R15: 0000000000000002 [ 3328.453679] FS: 00007f5c5b5bf700(0000) GS:ffff88007f220000(0000) knlGS:0000000000000000 [ 3328.453685] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 3328.453691] CR2: 00007f1f4ff79000 CR3: 000000003f378000 CR4: 00000000000006e0 [ 3328.453696] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 3328.453702] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 3328.453708] Process btrfs-transacti (pid: 833, threadinfo ffff88007a8d2000, task ffff88007a848800) [ 3328.453713] Stack: [ 3328.453716] 0000000000000c4f 0000000000000c37 0000000000000000 0000000000000000 [ 3328.453728] ffff88003983eb80 0000000000000002 0000000000001000 0000003300000995 [ 3328.453738] ffff880037b7a800 ffff88002d9013d8 ffff880037ba8c00 ffff88003d695ac0 [ 3328.453748] Call Trace: [ 3328.453840] [<ffffffffa0504e5d>] run_delayed_tree_ref+0xbd/0x1b0 [btrfs] [ 3328.453921] [<ffffffffa0507978>] run_clustered_refs+0xc8/0x220 [btrfs] [ 3328.454008] [<ffffffffa0507b95>] btrfs_run_delayed_refs+0xc5/0x210 [btrfs] [ 3328.454099] [<ffffffffa0517ce7>] btrfs_commit_transaction+0x77/0x870 [btrfs] [ 3328.454225] [<ffffffffa051165d>] transaction_kthread+0x24d/0x270 [btrfs] [ 3328.454316] [<ffffffff81075c8e>] kthread+0x7e/0x90 [ 3328.454332] [<ffffffff815a5474>] kernel_thread_helper+0x4/0x10 [ 3328.454338] Code: 89 f7 ba b0 00 00 00 e8 88 8f 02 00 48 8b 54 24 28 4c 89 fe 4c 89 f7 e8 78 90 02 00 eb 87 66 0f 1f 44 00 00 b8 f4 ff ff ff eb ab <0f> 0b 48 8b 55 09 48 8b 75 00 48 c7 c7 20 6e 56 a0 31 c0 e8 06 [ 3328.454338] RIP [<ffffffffa05046c7>] alloc_reserved_tree_block+0x1e7/0x210 [btrfs] [ 3328.454338] RSP <ffff88007a8d3c20> [ 3328.454481] ---[ end trace e86515ad04ef6553 ]--- [ 3328.454489] note: btrfs-transacti[833] exited with preempt_count 1 [ 3433.964316] parent transid verify failed on 174022656 wanted 515 found 1189 [ 3433.995842] parent transid verify failed on 174022656 wanted 515 found 1189 [ 3433.995862] parent transid verify failed on 174022656 wanted 515 found 1189 [ 3433.995872] parent transid verify failed on 174022656 wanted 515 found 1189 [ 3433.995880] parent transid verify failed on 174022656 wanted 515 found 1189 [ 3433.995918] parent transid verify failed on 174022656 wanted 515 found 1189 [ 3433.995928] parent transid verify failed on 174022656 wanted 515 found 1189 [ 3433.995936] parent transid verify failed on 174022656 wanted 515 found 1189 [ 3433.995944] parent transid verify failed on 174022656 wanted 515 found 1189 [ 3433.995951] parent transid verify failed on 174022656 wanted 515 found 1189 [ 3433.999120] btrfs failed to delete reference to kdebugrc, inode 7571 parent 289 [ 3433.999169] ------------[ cut here ]------------ [ 3433.999176] kernel BUG at /home/abuild/rpmbuild/BUILD/kernel-desktop-3.1.0/linux-3.1/fs/btrfs/inode.c:7083! [ 3433.999184] invalid opcode: 0000 [#2] PREEMPT SMP [ 3433.999192] CPU 0 [ 3433.999195] Modules linked in: ip6t_LOG xt_tcpudp xt_pkttype ipt_LOG xt_limit af_packet ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_raw xt_NOTRACK ipt_REJECT iptable_raw iptable_filter ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4 nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack ip6table_filter ip6_tables x_tables cpufreq_conservative cpufreq_userspace cpufreq_powersave powernow_k8 mperf microcode btrfs zlib_deflate dm_mod fuse sr_mod cdrom pcspkr fglrx(P) snd_hda_codec_hdmi sp5100_tco i2c_piix4 serio_raw k10temp edac_core edac_mce_amd snd_hda_codec_realtek wmi sg snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_timer snd button soundcore snd_page_alloc r8169 autofs4 processor thermal_sys ata_generic pata_jmicron [ 3433.999294] [ 3433.999300] Pid: 11155, comm: kscreenlocker Tainted: P D 3.1.0-1.2-desktop #1 MSI MS-7640/890FXA-GD70 (MS-7640) [ 3433.999311] RIP: 0010:[<ffffffffa0524835>] [<ffffffffa0524835>] btrfs_rename+0x5c5/0x5f0 [btrfs] [ 3433.999362] RSP: 0018:ffff880028fa3c88 EFLAGS: 00010282 [ 3433.999367] RAX: 00000000fffffffb RBX: ffff880066d5d218 RCX: 00000000000013f7 [ 3433.999374] RDX: 000000000000000e RSI: ffff8800630719a0 RDI: 0000000000000296 [ 3433.999379] RBP: 000000000002d4a4 R08: 000000000000000a R09: 0000000000000000 [ 3433.999385] R10: 0000000000000000 R11: 0000000000000001 R12: ffff88006e021980 [ 3433.999390] R13: ffff88003855f978 R14: ffff880066d40218 R15: 0000000000000000 [ 3433.999397] FS: 00007fee0b4a9760(0000) GS:ffff88007f200000(0000) knlGS:0000000000000000 [ 3433.999403] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 3433.999408] CR2: 00007fee07d94c00 CR3: 0000000000b3c000 CR4: 00000000000006f0 [ 3433.999414] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 3433.999420] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 3433.999426] Process kscreenlocker (pid: 11155, threadinfo ffff880028fa2000, task ffff880028fa0500) [ 3433.999431] Stack: [ 3433.999434] 0000000000000a7c ffffffff8115eb75 ffff88007cdf7300 ffff880037b16400 [ 3433.999446] ffff880037b16400 ffff880066d5d218 ffff880078ed2380 0101000000000050 [ 3433.999456] 000000004ed149a7 000000000a7f1b2d 0000000000000010 000000004ed149a7 [ 3433.999466] Call Trace: [ 3433.999612] [<ffffffff8115ee7d>] vfs_rename_other+0xed/0x150 [ 3433.999629] [<ffffffff8115fd31>] vfs_rename+0xc1/0x2b0 [ 3433.999641] [<ffffffff81163257>] sys_renameat+0x237/0x260 [ 3433.999657] [<ffffffff815a3292>] system_call_fastpath+0x16/0x1b [ 3433.999672] [<00007fee07d94c07>] 0x7fee07d94c06 [ 3433.999676] Code: 54 24 28 48 8b 74 24 18 48 8b 7c 24 10 48 8b 88 0f 01 00 00 48 8b 44 24 30 44 8b 48 24 4c 8b 40 28 e8 a0 d1 ff ff e9 d5 fd ff ff <0f> 0b 45 8b 4c 24 24 4d 8b 44 24 28 48 89 da 48 8b 74 24 20 48 [ 3433.999746] RIP [<ffffffffa0524835>] btrfs_rename+0x5c5/0x5f0 [btrfs] [ 3433.999785] RSP <ffff880028fa3c88> [ 3433.999790] ---[ end trace e86515ad04ef6554 ]--- [ 3673.929742] verify_parent_transid: 20 callbacks suppressed [ 3673.929746] parent transid verify failed on 174022656 wanted 515 found 1189 [ 3673.929749] parent transid verify failed on 174022656 wanted 515 found 1189 [ 3673.929752] parent transid verify failed on 174022656 wanted 515 found 1189 [ 3673.929755] parent transid verify failed on 174022656 wanted 515 found 1189 Partition isn't mountable anymore (and I wish to try to restore it if possible). I used BTRFS since previous openSUSE was released (using zlib tough) with no problems. Reproducible: Didn't try Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=732893 https://bugzilla.novell.com/show_bug.cgi?id=732893#c Francesco Cosoleto <cosoleto@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|BTRFS: kernel BUG at |BTRFS: kernel BUG at |fs/btrfs/extent-tree.c:5528 |fs/btrfs/extent-tree.c:5528 |! | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=732893 https://bugzilla.novell.com/show_bug.cgi?id=732893#c David Sterba <dsterba@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |dsterba@suse.com AssignedTo|kernel-maintainers@forge.pr |dsterba@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=732893 https://bugzilla.novell.com/show_bug.cgi?id=732893#c1 Stephan - <hi-du@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hi-du@gmx.de --- Comment #1 from Stephan - <hi-du@gmx.de> 2011-12-19 21:42:31 UTC --- Same here..(bug 737534) for now I mounted the partition read-only and copied important files to another partition. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=732893 https://bugzilla.novell.com/show_bug.cgi?id=732893#c2 Richard Giroux <nrgiroux@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nrgiroux@gmail.com --- Comment #2 from Richard Giroux <nrgiroux@gmail.com> 2012-01-10 03:55:27 UTC --- Hi, A dmesg on my OpenSuse 12.1 - Linux Dell-XPS420 3.1.0-1.2-desktop #1 SMP PREEMPT Thu Nov 3 14:45:45 UTC 2011 (187dde0) x86_64 x86_64 x86_64 GNU/Linux with /home, /usr and /opt formated in BTRFS shows many of these: [46.466504] parent transid verify failed on 3116810240 wanted 389 found 387 The filesystems seem unstable (many applications crashes, problems with zypper database, etc). Questions: 1) How to be sure the problem is coming from the BTRFS filesystem not the harddrive ? (Smart test result: SMART overall-health self-assessment test result: PASSED). 2) Is this a bug to file here (OpenSuse) or on BTRFS kernel project ? 3) Can I use this system as it is, waiting for a kernel update that will fix this issue, or re-install under a more stable filesystem ? Thanks, Richard -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=732893 https://bugzilla.novell.com/show_bug.cgi?id=732893#c3 --- Comment #3 from David Sterba <dsterba@suse.com> 2012-01-10 13:10:48 CET ---
BUG at fs/btrfs/extent-tree.c:5528!
should be fixed in 3.2
BUG at fs/btrfs/inode.c:7083
this could be a disk error as the return code is -EIO, but given that you see lots of the 'parent transid verify', this looks like the rootcause. The system could be fixed by not-yet-released-version-of btrfsck, so far you can use the 'restore' utility from recent btrfsprogs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=732893 https://bugzilla.novell.com/show_bug.cgi?id=732893#c4 --- Comment #4 from David Sterba <dsterba@suse.com> 2012-01-10 13:19:41 CET --- (In reply to comment #2)
The filesystems seem unstable (many applications crashes, problems with zypper database, etc).
Questions: 1) How to be sure the problem is coming from the BTRFS filesystem not the harddrive ? (Smart test result: SMART overall-health self-assessment test result: PASSED).
You'd see some generic sata errors in the syslog, preceding btrfs oops traces, otherwise btrfs is (probably) to blame.
2) Is this a bug to file here (OpenSuse) or on BTRFS kernel project ?
Depends on the kernel you use, if you use the opensuse one, report here, for the upstream version send report to mailinglist or ask on irc.
3) Can I use this system as it is, waiting for a kernel update that will fix this issue, or re-install under a more stable filesystem ?
If you're ready to restore your data from backups, feel free to use btrfs. The kernel 3.2 is now out and looks good as per my testing. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=732893 https://bugzilla.novell.com/show_bug.cgi?id=732893#c5 --- Comment #5 from Richard Giroux <nrgiroux@gmail.com> 2012-01-26 03:11:29 UTC --- Hi, In addition to 'parent transid' error, I am now getting: [1175.847051] btrfs: corrupt leaf, bad key order: block=819089408, root=1, slot=13 It seems my /home directory is more and more corrupted since I cannot login into KDE anymore (but I can't be sure it's related). "kernel 3.2 is now out"... But I can't find it in the usual repos. Do I have to compile it myself ? Thanks, Richard -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=732893 https://bugzilla.novell.com/show_bug.cgi?id=732893#c6 --- Comment #6 from Richard Giroux <nrgiroux@gmail.com> 2012-01-27 02:08:23 UTC --- and now this: [5.453963] btrfs: corrupt leaf, bad key order: block=819089408,root=1, slot=13 [5.454002] btrfs: could not do orphan cleanup -5 mount: /dev/sda6 can't read superblock I'll wipe everything and go back to ext4. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com