[Bug 840656] New: btrfs kernel BUG at fs/btrfs/extent-tree.c:6621!
https://bugzilla.novell.com/show_bug.cgi?id=840656 https://bugzilla.novell.com/show_bug.cgi?id=840656#c0 Summary: btrfs kernel BUG at fs/btrfs/extent-tree.c:6621! Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: abergmann@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- I have a btrfs partition that produces a kernel BUG after mounting. This is reproducible with the latest openSUSE 12.3 kernel 3.7.10-1.16-desktop. [39273.796026] device fsid db60f758-7704-4d45-b750-df6101b95521 devid 1 transid 67449 /dev/sda5 [39273.796450] btrfs: disk space caching is enabled [39336.204206] ------------[ cut here ]------------ [39336.204225] WARNING: at /home/abuild/rpmbuild/BUILD/kernel-desktop-3.7.10/linux-3.7/fs/btrfs/extent-tree.c:840 btrfs_lookup_extent_info+0x308/0x310 [btrfs]() [39336.204226] Hardware name: Precision T3600 [39336.204227] Modules linked in: nfsv3 nfs_acl nfsv4 auth_rpcgss nfs fscache lockd sunrpc xt_tcpudp xt_pkttype xt_LOG xt_limit fuse bnep bluetooth rfkill af_packet ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_raw ipt_REJECT iptable_raw xt_CT 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 btrfs zlib_deflate libcrc32c snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq acpi_cpufreq mperf coretemp snd_timer kvm_intel iTCO_wdt kvm snd_seq_device iTCO_vendor_support sr_mod sb_edac mei lpc_ich mfd_core sg crc32c_intel ghash_clmulni_intel snd soundcore snd_page_alloc e1000e cdrom dcdbas tpm_tis edac_core tpm i2c_i801 pcspkr serio_raw aesni_intel ablk_helper cryptd lrw aes_x86_64 xts gf128mul shpchp tpm_bios microcode pciehp pci_hotplug autofs4 nouveau ttm drm_kms_helper drm i2c_algo_bit mxm_wmi video wmi xhci_hcd button processor thermal_sys scsi_dh_hp_sw scsi_dh_rdac scsi_dh_alua scsi_dh_emc scsi_dh megaraid_sas [39336.204268] Pid: 14438, comm: btrfs-cleaner Not tainted 3.7.10-1.16-desktop #1 [39336.204269] Call Trace: [39336.204278] [<ffffffff81004818>] dump_trace+0x88/0x300 [39336.204282] [<ffffffff8158af33>] dump_stack+0x69/0x6f [39336.204287] [<ffffffff81045249>] warn_slowpath_common+0x79/0xc0 [39336.204293] [<ffffffffa051c818>] btrfs_lookup_extent_info+0x308/0x310 [btrfs] [39336.204316] [<ffffffffa051ffef>] do_walk_down+0x13f/0x570 [btrfs] [39336.204332] [<ffffffffa05204f5>] walk_down_tree+0xd5/0x110 [btrfs] [39336.204359] [<ffffffffa0522721>] btrfs_drop_snapshot+0x361/0x5c0 [btrfs] [39336.204381] [<ffffffffa0534eb7>] btrfs_clean_old_snapshots+0xa7/0x150 [btrfs] [39336.204409] [<ffffffffa052cf48>] cleaner_kthread+0x98/0x110 [btrfs] [39336.204427] [<ffffffff810681c3>] kthread+0xb3/0xc0 [39336.204431] [<ffffffff8159e9fc>] ret_from_fork+0x7c/0xb0 [39336.204438] ---[ end trace 6cfcce0f9ddb9308 ]--- [39336.204449] ------------[ cut here ]------------ [39336.204461] kernel BUG at /home/abuild/rpmbuild/BUILD/kernel-desktop-3.7.10/linux-3.7/fs/btrfs/extent-tree.c:6621! [39336.204466] invalid opcode: 0000 [#1] PREEMPT SMP [39336.204471] Modules linked in: nfsv3 nfs_acl nfsv4 auth_rpcgss nfs fscache lockd sunrpc xt_tcpudp xt_pkttype xt_LOG xt_limit fuse bnep bluetooth rfkill af_packet ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_raw ipt_REJECT iptable_raw xt_CT 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 btrfs zlib_deflate libcrc32c snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq acpi_cpufreq mperf coretemp snd_timer kvm_intel iTCO_wdt kvm snd_seq_device iTCO_vendor_support sr_mod sb_edac mei lpc_ich mfd_core sg crc32c_intel ghash_clmulni_intel snd soundcore snd_page_alloc e1000e cdrom dcdbas tpm_tis edac_core tpm i2c_i801 pcspkr serio_raw aesni_intel ablk_helper cryptd lrw aes_x86_64 xts gf128mul shpchp tpm_bios microcode pciehp pci_hotplug autofs4 nouveau ttm drm_kms_helper drm i2c_algo_bit mxm_wmi video wmi xhci_hcd button processor thermal_sys scsi_dh_hp_sw scsi_dh_rdac scsi_dh_alua scsi_dh_emc scsi_dh megaraid_sas [39336.204499] CPU 7 <4>[39336.204501] Pid: 14438, comm: btrfs-cleaner Tainted: G W 3.7.10-1.16-desktop #1 Dell Inc. Precision T3600/08HPGT [39336.204503] RIP: 0010:[<ffffffffa0520414>] [<ffffffffa0520414>] do_walk_down+0x564/0x570 [btrfs] [39336.204508] RSP: 0018:ffff8804224b5c88 EFLAGS: 00010246 [39336.204509] RAX: 0000000000000000 RBX: ffff88041a5bac80 RCX: 0000000000000003 [39336.204509] RDX: 0000000000000004 RSI: ffff8802d3083910 RDI: 0000000000000292 [39336.204510] RBP: ffff8802d3083eb0 R08: 000000000000000a R09: 000000000000045c [39336.204511] R10: 0000000000000001 R11: 0000000000000009 R12: ffff8802d31ada48 [39336.204511] R13: 0000000000000002 R14: ffff88040fbf5800 R15: 0000000000000002 [39336.204512] FS: 0000000000000000(0000) GS:ffff88044f2e0000(0000) knlGS:0000000000000000 [39336.204513] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [39336.204513] CR2: 00007ff025efa000 CR3: 0000000001a0c000 CR4: 00000000000407e0 [39336.204514] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [39336.204515] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [39336.204516] Process btrfs-cleaner (pid: 14438, threadinfo ffff8804224b4000, task ffff88041abea6c0) [39336.204516] Stack: [39336.204516] 0000000000000001 0000000000000000 ffff880200000000 ffff8802d1de45c0 [39336.204518] 000000000000054e 0000000000000001 0000000000000009 0000000100000040 [39336.204520] 0000000009d92000 ffff8804224b5d74 000000000000e152 ffff8804151c6928 [39336.204522] Call Trace: [39336.204535] [<ffffffffa05204f5>] walk_down_tree+0xd5/0x110 [btrfs] [39336.204551] [<ffffffffa0522721>] btrfs_drop_snapshot+0x361/0x5c0 [btrfs] [39336.204567] [<ffffffffa0534eb7>] btrfs_clean_old_snapshots+0xa7/0x150 [btrfs] [39336.204591] [<ffffffffa052cf48>] cleaner_kthread+0x98/0x110 [btrfs] [39336.204611] [<ffffffff810681c3>] kthread+0xb3/0xc0 [39336.204614] [<ffffffff8159e9fc>] ret_from_fork+0x7c/0xb0 [39336.204616] Code: 40 00 00 00 00 83 f8 01 0f 85 53 fe ff ff e9 76 fd ff ff 0f 1f 40 00 b8 fb ff ff ff e9 b0 fc ff ff b8 f4 ff ff ff e9 a6 fc ff ff <0f> 0b 0f 0b 0f 0b 66 0f 1f 44 00 00 41 57 41 56 41 55 41 54 55 [39336.204632] RIP [<ffffffffa0520414>] do_walk_down+0x564/0x570 [btrfs] [39336.204637] RSP <ffff8804224b5c88> [39336.234523] ---[ end trace 6cfcce0f9ddb9309 ]--- -- 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=840656 https://bugzilla.novell.com/show_bug.cgi?id=840656#c1 David Sterba <dsterba@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dsterba@suse.com AssignedTo|kernel-maintainers@forge.pr |dsterba@suse.com |ovo.novell.com | --- Comment #1 from David Sterba <dsterba@suse.com> 2013-09-25 00:52:04 CEST --- The bug looks same as http://www.spinics.net/lists/linux-btrfs/msg26774.html, though it's reported against 3.11-rc5, the offending patch is in 12.3 branch (patches.suse/btrfs-cleanup-don-t-check-the-same-thing-twice) but the fix mentioned in the thread "Btrfs: fix for patch "cleanup: don't check the same thing twice" is not there. -- 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=840656 https://bugzilla.novell.com/show_bug.cgi?id=840656#c2 David Sterba <dsterba@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from David Sterba <dsterba@suse.com> 2013-09-25 01:38:30 CEST --- Fix committed to 12.3 branch. -- 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=840656 https://bugzilla.novell.com/show_bug.cgi?id=840656#c3 --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-10-03 10:01:09 CEST --- This is an autogenerated message for OBS integration: This bug (840656) was mentioned in https://build.opensuse.org/request/show/201995 12.3 / kernel-source -- 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=840656 https://bugzilla.novell.com/show_bug.cgi?id=840656#c4 --- Comment #4 from Alexander Bergmann <abergmann@suse.com> 2013-10-04 09:18:36 UTC --- Created an attachment (id=561458) --> (http://bugzilla.novell.com/attachment.cgi?id=561458) dmesg WARNING/BUG output I've tested the kernel of the day, but the problem is still the same. After 3 minutes I get the following WARNING/BUG kernel message and I'm unable to umount the btrfs partition. kernel: [ 105.907824] btrfs: device fsid db60f758-7704-4d45-b750-df6101b95521 devid 1 transid 67450 /dev/sda5 kernel: [ 105.908570] btrfs: disk space caching is enabled kernel: [ 286.280100] ------------[ cut here ]------------ kernel: [ 286.280117] WARNING: at /home/abuild/rpmbuild/BUILD/kernel-desktop-3.7.10/linux-3.7/fs/btrfs/extent-tree.c:847 btrfs_lookup_extent_info+0x476/0x480 [btrfs]() .. kernel: [ 286.280308] ---[ end trace c491a8757b939b77 ]--- kernel: [ 286.280310] BTRFS error (device sda5): Missing references. kernel: [ 286.280319] ------------[ cut here ]------------ kernel: [ 286.280485] kernel BUG at /home/abuild/rpmbuild/BUILD/kernel-desktop-3.7.10/linux-3.7/fs/btrfs/extent-tree.c:7231! .. kernel: [ 286.307501] Call Trace: kernel: [ 286.308499] [<ffffffffa0522684>] walk_down_tree+0xd4/0x110 [btrfs] kernel: [ 286.309481] [<ffffffffa0525941>] btrfs_drop_snapshot+0x341/0x700 [btrfs] kernel: [ 286.310470] [<ffffffffa0538bbc>] btrfs_clean_one_deleted_snapshot+0xbc/0x110 [btrfs] kernel: [ 286.311474] [<ffffffffa05306d0>] cleaner_kthread+0x120/0x180 [btrfs] kernel: [ 286.312460] [<ffffffff810681b3>] kthread+0xb3/0xc0 kernel: [ 286.313443] [<ffffffff8159eefc>] ret_from_fork+0x7c/0xb0 kernel: [ 286.314424] Code: 01 0f 85 51 fe ff ff e9 64 fd ff ff b8 f4 ff ff ff e9 ac fc ff ff 49 8b be e8 01 00 00 48 c7 c6 68 0f 5b a0 31 c0 e8 13 99 fe ff <0f> 0b 0f 0b 0f 0b 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 41 57 kernel: [ 286.316562] RIP [<ffffffffa052259d>] do_walk_down+0x56d/0x580 [btrfs] kernel: [ 286.317587] RSP <ffff880439645cb8> kernel: [ 286.318616] ---[ end trace c491a8757b939b78 ]--- -- 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=840656 https://bugzilla.novell.com/show_bug.cgi?id=840656#c6 --- Comment #6 from Alexander Bergmann <abergmann@suse.com> 2013-10-04 12:06:47 UTC --- David, please let me know if I can test anything on my system. -- 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=840656 https://bugzilla.novell.com/show_bug.cgi?id=840656#c7 --- Comment #7 from David Sterba <dsterba@suse.com> 2013-10-15 12:52:56 CEST --- Strange, the fix was present in the kernel and the patches are same in suse and upstream tree. -- 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=840656 https://bugzilla.novell.com/show_bug.cgi?id=840656#c8 David Sterba <dsterba@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |abergmann@suse.com --- Comment #8 from David Sterba <dsterba@suse.com> 2013-10-15 13:06:51 CEST --- I've disabled both related patches in 12.3 branch. Please test the KOTD when it appears. Thanks. -- 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=840656 https://bugzilla.novell.com/show_bug.cgi?id=840656#c9 --- Comment #9 from Alexander Bergmann <abergmann@suse.com> 2013-10-16 07:49:52 UTC --- Created an attachment (id=563655) --> (http://bugzilla.novell.com/attachment.cgi?id=563655) kernel WARNING and BTRFS error during btrfs mount No kernel BUG anymore, but there is still a kernel WARNING. WARNING: at ../super.c:253 __btrfs_abort_transaction+0x14d/0x160 [btrfs]() .. Call Trace: [<ffffffff81004818>] dump_trace+0x88/0x300 [<ffffffff8158b4d3>] dump_stack+0x69/0x6f [<ffffffff81045249>] warn_slowpath_common+0x79/0xc0 [<ffffffff81045345>] warn_slowpath_fmt+0x45/0x50 [<ffffffffa04fb27d>] __btrfs_abort_transaction+0x14d/0x160 [btrfs] [<ffffffffa051665e>] btrfs_run_delayed_refs+0x46e/0x560 [btrfs] [<ffffffffa05264f4>] btrfs_commit_transaction+0x54/0x9b0 [btrfs] [<ffffffffa051f09d>] transaction_kthread+0x19d/0x220 [btrfs] [<ffffffff810681b3>] kthread+0xb3/0xc0 [<ffffffff8159efbc>] ret_from_fork+0x7c/0xb0 -- 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=840656 https://bugzilla.novell.com/show_bug.cgi?id=840656#c10 Alexander Bergmann <abergmann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|abergmann@suse.com | --- Comment #10 from Alexander Bergmann <abergmann@suse.com> 2013-10-16 07:53:45 UTC --- Created an attachment (id=563656) --> (http://bugzilla.novell.com/attachment.cgi?id=563656) kernel WARNING during btrfs umount The umount is now working, but there are kernel WARNINGS. WARNING: at ../extent-tree.c:133 btrfs_put_block_group+0x5e/0x60 [btrfs]() . Call Trace: [<ffffffff81004818>] dump_trace+0x88/0x300 [<ffffffff8158b4d3>] dump_stack+0x69/0x6f [<ffffffff81045249>] warn_slowpath_common+0x79/0xc0 [<ffffffffa050c1ce>] btrfs_put_block_group+0x5e/0x60 [btrfs] [<ffffffffa0515690>] btrfs_free_block_groups+0xa0/0x370 [btrfs] [<ffffffffa0521dff>] close_ctree+0x12f/0x280 [btrfs] [<ffffffff8117143b>] generic_shutdown_super+0x5b/0xf0 [<ffffffff81171559>] kill_anon_super+0x9/0x20 [<ffffffffa04fa69d>] btrfs_kill_super+0xd/0x80 [btrfs] [<ffffffff81171895>] deactivate_locked_super+0x55/0x80 [<ffffffff8118df49>] sys_umount+0x79/0x3b0 [<ffffffff8159f06d>] system_call_fastpath+0x1a/0x1f [<00007f8de55244e7>] 0x7f8de55244e6 -- 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=840656 https://bugzilla.novell.com/show_bug.cgi?id=840656#c11 --- Comment #11 from David Sterba <dsterba@suse.com> 2013-10-16 14:19:29 CEST --- This error was reported http://www.spinics.net/lists/linux-btrfs/msg17504.html and http://thread.gmane.org/gmane.comp.file-systems.btrfs/21207 but without resolution or any pointer to patch, besides that it's against 3.4 and 3.6 kernel. -- 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=840656 https://bugzilla.novell.com/show_bug.cgi?id=840656#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |obs:running:2529:important -- 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=840656 https://bugzilla.novell.com/show_bug.cgi?id=840656#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|obs:running:2529:important | -- 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=840656 https://bugzilla.novell.com/show_bug.cgi?id=840656#c12 --- Comment #12 from Swamp Workflow Management <swamp@suse.de> 2014-02-06 18:08:54 UTC --- openSUSE-SU-2014:0204-1: An update that solves 16 vulnerabilities and has 12 fixes is now available. Category: security (important) Bug References: 804950,805226,808358,811746,825006,831836,838024,840226,840656,844513,848079,848255,849021,849023,849029,849034,849362,852373,852558,852559,853050,853051,853052,853053,854173,854634,854722,860993 CVE References: CVE-2013-0343,CVE-2013-1792,CVE-2013-4348,CVE-2013-4511,CVE-2013-4513,CVE-2013-4514,CVE-2013-4515,CVE-2013-4587,CVE-2013-6367,CVE-2013-6368,CVE-2013-6376,CVE-2013-6378,CVE-2013-6380,CVE-2013-6431,CVE-2013-7027,CVE-2014-0038 Sources used: openSUSE 12.3 (src): kernel-docs-3.7.10-1.28.2, kernel-source-3.7.10-1.28.1, kernel-syms-3.7.10-1.28.1 -- 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