Another user has just reported this in irc on 3.11.2 kernel BUG at fs/btrfs/relocation.c:1055! invalid opcode: 0000 [#1] SMP Modules linked in: ebtable_nat nf_conntrack_netbios_ns nf_conntrack_broadcast ipt_MASQUERADE ip6table_nat nf_nat_ipv6 ip6table_mangle ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 iptable_nat nf_nat_ipv4 nf_nat iptable_mangle nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ebtable_filter ebtables bnep ip6table_filter ip6_tables arc4 x86_pkg_temp_thermal coretemp kvm_intel ath9k_htc joydev ath9k_common ath9k_hw ath kvm snd_hda_codec_hdmi mac80211 cfg80211 iTCO_wdt iTCO_vendor_support ath3k r8169 btusb snd_hda_codec_realtek snd_hda_intel mii snd_hda_codec snd_hwdep serio_raw snd_seq snd_seq_device mxm_wmi snd_pcm bluetooth mei_me microcode i2c_i801 rfkill shpchp lpc_ich mfd_core mei wmi mperf snd_page_alloc snd_timer snd soundcore uinput btrfs libcrc32c xor zlib_deflate raid6_pq dm_crypt hid_logitech_dj i915 crc32_pclmul crc32c_intel ghash_clmulni_intel i2c_algo_bit drm_kms_helper drm i2c_core video CPU: 1 PID: 564 Comm: btrfs-balance Not tainted 3.11.2-201.fc19.x86_64 #1 Hardware name: ECS Z77H2-AX/Z77H2-AX, BIOS 4.6.5 10/25/2012 task: ffff8807ee1c1e80 ti: ffff8807f1cc8000 task.ti: ffff8807f1cc8000 RIP: 0010:[<ffffffffa01f8007>] [<ffffffffa01f8007>] build_backref_tree+0x1077/0x1130 [btrfs] RSP: 0018:ffff8807f1cc9ab8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8807eef77480 RCX: dead000000200200 RDX: ffff8807f1cc9b28 RSI: ffff8807f1cc9b28 RDI: ffff8807ef5896d0 RBP: ffff8807f1cc9b98 R08: ffff8807ef5896d0 R09: 0000000000000001 R10: ffffffffa01f5483 R11: 0000000000000000 R12: ffff8807ef5896d0 R13: ffff8807ef5896c0 R14: ffff8807f22ee360 R15: ffff8807f0e62000 FS: 0000000000000000(0000) GS:ffff88081f240000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7d97749a90 CR3: 00000007e38ef000 CR4: 00000000001407e0 Stack: ffff8807f0e62580 ffff8807eef77a80 ffff8807ef5899e0 ffff8807eef77780 ffff8807ea5ab000 ffff8807f22ee360 ffff8807eef777c0 ffff8807f22ee000 ffff8807f0e62120 ffff8807eef77a80 ffff8807f0e62020 0000000000000000 Call Trace: [<ffffffffa01f8478>] relocate_tree_blocks+0x1d8/0x630 [btrfs] [<ffffffffa01f9108>] ? add_data_references+0x248/0x280 [btrfs] [<ffffffffa01f9d10>] relocate_block_group+0x280/0x690 [btrfs] [<ffffffffa01fa2bf>] btrfs_relocate_block_group+0x19f/0x2e0 [btrfs] [<ffffffffa01d1bff>] btrfs_relocate_chunk.isra.32+0x6f/0x740 [btrfs] [<ffffffffa0188a79>] ? btrfs_set_path_blocking+0x39/0x80 [btrfs] [<ffffffffa018d892>] ? btrfs_search_slot+0x382/0x940 [btrfs] [<ffffffffa01ce15f>] ? free_extent_buffer+0x4f/0xa0 [btrfs] [<ffffffffa01d67e7>] btrfs_balance+0x8e7/0xe80 [btrfs] [<ffffffffa01d6df0>] balance_kthread+0x70/0x80 [btrfs] [<ffffffffa01d6d80>] ? btrfs_balance+0xe80/0xe80 [btrfs] [<ffffffff81088640>] kthread+0xc0/0xd0 [<ffffffff81088580>] ? insert_kthread_work+0x40/0x40 [<ffffffff8165686c>] ret_from_fork+0x7c/0xb0 [<ffffffff81088580>] ? insert_kthread_work+0x40/0x40 Code: 4c 89 f7 e8 0c 0c f9 ff 48 8b bd 58 ff ff ff e8 00 0c f9 ff 48 83 bd 38 ff ff ff 00 0f 85 1e fe ff ff 31 c0 e9 5d f0 ff ff 0f 0b <0f> 0b 48 8b 73 18 48 89 c7 e8 49 f3 01 00 48 8b 85 38 ff ff ff RIP [<ffffffffa01f8007>] build_backref_tree+0x1077/0x1130 [btrfs] RSP <ffff8807f1cc9ab8> On Wed, Sep 25, 2013 at 11:26 PM, Guenther Starnberger <linux-btrfs@xxxxxxxxxxx> wrote: > On Wed, Sep 25, 2013 at 04:46:41PM +0200, David Sterba wrote: > >> 3.12-rc really? I'd like to see the stacktrace then. > > Yes - this also happens on 3.12-rc kernels. Here's the stacktrace for 4b97280 > (which is several commits ahead of 3.12-rc2): > > [ 126.735598] btrfs: disk space caching is enabled > [ 126.737038] btrfs: has skinny extents > [ 144.769929] BTRFS debug (device dm-0): unlinked 1 orphans > [ 144.836240] btrfs: continuing balance > [ 153.441134] btrfs: relocating block group 1542996361216 flags 1 > [ 295.780293] btrfs: found 18 extents > [ 310.107200] ------------[ cut here ]------------ > [ 310.108496] kernel BUG at fs/btrfs/relocation.c:1060! > [ 310.109709] invalid opcode: 0000 [#1] PREEMPT SMP > [ 310.110268] Modules linked in: btrfs raid6_pq crc32c libcrc32c xor xts gf128mul dm_crypt dm_mod usb_storage psmouse ppdev e1000 evdev pcspkr serio_raw joydev microcode snd_intel8x0 snd_ac97_codec i2c_piix4 i2c_core ac97_bus snd_pcm snd_page_alloc snd_timer parport_pc parport snd soundcore intel_agp button battery processor ac intel_gtt ext4 crc16 mbcache jbd2 hid_generic usbhid hid sr_mod cdrom sd_mod ata_generic pata_acpi ohci_pci ata_piix ahci libahci ohci_hcd ehci_pci ehci_hcd usbcore usb_common libata scsi_mod > [ 310.110268] CPU: 0 PID: 366 Comm: btrfs-balance Not tainted 3.12.0-1-00083-g4b97280-dirty #1 > [ 310.110268] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006 > [ 310.110268] task: ffff880078b00000 ti: ffff880078afe000 task.ti: ffff880078afe000 > [ 310.110268] RIP: 0010:[<ffffffffa04f6e8a>] [<ffffffffa04f6e8a>] build_backref_tree+0x112a/0x11d0 [btrfs] > [ 310.110268] RSP: 0018:ffff880078affab8 EFLAGS: 00010246 > [ 310.110268] RAX: 0000000000000000 RBX: ffff8800784d4000 RCX: ffff88006a2a9d90 > [ 310.110268] RDX: ffff880078affb30 RSI: ffff8800784d4020 RDI: ffff88006a2a9d80 > [ 310.110268] RBP: ffff880078affba0 R08: ffff880077d07e00 R09: ffff880078affa70 > [ 310.110268] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 > [ 310.110268] R13: ffff880078c95d80 R14: ffff880077d07c80 R15: ffff88006a2a9d90 > [ 310.110268] FS: 0000000000000000(0000) GS:ffff88007fa00000(0000) knlGS:0000000000000000 > [ 310.110268] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b > [ 310.110268] CR2: 00007f51ca3af010 CR3: 000000007bf8d000 CR4: 00000000000006f0 > [ 310.110268] Stack: > [ 310.110268] ffff880077d07d00 0000000000000000 ffff88006a2a9320 ffff880077d07e00 > [ 310.110268] ffff880077d07e00 ffff880078c95d80 ffff88007ad99000 ffff880078c95120 > [ 310.110268] ffff880077d07bc0 ffff8800784d4120 ffff880077d07d00 ffff8800784d4124 > [ 310.110268] Call Trace: > [ 310.110268] [<ffffffffa04f8378>] relocate_tree_blocks+0x1d8/0x630 [btrfs] > [ 310.110268] [<ffffffffa04f9880>] relocate_block_group+0x280/0x690 [btrfs] > [ 310.110268] [<ffffffffa04f9e2d>] btrfs_relocate_block_group+0x19d/0x2e0 [btrfs] > [ 310.110268] [<ffffffffa04d1a88>] btrfs_relocate_chunk.isra.28+0x68/0x780 [btrfs] > [ 310.110268] [<ffffffffa048af08>] ? btrfs_search_slot+0x498/0x970 [btrfs] > [ 310.110268] [<ffffffffa04c73d9>] ? release_extent_buffer+0xa9/0xd0 [btrfs] > [ 310.110268] [<ffffffffa04ccd1f>] ? free_extent_buffer+0x4f/0xa0 [btrfs] > [ 310.110268] [<ffffffffa04d5033>] btrfs_balance+0x913/0xeb0 [btrfs] > [ 310.110268] [<ffffffffa04d5640>] balance_kthread+0x70/0x80 [btrfs] > [ 310.110268] [<ffffffffa04d55d0>] ? btrfs_balance+0xeb0/0xeb0 [btrfs] > [ 310.110268] [<ffffffff81083b70>] kthread+0xc0/0xd0 > [ 310.110268] [<ffffffff81083ab0>] ? kthread_create_on_node+0x120/0x120 > [ 310.110268] [<ffffffff814ef37c>] ret_from_fork+0x7c/0xb0 > [ 310.110268] [<ffffffff81083ab0>] ? kthread_create_on_node+0x120/0x120 > [ 310.110268] Code: 4c 89 ef e8 e9 f1 f8 ff 48 8b bd 50 ff ff ff e8 dd f1 f8 ff 48 83 bd 30 ff ff ff 00 0f 85 0c fd ff ff 31 c0 e9 ae ef ff ff 0f 0b <0f> 0b 48 8b 85 30 ff ff ff 49 8d 7e 20 48 8b 70 18 48 89 c2 e8 > [ 310.110268] RIP [<ffffffffa04f6e8a>] build_backref_tree+0x112a/0x11d0 [btrfs] > [ 310.110268] RSP <ffff880078affab8> > [ 310.160477] ---[ end trace 1caf0f84ada634a2 ]--- > >> > kernel BUG at fs/btrfs/relocation.c:1060! >> > RIP: 0010:[<ffffffffa04f5d3a>] [<ffffffffa04f5d3a>] build_backref_tree+0x112a/0x11d0 [btrfs] >> >> This matches the known bug in 3.11, fix was submitted to 3.11.x stable. > > The kernel under which I've first noticed this issue was 3.11.1. Should this > version already contain the fix? > > - Guenther > -- > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
