[ 284.570731] perf samples too long (2522 > 2500), lowering kernel.perf_event_max_sample_rate to 50000 [ 346.422681] btrfs: device fsid 2d688178-1cbe-473b-b163-508ac9233732 devid 1 transid 3756 /dev/sdb1 [ 346.533909] btrfs: device fsid 2d688178-1cbe-473b-b163-508ac9233732 devid 2 transid 3756 /dev/sdc [ 379.464155] btrfs: device fsid 2d688178-1cbe-473b-b163-508ac9233732 devid 1 transid 3756 /dev/sdb1 [ 379.539034] btrfs: disk space caching is enabled [ 382.125601] BTRFS debug (device sdc): unlinked 1 orphans [ 382.157228] btrfs: continuing balance [ 382.170486] SELinux: initialized (dev sdc, type btrfs), uses xattr [ 382.218140] mount (2154) used greatest stack depth: 2072 bytes left [ 387.193517] btrfs: relocating block group 88076189696 flags 1 [ 672.191484] btrfs: found 69 extents [ 760.375653] ------------[ cut here ]------------ [ 760.375703] kernel BUG at fs/btrfs/ctree.h:2389! [ 760.375738] invalid opcode: 0000 [#1] SMP [ 760.375775] Modules linked in: bnep bluetooth 6lowpan_iphc fuse ip6t_rpfilter ip6t_REJECT cfg80211 rfkill xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw snd_ice1724 snd_hda_codec_realtek snd_ak4113 snd_hda_codec_generic snd_pt2258 snd_ak4114 snd_hda_codec_hdmi joydev snd_i2c snd_ice17xx_ak4xxx snd_ak4xxx_adda snd_hda_intel hid_logitech_dj snd_rawmidi snd_ac97_codec snd_hda_codec iTCO_wdt iTCO_vendor_support snd_hwdep ac97_bus ppdev snd_seq snd_seq_device coretemp snd_pcm lpc_ich microcode mfd_core serio_raw parport_pc [ 760.376118] snd_timer asus_atk0110 parport snd shpchp soundcore acpi_cpufreq isofs squashfs btrfs xor raid6_pq libcrc32c radeon i2c_algo_bit drm_kms_helper ttm ata_generic pata_acpi drm r8169 mii i2c_core loop [ 760.376118] CPU: 0 PID: 2176 Comm: btrfs-balance Not tainted 3.14.0-0.rc0.git17.1.fc21.x86_64 #1 [ 760.376118] Hardware name: System manufacturer System Product Name/P5G41T-M LX PLUS, BIOS 0502 10/21/2011 [ 760.376118] task: ffff88008d98d040 ti: ffff8800622e2000 task.ti: ffff8800622e2000 [ 760.376118] RIP: 0010:[] [] btrfs_extent_inline_ref_size.part.38+0x4/0x6 [btrfs] [ 760.376118] RSP: 0018:ffff8800622e3780 EFLAGS: 00010297 [ 760.376118] RAX: 0000000000000030 RBX: 0000000000000030 RCX: ffff88008b72d000 [ 760.376118] RDX: 0000000000000000 RSI: 00000000000007a2 RDI: 0000000000000000 [ 760.376118] RBP: ffff8800622e3780 R08: 0000000000001000 R09: ffff8800622e3748 [ 760.376118] R10: 0000000000000000 R11: 0000000000000000 R12: 00000000000007a2 [ 760.376118] R13: 00000000000007ab R14: ffff88010aabde80 R15: 00000000000000b6 [ 760.376118] FS: 0000000000000000(0000) GS:ffff88011ae00000(0000) knlGS:0000000000000000 [ 760.376118] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 760.376118] CR2: 00007f0e9ccba000 CR3: 0000000116171000 CR4: 00000000000007f0 [ 760.376118] Stack: [ 760.376118] ffff8800622e3830 ffffffffa027c3a3 ffff8801162333d8 ffff88002fc59ba8 [ 760.376118] ffff8800622e3870 0000000000000033 00000000000007ab 0000000000000778 [ 760.376118] ffff8800000000b6 000000004023d000 0000000900000002 d000000000000246 [ 760.376118] Call Trace: [ 760.376118] [] lookup_inline_extent_backref+0x503/0x600 [btrfs] [ 760.376118] [] ? __lock_is_held+0x57/0x80 [ 760.376118] [] insert_inline_extent_backref+0x68/0xf0 [btrfs] [ 760.376118] [] ? btrfs_alloc_path+0x1a/0x20 [btrfs] [ 760.376118] [] __btrfs_inc_extent_ref+0x97/0x200 [btrfs] [ 760.376118] [] run_clustered_refs+0xb8e/0x1450 [btrfs] [ 760.376118] [] btrfs_run_delayed_refs+0xf0/0x570 [btrfs] [ 760.376118] [] btrfs_commit_transaction+0x5d/0xa50 [btrfs] [ 760.376118] [] prepare_to_merge+0x1c8/0x1f7 [btrfs] [ 760.376118] [] relocate_block_group+0x39b/0x660 [btrfs] [ 760.376118] [] btrfs_relocate_block_group+0x1a7/0x2f0 [btrfs] [ 760.376118] [] btrfs_relocate_chunk.isra.29+0x77/0x810 [btrfs] [ 760.376118] [] ? _raw_spin_unlock+0x27/0x40 [ 760.376118] [] ? release_extent_buffer+0x2b/0xd0 [btrfs] [ 760.376118] [] ? free_extent_buffer+0x4f/0xa0 [btrfs] [ 760.376118] [] btrfs_balance+0x9ab/0xf60 [btrfs] [ 760.376118] [] ? balance_kthread+0x74/0x80 [btrfs] [ 760.376118] [] balance_kthread+0x74/0x80 [btrfs] [ 760.376118] [] ? btrfs_balance+0xf60/0xf60 [btrfs] [ 760.376118] [] kthread+0xff/0x120 [ 760.376118] [] ? insert_kthread_work+0x80/0x80 [ 760.376118] [] ret_from_fork+0x7c/0xb0 [ 760.376118] [] ? insert_kthread_work+0x80/0x80 [ 760.376118] Code: 89 e5 e8 0f 6f 1d e1 85 c0 79 0e 48 c7 c7 c0 6f 31 a0 31 c0 e8 21 dd 4b e1 5d c3 55 48 89 e5 0f 0b 55 48 89 e5 0f 0b 55 48 89 e5 <0f> 0b 66 66 66 66 90 55 b9 11 00 00 00 48 89 e5 41 55 49 89 f5 [ 760.376118] RIP [] btrfs_extent_inline_ref_size.part.38+0x4/0x6 [btrfs] [ 760.376118] RSP [ 760.395327] ---[ end trace a83881090d108eb8 ]--- [ 760.395337] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:20 [ 760.395342] in_atomic(): 1, irqs_disabled(): 0, pid: 2176, name: btrfs-balance [ 760.395349] INFO: lockdep is turned off. [ 760.395357] CPU: 0 PID: 2176 Comm: btrfs-balance Tainted: G D 3.14.0-0.rc0.git17.1.fc21.x86_64 #1 [ 760.395363] Hardware name: System manufacturer System Product Name/P5G41T-M LX PLUS, BIOS 0502 10/21/2011 [ 760.395370] 0000000000000000 00000000a7f79105 ffff8800622e3470 ffffffff817cd928 [ 760.395379] 0000000000000000 ffff8800622e3498 ffffffff810d0415 ffff880060c5f478 [ 760.395385] ffff880060c5f4d8 ffff88008d98d040 ffff8800622e34c0 ffffffff817d57aa [ 760.395391] Call Trace: [ 760.395400] [] dump_stack+0x4d/0x66 [ 760.395406] [] __might_sleep+0x175/0x230 [ 760.395411] [] down_read+0x2a/0xa0 [ 760.395418] [] exit_signals+0x33/0x150 [ 760.395423] [] do_exit+0xd2/0xd00 [ 760.395430] [] ? kmsg_dump+0x1c8/0x250 [ 760.395435] [] ? kmsg_dump+0x34/0x250 [ 760.395440] [] oops_end+0x9c/0xe0 [ 760.395448] [] die+0x4b/0x70 [ 760.395453] [] do_trap+0x60/0x170 [ 760.395458] [] do_invalid_op+0xaa/0xe0 [ 760.395484] [] ? btrfs_extent_inline_ref_size.part.38+0x4/0x6 [btrfs] [ 760.395490] [] ? trace_hardirqs_off_thunk+0x3a/0x3c [ 760.395496] [] ? restore_args+0x30/0x30 [ 760.395502] [] invalid_op+0x1e/0x30 [ 760.395526] [] ? btrfs_extent_inline_ref_size.part.38+0x4/0x6 [btrfs] [ 760.395547] [] lookup_inline_extent_backref+0x503/0x600 [btrfs] [ 760.395553] [] ? __lock_is_held+0x57/0x80 [ 760.395573] [] insert_inline_extent_backref+0x68/0xf0 [btrfs] [ 760.395595] [] ? btrfs_alloc_path+0x1a/0x20 [btrfs] [ 760.395616] [] __btrfs_inc_extent_ref+0x97/0x200 [btrfs] [ 760.395637] [] run_clustered_refs+0xb8e/0x1450 [btrfs] [ 760.395660] [] btrfs_run_delayed_refs+0xf0/0x570 [btrfs] [ 760.395685] [] btrfs_commit_transaction+0x5d/0xa50 [btrfs] [ 760.395710] [] prepare_to_merge+0x1c8/0x1f7 [btrfs] [ 760.395737] [] relocate_block_group+0x39b/0x660 [btrfs] [ 760.395763] [] btrfs_relocate_block_group+0x1a7/0x2f0 [btrfs] [ 760.395789] [] btrfs_relocate_chunk.isra.29+0x77/0x810 [btrfs] [ 760.395795] [] ? _raw_spin_unlock+0x27/0x40 [ 760.395821] [] ? release_extent_buffer+0x2b/0xd0 [btrfs] [ 760.395847] [] ? free_extent_buffer+0x4f/0xa0 [btrfs] [ 760.395872] [] btrfs_balance+0x9ab/0xf60 [btrfs] [ 760.395898] [] ? balance_kthread+0x74/0x80 [btrfs] [ 760.395924] [] balance_kthread+0x74/0x80 [btrfs] [ 760.395950] [] ? btrfs_balance+0xf60/0xf60 [btrfs] [ 760.395955] [] kthread+0xff/0x120 [ 760.395960] [] ? insert_kthread_work+0x80/0x80 [ 760.395966] [] ret_from_fork+0x7c/0xb0 [ 760.395970] [] ? insert_kthread_work+0x80/0x80 [ 760.395975] note: btrfs-balance[2176] exited with preempt_count 1 [liveuser@localhost ~]$ sudo hdparm -i /dev/sdc # /dev/sdb is identical /dev/sdc: Model=ST4000VN000-1H4168, FwRev=SC43, SerialNo=Z300SBV2 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=unknown, BuffSize=unknown, MaxMultSect=16, MultSect=16 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=7814037168 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6 AdvancedPM=yes: unknown setting WriteCache=enabled Drive conforms to: Reserved: ATA/ATAPI-4,5,6,7 * signifies the current active mode