kernel BUG at drivers/md/bcache/btree.c:1168
Hi, is the second time I get this BUG.
The first was during boot from an old 3.13.0-rc2 to a 3.13.0-rc7. The second time was when running tests.
Follow the two stack trace:
Jan 14 17:33:59 xxxxx kernel: ------------[ cut here ]------------ Jan 14 17:33:59 xxxxx kernel: kernel BUG at drivers/md/bcache/btree.c:1168! Jan 14 17:33:59 xxxxx kernel: invalid opcode: 0000 [#1] SMP Jan 14 17:33:59 xxxxx kernel: Modules linked in: lp parport_pc parport joydev st sr_mod cdrom xt_multiport iptable_filter ip_tables x_tables xfs libcrc32c ipmi_devintf loop snd_pcm mgag200 snd_page_alloc snd_timer ttm x86_pkg_temp_thermal drm_kms_helper drm snd i2c_algo_bit coretemp soundcore kvm_intel kvm +crc32c_intel ghash_clmulni_intel ioatdma aesni_intel aes_x86_64 iTCO_wdt sb_edac iTCO_vendor_support mei_me mei ablk_helper edac_core cryptd psmouse i2c_i801 lpc_ich serio_raw i2c_core pcspkr lrw mfd_core gf128mul ipmi_si ipmi_msghandler glue_helper evdev processor wmi thermal_sys button ext3 mbcache jbd dm_mod +raid1 md_mod hid_generic usbhid hid bcache sg sd_mod ses crc_t10dif enclosure crct10dif_common microcode ahci libahci libata ehci_pci ehci_hcd mpt2sas raid_class usbcore megaraid_sas scsi_transport_sas usb_common scsi_mod ixgbe dca ptp pps_core mdio [last unloaded: parport_pc] Jan 14 17:33:59 xxxxx kernel: CPU: 6 PID: 700 Comm: bcache_gc Not tainted 3.13.0-rc7-dsi #3 Jan 14 17:33:59 xxxxx kernel: Hardware name: Supermicro X9SRH-7F/7TF/X9SRH-7F/7TF, BIOS 3.00 07/05/2013 Jan 14 17:33:59 xxxxx kernel: task: ffff88101371a050 ti: ffff88100ea56000 task.ti: ffff88100ea56000 Jan 14 17:33:59 xxxxx kernel: RIP: 0010:[<ffffffffa01ce41e>] [<ffffffffa01ce41e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 14 17:33:59 xxxxx kernel: RSP: 0018:ffff88100ea57cb8 EFLAGS: 00010246 Jan 14 17:33:59 xxxxx kernel: RAX: 0000000000000002 RBX: ffff880fab8001e8 RCX: 0000000000002000 Jan 14 17:33:59 xxxxx kernel: RDX: 0000000000000002 RSI: ffff880fab8001e8 RDI: ffff881028d60000 Jan 14 17:33:59 xxxxx kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88101003c000 Jan 14 17:33:59 xxxxx kernel: R10: 0000000000001000 R11: ffff880fce594400 R12: 0000000000000000 Jan 14 17:33:59 xxxxx kernel: R13: ffff881028d60000 R14: 0000000000000001 R15: ffffc90016d93678 Jan 14 17:33:59 xxxxx kernel: FS: 0000000000000000(0000) GS:ffff88107fcc0000(0000) knlGS:0000000000000000 Jan 14 17:33:59 xxxxx kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 14 17:33:59 xxxxx kernel: CR2: 00007fe31614ccf8 CR3: 000000000160c000 CR4: 00000000000407e0 Jan 14 17:33:59 xxxxx kernel: Stack: Jan 14 17:33:59 xxxxx kernel: ffff880fab8001e8 0000000188a000fb ffff880fce594400 ffff880fce594400 Jan 14 17:33:59 xxxxx kernel: ffff880fab8001e8 0000000000000013 0000000000000001 ffff88100ea57dc8 Jan 14 17:33:59 xxxxx kernel: ffff88100ea57d18 ffffffffa01ce72a ffff88101371a050 0000000200000000 Jan 14 17:33:59 xxxxx kernel: Call Trace: Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01ce72a>] ? btree_gc_mark_node+0x4c/0x16d [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff811e8e63>] ? call_rwsem_down_write_failed+0x13/0x20 Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d005e>] ? bch_btree_gc+0x187/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff8106ffde>] ? idle_balance+0x12b/0x166 Jan 14 17:33:59 xxxxx kernel: [<ffffffff81066b18>] ? mmdrop+0xd/0x1c Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d02ab>] ? bch_gc_thread+0x2d/0xe5 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d027e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d027e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f77a>] ? kthread+0x99/0xa1 Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 14 17:33:59 xxxxx kernel: [<ffffffff813b58cc>] ? ret_from_fork+0x7c/0xb0 Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 14 17:33:59 xxxxx kernel: Code: 00 01 c1 b8 ff 3f 00 00 81 f9 ff 3f 00 00 0f 46 c1 66 81 e2 03 80 25 ff 1f 00 00 c1 e0 02 09 d0 66 a9 fc 7f 66 41 89 47 0a 75 02 <0f> 0b ff c5 eb 05 31 ed 45 31 e4 48 8b 03 89 ea 48 c1 e8 3c 83 Jan 14 17:33:59 xxxxx kernel: RIP [<ffffffffa01ce41e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 14 17:33:59 xxxxx kernel: RSP <ffff88100ea57cb8> Jan 14 17:33:59 xxxxx kernel: ---[ end trace 6a29ce0fa7816b54 ]---
Jan 16 12:16:00 xxxxx kernel: ------------[ cut here ]------------ Jan 16 12:16:00 xxxxx kernel: kernel BUG at drivers/md/bcache/btree.c:1168! Jan 16 12:16:00 xxxxx kernel: invalid opcode: 0000 [#1] SMP Jan 16 12:16:00 xxxxx kernel: Modules linked in: lp parport_pc parport joydev st sr_mod cdrom xt_multiport iptable_filter ip_tables x_tables xfs libcrc32c ipmi_devintf loop iTCO_wdt x86_pkg_temp_thermal coretemp kvm_intel kvm sb_edac iTCO_vendor_support mgag200 ioatdma snd_pcm snd_page_alloc snd_timer snd i2c_i801 +ttm soundcore crc32c_intel ghash_clmulni_intel aesni_intel lpc_ich aes_x86_64 drm_kms_helper drm i2c_algo_bit i2c_core mfd_core ablk_helper cryptd lrw gf128mul mei_me mei glue_helper psmouse edac_core serio_raw pcspkr evdev wmi ipmi_si ipmi_msghandler processor thermal_sys button ext3 mbcache jbd dm_mod raid1 +md_mod hid_generic usbhid hid bcache sg sd_mod ses crc_t10dif enclosure crct10dif_common microcode ehci_pci ehci_hcd usbcore ahci mpt2sas libahci usb_common raid_class libata scsi_transport_sas megaraid_sas ixgbe scsi_mod dca ptp pps_core mdio [last unloaded: parport_pc] Jan 16 12:16:00 xxxxx kernel: CPU: 8 PID: 707 Comm: bcache_gc Not tainted 3.13.0-rc7-dsi #3 Jan 16 12:16:00 xxxxx kernel: Hardware name: Supermicro X9SRH-7F/7TF/X9SRH-7F/7TF, BIOS 3.00 07/05/2013 Jan 16 12:16:00 xxxxx kernel: task: ffff88102c30f800 ti: ffff88100e44c000 task.ti: ffff88100e44c000 Jan 16 12:16:00 xxxxx kernel: RIP: 0010:[<ffffffffa01f341e>] [<ffffffffa01f341e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 16 12:16:00 xxxxx kernel: RSP: 0018:ffff88100e44da78 EFLAGS: 00010246 Jan 16 12:16:00 xxxxx kernel: RAX: 0000000000000000 RBX: ffff880fed4037b8 RCX: 0000000000002000 Jan 16 12:16:00 xxxxx kernel: RDX: 0000000000000000 RSI: ffff880fed4037b8 RDI: ffff881028ce0000 Jan 16 12:16:00 xxxxx kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: ffff8810109ea000 Jan 16 12:16:00 xxxxx kernel: R10: 0000000000001000 R11: ffff880fee906400 R12: 0000000000000000 Jan 16 12:16:00 xxxxx kernel: R13: ffff881028ce0000 R14: 0000000000000000 R15: ffffc900168dc660 Jan 16 12:16:00 xxxxx kernel: FS: 0000000000000000(0000) GS:ffff88107fd00000(0000) knlGS:0000000000000000 Jan 16 12:16:00 xxxxx kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 16 12:16:00 xxxxx kernel: CR2: 0000000000619570 CR3: 000000000160c000 CR4: 00000000000407e0 Jan 16 12:16:00 xxxxx kernel: Stack: Jan 16 12:16:00 xxxxx kernel: ffff88100e44dad8 0000000108801efc ffffffffa01f0c31 ffff880fee906400 Jan 16 12:16:00 xxxxx kernel: ffff880fed4037b8 0000000000000251 0000000000000000 ffff88100e44ddc8 Jan 16 12:16:00 xxxxx kernel: ffff88100e44dad8 ffffffffa01f372a ffffffffa01f5bb1 00000251b5f80000 Jan 16 12:16:00 xxxxx kernel: Call Trace: Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f0c31>] ? bch_cut_back+0x41/0x41 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f372a>] ? btree_gc_mark_node+0x4c/0x16d [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f5bb1>] ? tree_to_bkey+0x13/0x3c [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f64b8>] ? bch_ptr_invalid+0x1a/0x1a [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f4cbf>] ? btree_gc_recurse+0x677/0x88f [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f6398>] ? bch_btree_ptr_invalid+0x46/0xb0 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff813ae20a>] ? __schedule+0x48f/0x555 Jan 16 12:16:00 xxxxx kernel: [<ffffffff810680ad>] ? resched_task+0x15/0x4b Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f7ab0>] ? bch_btree_iter_next_filter+0x18/0x38 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f379c>] ? btree_gc_mark_node+0xbe/0x16d [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff811e8e63>] ? call_rwsem_down_write_failed+0x13/0x20 Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f50df>] ? bch_btree_gc+0x208/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff8106ffde>] ? idle_balance+0x12b/0x166 Jan 16 12:16:00 xxxxx kernel: [<ffffffff81066b18>] ? mmdrop+0xd/0x1c Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f52ab>] ? bch_gc_thread+0x2d/0xe5 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f527e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f527e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f77a>] ? kthread+0x99/0xa1 Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 16 12:16:00 xxxxx kernel: [<ffffffff813b58cc>] ? ret_from_fork+0x7c/0xb0 Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 16 12:16:00 xxxxx kernel: Code: 00 01 c1 b8 ff 3f 00 00 81 f9 ff 3f 00 00 0f 46 c1 66 81 e2 03 80 25 ff 1f 00 00 c1 e0 02 09 d0 66 a9 fc 7f 66 41 89 47 0a 75 02 <0f> 0b ff c5 eb 05 31 ed 45 31 e4 48 8b 03 89 ea 48 c1 e8 3c 83 Jan 16 12:16:00 xxxxx kernel: RIP [<ffffffffa01f341e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 16 12:16:00 xxxxx kernel: RSP <ffff88100e44da78> Jan 16 12:16:00 xxxxx kernel: ---[ end trace 14e7f7c11d82ef2f ]---
Signature · 3 lines
-- Um repórter de rock é um jornalista que não sabe escrever, entrevistando gente que não sabe falar, para pessoas que não sabem ler.
Quoted 5 lines · Jose Manuel dos Santos Calhariz
Hi, is the second time I get this BUG.
The first was during boot from an old 3.13.0-rc2 to a 3.13.0-rc7. The second time was when running tests.
Yeah, I also saw this tonight on 3.13. Running on ext4 -> LVM -> LUKS -> bcache -> ssd/disk.
[81881.815077] ------------[ cut here ]------------ [81881.815108] kernel BUG at drivers/md/bcache/btree.c:1168! [81881.815123] invalid opcode: 0000 [#1] PREEMPT SMP [81881.815140] Modules linked in: hfsplus hfs msdos ipt_MASQUERADE iptable_nat nf_nat_ipv4 xt_conntrack xt_CHECKSUM iptable_mangle tun bridge stp llc fuse af_packet microcode bnep rfcomm nfsd nfs_acl exportfs auth_rpcgss nfs lockd sunrpc xt_physdev xt_hl uvcvideo ip6t_rt videobuf2_core videodev nf_conntrack_ipv6 nf_defrag_ipv6 videobuf2_vmalloc videobuf2_memops ipt_REJECT xt_sctp xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_state ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter ip_tables x_tables eeprom sch_fq_codel nls_iso8859_1 nls_cp437 vfat fat lpc_ich mfd_core loop bcache zlib_deflate libcrc32c [81881.815346] CPU: 2 PID: 1418 Comm: bcache_gc Not tainted 3.13.0-60-birch #1 [81881.815365] Hardware name: LENOVO 2349E51/2349E51, BIOS G1ET69WW (2.05 ) 09/12/2012 [81881.815385] task: ffff880402038000 ti: ffff8804043c6000 task.ti: ffff8804043c6000 [81881.815405] RIP: 0010:[<ffffffffa0017a01>] [<ffffffffa0017a01>] __bch_btree_mark_key+0x251/0x290 [bcache] [81881.815438] RSP: 0018:ffff8804043c7c78 EFLAGS: 00010246 [81881.815453] RAX: 0000000000000002 RBX: ffffc90004397dac RCX: 0000000000000200 [81881.815471] RDX: 0000000000000002 RSI: 0000000000000001 RDI: ffffc90004397dac [81881.815490] RBP: ffff8804043c7cc8 R08: 000007ffffffffff R09: 0000000000000001 [81881.815509] R10: 0000000000003fff R11: 0000001000000000 R12: 0000000000000000 [81881.815527] R13: ffff8800532002c0 R14: ffff8804017a0000 R15: 0000000000000000 [81881.815546] FS: 0000000000000000(0000) GS:ffff88041e300000(0000) knlGS:0000000000000000 [81881.815568] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [81881.815583] CR2: 00007f467f76b000 CR3: 0000000001c0c000 CR4: 00000000001407e0 [81881.815602] Stack: [81881.815609] ffff8804043c7ce8 ffff880408fb2000 ffff8804043c7c98 ffffffffa0014be5 [81881.815632] ffff8804043c7cc8 ffff880408fb2000 ffff8804043c7de0 ffff8800532002c0 [81881.815653] 0000000000000000 000000000000001c ffff8804043c7d68 ffffffffa0017e41 [81881.815675] Call Trace: [81881.815690] [<ffffffffa0014be5>] ? bch_ptr_invalid+0x25/0x30 [bcache] [81881.815713] [<ffffffffa0017e41>] btree_gc_mark_node+0x81/0x210 [bcache] [81881.815736] [<ffffffffa001a2e2>] bch_btree_gc+0x252/0x5d0 [bcache] [81881.815759] [<ffffffffa001a698>] bch_gc_thread+0x38/0x120 [bcache] [81881.815781] [<ffffffffa001a660>] ? bch_btree_gc+0x5d0/0x5d0 [bcache] [81881.815801] [<ffffffff810e4b79>] kthread+0xc9/0xe0 [81881.815816] [<ffffffff810e4ab0>] ? flush_kthread_worker+0xb0/0xb0 [81881.815835] [<ffffffff817f63ec>] ret_from_fork+0x7c/0xb0 [81881.815851] [<ffffffff810e4ab0>] ? flush_kthread_worker+0xb0/0xb0 [81881.815868] Code: c8 44 89 55 b8 4c 89 5d b0 e8 5c 21 01 00 4c 8b 45 c0 84 c0 44 8b 4d c8 44 8b 55 b8 4c 8b 5d b0 75 13 0f b7 43 0a e9 28 ff ff ff <0f> 0b 48 89 df e9 ec fe ff ff 4c 89 45 c0 44 89 4d c8 44 89 55 [81881.815956] RIP [<ffffffffa0017a01>] __bch_btree_mark_key+0x251/0x290 [bcache] [81881.815982] RSP <ffff8804043c7c78> [81881.820218] ---[ end trace f9ade3bfa4c277bf ]---
--D
Quoted 197 lines
Follow the two stack trace:
Jan 14 17:33:59 xxxxx kernel: ------------[ cut here ]------------ Jan 14 17:33:59 xxxxx kernel: kernel BUG at drivers/md/bcache/btree.c:1168! Jan 14 17:33:59 xxxxx kernel: invalid opcode: 0000 [#1] SMP Jan 14 17:33:59 xxxxx kernel: Modules linked in: lp parport_pcparport joydev st
sr_modcdromxt_multiportiptable_filterip_tablesx_tablesxfs libcrc32cipmi_devintfloopsnd_pcmmgag200snd_page_allocsnd_timerttmx86_pkg_temp_thermaldrm_kms_helperdrm sndi2c_algo_bitcoretemp soundcorekvm_intelkvm +crc32c_intelghash_clmulni_intelioatdmaaesni_intelaes_x86_64iTCO_wdtsb_edaciTCO_vendor_supportmei_memeiablk_helperedac_corecryptd psmousei2c_i801lpc_ichserio_rawi2c_corepcspkr lrwmfd_coregf128mulipmi_siipmi_msghandlerglue_helperevdev processor wmithermal_sysbutton ext3 mbcache jbddm_mod+raid1md_modhid_genericusbhid hid bcache sgsd_modsescrc_t10difenclosurecrct10dif_commonmicrocode ahci libahci libataehci_pciehci_hcdmpt2sasraid_classusbcoremegaraid_sasscsi_transport_sasusb_commonscsi_modixgbe dca ptppps_coremdio [last unloaded:parport_pc]Jan 14 17:33:59 xxxxx kernel: CPU: 6 PID: 700 Comm: bcache_gc Not tainted 3.13.0-rc7-dsi #3 Jan 14 17:33:59 xxxxx kernel: Hardware name: Supermicro X9SRH-7F/7TF/X9SRH-7F/7TF, BIOS 3.00 07/05/2013 Jan 14 17:33:59 xxxxx kernel: task: ffff88101371a050 ti: ffff88100ea56000 task.ti: ffff88100ea56000 Jan 14 17:33:59 xxxxx kernel: RIP: 0010:[<ffffffffa01ce41e>] [<ffffffffa01ce41e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 14 17:33:59 xxxxx kernel: RSP: 0018:ffff88100ea57cb8 EFLAGS: 00010246 Jan 14 17:33:59 xxxxx kernel: RAX: 0000000000000002 RBX: ffff880fab8001e8 RCX: 0000000000002000 Jan 14 17:33:59 xxxxx kernel: RDX: 0000000000000002 RSI: ffff880fab8001e8 RDI: ffff881028d60000 Jan 14 17:33:59 xxxxx kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88101003c000 Jan 14 17:33:59 xxxxx kernel: R10: 0000000000001000 R11: ffff880fce594400 R12: 0000000000000000 Jan 14 17:33:59 xxxxx kernel: R13: ffff881028d60000 R14: 0000000000000001 R15: ffffc90016d93678 Jan 14 17:33:59 xxxxx kernel: FS: 0000000000000000(0000) GS:ffff88107fcc0000(0000) knlGS:0000000000000000 Jan 14 17:33:59 xxxxx kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 14 17:33:59 xxxxx kernel: CR2: 00007fe31614ccf8 CR3: 000000000160c000 CR4: 00000000000407e0 Jan 14 17:33:59 xxxxx kernel: Stack: Jan 14 17:33:59 xxxxx kernel: ffff880fab8001e8 0000000188a000fb ffff880fce594400 ffff880fce594400 Jan 14 17:33:59 xxxxx kernel: ffff880fab8001e8 0000000000000013 0000000000000001 ffff88100ea57dc8 Jan 14 17:33:59 xxxxx kernel: ffff88100ea57d18 ffffffffa01ce72a ffff88101371a050 0000000200000000 Jan 14 17:33:59 xxxxx kernel: Call Trace: Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01ce72a>] ? btree_gc_mark_node+0x4c/0x16d [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff811e8e63>] ? call_rwsem_down_write_failed+0x13/0x20 Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d005e>] ? bch_btree_gc+0x187/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff8106ffde>] ? idle_balance+0x12b/0x166 Jan 14 17:33:59 xxxxx kernel: [<ffffffff81066b18>] ? mmdrop+0xd/0x1c Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d02ab>] ? bch_gc_thread+0x2d/0xe5 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d027e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d027e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f77a>] ? kthread+0x99/0xa1 Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 14 17:33:59 xxxxx kernel: [<ffffffff813b58cc>] ? ret_from_fork+0x7c/0xb0 Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 14 17:33:59 xxxxx kernel: Code: 00 01 c1 b8 ff 3f 00 00 81 f9 ff 3f 00 00 0f 46 c1 66 81 e2 03 80 25 ff 1f 00 00 c1 e0 02 09 d0 66 a9 fc 7f 66 41 89 47 0a 75 02 <0f> 0b ff c5 eb 05 31 ed 45 31 e4 48 8b 03 89 ea 48 c1 e8 3c 83 Jan 14 17:33:59 xxxxx kernel: RIP [<ffffffffa01ce41e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 14 17:33:59 xxxxx kernel: RSP <ffff88100ea57cb8> Jan 14 17:33:59 xxxxx kernel: ---[ end trace 6a29ce0fa7816b54 ]---Jan 16 12:16:00 xxxxx kernel: ------------[ cut here ]------------ Jan 16 12:16:00 xxxxx kernel: kernel BUG at drivers/md/bcache/btree.c:1168! Jan 16 12:16:00 xxxxx kernel: invalid opcode: 0000 [#1] SMP Jan 16 12:16:00 xxxxx kernel: Modules linked in: lp parport_pcparport joydev st
sr_modcdromxt_multiportiptable_filterip_tablesx_tablesxfs libcrc32cipmi_devintfloopiTCO_wdtx86_pkg_temp_thermalcoretempkvm_intelkvmsb_edaciTCO_vendor_supportmgag200 ioatdmasnd_pcmsnd_page_allocsnd_timersndi2c_i801
+ttm soundcorecrc32c_intelghash_clmulni_intelaesni_intellpc_ichaes_x86_64drm_kms_helperdrmi2c_algo_biti2c_coremfd_coreablk_helpercryptd lrw gf128mulmei_memeiglue_helperpsmouseedac_coreserio_rawpcspkr evdev wmiipmi_siipmi_msghandlerprocessorthermal_sysbutton ext3 mbcache jbddm_modraid1 +md_modhid_genericusbhid hid bcache sgsd_modsescrc_t10difenclosurecrct10dif_commonmicrocodeehci_pciehci_hcdusbcore ahci mpt2sas libahciusb_commonraid_classlibatascsi_transport_sasmegaraid_sasixgbescsi_moddca ptppps_coremdio [last unloaded:parport_pc]Jan 16 12:16:00 xxxxx kernel: CPU: 8 PID: 707 Comm: bcache_gc Not tainted 3.13.0-rc7-dsi #3 Jan 16 12:16:00 xxxxx kernel: Hardware name: Supermicro X9SRH-7F/7TF/X9SRH-7F/7TF, BIOS 3.00 07/05/2013 Jan 16 12:16:00 xxxxx kernel: task: ffff88102c30f800 ti: ffff88100e44c000 task.ti: ffff88100e44c000 Jan 16 12:16:00 xxxxx kernel: RIP: 0010:[<ffffffffa01f341e>] [<ffffffffa01f341e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 16 12:16:00 xxxxx kernel: RSP: 0018:ffff88100e44da78 EFLAGS: 00010246 Jan 16 12:16:00 xxxxx kernel: RAX: 0000000000000000 RBX: ffff880fed4037b8 RCX: 0000000000002000 Jan 16 12:16:00 xxxxx kernel: RDX: 0000000000000000 RSI: ffff880fed4037b8 RDI: ffff881028ce0000 Jan 16 12:16:00 xxxxx kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: ffff8810109ea000 Jan 16 12:16:00 xxxxx kernel: R10: 0000000000001000 R11: ffff880fee906400 R12: 0000000000000000 Jan 16 12:16:00 xxxxx kernel: R13: ffff881028ce0000 R14: 0000000000000000 R15: ffffc900168dc660 Jan 16 12:16:00 xxxxx kernel: FS: 0000000000000000(0000) GS:ffff88107fd00000(0000) knlGS:0000000000000000 Jan 16 12:16:00 xxxxx kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 16 12:16:00 xxxxx kernel: CR2: 0000000000619570 CR3: 000000000160c000 CR4: 00000000000407e0 Jan 16 12:16:00 xxxxx kernel: Stack: Jan 16 12:16:00 xxxxx kernel: ffff88100e44dad8 0000000108801efc ffffffffa01f0c31 ffff880fee906400 Jan 16 12:16:00 xxxxx kernel: ffff880fed4037b8 0000000000000251 0000000000000000 ffff88100e44ddc8 Jan 16 12:16:00 xxxxx kernel: ffff88100e44dad8 ffffffffa01f372a ffffffffa01f5bb1 00000251b5f80000 Jan 16 12:16:00 xxxxx kernel: Call Trace: Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f0c31>] ? bch_cut_back+0x41/0x41 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f372a>] ? btree_gc_mark_node+0x4c/0x16d [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f5bb1>] ? tree_to_bkey+0x13/0x3c [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f64b8>] ? bch_ptr_invalid+0x1a/0x1a [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f4cbf>] ? btree_gc_recurse+0x677/0x88f [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f6398>] ? bch_btree_ptr_invalid+0x46/0xb0 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff813ae20a>] ? __schedule+0x48f/0x555 Jan 16 12:16:00 xxxxx kernel: [<ffffffff810680ad>] ? resched_task+0x15/0x4b Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f7ab0>] ? bch_btree_iter_next_filter+0x18/0x38 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f379c>] ? btree_gc_mark_node+0xbe/0x16d [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff811e8e63>] ? call_rwsem_down_write_failed+0x13/0x20 Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f50df>] ? bch_btree_gc+0x208/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff8106ffde>] ? idle_balance+0x12b/0x166 Jan 16 12:16:00 xxxxx kernel: [<ffffffff81066b18>] ? mmdrop+0xd/0x1c Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f52ab>] ? bch_gc_thread+0x2d/0xe5 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f527e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f527e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f77a>] ? kthread+0x99/0xa1 Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 16 12:16:00 xxxxx kernel: [<ffffffff813b58cc>] ? ret_from_fork+0x7c/0xb0 Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 16 12:16:00 xxxxx kernel: Code: 00 01 c1 b8 ff 3f 00 00 81 f9 ff 3f 00 00 0f 46 c1 66 81 e2 03 80 25 ff 1f 00 00 c1 e0 02 09 d0 66 a9 fc 7f 66 41 89 47 0a 75 02 <0f> 0b ff c5 eb 05 31 ed 45 31 e4 48 8b 03 89 ea 48 c1 e8 3c 83 Jan 16 12:16:00 xxxxx kernel: RIP [<ffffffffa01f341e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 16 12:16:00 xxxxx kernel: RSP <ffff88100e44da78> Jan 16 12:16:00 xxxxx kernel: ---[ end trace 14e7f7c11d82ef2f ]---Signature · 9 lines
-- Um repórter de rock é um jornalista que não sabe escrever, entrevistando gente que não sabe falar, para pessoas que não sabem ler. -- To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
[adding Mr. Trinidade because he seems to have the same problem]
I /think/ I have a patch to fix this bug -- the clamp on SET_GC_SECTORS_USED in the line before the BUG_ON seems partially ineffectual. I'm about to send everyone a patch; can you put that into a kernel and test it out?
The "easiest" way I've found to reproduce this bug is to create a bcache, mkfs.ext4 it, run fsstress on the ext4 FS until the cache is full, then umount and re-run mkfs.ext4, which discards the device before formatting. Eventually it'll BUG().
--D
Quoted 248 lines · Darrick J. Wong
Quoted 5 lines · Jose Manuel dos Santos Calhariz
Hi, is the second time I get this BUG.
The first was during boot from an old 3.13.0-rc2 to a 3.13.0-rc7. The second time was when running tests.
Yeah, I also saw this tonight on 3.13. Running on ext4 -> LVM -> LUKS -> bcache -> ssd/disk.
[81881.815077] ------------[ cut here ]------------ [81881.815108] kernel BUG at drivers/md/bcache/btree.c:1168! [81881.815123] invalid opcode: 0000 [#1] PREEMPT SMP [81881.815140] Modules linked in: hfsplus hfs msdos ipt_MASQUERADE iptable_nat nf_nat_ipv4 xt_conntrack xt_CHECKSUM iptable_mangle tun bridge stp llc fuse af_packet microcode bnep rfcomm nfsd nfs_acl exportfs auth_rpcgss nfs lockd sunrpc xt_physdev xt_hl uvcvideo ip6t_rt videobuf2_core videodev nf_conntrack_ipv6 nf_defrag_ipv6 videobuf2_vmalloc videobuf2_memops ipt_REJECT xt_sctp xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_state ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter ip_tables x_tables eeprom sch_fq_codel nls_iso8859_1 nls_cp437 vfat fat lpc_ich mfd_core loop bcache zlib_deflate libcrc32c [81881.815346] CPU: 2 PID: 1418 Comm: bcache_gc Not tainted 3.13.0-60-birch #1 [81881.815365] Hardware name: LENOVO 2349E51/2349E51, BIOS G1ET69WW (2.05 ) 09/12/2012 [81881.815385] task: ffff880402038000 ti: ffff8804043c6000 task.ti: ffff8804043c6000 [81881.815405] RIP: 0010:[<ffffffffa0017a01>] [<ffffffffa0017a01>] __bch_btree_mark_key+0x251/0x290 [bcache] [81881.815438] RSP: 0018:ffff8804043c7c78 EFLAGS: 00010246 [81881.815453] RAX: 0000000000000002 RBX: ffffc90004397dac RCX: 0000000000000200 [81881.815471] RDX: 0000000000000002 RSI: 0000000000000001 RDI: ffffc90004397dac [81881.815490] RBP: ffff8804043c7cc8 R08: 000007ffffffffff R09: 0000000000000001 [81881.815509] R10: 0000000000003fff R11: 0000001000000000 R12: 0000000000000000 [81881.815527] R13: ffff8800532002c0 R14: ffff8804017a0000 R15: 0000000000000000 [81881.815546] FS: 0000000000000000(0000) GS:ffff88041e300000(0000) knlGS:0000000000000000 [81881.815568] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [81881.815583] CR2: 00007f467f76b000 CR3: 0000000001c0c000 CR4: 00000000001407e0 [81881.815602] Stack: [81881.815609] ffff8804043c7ce8 ffff880408fb2000 ffff8804043c7c98 ffffffffa0014be5 [81881.815632] ffff8804043c7cc8 ffff880408fb2000 ffff8804043c7de0 ffff8800532002c0 [81881.815653] 0000000000000000 000000000000001c ffff8804043c7d68 ffffffffa0017e41 [81881.815675] Call Trace: [81881.815690] [<ffffffffa0014be5>] ? bch_ptr_invalid+0x25/0x30 [bcache] [81881.815713] [<ffffffffa0017e41>] btree_gc_mark_node+0x81/0x210 [bcache] [81881.815736] [<ffffffffa001a2e2>] bch_btree_gc+0x252/0x5d0 [bcache] [81881.815759] [<ffffffffa001a698>] bch_gc_thread+0x38/0x120 [bcache] [81881.815781] [<ffffffffa001a660>] ? bch_btree_gc+0x5d0/0x5d0 [bcache] [81881.815801] [<ffffffff810e4b79>] kthread+0xc9/0xe0 [81881.815816] [<ffffffff810e4ab0>] ? flush_kthread_worker+0xb0/0xb0 [81881.815835] [<ffffffff817f63ec>] ret_from_fork+0x7c/0xb0 [81881.815851] [<ffffffff810e4ab0>] ? flush_kthread_worker+0xb0/0xb0 [81881.815868] Code: c8 44 89 55 b8 4c 89 5d b0 e8 5c 21 01 00 4c 8b 45 c0 84 c0 44 8b 4d c8 44 8b 55 b8 4c 8b 5d b0 75 13 0f b7 43 0a e9 28 ff ff ff <0f> 0b 48 89 df e9 ec fe ff ff 4c 89 45 c0 44 89 4d c8 44 89 55 [81881.815956] RIP [<ffffffffa0017a01>] __bch_btree_mark_key+0x251/0x290 [bcache] [81881.815982] RSP <ffff8804043c7c78> [81881.820218] ---[ end trace f9ade3bfa4c277bf ]-----D
Quoted 174 lines
Follow the two stack trace:
Jan 14 17:33:59 xxxxx kernel: ------------[ cut here ]------------ Jan 14 17:33:59 xxxxx kernel: kernel BUG at drivers/md/bcache/btree.c:1168! Jan 14 17:33:59 xxxxx kernel: invalid opcode: 0000 [#1] SMP Jan 14 17:33:59 xxxxx kernel: Modules linked in: lp parport_pcparport joydev st
sr_modcdromxt_multiportiptable_filterip_tablesx_tablesxfs libcrc32cipmi_devintfloopsnd_pcmmgag200snd_page_allocsnd_timerttmx86_pkg_temp_thermaldrm_kms_helperdrm sndi2c_algo_bitcoretemp soundcorekvm_intelkvm +crc32c_intelghash_clmulni_intelioatdmaaesni_intelaes_x86_64iTCO_wdtsb_edaciTCO_vendor_supportmei_memeiablk_helperedac_corecryptd psmousei2c_i801lpc_ichserio_rawi2c_corepcspkr lrwmfd_coregf128mulipmi_siipmi_msghandlerglue_helperevdev processor wmithermal_sysbutton ext3 mbcache jbddm_mod+raid1md_modhid_genericusbhid hid bcache sgsd_modsescrc_t10difenclosurecrct10dif_commonmicrocode ahci libahci libataehci_pciehci_hcdmpt2sasraid_classusbcoremegaraid_sasscsi_transport_sasusb_commonscsi_modixgbe dca ptppps_coremdio [last unloaded:parport_pc]Jan 14 17:33:59 xxxxx kernel: CPU: 6 PID: 700 Comm: bcache_gc Not tainted 3.13.0-rc7-dsi #3 Jan 14 17:33:59 xxxxx kernel: Hardware name: Supermicro X9SRH-7F/7TF/X9SRH-7F/7TF, BIOS 3.00 07/05/2013 Jan 14 17:33:59 xxxxx kernel: task: ffff88101371a050 ti: ffff88100ea56000 task.ti: ffff88100ea56000 Jan 14 17:33:59 xxxxx kernel: RIP: 0010:[<ffffffffa01ce41e>] [<ffffffffa01ce41e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 14 17:33:59 xxxxx kernel: RSP: 0018:ffff88100ea57cb8 EFLAGS: 00010246 Jan 14 17:33:59 xxxxx kernel: RAX: 0000000000000002 RBX: ffff880fab8001e8 RCX: 0000000000002000 Jan 14 17:33:59 xxxxx kernel: RDX: 0000000000000002 RSI: ffff880fab8001e8 RDI: ffff881028d60000 Jan 14 17:33:59 xxxxx kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88101003c000 Jan 14 17:33:59 xxxxx kernel: R10: 0000000000001000 R11: ffff880fce594400 R12: 0000000000000000 Jan 14 17:33:59 xxxxx kernel: R13: ffff881028d60000 R14: 0000000000000001 R15: ffffc90016d93678 Jan 14 17:33:59 xxxxx kernel: FS: 0000000000000000(0000) GS:ffff88107fcc0000(0000) knlGS:0000000000000000 Jan 14 17:33:59 xxxxx kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 14 17:33:59 xxxxx kernel: CR2: 00007fe31614ccf8 CR3: 000000000160c000 CR4: 00000000000407e0 Jan 14 17:33:59 xxxxx kernel: Stack: Jan 14 17:33:59 xxxxx kernel: ffff880fab8001e8 0000000188a000fb ffff880fce594400 ffff880fce594400 Jan 14 17:33:59 xxxxx kernel: ffff880fab8001e8 0000000000000013 0000000000000001 ffff88100ea57dc8 Jan 14 17:33:59 xxxxx kernel: ffff88100ea57d18 ffffffffa01ce72a ffff88101371a050 0000000200000000 Jan 14 17:33:59 xxxxx kernel: Call Trace: Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01ce72a>] ? btree_gc_mark_node+0x4c/0x16d [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff811e8e63>] ? call_rwsem_down_write_failed+0x13/0x20 Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d005e>] ? bch_btree_gc+0x187/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff8106ffde>] ? idle_balance+0x12b/0x166 Jan 14 17:33:59 xxxxx kernel: [<ffffffff81066b18>] ? mmdrop+0xd/0x1c Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d02ab>] ? bch_gc_thread+0x2d/0xe5 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d027e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d027e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f77a>] ? kthread+0x99/0xa1 Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 14 17:33:59 xxxxx kernel: [<ffffffff813b58cc>] ? ret_from_fork+0x7c/0xb0 Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 14 17:33:59 xxxxx kernel: Code: 00 01 c1 b8 ff 3f 00 00 81 f9 ff 3f 00 00 0f 46 c1 66 81 e2 03 80 25 ff 1f 00 00 c1 e0 02 09 d0 66 a9 fc 7f 66 41 89 47 0a 75 02 <0f> 0b ff c5 eb 05 31 ed 45 31 e4 48 8b 03 89 ea 48 c1 e8 3c 83 Jan 14 17:33:59 xxxxx kernel: RIP [<ffffffffa01ce41e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 14 17:33:59 xxxxx kernel: RSP <ffff88100ea57cb8> Jan 14 17:33:59 xxxxx kernel: ---[ end trace 6a29ce0fa7816b54 ]---Jan 16 12:16:00 xxxxx kernel: ------------[ cut here ]------------ Jan 16 12:16:00 xxxxx kernel: kernel BUG at drivers/md/bcache/btree.c:1168! Jan 16 12:16:00 xxxxx kernel: invalid opcode: 0000 [#1] SMP Jan 16 12:16:00 xxxxx kernel: Modules linked in: lp parport_pcparport joydev st
sr_modcdromxt_multiportiptable_filterip_tablesx_tablesxfs libcrc32cipmi_devintfloopiTCO_wdtx86_pkg_temp_thermalcoretempkvm_intelkvmsb_edaciTCO_vendor_supportmgag200 ioatdmasnd_pcmsnd_page_allocsnd_timersndi2c_i801
+ttm soundcorecrc32c_intelghash_clmulni_intelaesni_intellpc_ichaes_x86_64drm_kms_helperdrmi2c_algo_biti2c_coremfd_coreablk_helpercryptd lrw gf128mulmei_memeiglue_helperpsmouseedac_coreserio_rawpcspkr evdev wmiipmi_siipmi_msghandlerprocessorthermal_sysbutton ext3 mbcache jbddm_modraid1 +md_modhid_genericusbhid hid bcache sgsd_modsescrc_t10difenclosurecrct10dif_commonmicrocodeehci_pciehci_hcdusbcore ahci mpt2sas libahciusb_commonraid_classlibatascsi_transport_sasmegaraid_sasixgbescsi_moddca ptppps_coremdio [last unloaded:parport_pc]Jan 16 12:16:00 xxxxx kernel: CPU: 8 PID: 707 Comm: bcache_gc Not tainted 3.13.0-rc7-dsi #3 Jan 16 12:16:00 xxxxx kernel: Hardware name: Supermicro X9SRH-7F/7TF/X9SRH-7F/7TF, BIOS 3.00 07/05/2013 Jan 16 12:16:00 xxxxx kernel: task: ffff88102c30f800 ti: ffff88100e44c000 task.ti: ffff88100e44c000 Jan 16 12:16:00 xxxxx kernel: RIP: 0010:[<ffffffffa01f341e>] [<ffffffffa01f341e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 16 12:16:00 xxxxx kernel: RSP: 0018:ffff88100e44da78 EFLAGS: 00010246 Jan 16 12:16:00 xxxxx kernel: RAX: 0000000000000000 RBX: ffff880fed4037b8 RCX: 0000000000002000 Jan 16 12:16:00 xxxxx kernel: RDX: 0000000000000000 RSI: ffff880fed4037b8 RDI: ffff881028ce0000 Jan 16 12:16:00 xxxxx kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: ffff8810109ea000 Jan 16 12:16:00 xxxxx kernel: R10: 0000000000001000 R11: ffff880fee906400 R12: 0000000000000000 Jan 16 12:16:00 xxxxx kernel: R13: ffff881028ce0000 R14: 0000000000000000 R15: ffffc900168dc660 Jan 16 12:16:00 xxxxx kernel: FS: 0000000000000000(0000) GS:ffff88107fd00000(0000) knlGS:0000000000000000 Jan 16 12:16:00 xxxxx kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 16 12:16:00 xxxxx kernel: CR2: 0000000000619570 CR3: 000000000160c000 CR4: 00000000000407e0 Jan 16 12:16:00 xxxxx kernel: Stack: Jan 16 12:16:00 xxxxx kernel: ffff88100e44dad8 0000000108801efc ffffffffa01f0c31 ffff880fee906400 Jan 16 12:16:00 xxxxx kernel: ffff880fed4037b8 0000000000000251 0000000000000000 ffff88100e44ddc8 Jan 16 12:16:00 xxxxx kernel: ffff88100e44dad8 ffffffffa01f372a ffffffffa01f5bb1 00000251b5f80000 Jan 16 12:16:00 xxxxx kernel: Call Trace: Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f0c31>] ? bch_cut_back+0x41/0x41 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f372a>] ? btree_gc_mark_node+0x4c/0x16d [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f5bb1>] ? tree_to_bkey+0x13/0x3c [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f64b8>] ? bch_ptr_invalid+0x1a/0x1a [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f4cbf>] ? btree_gc_recurse+0x677/0x88f [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f6398>] ? bch_btree_ptr_invalid+0x46/0xb0 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff813ae20a>] ? __schedule+0x48f/0x555 Jan 16 12:16:00 xxxxx kernel: [<ffffffff810680ad>] ? resched_task+0x15/0x4b Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f7ab0>] ? bch_btree_iter_next_filter+0x18/0x38 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f379c>] ? btree_gc_mark_node+0xbe/0x16d [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff811e8e63>] ? call_rwsem_down_write_failed+0x13/0x20 Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f50df>] ? bch_btree_gc+0x208/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff8106ffde>] ? idle_balance+0x12b/0x166 Jan 16 12:16:00 xxxxx kernel: [<ffffffff81066b18>] ? mmdrop+0xd/0x1c Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f52ab>] ? bch_gc_thread+0x2d/0xe5 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f527e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f527e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f77a>] ? kthread+0x99/0xa1 Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 16 12:16:00 xxxxx kernel: [<ffffffff813b58cc>] ? ret_from_fork+0x7c/0xb0 Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f6e1>] ?
__kthread_parkme+0x59/0x59Quoted 23 lines
Jan 16 12:16:00 xxxxx kernel: Code: 00 01 c1 b8 ff 3f 00 00 81 f9 ff 3f 00 00 0f 46 c1 66 81 e2 03 80 25 ff 1f 00 00 c1 e0 02 09 d0 66 a9 fc 7f 66 41 89 47 0a 75 02 <0f> 0b ff c5 eb 05 31 ed 45 31 e4 48 8b 03 89 ea 48 c1 e8 3c 83 Jan 16 12:16:00 xxxxx kernel: RIP [<ffffffffa01f341e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 16 12:16:00 xxxxx kernel: RSP <ffff88100e44da78> Jan 16 12:16:00 xxxxx kernel: ---[ end trace 14e7f7c11d82ef2f ]---Signature · 9 lines
-- Um repórter de rock é um jornalista que não sabe escrever, entrevistando gente que não sabe falar, para pessoas que não sabem ler. -- To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 10 lines · Darrick J. Wong
[adding Mr. Trinidade because he seems to have the same problem]
I /think/ I have a patch to fix this bug -- the clamp on
SET_GC_SECTORS_USEDin the line before theBUG_ONseems partially ineffectual. I'm about to send everyone a patch; can you put that into a kernel and test it out?The "easiest" way I've found to reproduce this bug is to create a bcache, mkfs.ext4 it, run fsstress on the ext4 FS until the cache is full, then umount and re-run mkfs.ext4, which discards the device before formatting. Eventually it'll
BUG().
It's to tell that your fix works for me. It's possible to push your fix into kernel 3.13.x?
Jose Calhariz
Quoted 255 lines
--D
Quoted 237 lines · Darrick J. Wong
Quoted 4 lines · Jose Manuel dos Santos Calhariz
Hi, is the second time I get this BUG.
The first was during boot from an old 3.13.0-rc2 to a 3.13.0-rc7. The second time was when running tests.
Yeah, I also saw this tonight on 3.13. Running on ext4 -> LVM -> LUKS -> bcache -> ssd/disk.
[81881.815077] ------------[ cut here ]------------ [81881.815108] kernel BUG at drivers/md/bcache/btree.c:1168! [81881.815123] invalid opcode: 0000 [#1] PREEMPT SMP [81881.815140] Modules linked in: hfsplus hfs msdos ipt_MASQUERADE iptable_nat nf_nat_ipv4 xt_conntrack xt_CHECKSUM iptable_mangle tun bridge stp llc fuse af_packet microcode bnep rfcomm nfsd nfs_acl exportfs auth_rpcgss nfs lockd sunrpc xt_physdev xt_hl uvcvideo ip6t_rt videobuf2_core videodev nf_conntrack_ipv6 nf_defrag_ipv6 videobuf2_vmalloc videobuf2_memops ipt_REJECT xt_sctp xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_state ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter ip_tables x_tables eeprom sch_fq_codel nls_iso8859_1 nls_cp437 vfat fat lpc_ich mfd_core loop bcache zlib_deflate libcrc32c [81881.815346] CPU: 2 PID: 1418 Comm: bcache_gc Not tainted 3.13.0-60-birch #1 [81881.815365] Hardware name: LENOVO 2349E51/2349E51, BIOS G1ET69WW (2.05 ) 09/12/2012 [81881.815385] task: ffff880402038000 ti: ffff8804043c6000 task.ti: ffff8804043c6000 [81881.815405] RIP: 0010:[<ffffffffa0017a01>] [<ffffffffa0017a01>] __bch_btree_mark_key+0x251/0x290 [bcache] [81881.815438] RSP: 0018:ffff8804043c7c78 EFLAGS: 00010246 [81881.815453] RAX: 0000000000000002 RBX: ffffc90004397dac RCX: 0000000000000200 [81881.815471] RDX: 0000000000000002 RSI: 0000000000000001 RDI: ffffc90004397dac [81881.815490] RBP: ffff8804043c7cc8 R08: 000007ffffffffff R09: 0000000000000001 [81881.815509] R10: 0000000000003fff R11: 0000001000000000 R12: 0000000000000000 [81881.815527] R13: ffff8800532002c0 R14: ffff8804017a0000 R15: 0000000000000000 [81881.815546] FS: 0000000000000000(0000) GS:ffff88041e300000(0000) knlGS:0000000000000000 [81881.815568] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [81881.815583] CR2: 00007f467f76b000 CR3: 0000000001c0c000 CR4: 00000000001407e0 [81881.815602] Stack: [81881.815609] ffff8804043c7ce8 ffff880408fb2000 ffff8804043c7c98 ffffffffa0014be5 [81881.815632] ffff8804043c7cc8 ffff880408fb2000 ffff8804043c7de0 ffff8800532002c0 [81881.815653] 0000000000000000 000000000000001c ffff8804043c7d68 ffffffffa0017e41 [81881.815675] Call Trace: [81881.815690] [<ffffffffa0014be5>] ? bch_ptr_invalid+0x25/0x30 [bcache] [81881.815713] [<ffffffffa0017e41>] btree_gc_mark_node+0x81/0x210 [bcache] [81881.815736] [<ffffffffa001a2e2>] bch_btree_gc+0x252/0x5d0 [bcache] [81881.815759] [<ffffffffa001a698>] bch_gc_thread+0x38/0x120 [bcache] [81881.815781] [<ffffffffa001a660>] ? bch_btree_gc+0x5d0/0x5d0 [bcache] [81881.815801] [<ffffffff810e4b79>] kthread+0xc9/0xe0 [81881.815816] [<ffffffff810e4ab0>] ? flush_kthread_worker+0xb0/0xb0 [81881.815835] [<ffffffff817f63ec>] ret_from_fork+0x7c/0xb0 [81881.815851] [<ffffffff810e4ab0>] ? flush_kthread_worker+0xb0/0xb0 [81881.815868] Code: c8 44 89 55 b8 4c 89 5d b0 e8 5c 21 01 00 4c 8b 45 c0 84 c0 44 8b 4d c8 44 8b 55 b8 4c 8b 5d b0 75 13 0f b7 43 0a e9 28 ff ff ff <0f> 0b 48 89 df e9 ec fe ff ff 4c 89 45 c0 44 89 4d c8 44 89 55 [81881.815956] RIP [<ffffffffa0017a01>] __bch_btree_mark_key+0x251/0x290 [bcache] [81881.815982] RSP <ffff8804043c7c78> [81881.820218] ---[ end trace f9ade3bfa4c277bf ]-----D
Quoted 192 lines
Follow the two stack trace:
Jan 14 17:33:59 xxxxx kernel: ------------[ cut here ]------------ Jan 14 17:33:59 xxxxx kernel: kernel BUG at drivers/md/bcache/btree.c:1168! Jan 14 17:33:59 xxxxx kernel: invalid opcode: 0000 [#1] SMP Jan 14 17:33:59 xxxxx kernel: Modules linked in: lp parport_pcparport joydev st
sr_modcdromxt_multiportiptable_filterip_tablesx_tablesxfs libcrc32cipmi_devintfloopsnd_pcmmgag200snd_page_allocsnd_timerttmx86_pkg_temp_thermaldrm_kms_helperdrm sndi2c_algo_bitcoretemp soundcorekvm_intelkvm +crc32c_intelghash_clmulni_intelioatdmaaesni_intelaes_x86_64iTCO_wdtsb_edaciTCO_vendor_supportmei_memeiablk_helperedac_corecryptd psmousei2c_i801lpc_ichserio_rawi2c_corepcspkr lrwmfd_coregf128mulipmi_siipmi_msghandlerglue_helperevdev processor wmithermal_sysbutton ext3 mbcache jbddm_mod+raid1md_modhid_genericusbhid hid bcache sgsd_modsescrc_t10difenclosurecrct10dif_commonmicrocode ahci libahci libataehci_pciehci_hcdmpt2sasraid_classusbcoremegaraid_sasscsi_transport_sasusb_commonscsi_modixgbe dca ptppps_coremdio [last unloaded:parport_pc]Jan 14 17:33:59 xxxxx kernel: CPU: 6 PID: 700 Comm: bcache_gc Not tainted 3.13.0-rc7-dsi #3 Jan 14 17:33:59 xxxxx kernel: Hardware name: Supermicro X9SRH-7F/7TF/X9SRH-7F/7TF, BIOS 3.00 07/05/2013 Jan 14 17:33:59 xxxxx kernel: task: ffff88101371a050 ti: ffff88100ea56000 task.ti: ffff88100ea56000 Jan 14 17:33:59 xxxxx kernel: RIP: 0010:[<ffffffffa01ce41e>] [<ffffffffa01ce41e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 14 17:33:59 xxxxx kernel: RSP: 0018:ffff88100ea57cb8 EFLAGS: 00010246 Jan 14 17:33:59 xxxxx kernel: RAX: 0000000000000002 RBX: ffff880fab8001e8 RCX: 0000000000002000 Jan 14 17:33:59 xxxxx kernel: RDX: 0000000000000002 RSI: ffff880fab8001e8 RDI: ffff881028d60000 Jan 14 17:33:59 xxxxx kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88101003c000 Jan 14 17:33:59 xxxxx kernel: R10: 0000000000001000 R11: ffff880fce594400 R12: 0000000000000000 Jan 14 17:33:59 xxxxx kernel: R13: ffff881028d60000 R14: 0000000000000001 R15: ffffc90016d93678 Jan 14 17:33:59 xxxxx kernel: FS: 0000000000000000(0000) GS:ffff88107fcc0000(0000) knlGS:0000000000000000 Jan 14 17:33:59 xxxxx kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 14 17:33:59 xxxxx kernel: CR2: 00007fe31614ccf8 CR3: 000000000160c000 CR4: 00000000000407e0 Jan 14 17:33:59 xxxxx kernel: Stack: Jan 14 17:33:59 xxxxx kernel: ffff880fab8001e8 0000000188a000fb ffff880fce594400 ffff880fce594400 Jan 14 17:33:59 xxxxx kernel: ffff880fab8001e8 0000000000000013 0000000000000001 ffff88100ea57dc8 Jan 14 17:33:59 xxxxx kernel: ffff88100ea57d18 ffffffffa01ce72a ffff88101371a050 0000000200000000 Jan 14 17:33:59 xxxxx kernel: Call Trace: Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01ce72a>] ? btree_gc_mark_node+0x4c/0x16d [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff811e8e63>] ? call_rwsem_down_write_failed+0x13/0x20 Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d005e>] ? bch_btree_gc+0x187/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff8106ffde>] ? idle_balance+0x12b/0x166 Jan 14 17:33:59 xxxxx kernel: [<ffffffff81066b18>] ? mmdrop+0xd/0x1c Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d02ab>] ? bch_gc_thread+0x2d/0xe5 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d027e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d027e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f77a>] ? kthread+0x99/0xa1 Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 14 17:33:59 xxxxx kernel: [<ffffffff813b58cc>] ? ret_from_fork+0x7c/0xb0 Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 14 17:33:59 xxxxx kernel: Code: 00 01 c1 b8 ff 3f 00 00 81 f9 ff 3f 00 00 0f 46 c1 66 81 e2 03 80 25 ff 1f 00 00 c1 e0 02 09 d0 66 a9 fc 7f 66 41 89 47 0a 75 02 <0f> 0b ff c5 eb 05 31 ed 45 31 e4 48 8b 03 89 ea 48 c1 e8 3c 83 Jan 14 17:33:59 xxxxx kernel: RIP [<ffffffffa01ce41e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 14 17:33:59 xxxxx kernel: RSP <ffff88100ea57cb8> Jan 14 17:33:59 xxxxx kernel: ---[ end trace 6a29ce0fa7816b54 ]---Jan 16 12:16:00 xxxxx kernel: ------------[ cut here ]------------ Jan 16 12:16:00 xxxxx kernel: kernel BUG at drivers/md/bcache/btree.c:1168! Jan 16 12:16:00 xxxxx kernel: invalid opcode: 0000 [#1] SMP Jan 16 12:16:00 xxxxx kernel: Modules linked in: lp parport_pcparport joydev st
sr_modcdromxt_multiportiptable_filterip_tablesx_tablesxfs libcrc32cipmi_devintfloopiTCO_wdtx86_pkg_temp_thermalcoretempkvm_intelkvmsb_edaciTCO_vendor_supportmgag200 ioatdmasnd_pcmsnd_page_allocsnd_timersndi2c_i801
+ttm soundcorecrc32c_intelghash_clmulni_intelaesni_intellpc_ichaes_x86_64drm_kms_helperdrmi2c_algo_biti2c_coremfd_coreablk_helpercryptd lrw gf128mulmei_memeiglue_helperpsmouseedac_coreserio_rawpcspkr evdev wmiipmi_siipmi_msghandlerprocessorthermal_sysbutton ext3 mbcache jbddm_modraid1 +md_modhid_genericusbhid hid bcache sgsd_modsescrc_t10difenclosurecrct10dif_commonmicrocodeehci_pciehci_hcdusbcore ahci mpt2sas libahciusb_commonraid_classlibatascsi_transport_sasmegaraid_sasixgbescsi_moddca ptppps_coremdio [last unloaded:parport_pc]Jan 16 12:16:00 xxxxx kernel: CPU: 8 PID: 707 Comm: bcache_gc Not tainted 3.13.0-rc7-dsi #3 Jan 16 12:16:00 xxxxx kernel: Hardware name: Supermicro X9SRH-7F/7TF/X9SRH-7F/7TF, BIOS 3.00 07/05/2013 Jan 16 12:16:00 xxxxx kernel: task: ffff88102c30f800 ti: ffff88100e44c000 task.ti: ffff88100e44c000 Jan 16 12:16:00 xxxxx kernel: RIP: 0010:[<ffffffffa01f341e>] [<ffffffffa01f341e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 16 12:16:00 xxxxx kernel: RSP: 0018:ffff88100e44da78 EFLAGS: 00010246 Jan 16 12:16:00 xxxxx kernel: RAX: 0000000000000000 RBX: ffff880fed4037b8 RCX: 0000000000002000 Jan 16 12:16:00 xxxxx kernel: RDX: 0000000000000000 RSI: ffff880fed4037b8 RDI: ffff881028ce0000 Jan 16 12:16:00 xxxxx kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: ffff8810109ea000 Jan 16 12:16:00 xxxxx kernel: R10: 0000000000001000 R11: ffff880fee906400 R12: 0000000000000000 Jan 16 12:16:00 xxxxx kernel: R13: ffff881028ce0000 R14: 0000000000000000 R15: ffffc900168dc660 Jan 16 12:16:00 xxxxx kernel: FS: 0000000000000000(0000) GS:ffff88107fd00000(0000) knlGS:0000000000000000 Jan 16 12:16:00 xxxxx kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 16 12:16:00 xxxxx kernel: CR2: 0000000000619570 CR3: 000000000160c000 CR4: 00000000000407e0 Jan 16 12:16:00 xxxxx kernel: Stack: Jan 16 12:16:00 xxxxx kernel: ffff88100e44dad8 0000000108801efc ffffffffa01f0c31 ffff880fee906400 Jan 16 12:16:00 xxxxx kernel: ffff880fed4037b8 0000000000000251 0000000000000000 ffff88100e44ddc8 Jan 16 12:16:00 xxxxx kernel: ffff88100e44dad8 ffffffffa01f372a ffffffffa01f5bb1 00000251b5f80000 Jan 16 12:16:00 xxxxx kernel: Call Trace: Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f0c31>] ? bch_cut_back+0x41/0x41 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f372a>] ? btree_gc_mark_node+0x4c/0x16d [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f5bb1>] ? tree_to_bkey+0x13/0x3c [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f64b8>] ? bch_ptr_invalid+0x1a/0x1a [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f4cbf>] ? btree_gc_recurse+0x677/0x88f [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f6398>] ? bch_btree_ptr_invalid+0x46/0xb0 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff813ae20a>] ? __schedule+0x48f/0x555 Jan 16 12:16:00 xxxxx kernel: [<ffffffff810680ad>] ? resched_task+0x15/0x4b Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f7ab0>] ? bch_btree_iter_next_filter+0x18/0x38 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f379c>] ? btree_gc_mark_node+0xbe/0x16d [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff811e8e63>] ? call_rwsem_down_write_failed+0x13/0x20 Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f50df>] ? bch_btree_gc+0x208/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff8106ffde>] ? idle_balance+0x12b/0x166 Jan 16 12:16:00 xxxxx kernel: [<ffffffff81066b18>] ? mmdrop+0xd/0x1c Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f52ab>] ? bch_gc_thread+0x2d/0xe5 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f527e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f527e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f77a>] ? kthread+0x99/0xa1 Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 16 12:16:00 xxxxx kernel: [<ffffffff813b58cc>] ? ret_from_fork+0x7c/0xb0 Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 16 12:16:00 xxxxx kernel: Code: 00 01 c1 b8 ff 3f 00 00 81 f9 ff 3f 00 00 0f 46 c1 66 81 e2 03 80 25 ff 1f 00 00 c1 e0 02 09 d0 66 a9 fc 7f 66 41 89 47 0a 75 02 <0f> 0b ff c5 eb 05 31 ed 45 31 e4 48 8b 03 89 ea 48 c1 e8 3c 83 Jan 16 12:16:00 xxxxx kernel: RIP [<ffffffffa01f341e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 16 12:16:00 xxxxx kernel: RSP <ffff88100e44da78> Jan 16 12:16:00 xxxxx kernel: ---[ end trace 14e7f7c11d82ef2f ]---Signature · 3 lines
-- Um repórter de rock é um jornalista que não sabe escrever, entrevistando gente que não sabe falar, para pessoas que não sabem ler.Quoted 8 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html_______________________________________________
ns-list mailing list
[email protected]
https://mlists.ist.utl.pt/mailman/listinfo/groups.ciist.ns-list
Signature · 5 lines
-- Nenhum pássaro voa alto demais, se voa com suas próprias asas --William Blake
I sent off the pull request - after it hits mainline I'll make sure it goes into 3.13.x
Quoted 337 lines · Jose Manuel dos Santos Calhariz
Quoted 8 lines · Darrick J. Wong
[adding Mr. Trinidade because he seems to have the same problem]
I /think/ I have a patch to fix this bug -- the clamp on
SET_GC_SECTORS_USEDin
the line before theBUG_ONseems partially ineffectual. I'm about to send everyone a patch; can you put that into a kernel and test it out?Quoted 6 lines
The "easiest" way I've found to reproduce this bug is to create a bcache, mkfs.ext4 it, run fsstress on the ext4 FS until the cache is full, then umount
and re-run mkfs.ext4, which discards the device before formatting. Eventually
it'llBUG().It's to tell that your fix works for me. It's possible to push your fix into kernel 3.13.x?
Jose Calhariz
Quoted 295 lines
--D
Quoted 279 lines · Darrick J. Wong
Quoted 5 lines · Jose Manuel dos Santos Calhariz
Hi, is the second time I get this BUG.
The first was during boot from an old 3.13.0-rc2 to a 3.13.0-rc7. The second time was when running tests.
Yeah, I also saw this tonight on 3.13. Running on ext4 -> LVM -> LUKS -> bcache -> ssd/disk.
[81881.815077] ------------[ cut here ]------------ [81881.815108] kernel BUG at drivers/md/bcache/btree.c:1168! [81881.815123] invalid opcode: 0000 [#1] PREEMPT SMP [81881.815140] Modules linked in: hfsplus hfs msdos ipt_MASQUERADE
iptable_natnf_nat_ipv4xt_conntrackxt_CHECKSUMiptable_mangletun bridge stp llc fuseaf_packetmicrocode bnep rfcomm nfsdnfs_aclexportfsauth_rpcgssnfs lockd sunrpcxt_physdevxt_hluvcvideoip6t_rtvideobuf2_corevideodevnf_conntrack_ipv6nf_defrag_ipv6videobuf2_vmallocvideobuf2_memopsipt_REJECTxt_sctpxt_limitxt_tcpudpxt_addrtypenf_conntrack_ipv4nf_defrag_ipv4xt_stateip6table_filterip6_tablesnf_conntrack_netbios_nsnf_conntrack_broadcastnf_nat_ftpnf_natnf_conntrack_ftpnf_conntrackiptable_filterip_tablesx_tableseepromsch_fq_codelnls_iso8859_1nls_cp437vfat fatlpc_ichmfd_coreloop bcachezlib_deflatelibcrc32c[81881.815346] CPU: 2 PID: 1418 Comm: bcache_gc Not tainted 3.13.0-60-birch #1 [81881.815365] Hardware name: LENOVO 2349E51/2349E51, BIOS G1ET69WW (2.05 ) 09/12/2012 [81881.815385] task: ffff880402038000 ti: ffff8804043c6000 task.ti: ffff8804043c6000 [81881.815405] RIP: 0010:[<ffffffffa0017a01>] [<ffffffffa0017a01>] __bch_btree_mark_key+0x251/0x290 [bcache] [81881.815438] RSP: 0018:ffff8804043c7c78 EFLAGS: 00010246 [81881.815453] RAX: 0000000000000002 RBX: ffffc90004397dac RCX: 0000000000000200 [81881.815471] RDX: 0000000000000002 RSI: 0000000000000001 RDI: ffffc90004397dac [81881.815490] RBP: ffff8804043c7cc8 R08: 000007ffffffffff R09: 0000000000000001 [81881.815509] R10: 0000000000003fff R11: 0000001000000000 R12: 0000000000000000 [81881.815527] R13: ffff8800532002c0 R14: ffff8804017a0000 R15: 0000000000000000 [81881.815546] FS: 0000000000000000(0000) GS:ffff88041e300000(0000) knlGS:0000000000000000 [81881.815568] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [81881.815583] CR2: 00007f467f76b000 CR3: 0000000001c0c000 CR4: 00000000001407e0 [81881.815602] Stack: [81881.815609] ffff8804043c7ce8 ffff880408fb2000 ffff8804043c7c98 ffffffffa0014be5 [81881.815632] ffff8804043c7cc8 ffff880408fb2000 ffff8804043c7de0 ffff8800532002c0 [81881.815653] 0000000000000000 000000000000001c ffff8804043c7d68 ffffffffa0017e41 [81881.815675] Call Trace: [81881.815690] [<ffffffffa0014be5>] ? bch_ptr_invalid+0x25/0x30 [bcache] [81881.815713] [<ffffffffa0017e41>] btree_gc_mark_node+0x81/0x210 [bcache] [81881.815736] [<ffffffffa001a2e2>] bch_btree_gc+0x252/0x5d0 [bcache] [81881.815759] [<ffffffffa001a698>] bch_gc_thread+0x38/0x120 [bcache] [81881.815781] [<ffffffffa001a660>] ? bch_btree_gc+0x5d0/0x5d0 [bcache] [81881.815801] [<ffffffff810e4b79>] kthread+0xc9/0xe0 [81881.815816] [<ffffffff810e4ab0>] ? flush_kthread_worker+0xb0/0xb0 [81881.815835] [<ffffffff817f63ec>] ret_from_fork+0x7c/0xb0 [81881.815851] [<ffffffff810e4ab0>] ? flush_kthread_worker+0xb0/0xb0 [81881.815868] Code: c8 44 89 55 b8 4c 89 5d b0 e8 5c 21 01 00 4c 8b 45 c0 84 c0 44 8b 4d c8 44 8b 55 b8 4c 8b 5d b0 75 13 0f b7 43 0a e9 28 ff ff ff <0f> 0b 48 89 df e9 ec fe ff ff 4c 89 45 c0 44 89 4d c8 44 89 55 [81881.815956] RIP [<ffffffffa0017a01>] __bch_btree_mark_key+0x251/0x290 [bcache] [81881.815982] RSP <ffff8804043c7c78> [81881.820218] ---[ end trace f9ade3bfa4c277bf ]-----D
Quoted 202 lines
Follow the two stack trace:
Jan 14 17:33:59 xxxxx kernel: ------------[ cut here ]------------ Jan 14 17:33:59 xxxxx kernel: kernel BUG at drivers/md/bcache/btree.c:1168! Jan 14 17:33:59 xxxxx kernel: invalid opcode: 0000 [#1] SMP Jan 14 17:33:59 xxxxx kernel: Modules linked in: lp parport_pcparport joydev st
sr_modcdromxt_multiportiptable_filterip_tablesx_tablesxfs libcrc32cipmi_devintfloopsnd_pcmmgag200snd_page_allocsnd_timerttmx86_pkg_temp_thermaldrm_kms_helperdrm sndi2c_algo_bitcoretemp soundcorekvm_intelkvm +crc32c_intelghash_clmulni_intelioatdmaaesni_intelaes_x86_64iTCO_wdtsb_edaciTCO_vendor_supportmei_memeiablk_helperedac_corecryptd psmousei2c_i801lpc_ichserio_rawi2c_corepcspkr lrwmfd_coregf128mulipmi_siipmi_msghandlerglue_helperevdev processor wmithermal_sysbutton ext3 mbcache jbddm_mod+raid1md_modhid_genericusbhid hid bcache sgsd_modsescrc_t10difenclosurecrct10dif_commonmicrocode ahci libahci libataehci_pciehci_hcdmpt2sasraid_classusbcoremegaraid_sasscsi_transport_sasusb_commonscsi_modixgbe dca ptppps_coremdio [last unloaded:parport_pc]Jan 14 17:33:59 xxxxx kernel: CPU: 6 PID: 700 Comm: bcache_gc Not tainted 3.13.0-rc7-dsi #3 Jan 14 17:33:59 xxxxx kernel: Hardware name: Supermicro X9SRH-7F/7TF/X9SRH-7F/7TF, BIOS 3.00 07/05/2013 Jan 14 17:33:59 xxxxx kernel: task: ffff88101371a050 ti: ffff88100ea56000 task.ti: ffff88100ea56000 Jan 14 17:33:59 xxxxx kernel: RIP: 0010:[<ffffffffa01ce41e>] [<ffffffffa01ce41e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 14 17:33:59 xxxxx kernel: RSP: 0018:ffff88100ea57cb8 EFLAGS: 00010246 Jan 14 17:33:59 xxxxx kernel: RAX: 0000000000000002 RBX: ffff880fab8001e8 RCX: 0000000000002000 Jan 14 17:33:59 xxxxx kernel: RDX: 0000000000000002 RSI: ffff880fab8001e8 RDI: ffff881028d60000 Jan 14 17:33:59 xxxxx kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88101003c000 Jan 14 17:33:59 xxxxx kernel: R10: 0000000000001000 R11: ffff880fce594400 R12: 0000000000000000 Jan 14 17:33:59 xxxxx kernel: R13: ffff881028d60000 R14: 0000000000000001 R15: ffffc90016d93678 Jan 14 17:33:59 xxxxx kernel: FS: 0000000000000000(0000) GS:ffff88107fcc0000(0000) knlGS:0000000000000000 Jan 14 17:33:59 xxxxx kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 14 17:33:59 xxxxx kernel: CR2: 00007fe31614ccf8 CR3: 000000000160c000 CR4: 00000000000407e0 Jan 14 17:33:59 xxxxx kernel: Stack: Jan 14 17:33:59 xxxxx kernel: ffff880fab8001e8 0000000188a000fb ffff880fce594400 ffff880fce594400 Jan 14 17:33:59 xxxxx kernel: ffff880fab8001e8 0000000000000013 0000000000000001 ffff88100ea57dc8 Jan 14 17:33:59 xxxxx kernel: ffff88100ea57d18 ffffffffa01ce72a ffff88101371a050 0000000200000000 Jan 14 17:33:59 xxxxx kernel: Call Trace: Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01ce72a>] ? btree_gc_mark_node+0x4c/0x16d [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff811e8e63>] ? call_rwsem_down_write_failed+0x13/0x20 Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d005e>] ? bch_btree_gc+0x187/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff8106ffde>] ? idle_balance+0x12b/0x166 Jan 14 17:33:59 xxxxx kernel: [<ffffffff81066b18>] ? mmdrop+0xd/0x1c Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d02ab>] ? bch_gc_thread+0x2d/0xe5 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d027e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d027e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f77a>] ? kthread+0x99/0xa1 Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 14 17:33:59 xxxxx kernel: [<ffffffff813b58cc>] ? ret_from_fork+0x7c/0xb0 Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 14 17:33:59 xxxxx kernel: Code: 00 01 c1 b8 ff 3f 00 00 81 f9 ff 3f 00 00 0f 46 c1 66 81 e2 03 80 25 ff 1f 00 00 c1 e0 02 09 d0 66 a9 fc 7f 66 41 89 47 0a 75 02 <0f> 0b ff c5 eb 05 31 ed 45 31 e4 48 8b 03 89 ea 48 c1 e8 3c 83 Jan 14 17:33:59 xxxxx kernel: RIP [<ffffffffa01ce41e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 14 17:33:59 xxxxx kernel: RSP <ffff88100ea57cb8> Jan 14 17:33:59 xxxxx kernel: ---[ end trace 6a29ce0fa7816b54 ]---Jan 16 12:16:00 xxxxx kernel: ------------[ cut here ]------------ Jan 16 12:16:00 xxxxx kernel: kernel BUG at drivers/md/bcache/btree.c:1168! Jan 16 12:16:00 xxxxx kernel: invalid opcode: 0000 [#1] SMP Jan 16 12:16:00 xxxxx kernel: Modules linked in: lp parport_pcparport joydev st
sr_modcdromxt_multiportiptable_filterip_tablesx_tablesxfs libcrc32cipmi_devintfloopiTCO_wdtx86_pkg_temp_thermalcoretempkvm_intelkvmsb_edaciTCO_vendor_supportmgag200 ioatdmasnd_pcmsnd_page_allocsnd_timersndi2c_i801
+ttm soundcorecrc32c_intelghash_clmulni_intelaesni_intellpc_ichaes_x86_64drm_kms_helperdrmi2c_algo_biti2c_coremfd_coreablk_helpercryptd lrw gf128mulmei_memeiglue_helperpsmouseedac_coreserio_rawpcspkr evdev wmiipmi_siipmi_msghandlerprocessorthermal_sysbutton ext3 mbcache jbddm_modraid1 +md_modhid_genericusbhid hid bcache sgsd_modsescrc_t10difenclosurecrct10dif_commonmicrocodeehci_pciehci_hcdusbcore ahci mpt2sas libahciusb_commonraid_classlibatascsi_transport_sasmegaraid_sasixgbescsi_moddca ptppps_coremdio [last unloaded:parport_pc]Jan 16 12:16:00 xxxxx kernel: CPU: 8 PID: 707 Comm: bcache_gc Not tainted 3.13.0-rc7-dsi #3 Jan 16 12:16:00 xxxxx kernel: Hardware name: Supermicro X9SRH-7F/7TF/X9SRH-7F/7TF, BIOS 3.00 07/05/2013 Jan 16 12:16:00 xxxxx kernel: task: ffff88102c30f800 ti: ffff88100e44c000 task.ti: ffff88100e44c000 Jan 16 12:16:00 xxxxx kernel: RIP: 0010:[<ffffffffa01f341e>] [<ffffffffa01f341e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 16 12:16:00 xxxxx kernel: RSP: 0018:ffff88100e44da78 EFLAGS: 00010246 Jan 16 12:16:00 xxxxx kernel: RAX: 0000000000000000 RBX: ffff880fed4037b8 RCX: 0000000000002000 Jan 16 12:16:00 xxxxx kernel: RDX: 0000000000000000 RSI: ffff880fed4037b8 RDI: ffff881028ce0000 Jan 16 12:16:00 xxxxx kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: ffff8810109ea000 Jan 16 12:16:00 xxxxx kernel: R10: 0000000000001000 R11: ffff880fee906400 R12: 0000000000000000 Jan 16 12:16:00 xxxxx kernel: R13: ffff881028ce0000 R14: 0000000000000000 R15: ffffc900168dc660 Jan 16 12:16:00 xxxxx kernel: FS: 0000000000000000(0000) GS:ffff88107fd00000(0000) knlGS:0000000000000000 Jan 16 12:16:00 xxxxx kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 16 12:16:00 xxxxx kernel: CR2: 0000000000619570 CR3: 000000000160c000 CR4: 00000000000407e0 Jan 16 12:16:00 xxxxx kernel: Stack: Jan 16 12:16:00 xxxxx kernel: ffff88100e44dad8 0000000108801efc ffffffffa01f0c31 ffff880fee906400 Jan 16 12:16:00 xxxxx kernel: ffff880fed4037b8 0000000000000251 0000000000000000 ffff88100e44ddc8 Jan 16 12:16:00 xxxxx kernel: ffff88100e44dad8 ffffffffa01f372a ffffffffa01f5bb1 00000251b5f80000 Jan 16 12:16:00 xxxxx kernel: Call Trace: Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f0c31>] ? bch_cut_back+0x41/0x41 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f372a>] ? btree_gc_mark_node+0x4c/0x16d [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f5bb1>] ? tree_to_bkey+0x13/0x3c [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f64b8>] ? bch_ptr_invalid+0x1a/0x1a [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f4cbf>] ? btree_gc_recurse+0x677/0x88f [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f6398>] ? bch_btree_ptr_invalid+0x46/0xb0 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff813ae20a>] ? __schedule+0x48f/0x555 Jan 16 12:16:00 xxxxx kernel: [<ffffffff810680ad>] ? resched_task+0x15/0x4b Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f7ab0>] ? bch_btree_iter_next_filter+0x18/0x38 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f379c>] ? btree_gc_mark_node+0xbe/0x16d [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff811e8e63>] ? call_rwsem_down_write_failed+0x13/0x20 Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f50df>] ? bch_btree_gc+0x208/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff8106ffde>] ? idle_balance+0x12b/0x166 Jan 16 12:16:00 xxxxx kernel: [<ffffffff81066b18>] ? mmdrop+0xd/0x1c Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f52ab>] ? bch_gc_thread+0x2d/0xe5 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f527e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f527e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f77a>] ? kthread+0x99/0xa1 Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 16 12:16:00 xxxxx kernel: [<ffffffff813b58cc>] ? ret_from_fork+0x7c/0xb0 Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 16 12:16:00 xxxxx kernel: Code: 00 01 c1 b8 ff 3f 00 00 81 f9 ff 3f 00 00 0f 46 c1 66 81 e2 03 80 25 ff 1f 00 00 c1 e0 02 09 d0 66 a9 fc 7f 66 41 89 47 0a 75 02 <0f> 0b ff c5 eb 05 31 ed 45 31 e4 48 8b 03 89 ea 48 c1 e8 3c 83 Jan 16 12:16:00 xxxxx kernel: RIP [<ffffffffa01f341e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 16 12:16:00 xxxxx kernel: RSP <ffff88100e44da78> Jan 16 12:16:00 xxxxx kernel: ---[ end trace 14e7f7c11d82ef2f ]-----
--
Um repórter de rock é um jornalista que não sabe escrever, entrevistando gente
que não sabe falar, para pessoas que não sabem ler.Quoted 11 lines
Quoted 5 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlQuoted 6 lines
_______________________________________________
ns-list mailing list
[email protected]
https://mlists.ist.utl.pt/mailman/listinfo/groups.ciist.ns-list--
--Nenhum pássaro voa alto demais, se voa com suas próprias asas
--William Blake
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Where can I find the actual patch? I see the same bug on the system with plain btrfs on bcache device.
Regards,
Vlad.
Quoted 346 lines · Kent Overstreet
I sent off the pull request - after it hits mainline I'll make sure it goes into 3.13.x
Quoted 329 lines · Jose Manuel dos Santos Calhariz
Quoted 8 lines · Darrick J. Wong
[adding Mr. Trinidade because he seems to have the same problem]
I /think/ I have a patch to fix this bug -- the clamp on
SET_GC_SECTORS_USEDin
the line before theBUG_ONseems partially ineffectual. I'm about to send everyone a patch; can you put that into a kernel and test it out?Quoted 6 lines
The "easiest" way I've found to reproduce this bug is to create a bcache, mkfs.ext4 it, run fsstress on the ext4 FS until the cache is full, then umount
and re-run mkfs.ext4, which discards the device before formatting. Eventually
it'llBUG().It's to tell that your fix works for me. It's possible to push your fix into kernel 3.13.x?
Jose Calhariz
Quoted 295 lines
--D
Quoted 279 lines · Darrick J. Wong
Quoted 5 lines · Jose Manuel dos Santos Calhariz
Hi, is the second time I get this BUG.
The first was during boot from an old 3.13.0-rc2 to a 3.13.0-rc7. The second time was when running tests.
Yeah, I also saw this tonight on 3.13. Running on ext4 -> LVM -> LUKS -> bcache -> ssd/disk.
[81881.815077] ------------[ cut here ]------------ [81881.815108] kernel BUG at drivers/md/bcache/btree.c:1168! [81881.815123] invalid opcode: 0000 [#1] PREEMPT SMP [81881.815140] Modules linked in: hfsplus hfs msdos ipt_MASQUERADE
iptable_natnf_nat_ipv4xt_conntrackxt_CHECKSUMiptable_mangletun bridge stp llc fuseaf_packetmicrocode bnep rfcomm nfsdnfs_aclexportfsauth_rpcgssnfs lockd sunrpcxt_physdevxt_hluvcvideoip6t_rtvideobuf2_corevideodevnf_conntrack_ipv6nf_defrag_ipv6videobuf2_vmallocvideobuf2_memopsipt_REJECTxt_sctpxt_limitxt_tcpudpxt_addrtypenf_conntrack_ipv4nf_defrag_ipv4xt_stateip6table_filterip6_tablesnf_conntrack_netbios_nsnf_conntrack_broadcastnf_nat_ftpnf_natnf_conntrack_ftpnf_conntrackiptable_filterip_tablesx_tableseepromsch_fq_codelnls_iso8859_1nls_cp437vfat fatlpc_ichmfd_coreloop bcachezlib_deflatelibcrc32c[81881.815346] CPU: 2 PID: 1418 Comm: bcache_gc Not tainted 3.13.0-60-birch #1 [81881.815365] Hardware name: LENOVO 2349E51/2349E51, BIOS G1ET69WW (2.05 ) 09/12/2012 [81881.815385] task: ffff880402038000 ti: ffff8804043c6000 task.ti: ffff8804043c6000 [81881.815405] RIP: 0010:[<ffffffffa0017a01>] [<ffffffffa0017a01>] __bch_btree_mark_key+0x251/0x290 [bcache] [81881.815438] RSP: 0018:ffff8804043c7c78 EFLAGS: 00010246 [81881.815453] RAX: 0000000000000002 RBX: ffffc90004397dac RCX: 0000000000000200 [81881.815471] RDX: 0000000000000002 RSI: 0000000000000001 RDI: ffffc90004397dac [81881.815490] RBP: ffff8804043c7cc8 R08: 000007ffffffffff R09: 0000000000000001 [81881.815509] R10: 0000000000003fff R11: 0000001000000000 R12: 0000000000000000 [81881.815527] R13: ffff8800532002c0 R14: ffff8804017a0000 R15: 0000000000000000 [81881.815546] FS: 0000000000000000(0000) GS:ffff88041e300000(0000) knlGS:0000000000000000 [81881.815568] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [81881.815583] CR2: 00007f467f76b000 CR3: 0000000001c0c000 CR4: 00000000001407e0 [81881.815602] Stack: [81881.815609] ffff8804043c7ce8 ffff880408fb2000 ffff8804043c7c98 ffffffffa0014be5 [81881.815632] ffff8804043c7cc8 ffff880408fb2000 ffff8804043c7de0 ffff8800532002c0 [81881.815653] 0000000000000000 000000000000001c ffff8804043c7d68 ffffffffa0017e41 [81881.815675] Call Trace: [81881.815690] [<ffffffffa0014be5>] ? bch_ptr_invalid+0x25/0x30 [bcache] [81881.815713] [<ffffffffa0017e41>] btree_gc_mark_node+0x81/0x210 [bcache] [81881.815736] [<ffffffffa001a2e2>] bch_btree_gc+0x252/0x5d0 [bcache] [81881.815759] [<ffffffffa001a698>] bch_gc_thread+0x38/0x120 [bcache] [81881.815781] [<ffffffffa001a660>] ? bch_btree_gc+0x5d0/0x5d0 [bcache] [81881.815801] [<ffffffff810e4b79>] kthread+0xc9/0xe0 [81881.815816] [<ffffffff810e4ab0>] ? flush_kthread_worker+0xb0/0xb0 [81881.815835] [<ffffffff817f63ec>] ret_from_fork+0x7c/0xb0 [81881.815851] [<ffffffff810e4ab0>] ? flush_kthread_worker+0xb0/0xb0 [81881.815868] Code: c8 44 89 55 b8 4c 89 5d b0 e8 5c 21 01 00 4c 8b 45 c0 84 c0 44 8b 4d c8 44 8b 55 b8 4c 8b 5d b0 75 13 0f b7 43 0a e9 28 ff ff ff <0f> 0b 48 89 df e9 ec fe ff ff 4c 89 45 c0 44 89 4d c8 44 89 55 [81881.815956] RIP [<ffffffffa0017a01>] __bch_btree_mark_key+0x251/0x290 [bcache] [81881.815982] RSP <ffff8804043c7c78> [81881.820218] ---[ end trace f9ade3bfa4c277bf ]-----D
Quoted 202 lines
Follow the two stack trace:
Jan 14 17:33:59 xxxxx kernel: ------------[ cut here ]------------ Jan 14 17:33:59 xxxxx kernel: kernel BUG at drivers/md/bcache/btree.c:1168! Jan 14 17:33:59 xxxxx kernel: invalid opcode: 0000 [#1] SMP Jan 14 17:33:59 xxxxx kernel: Modules linked in: lp parport_pcparport joydev st
sr_modcdromxt_multiportiptable_filterip_tablesx_tablesxfs libcrc32cipmi_devintfloopsnd_pcmmgag200snd_page_allocsnd_timerttmx86_pkg_temp_thermaldrm_kms_helperdrm sndi2c_algo_bitcoretemp soundcorekvm_intelkvm +crc32c_intelghash_clmulni_intelioatdmaaesni_intelaes_x86_64iTCO_wdtsb_edaciTCO_vendor_supportmei_memeiablk_helperedac_corecryptd psmousei2c_i801lpc_ichserio_rawi2c_corepcspkr lrwmfd_coregf128mulipmi_siipmi_msghandlerglue_helperevdev processor wmithermal_sysbutton ext3 mbcache jbddm_mod+raid1md_modhid_genericusbhid hid bcache sgsd_modsescrc_t10difenclosurecrct10dif_commonmicrocode ahci libahci libataehci_pciehci_hcdmpt2sasraid_classusbcoremegaraid_sasscsi_transport_sasusb_commonscsi_modixgbe dca ptppps_coremdio [last unloaded:parport_pc]Jan 14 17:33:59 xxxxx kernel: CPU: 6 PID: 700 Comm: bcache_gc Not tainted 3.13.0-rc7-dsi #3 Jan 14 17:33:59 xxxxx kernel: Hardware name: Supermicro X9SRH-7F/7TF/X9SRH-7F/7TF, BIOS 3.00 07/05/2013 Jan 14 17:33:59 xxxxx kernel: task: ffff88101371a050 ti: ffff88100ea56000 task.ti: ffff88100ea56000 Jan 14 17:33:59 xxxxx kernel: RIP: 0010:[<ffffffffa01ce41e>] [<ffffffffa01ce41e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 14 17:33:59 xxxxx kernel: RSP: 0018:ffff88100ea57cb8 EFLAGS: 00010246 Jan 14 17:33:59 xxxxx kernel: RAX: 0000000000000002 RBX: ffff880fab8001e8 RCX: 0000000000002000 Jan 14 17:33:59 xxxxx kernel: RDX: 0000000000000002 RSI: ffff880fab8001e8 RDI: ffff881028d60000 Jan 14 17:33:59 xxxxx kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88101003c000 Jan 14 17:33:59 xxxxx kernel: R10: 0000000000001000 R11: ffff880fce594400 R12: 0000000000000000 Jan 14 17:33:59 xxxxx kernel: R13: ffff881028d60000 R14: 0000000000000001 R15: ffffc90016d93678 Jan 14 17:33:59 xxxxx kernel: FS: 0000000000000000(0000) GS:ffff88107fcc0000(0000) knlGS:0000000000000000 Jan 14 17:33:59 xxxxx kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 14 17:33:59 xxxxx kernel: CR2: 00007fe31614ccf8 CR3: 000000000160c000 CR4: 00000000000407e0 Jan 14 17:33:59 xxxxx kernel: Stack: Jan 14 17:33:59 xxxxx kernel: ffff880fab8001e8 0000000188a000fb ffff880fce594400 ffff880fce594400 Jan 14 17:33:59 xxxxx kernel: ffff880fab8001e8 0000000000000013 0000000000000001 ffff88100ea57dc8 Jan 14 17:33:59 xxxxx kernel: ffff88100ea57d18 ffffffffa01ce72a ffff88101371a050 0000000200000000 Jan 14 17:33:59 xxxxx kernel: Call Trace: Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01ce72a>] ? btree_gc_mark_node+0x4c/0x16d [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff811e8e63>] ? call_rwsem_down_write_failed+0x13/0x20 Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d005e>] ? bch_btree_gc+0x187/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff8106ffde>] ? idle_balance+0x12b/0x166 Jan 14 17:33:59 xxxxx kernel: [<ffffffff81066b18>] ? mmdrop+0xd/0x1c Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d02ab>] ? bch_gc_thread+0x2d/0xe5 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d027e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d027e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f77a>] ? kthread+0x99/0xa1 Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 14 17:33:59 xxxxx kernel: [<ffffffff813b58cc>] ? ret_from_fork+0x7c/0xb0 Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 14 17:33:59 xxxxx kernel: Code: 00 01 c1 b8 ff 3f 00 00 81 f9 ff 3f 00 00 0f 46 c1 66 81 e2 03 80 25 ff 1f 00 00 c1 e0 02 09 d0 66 a9 fc 7f 66 41 89 47 0a 75 02 <0f> 0b ff c5 eb 05 31 ed 45 31 e4 48 8b 03 89 ea 48 c1 e8 3c 83 Jan 14 17:33:59 xxxxx kernel: RIP [<ffffffffa01ce41e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 14 17:33:59 xxxxx kernel: RSP <ffff88100ea57cb8> Jan 14 17:33:59 xxxxx kernel: ---[ end trace 6a29ce0fa7816b54 ]---Jan 16 12:16:00 xxxxx kernel: ------------[ cut here ]------------ Jan 16 12:16:00 xxxxx kernel: kernel BUG at drivers/md/bcache/btree.c:1168! Jan 16 12:16:00 xxxxx kernel: invalid opcode: 0000 [#1] SMP Jan 16 12:16:00 xxxxx kernel: Modules linked in: lp parport_pcparport joydev st
sr_modcdromxt_multiportiptable_filterip_tablesx_tablesxfs libcrc32cipmi_devintfloopiTCO_wdtx86_pkg_temp_thermalcoretempkvm_intelkvmsb_edaciTCO_vendor_supportmgag200 ioatdmasnd_pcmsnd_page_allocsnd_timersndi2c_i801
+ttm soundcorecrc32c_intelghash_clmulni_intelaesni_intellpc_ichaes_x86_64drm_kms_helperdrmi2c_algo_biti2c_coremfd_coreablk_helpercryptd lrw gf128mulmei_memeiglue_helperpsmouseedac_coreserio_rawpcspkr evdev wmiipmi_siipmi_msghandlerprocessorthermal_sysbutton ext3 mbcache jbddm_modraid1 +md_modhid_genericusbhid hid bcache sgsd_modsescrc_t10difenclosurecrct10dif_commonmicrocodeehci_pciehci_hcdusbcore ahci mpt2sas libahciusb_commonraid_classlibatascsi_transport_sasmegaraid_sasixgbescsi_moddca ptppps_coremdio [last unloaded:parport_pc]Jan 16 12:16:00 xxxxx kernel: CPU: 8 PID: 707 Comm: bcache_gc Not tainted 3.13.0-rc7-dsi #3 Jan 16 12:16:00 xxxxx kernel: Hardware name: Supermicro X9SRH-7F/7TF/X9SRH-7F/7TF, BIOS 3.00 07/05/2013 Jan 16 12:16:00 xxxxx kernel: task: ffff88102c30f800 ti: ffff88100e44c000 task.ti: ffff88100e44c000 Jan 16 12:16:00 xxxxx kernel: RIP: 0010:[<ffffffffa01f341e>] [<ffffffffa01f341e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 16 12:16:00 xxxxx kernel: RSP: 0018:ffff88100e44da78 EFLAGS: 00010246 Jan 16 12:16:00 xxxxx kernel: RAX: 0000000000000000 RBX: ffff880fed4037b8 RCX: 0000000000002000 Jan 16 12:16:00 xxxxx kernel: RDX: 0000000000000000 RSI: ffff880fed4037b8 RDI: ffff881028ce0000 Jan 16 12:16:00 xxxxx kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: ffff8810109ea000 Jan 16 12:16:00 xxxxx kernel: R10: 0000000000001000 R11: ffff880fee906400 R12: 0000000000000000 Jan 16 12:16:00 xxxxx kernel: R13: ffff881028ce0000 R14: 0000000000000000 R15: ffffc900168dc660 Jan 16 12:16:00 xxxxx kernel: FS: 0000000000000000(0000) GS:ffff88107fd00000(0000) knlGS:0000000000000000 Jan 16 12:16:00 xxxxx kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 16 12:16:00 xxxxx kernel: CR2: 0000000000619570 CR3: 000000000160c000 CR4: 00000000000407e0 Jan 16 12:16:00 xxxxx kernel: Stack: Jan 16 12:16:00 xxxxx kernel: ffff88100e44dad8 0000000108801efc ffffffffa01f0c31 ffff880fee906400 Jan 16 12:16:00 xxxxx kernel: ffff880fed4037b8 0000000000000251 0000000000000000 ffff88100e44ddc8 Jan 16 12:16:00 xxxxx kernel: ffff88100e44dad8 ffffffffa01f372a ffffffffa01f5bb1 00000251b5f80000 Jan 16 12:16:00 xxxxx kernel: Call Trace: Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f0c31>] ? bch_cut_back+0x41/0x41 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f372a>] ? btree_gc_mark_node+0x4c/0x16d [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f5bb1>] ? tree_to_bkey+0x13/0x3c [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f64b8>] ? bch_ptr_invalid+0x1a/0x1a [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f4cbf>] ? btree_gc_recurse+0x677/0x88f [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f6398>] ? bch_btree_ptr_invalid+0x46/0xb0 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff813ae20a>] ? __schedule+0x48f/0x555 Jan 16 12:16:00 xxxxx kernel: [<ffffffff810680ad>] ? resched_task+0x15/0x4b Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f7ab0>] ? bch_btree_iter_next_filter+0x18/0x38 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f379c>] ? btree_gc_mark_node+0xbe/0x16d [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff811e8e63>] ? call_rwsem_down_write_failed+0x13/0x20 Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f50df>] ? bch_btree_gc+0x208/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff8106ffde>] ? idle_balance+0x12b/0x166 Jan 16 12:16:00 xxxxx kernel: [<ffffffff81066b18>] ? mmdrop+0xd/0x1c Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f52ab>] ? bch_gc_thread+0x2d/0xe5 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f527e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f527e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f77a>] ? kthread+0x99/0xa1 Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 16 12:16:00 xxxxx kernel: [<ffffffff813b58cc>] ? ret_from_fork+0x7c/0xb0 Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 16 12:16:00 xxxxx kernel: Code: 00 01 c1 b8 ff 3f 00 00 81 f9 ff 3f 00 00 0f 46 c1 66 81 e2 03 80 25 ff 1f 00 00 c1 e0 02 09 d0 66 a9 fc 7f 66 41 89 47 0a 75 02 <0f> 0b ff c5 eb 05 31 ed 45 31 e4 48 8b 03 89 ea 48 c1 e8 3c 83 Jan 16 12:16:00 xxxxx kernel: RIP [<ffffffffa01f341e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 16 12:16:00 xxxxx kernel: RSP <ffff88100e44da78> Jan 16 12:16:00 xxxxx kernel: ---[ end trace 14e7f7c11d82ef2f ]-----
--
Um repórter de rock é um jornalista que não sabe escrever, entrevistando gente
que não sabe falar, para pessoas que não sabem ler.Quoted 11 lines
Quoted 5 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlQuoted 6 lines
_______________________________________________
ns-list mailing list
[email protected]
https://mlists.ist.utl.pt/mailman/listinfo/groups.ciist.ns-list--
--Nenhum pássaro voa alto demais, se voa com suas próprias asas
Quoted 8 lines
--William Blake
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
I believe this is the commit:
I had the crash twice in as many days after moving to 3.13.x. I cherry-picked that commit onto kernel v3.13.2 last night and have not had a crash in 0.59 days. :-)
(edit: resent to linux-bcache list; forgot I was in HTML mode)
Quoted 362 lines · Vladimir Elisseev
Where can I find the actual patch? I see the same bug on the system with plain btrfs on bcache device.
Regards,
Vlad.Quoted 338 lines · Kent Overstreet
I sent off the pull request - after it hits mainline I'll make sure it goes into 3.13.x
Quoted 333 lines · Jose Manuel dos Santos Calhariz
Quoted 8 lines · Darrick J. Wong
[adding Mr. Trinidade because he seems to have the same problem]
I /think/ I have a patch to fix this bug -- the clamp on
SET_GC_SECTORS_USEDin
the line before theBUG_ONseems partially ineffectual. I'm about to send everyone a patch; can you put that into a kernel and test it out?Quoted 6 lines
The "easiest" way I've found to reproduce this bug is to create a bcache, mkfs.ext4 it, run fsstress on the ext4 FS until the cache is full, then umount
and re-run mkfs.ext4, which discards the device before formatting. Eventually
it'llBUG().It's to tell that your fix works for me. It's possible to push your fix into kernel 3.13.x?
Jose Calhariz
Quoted 295 lines
--D
Quoted 279 lines · Darrick J. Wong
Quoted 5 lines · Jose Manuel dos Santos Calhariz
Hi, is the second time I get this BUG.
The first was during boot from an old 3.13.0-rc2 to a 3.13.0-rc7. The second time was when running tests.
Yeah, I also saw this tonight on 3.13. Running on ext4 -> LVM -> LUKS -> bcache -> ssd/disk.
[81881.815077] ------------[ cut here ]------------ [81881.815108] kernel BUG at drivers/md/bcache/btree.c:1168! [81881.815123] invalid opcode: 0000 [#1] PREEMPT SMP [81881.815140] Modules linked in: hfsplus hfs msdos ipt_MASQUERADE
iptable_natnf_nat_ipv4xt_conntrackxt_CHECKSUMiptable_mangletun bridge stp llc fuseaf_packetmicrocode bnep rfcomm nfsdnfs_aclexportfsauth_rpcgssnfs lockd sunrpcxt_physdevxt_hluvcvideoip6t_rtvideobuf2_corevideodevnf_conntrack_ipv6nf_defrag_ipv6videobuf2_vmallocvideobuf2_memopsipt_REJECTxt_sctpxt_limitxt_tcpudpxt_addrtypenf_conntrack_ipv4nf_defrag_ipv4xt_stateip6table_filterip6_tablesnf_conntrack_netbios_nsnf_conntrack_broadcastnf_nat_ftpnf_natnf_conntrack_ftpnf_conntrackiptable_filterip_tablesx_tableseepromsch_fq_codelnls_iso8859_1nls_cp437vfat fatlpc_ichmfd_coreloop bcachezlib_deflatelibcrc32c[81881.815346] CPU: 2 PID: 1418 Comm: bcache_gc Not tainted 3.13.0-60-birch #1 [81881.815365] Hardware name: LENOVO 2349E51/2349E51, BIOS G1ET69WW (2.05 ) 09/12/2012 [81881.815385] task: ffff880402038000 ti: ffff8804043c6000 task.ti: ffff8804043c6000 [81881.815405] RIP: 0010:[<ffffffffa0017a01>] [<ffffffffa0017a01>] __bch_btree_mark_key+0x251/0x290 [bcache] [81881.815438] RSP: 0018:ffff8804043c7c78 EFLAGS: 00010246 [81881.815453] RAX: 0000000000000002 RBX: ffffc90004397dac RCX: 0000000000000200 [81881.815471] RDX: 0000000000000002 RSI: 0000000000000001 RDI: ffffc90004397dac [81881.815490] RBP: ffff8804043c7cc8 R08: 000007ffffffffff R09: 0000000000000001 [81881.815509] R10: 0000000000003fff R11: 0000001000000000 R12: 0000000000000000 [81881.815527] R13: ffff8800532002c0 R14: ffff8804017a0000 R15: 0000000000000000 [81881.815546] FS: 0000000000000000(0000) GS:ffff88041e300000(0000) knlGS:0000000000000000 [81881.815568] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [81881.815583] CR2: 00007f467f76b000 CR3: 0000000001c0c000 CR4: 00000000001407e0 [81881.815602] Stack: [81881.815609] ffff8804043c7ce8 ffff880408fb2000 ffff8804043c7c98 ffffffffa0014be5 [81881.815632] ffff8804043c7cc8 ffff880408fb2000 ffff8804043c7de0 ffff8800532002c0 [81881.815653] 0000000000000000 000000000000001c ffff8804043c7d68 ffffffffa0017e41 [81881.815675] Call Trace: [81881.815690] [<ffffffffa0014be5>] ? bch_ptr_invalid+0x25/0x30 [bcache] [81881.815713] [<ffffffffa0017e41>] btree_gc_mark_node+0x81/0x210 [bcache] [81881.815736] [<ffffffffa001a2e2>] bch_btree_gc+0x252/0x5d0 [bcache] [81881.815759] [<ffffffffa001a698>] bch_gc_thread+0x38/0x120 [bcache] [81881.815781] [<ffffffffa001a660>] ? bch_btree_gc+0x5d0/0x5d0 [bcache] [81881.815801] [<ffffffff810e4b79>] kthread+0xc9/0xe0 [81881.815816] [<ffffffff810e4ab0>] ? flush_kthread_worker+0xb0/0xb0 [81881.815835] [<ffffffff817f63ec>] ret_from_fork+0x7c/0xb0 [81881.815851] [<ffffffff810e4ab0>] ? flush_kthread_worker+0xb0/0xb0 [81881.815868] Code: c8 44 89 55 b8 4c 89 5d b0 e8 5c 21 01 00 4c 8b 45 c0 84 c0 44 8b 4d c8 44 8b 55 b8 4c 8b 5d b0 75 13 0f b7 43 0a e9 28 ff ff ff <0f> 0b 48 89 df e9 ec fe ff ff 4c 89 45 c0 44 89 4d c8 44 89 55 [81881.815956] RIP [<ffffffffa0017a01>] __bch_btree_mark_key+0x251/0x290 [bcache] [81881.815982] RSP <ffff8804043c7c78> [81881.820218] ---[ end trace f9ade3bfa4c277bf ]-----D
Quoted 202 lines
Follow the two stack trace:
Jan 14 17:33:59 xxxxx kernel: ------------[ cut here ]------------ Jan 14 17:33:59 xxxxx kernel: kernel BUG at drivers/md/bcache/btree.c:1168! Jan 14 17:33:59 xxxxx kernel: invalid opcode: 0000 [#1] SMP Jan 14 17:33:59 xxxxx kernel: Modules linked in: lp parport_pcparport joydev st
sr_modcdromxt_multiportiptable_filterip_tablesx_tablesxfs libcrc32cipmi_devintfloopsnd_pcmmgag200snd_page_allocsnd_timerttmx86_pkg_temp_thermaldrm_kms_helperdrm sndi2c_algo_bitcoretemp soundcorekvm_intelkvm +crc32c_intelghash_clmulni_intelioatdmaaesni_intelaes_x86_64iTCO_wdtsb_edaciTCO_vendor_supportmei_memeiablk_helperedac_corecryptd psmousei2c_i801lpc_ichserio_rawi2c_corepcspkr lrwmfd_coregf128mulipmi_siipmi_msghandlerglue_helperevdev processor wmithermal_sysbutton ext3 mbcache jbddm_mod+raid1md_modhid_genericusbhid hid bcache sgsd_modsescrc_t10difenclosurecrct10dif_commonmicrocode ahci libahci libataehci_pciehci_hcdmpt2sasraid_classusbcoremegaraid_sasscsi_transport_sasusb_commonscsi_modixgbe dca ptppps_coremdio [last unloaded:parport_pc]Jan 14 17:33:59 xxxxx kernel: CPU: 6 PID: 700 Comm: bcache_gc Not tainted 3.13.0-rc7-dsi #3 Jan 14 17:33:59 xxxxx kernel: Hardware name: Supermicro X9SRH-7F/7TF/X9SRH-7F/7TF, BIOS 3.00 07/05/2013 Jan 14 17:33:59 xxxxx kernel: task: ffff88101371a050 ti: ffff88100ea56000 task.ti: ffff88100ea56000 Jan 14 17:33:59 xxxxx kernel: RIP: 0010:[<ffffffffa01ce41e>] [<ffffffffa01ce41e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 14 17:33:59 xxxxx kernel: RSP: 0018:ffff88100ea57cb8 EFLAGS: 00010246 Jan 14 17:33:59 xxxxx kernel: RAX: 0000000000000002 RBX: ffff880fab8001e8 RCX: 0000000000002000 Jan 14 17:33:59 xxxxx kernel: RDX: 0000000000000002 RSI: ffff880fab8001e8 RDI: ffff881028d60000 Jan 14 17:33:59 xxxxx kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88101003c000 Jan 14 17:33:59 xxxxx kernel: R10: 0000000000001000 R11: ffff880fce594400 R12: 0000000000000000 Jan 14 17:33:59 xxxxx kernel: R13: ffff881028d60000 R14: 0000000000000001 R15: ffffc90016d93678 Jan 14 17:33:59 xxxxx kernel: FS: 0000000000000000(0000) GS:ffff88107fcc0000(0000) knlGS:0000000000000000 Jan 14 17:33:59 xxxxx kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 14 17:33:59 xxxxx kernel: CR2: 00007fe31614ccf8 CR3: 000000000160c000 CR4: 00000000000407e0 Jan 14 17:33:59 xxxxx kernel: Stack: Jan 14 17:33:59 xxxxx kernel: ffff880fab8001e8 0000000188a000fb ffff880fce594400 ffff880fce594400 Jan 14 17:33:59 xxxxx kernel: ffff880fab8001e8 0000000000000013 0000000000000001 ffff88100ea57dc8 Jan 14 17:33:59 xxxxx kernel: ffff88100ea57d18 ffffffffa01ce72a ffff88101371a050 0000000200000000 Jan 14 17:33:59 xxxxx kernel: Call Trace: Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01ce72a>] ? btree_gc_mark_node+0x4c/0x16d [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff811e8e63>] ? call_rwsem_down_write_failed+0x13/0x20 Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d005e>] ? bch_btree_gc+0x187/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff8106ffde>] ? idle_balance+0x12b/0x166 Jan 14 17:33:59 xxxxx kernel: [<ffffffff81066b18>] ? mmdrop+0xd/0x1c Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d02ab>] ? bch_gc_thread+0x2d/0xe5 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d027e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d027e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f77a>] ? kthread+0x99/0xa1 Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 14 17:33:59 xxxxx kernel: [<ffffffff813b58cc>] ? ret_from_fork+0x7c/0xb0 Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 14 17:33:59 xxxxx kernel: Code: 00 01 c1 b8 ff 3f 00 00 81 f9 ff 3f 00 00 0f 46 c1 66 81 e2 03 80 25 ff 1f 00 00 c1 e0 02 09 d0 66 a9 fc 7f 66 41 89 47 0a 75 02 <0f> 0b ff c5 eb 05 31 ed 45 31 e4 48 8b 03 89 ea 48 c1 e8 3c 83 Jan 14 17:33:59 xxxxx kernel: RIP [<ffffffffa01ce41e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 14 17:33:59 xxxxx kernel: RSP <ffff88100ea57cb8> Jan 14 17:33:59 xxxxx kernel: ---[ end trace 6a29ce0fa7816b54 ]---Jan 16 12:16:00 xxxxx kernel: ------------[ cut here ]------------ Jan 16 12:16:00 xxxxx kernel: kernel BUG at drivers/md/bcache/btree.c:1168! Jan 16 12:16:00 xxxxx kernel: invalid opcode: 0000 [#1] SMP Jan 16 12:16:00 xxxxx kernel: Modules linked in: lp parport_pcparport joydev st
sr_modcdromxt_multiportiptable_filterip_tablesx_tablesxfs libcrc32cipmi_devintfloopiTCO_wdtx86_pkg_temp_thermalcoretempkvm_intelkvmsb_edaciTCO_vendor_supportmgag200 ioatdmasnd_pcmsnd_page_allocsnd_timersndi2c_i801
+ttm soundcorecrc32c_intelghash_clmulni_intelaesni_intellpc_ichaes_x86_64drm_kms_helperdrmi2c_algo_biti2c_coremfd_coreablk_helpercryptd lrw gf128mulmei_memeiglue_helperpsmouseedac_coreserio_rawpcspkr evdev wmiipmi_siipmi_msghandlerprocessorthermal_sysbutton ext3 mbcache jbddm_modraid1 +md_modhid_genericusbhid hid bcache sgsd_modsescrc_t10difenclosurecrct10dif_commonmicrocodeehci_pciehci_hcdusbcore ahci mpt2sas libahciusb_commonraid_classlibatascsi_transport_sasmegaraid_sasixgbescsi_moddca ptppps_coremdio [last unloaded:parport_pc]Jan 16 12:16:00 xxxxx kernel: CPU: 8 PID: 707 Comm: bcache_gc Not tainted 3.13.0-rc7-dsi #3 Jan 16 12:16:00 xxxxx kernel: Hardware name: Supermicro X9SRH-7F/7TF/X9SRH-7F/7TF, BIOS 3.00 07/05/2013 Jan 16 12:16:00 xxxxx kernel: task: ffff88102c30f800 ti: ffff88100e44c000 task.ti: ffff88100e44c000 Jan 16 12:16:00 xxxxx kernel: RIP: 0010:[<ffffffffa01f341e>] [<ffffffffa01f341e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 16 12:16:00 xxxxx kernel: RSP: 0018:ffff88100e44da78 EFLAGS: 00010246 Jan 16 12:16:00 xxxxx kernel: RAX: 0000000000000000 RBX: ffff880fed4037b8 RCX: 0000000000002000 Jan 16 12:16:00 xxxxx kernel: RDX: 0000000000000000 RSI: ffff880fed4037b8 RDI: ffff881028ce0000 Jan 16 12:16:00 xxxxx kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: ffff8810109ea000 Jan 16 12:16:00 xxxxx kernel: R10: 0000000000001000 R11: ffff880fee906400 R12: 0000000000000000 Jan 16 12:16:00 xxxxx kernel: R13: ffff881028ce0000 R14: 0000000000000000 R15: ffffc900168dc660 Jan 16 12:16:00 xxxxx kernel: FS: 0000000000000000(0000) GS:ffff88107fd00000(0000) knlGS:0000000000000000 Jan 16 12:16:00 xxxxx kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 16 12:16:00 xxxxx kernel: CR2: 0000000000619570 CR3: 000000000160c000 CR4: 00000000000407e0 Jan 16 12:16:00 xxxxx kernel: Stack: Jan 16 12:16:00 xxxxx kernel: ffff88100e44dad8 0000000108801efc ffffffffa01f0c31 ffff880fee906400 Jan 16 12:16:00 xxxxx kernel: ffff880fed4037b8 0000000000000251 0000000000000000 ffff88100e44ddc8 Jan 16 12:16:00 xxxxx kernel: ffff88100e44dad8 ffffffffa01f372a ffffffffa01f5bb1 00000251b5f80000 Jan 16 12:16:00 xxxxx kernel: Call Trace: Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f0c31>] ? bch_cut_back+0x41/0x41 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f372a>] ? btree_gc_mark_node+0x4c/0x16d [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f5bb1>] ? tree_to_bkey+0x13/0x3c [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f64b8>] ? bch_ptr_invalid+0x1a/0x1a [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f4cbf>] ? btree_gc_recurse+0x677/0x88f [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f6398>] ? bch_btree_ptr_invalid+0x46/0xb0 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff813ae20a>] ? __schedule+0x48f/0x555 Jan 16 12:16:00 xxxxx kernel: [<ffffffff810680ad>] ? resched_task+0x15/0x4b Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f7ab0>] ? bch_btree_iter_next_filter+0x18/0x38 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f379c>] ? btree_gc_mark_node+0xbe/0x16d [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff811e8e63>] ? call_rwsem_down_write_failed+0x13/0x20 Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f50df>] ? bch_btree_gc+0x208/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff8106ffde>] ? idle_balance+0x12b/0x166 Jan 16 12:16:00 xxxxx kernel: [<ffffffff81066b18>] ? mmdrop+0xd/0x1c Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f52ab>] ? bch_gc_thread+0x2d/0xe5 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f527e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f527e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f77a>] ? kthread+0x99/0xa1 Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 16 12:16:00 xxxxx kernel: [<ffffffff813b58cc>] ? ret_from_fork+0x7c/0xb0 Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 16 12:16:00 xxxxx kernel: Code: 00 01 c1 b8 ff 3f 00 00 81 f9 ff 3f 00 00 0f 46 c1 66 81 e2 03 80 25 ff 1f 00 00 c1 e0 02 09 d0 66 a9 fc 7f 66 41 89 47 0a 75 02 <0f> 0b ff c5 eb 05 31 ed 45 31 e4 48 8b 03 89 ea 48 c1 e8 3c 83 Jan 16 12:16:00 xxxxx kernel: RIP [<ffffffffa01f341e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 16 12:16:00 xxxxx kernel: RSP <ffff88100e44da78> Jan 16 12:16:00 xxxxx kernel: ---[ end trace 14e7f7c11d82ef2f ]-----
--
Um repórter de rock é um jornalista que não sabe escrever, entrevistando gente
que não sabe falar, para pessoas que não sabem ler.Quoted 11 lines
Quoted 5 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlQuoted 6 lines
_______________________________________________
ns-list mailing list
[email protected]
https://mlists.ist.utl.pt/mailman/listinfo/groups.ciist.ns-list--
--Nenhum pássaro voa alto demais, se voa com suas próprias asas
--William Blake
Quoted 8 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 1 line
Ryan Tucker <[email protected]>
May need to request a re-pull on this to Jens.
Ross Anderson
Quoted 365 lines · Ryan Tucker
I believe this is the commit:
I had the crash twice in as many days after moving to 3.13.x. I cherry-picked that commit onto kernel v3.13.2 last night and have not had a crash in 0.59 days. :-)
(edit: resent to linux-bcache list; forgot I was in HTML mode)
Quoted 351 lines · Vladimir Elisseev
Where can I find the actual patch? I see the same bug on the system with plain btrfs on bcache device.
Regards,
Vlad.Quoted 328 lines · Kent Overstreet
I sent off the pull request - after it hits mainline I'll make sure it goes into 3.13.x
Quoted 323 lines · Jose Manuel dos Santos Calhariz
Quoted 7 lines · Darrick J. Wong
[adding Mr. Trinidade because he seems to have the same problem]
I /think/ I have a patch to fix this bug -- the clamp on
SET_GC_SECTORS_USEDin
the line before theBUG_ONseems partially ineffectual. I'm about to send everyone a patch; can you put that into a kernel and test it out?Quoted 6 lines
The "easiest" way I've found to reproduce this bug is to create a bcache, mkfs.ext4 it, run fsstress on the ext4 FS until the cache is full, then umount
and re-run mkfs.ext4, which discards the device before formatting. Eventually
it'llBUG().It's to tell that your fix works for me. It's possible to push your fix into kernel 3.13.x?
Jose Calhariz
Quoted 288 lines
--D
Quoted 275 lines · Darrick J. Wong
Quoted 4 lines · Jose Manuel dos Santos Calhariz
Hi, is the second time I get this BUG.
The first was during boot from an old 3.13.0-rc2 to a 3.13.0-rc7. The second time was when running tests.
Yeah, I also saw this tonight on 3.13. Running on ext4 -> LVM -> LUKS -> bcache -> ssd/disk.
[81881.815077] ------------[ cut here ]------------ [81881.815108] kernel BUG at drivers/md/bcache/btree.c:1168! [81881.815123] invalid opcode: 0000 [#1] PREEMPT SMP [81881.815140] Modules linked in: hfsplus hfs msdos ipt_MASQUERADE
iptable_natnf_nat_ipv4xt_conntrackxt_CHECKSUMiptable_mangletun bridge stp llc fuseaf_packetmicrocode bnep rfcomm nfsdnfs_aclexportfsauth_rpcgssnfs lockd sunrpcxt_physdevxt_hluvcvideoip6t_rtvideobuf2_corevideodevnf_conntrack_ipv6nf_defrag_ipv6videobuf2_vmallocvideobuf2_memopsipt_REJECTxt_sctpxt_limitxt_tcpudpxt_addrtypenf_conntrack_ipv4nf_defrag_ipv4xt_stateip6table_filterip6_tablesnf_conntrack_netbios_nsnf_conntrack_broadcastnf_nat_ftpnf_natnf_conntrack_ftpnf_conntrackiptable_filterip_tablesx_tableseepromsch_fq_codelnls_iso8859_1nls_cp437vfat fatlpc_ichmfd_coreloop bcachezlib_deflatelibcrc32c[81881.815346] CPU: 2 PID: 1418 Comm: bcache_gc Not tainted 3.13.0-60-birch #1 [81881.815365] Hardware name: LENOVO 2349E51/2349E51, BIOS G1ET69WW (2.05 ) 09/12/2012 [81881.815385] task: ffff880402038000 ti: ffff8804043c6000 task.ti: ffff8804043c6000 [81881.815405] RIP: 0010:[<ffffffffa0017a01>] [<ffffffffa0017a01>] __bch_btree_mark_key+0x251/0x290 [bcache] [81881.815438] RSP: 0018:ffff8804043c7c78 EFLAGS: 00010246 [81881.815453] RAX: 0000000000000002 RBX: ffffc90004397dac RCX: 0000000000000200 [81881.815471] RDX: 0000000000000002 RSI: 0000000000000001 RDI: ffffc90004397dac [81881.815490] RBP: ffff8804043c7cc8 R08: 000007ffffffffff R09: 0000000000000001 [81881.815509] R10: 0000000000003fff R11: 0000001000000000 R12: 0000000000000000 [81881.815527] R13: ffff8800532002c0 R14: ffff8804017a0000 R15: 0000000000000000 [81881.815546] FS: 0000000000000000(0000) GS:ffff88041e300000(0000) knlGS:0000000000000000 [81881.815568] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [81881.815583] CR2: 00007f467f76b000 CR3: 0000000001c0c000 CR4: 00000000001407e0 [81881.815602] Stack: [81881.815609] ffff8804043c7ce8 ffff880408fb2000 ffff8804043c7c98 ffffffffa0014be5 [81881.815632] ffff8804043c7cc8 ffff880408fb2000 ffff8804043c7de0 ffff8800532002c0 [81881.815653] 0000000000000000 000000000000001c ffff8804043c7d68 ffffffffa0017e41 [81881.815675] Call Trace: [81881.815690] [<ffffffffa0014be5>] ? bch_ptr_invalid+0x25/0x30 [bcache] [81881.815713] [<ffffffffa0017e41>] btree_gc_mark_node+0x81/0x210 [bcache] [81881.815736] [<ffffffffa001a2e2>] bch_btree_gc+0x252/0x5d0 [bcache] [81881.815759] [<ffffffffa001a698>] bch_gc_thread+0x38/0x120 [bcache] [81881.815781] [<ffffffffa001a660>] ? bch_btree_gc+0x5d0/0x5d0 [bcache] [81881.815801] [<ffffffff810e4b79>] kthread+0xc9/0xe0 [81881.815816] [<ffffffff810e4ab0>] ? flush_kthread_worker+0xb0/0xb0 [81881.815835] [<ffffffff817f63ec>] ret_from_fork+0x7c/0xb0 [81881.815851] [<ffffffff810e4ab0>] ? flush_kthread_worker+0xb0/0xb0 [81881.815868] Code: c8 44 89 55 b8 4c 89 5d b0 e8 5c 21 01 00 4c 8b 45 c0 84 c0 44 8b 4d c8 44 8b 55 b8 4c 8b 5d b0 75 13 0f b7 43 0a e9 28 ff ff ff <0f> 0b 48 89 df e9 ec fe ff ff 4c 89 45 c0 44 89 4d c8 44 89 55 [81881.815956] RIP [<ffffffffa0017a01>] __bch_btree_mark_key+0x251/0x290 [bcache] [81881.815982] RSP <ffff8804043c7c78> [81881.820218] ---[ end trace f9ade3bfa4c277bf ]-----D
Quoted 201 lines
Follow the two stack trace:
Jan 14 17:33:59 xxxxx kernel: ------------[ cut here ]------------ Jan 14 17:33:59 xxxxx kernel: kernel BUG at drivers/md/bcache/btree.c:1168! Jan 14 17:33:59 xxxxx kernel: invalid opcode: 0000 [#1] SMP Jan 14 17:33:59 xxxxx kernel: Modules linked in: lp parport_pcparport joydev st
sr_modcdromxt_multiportiptable_filterip_tablesx_tablesxfs libcrc32cipmi_devintfloopsnd_pcmmgag200snd_page_allocsnd_timerttmx86_pkg_temp_thermaldrm_kms_helperdrm sndi2c_algo_bitcoretemp soundcorekvm_intelkvm +crc32c_intelghash_clmulni_intelioatdmaaesni_intelaes_x86_64iTCO_wdtsb_edaciTCO_vendor_supportmei_memeiablk_helperedac_corecryptd psmousei2c_i801lpc_ichserio_rawi2c_corepcspkr lrwmfd_coregf128mulipmi_siipmi_msghandlerglue_helperevdev processor wmithermal_sysbutton ext3 mbcache jbddm_mod+raid1md_modhid_genericusbhid hid bcache sgsd_modsescrc_t10difenclosurecrct10dif_commonmicrocode ahci libahci libataehci_pciehci_hcdmpt2sasraid_classusbcoremegaraid_sasscsi_transport_sasusb_commonscsi_modixgbe dca ptppps_coremdio [last unloaded:parport_pc]Jan 14 17:33:59 xxxxx kernel: CPU: 6 PID: 700 Comm: bcache_gc Not tainted 3.13.0-rc7-dsi #3 Jan 14 17:33:59 xxxxx kernel: Hardware name: Supermicro X9SRH-7F/7TF/X9SRH-7F/7TF, BIOS 3.00 07/05/2013 Jan 14 17:33:59 xxxxx kernel: task: ffff88101371a050 ti: ffff88100ea56000 task.ti: ffff88100ea56000 Jan 14 17:33:59 xxxxx kernel: RIP: 0010:[<ffffffffa01ce41e>] [<ffffffffa01ce41e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 14 17:33:59 xxxxx kernel: RSP: 0018:ffff88100ea57cb8 EFLAGS: 00010246 Jan 14 17:33:59 xxxxx kernel: RAX: 0000000000000002 RBX: ffff880fab8001e8 RCX: 0000000000002000 Jan 14 17:33:59 xxxxx kernel: RDX: 0000000000000002 RSI: ffff880fab8001e8 RDI: ffff881028d60000 Jan 14 17:33:59 xxxxx kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88101003c000 Jan 14 17:33:59 xxxxx kernel: R10: 0000000000001000 R11: ffff880fce594400 R12: 0000000000000000 Jan 14 17:33:59 xxxxx kernel: R13: ffff881028d60000 R14: 0000000000000001 R15: ffffc90016d93678 Jan 14 17:33:59 xxxxx kernel: FS: 0000000000000000(0000) GS:ffff88107fcc0000(0000) knlGS:0000000000000000 Jan 14 17:33:59 xxxxx kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 14 17:33:59 xxxxx kernel: CR2: 00007fe31614ccf8 CR3: 000000000160c000 CR4: 00000000000407e0 Jan 14 17:33:59 xxxxx kernel: Stack: Jan 14 17:33:59 xxxxx kernel: ffff880fab8001e8 0000000188a000fb ffff880fce594400 ffff880fce594400 Jan 14 17:33:59 xxxxx kernel: ffff880fab8001e8 0000000000000013 0000000000000001 ffff88100ea57dc8 Jan 14 17:33:59 xxxxx kernel: ffff88100ea57d18 ffffffffa01ce72a ffff88101371a050 0000000200000000 Jan 14 17:33:59 xxxxx kernel: Call Trace: Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01ce72a>] ? btree_gc_mark_node+0x4c/0x16d [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff811e8e63>] ? call_rwsem_down_write_failed+0x13/0x20 Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d005e>] ? bch_btree_gc+0x187/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff8106ffde>] ? idle_balance+0x12b/0x166 Jan 14 17:33:59 xxxxx kernel: [<ffffffff81066b18>] ? mmdrop+0xd/0x1c Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d02ab>] ? bch_gc_thread+0x2d/0xe5 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d027e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d027e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f77a>] ? kthread+0x99/0xa1 Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 14 17:33:59 xxxxx kernel: [<ffffffff813b58cc>] ? ret_from_fork+0x7c/0xb0 Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 14 17:33:59 xxxxx kernel: Code: 00 01 c1 b8 ff 3f 00 00 81 f9 ff 3f 00 00 0f 46 c1 66 81 e2 03 80 25 ff 1f 00 00 c1 e0 02 09 d0 66 a9 fc 7f 66 41 89 47 0a 75 02 <0f> 0b ff c5 eb 05 31 ed 45 31 e4 48 8b 03 89 ea 48 c1 e8 3c 83 Jan 14 17:33:59 xxxxx kernel: RIP [<ffffffffa01ce41e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 14 17:33:59 xxxxx kernel: RSP <ffff88100ea57cb8> Jan 14 17:33:59 xxxxx kernel: ---[ end trace 6a29ce0fa7816b54 ]---Jan 16 12:16:00 xxxxx kernel: ------------[ cut here ]------------ Jan 16 12:16:00 xxxxx kernel: kernel BUG at drivers/md/bcache/btree.c:1168! Jan 16 12:16:00 xxxxx kernel: invalid opcode: 0000 [#1] SMP Jan 16 12:16:00 xxxxx kernel: Modules linked in: lp parport_pcparport joydev st
sr_modcdromxt_multiportiptable_filterip_tablesx_tablesxfs libcrc32cipmi_devintfloopiTCO_wdtx86_pkg_temp_thermalcoretempkvm_intelkvmsb_edaciTCO_vendor_supportmgag200 ioatdmasnd_pcmsnd_page_allocsnd_timersndi2c_i801
+ttm soundcorecrc32c_intelghash_clmulni_intelaesni_intellpc_ichaes_x86_64drm_kms_helperdrmi2c_algo_biti2c_coremfd_coreablk_helpercryptd lrw gf128mulmei_memeiglue_helperpsmouseedac_coreserio_rawpcspkr evdev wmiipmi_siipmi_msghandlerprocessorthermal_sysbutton ext3 mbcache jbddm_modraid1 +md_modhid_genericusbhid hid bcache sgsd_modsescrc_t10difenclosurecrct10dif_commonmicrocodeehci_pciehci_hcdusbcore ahci mpt2sas libahciusb_commonraid_classlibatascsi_transport_sasmegaraid_sasixgbescsi_moddca ptppps_coremdio [last unloaded:parport_pc]Jan 16 12:16:00 xxxxx kernel: CPU: 8 PID: 707 Comm: bcache_gc Not tainted 3.13.0-rc7-dsi #3 Jan 16 12:16:00 xxxxx kernel: Hardware name: Supermicro X9SRH-7F/7TF/X9SRH-7F/7TF, BIOS 3.00 07/05/2013 Jan 16 12:16:00 xxxxx kernel: task: ffff88102c30f800 ti: ffff88100e44c000 task.ti: ffff88100e44c000 Jan 16 12:16:00 xxxxx kernel: RIP: 0010:[<ffffffffa01f341e>] [<ffffffffa01f341e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 16 12:16:00 xxxxx kernel: RSP: 0018:ffff88100e44da78 EFLAGS: 00010246 Jan 16 12:16:00 xxxxx kernel: RAX: 0000000000000000 RBX: ffff880fed4037b8 RCX: 0000000000002000 Jan 16 12:16:00 xxxxx kernel: RDX: 0000000000000000 RSI: ffff880fed4037b8 RDI: ffff881028ce0000 Jan 16 12:16:00 xxxxx kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: ffff8810109ea000 Jan 16 12:16:00 xxxxx kernel: R10: 0000000000001000 R11: ffff880fee906400 R12: 0000000000000000 Jan 16 12:16:00 xxxxx kernel: R13: ffff881028ce0000 R14: 0000000000000000 R15: ffffc900168dc660 Jan 16 12:16:00 xxxxx kernel: FS: 0000000000000000(0000) GS:ffff88107fd00000(0000) knlGS:0000000000000000 Jan 16 12:16:00 xxxxx kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 16 12:16:00 xxxxx kernel: CR2: 0000000000619570 CR3: 000000000160c000 CR4: 00000000000407e0 Jan 16 12:16:00 xxxxx kernel: Stack: Jan 16 12:16:00 xxxxx kernel: ffff88100e44dad8 0000000108801efc ffffffffa01f0c31 ffff880fee906400 Jan 16 12:16:00 xxxxx kernel: ffff880fed4037b8 0000000000000251 0000000000000000 ffff88100e44ddc8 Jan 16 12:16:00 xxxxx kernel: ffff88100e44dad8 ffffffffa01f372a ffffffffa01f5bb1 00000251b5f80000 Jan 16 12:16:00 xxxxx kernel: Call Trace: Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f0c31>] ? bch_cut_back+0x41/0x41 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f372a>] ? btree_gc_mark_node+0x4c/0x16d [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f5bb1>] ? tree_to_bkey+0x13/0x3c [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f64b8>] ? bch_ptr_invalid+0x1a/0x1a [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f4cbf>] ? btree_gc_recurse+0x677/0x88f [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f6398>] ? bch_btree_ptr_invalid+0x46/0xb0 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff813ae20a>] ? __schedule+0x48f/0x555 Jan 16 12:16:00 xxxxx kernel: [<ffffffff810680ad>] ? resched_task+0x15/0x4b Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f7ab0>] ? bch_btree_iter_next_filter+0x18/0x38 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f379c>] ? btree_gc_mark_node+0xbe/0x16d [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff811e8e63>] ? call_rwsem_down_write_failed+0x13/0x20 Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f50df>] ? bch_btree_gc+0x208/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff8106ffde>] ? idle_balance+0x12b/0x166 Jan 16 12:16:00 xxxxx kernel: [<ffffffff81066b18>] ? mmdrop+0xd/0x1c Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f52ab>] ? bch_gc_thread+0x2d/0xe5 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f527e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f527e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f77a>] ? kthread+0x99/0xa1 Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 16 12:16:00 xxxxx kernel: [<ffffffff813b58cc>] ? ret_from_fork+0x7c/0xb0 Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 16 12:16:00 xxxxx kernel: Code: 00 01 c1 b8 ff 3f 00 00 81 f9 ff 3f 00 00 0f 46 c1 66 81 e2 03 80 25 ff 1f 00 00 c1 e0 02 09 d0 66 a9 fc 7f 66 41 89 47 0a 75 02 <0f> 0b ff c5 eb 05 31 ed 45 31 e4 48 8b 03 89 ea 48 c1 e8 3c 83 Jan 16 12:16:00 xxxxx kernel: RIP [<ffffffffa01f341e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 16 12:16:00 xxxxx kernel: RSP <ffff88100e44da78> Jan 16 12:16:00 xxxxx kernel: ---[ end trace 14e7f7c11d82ef2f ]-----
--
Um repórter de rock é um jornalista que não sabe escrever, entrevistando gente
que não sabe falar, para pessoas que não sabem ler.Quoted 10 lines
Quoted 5 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlQuoted 6 lines
_______________________________________________
ns-list mailing list
[email protected]
https://mlists.ist.utl.pt/mailman/listinfo/groups.ciist.ns-list--
--Nenhum pássaro voa alto demais, se voa com suas próprias asas
--William Blake
Quoted 8 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
this needs to be back-ported as far as it needs to go, does it not?
Quoted 7 lines · Ryan Tucker
I believe this is the commit:
I had the crash twice in as many days after moving to 3.13.x. I cherry-picked that commit onto kernel v3.13.2 last night and have not had a crash in 0.59 days. :-)
Yes, that's the one I've sent. Been running bcache crash-free since I stuck in that patch.
--D
Quoted 400 lines · Vladimir Elisseev
Quoted 391 lines
Where can I find the actual patch? I see the same bug on the system with plain btrfs on bcache device.
Regards,
Vlad.Quoted 12 lines · Kent Overstreet
I sent off the pull request - after it hits mainline I'll make sure it goes into 3.13.x
Quoted 7 lines · Jose Manuel dos Santos Calhariz
Quoted 6 lines · Darrick J. Wong
[adding Mr. Trinidade because he seems to have the same problem]
I /think/ I have a patch to fix this bug -- the clamp on
SET_GC_SECTORS_USEDin
the line before theBUG_ONseems partially ineffectual. I'm about tosend
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
everyone a patch; can you put that into a kernel and test it out?
The "easiest" way I've found to reproduce this bug is to create a
bcache,
Quoted 1 line
Quoted 1 line
Quoted 1 line
mkfs.ext4 it, run fsstress on the ext4 FS until the cache is full,
then
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
umount
and re-run mkfs.ext4, which discards the device before formatting. Eventually
it'llBUG().It's to tell that your fix works for me. It's possible to push your
fix into
Quoted 10 lines
Quoted 10 lines
kernel 3.13.x?
Jose Calhariz
Quoted 6 lines
--D
Quoted 2 lines · Darrick J. Wong
On Fri, Jan 17, 2014 at 12:34:17PM +0000, Jose Manuel dos Santos
Calhariz
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 5 lines · wrote:
Hi, is the second time I get this BUG.
The first was during boot from an old 3.13.0-rc2 to a 3.13.0-rc7. The second time was when running tests.
Yeah, I also saw this tonight on 3.13. Running on ext4 -> LVM ->
LUKS ->
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
bcache -> ssd/disk.
[81881.815077] ------------[ cut here ]------------ [81881.815108] kernel BUG at drivers/md/bcache/btree.c:1168! [81881.815123] invalid opcode: 0000 [#1] PREEMPT SMP [81881.815140] Modules linked in: hfsplus hfs msdos ipt_MASQUERADE
iptable_natnf_nat_ipv4xt_conntrackxt_CHECKSUMiptable_mangletunbridge
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
stp llc fuse
af_packetmicrocode bnep rfcomm nfsdnfs_aclexportfsauth_rpcgssnfs lockd sunrpcxt_physdevxt_hluvcvideoip6t_rtvideobuf2_corevideodevnf_conntrack_ipv6nf_defrag_ipv6
videobuf2_vmallocQuoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
videobuf2_memopsipt_REJECTxt_sctpxt_limitxt_tcpudpxt_addrtypenf_conntrack_ipv4nf_defrag_ipv4xt_stateip6table_filterip6_tablesnf_conntrack_netbios_nsnf_conntrack_broadcastnf_nat_ftpnf_natnf_conntrack_ftpnf_conntrackiptable_filterip_tablesx_tableseeprom
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
sch_fq_codelnls_iso8859_1nls_cp437vfat fatlpc_ichmfd_coreloopbcache
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
zlib_deflatelibcrc32c[81881.815346] CPU: 2 PID: 1418 Comm: bcache_gc Not tainted 3.13.0-60-birch #1 [81881.815365] Hardware name: LENOVO 2349E51/2349E51, BIOS G1ET69WW(2.05
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
) 09/12/2012
[81881.815385] task: ffff880402038000 ti: ffff8804043c6000 task.ti: ffff8804043c6000 [81881.815405] RIP: 0010:[<ffffffffa0017a01>] [<ffffffffa0017a01>] __bch_btree_mark_key+0x251/0x290 [bcache] [81881.815438] RSP: 0018:ffff8804043c7c78 EFLAGS: 00010246 [81881.815453] RAX: 0000000000000002 RBX: ffffc90004397dac RCX: 0000000000000200 [81881.815471] RDX: 0000000000000002 RSI: 0000000000000001 RDI: ffffc90004397dac [81881.815490] RBP: ffff8804043c7cc8 R08: 000007ffffffffff R09: 0000000000000001 [81881.815509] R10: 0000000000003fff R11: 0000001000000000 R12: 0000000000000000 [81881.815527] R13: ffff8800532002c0 R14: ffff8804017a0000 R15: 0000000000000000 [81881.815546] FS: 0000000000000000(0000) GS:ffff88041e300000(0000) knlGS:0000000000000000 [81881.815568] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [81881.815583] CR2: 00007f467f76b000 CR3: 0000000001c0c000 CR4: 00000000001407e0 [81881.815602] Stack:Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
[81881.815609] ffff8804043c7ce8 ffff880408fb2000 ffff8804043c7c98 ffffffffa0014be5 [81881.815632] ffff8804043c7cc8 ffff880408fb2000 ffff8804043c7de0 ffff8800532002c0 [81881.815653] 0000000000000000 000000000000001c ffff8804043c7d68 ffffffffa0017e41 [81881.815675] Call Trace: [81881.815690] [<ffffffffa0014be5>] ? bch_ptr_invalid+0x25/0x30[bcache]
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
[81881.815713] [<ffffffffa0017e41>] btree_gc_mark_node+0x81/0x210 [bcache] [81881.815736] [<ffffffffa001a2e2>] bch_btree_gc+0x252/0x5d0[bcache]
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
[81881.815759] [<ffffffffa001a698>] bch_gc_thread+0x38/0x120[bcache]
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
[81881.815781] [<ffffffffa001a660>] ? bch_btree_gc+0x5d0/0x5d0[bcache]
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
[81881.815801] [<ffffffff810e4b79>] kthread+0xc9/0xe0 [81881.815816] [<ffffffff810e4ab0>] ? flush_kthread_worker+0xb0/0xb0 [81881.815835] [<ffffffff817f63ec>] ret_from_fork+0x7c/0xb0 [81881.815851] [<ffffffff810e4ab0>] ? flush_kthread_worker+0xb0/0xb0 [81881.815868] Code: c8 44 89 55 b8 4c 89 5d b0 e8 5c 21 01 00 4c 8b45
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
c0 84 c0 44 8b 4d c8 44 8b 55 b8 4c 8b 5d b0 75 13 0f b7 43 0a e9 28
ff ff
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
ff <0f> 0b 48 89 df e9 ec fe ff ff 4c 89 45 c0 44 89 4d c8 44 89 55
[81881.815956] RIP [<ffffffffa0017a01>]
__bch_btree_mark_key+0x251/0x290Quoted 69 lines
Quoted 69 lines
Quoted 69 lines
Quoted 69 lines
[bcache]
[81881.815982] RSP <ffff8804043c7c78> [81881.820218] ---[ end trace f9ade3bfa4c277bf ]-----D
Quoted 64 lines
Follow the two stack trace:
Jan 14 17:33:59 xxxxx kernel: ------------[ cut here ]------------ Jan 14 17:33:59 xxxxx kernel: kernel BUG at drivers/md/bcache/btree.c:1168! Jan 14 17:33:59 xxxxx kernel: invalid opcode: 0000 [#1] SMP Jan 14 17:33:59 xxxxx kernel: Modules linked in: lp parport_pcparport joydev st
sr_modcdromxt_multiportiptable_filterip_tablesx_tablesxfs libcrc32cipmi_devintfloopsnd_pcmmgag200snd_page_allocsnd_timerttmx86_pkg_temp_thermaldrm_kms_helperdrm sndi2c_algo_bitcoretemp soundcorekvm_intelkvm +crc32c_intelghash_clmulni_intelioatdmaaesni_intelaes_x86_64iTCO_wdtsb_edaciTCO_vendor_supportmei_memeiablk_helperedac_corecryptd psmousei2c_i801lpc_ichserio_rawi2c_corepcspkr lrwmfd_coregf128mulipmi_siipmi_msghandlerglue_helperevdev processor wmithermal_sysbutton ext3 mbcache jbddm_mod+raid1md_modhid_genericusbhid hid bcache sgsd_modsescrc_t10difenclosurecrct10dif_commonmicrocode ahci libahci libataehci_pciehci_hcdmpt2sasraid_classusbcoremegaraid_sasscsi_transport_sasusb_commonscsi_modixgbe dca ptppps_coremdio [last unloaded:parport_pc]Jan 14 17:33:59 xxxxx kernel: CPU: 6 PID: 700 Comm: bcache_gc Not tainted 3.13.0-rc7-dsi #3 Jan 14 17:33:59 xxxxx kernel: Hardware name: Supermicro X9SRH-7F/7TF/X9SRH-7F/7TF, BIOS 3.00 07/05/2013 Jan 14 17:33:59 xxxxx kernel: task: ffff88101371a050 ti: ffff88100ea56000 task.ti: ffff88100ea56000 Jan 14 17:33:59 xxxxx kernel: RIP: 0010:[<ffffffffa01ce41e>] [<ffffffffa01ce41e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 14 17:33:59 xxxxx kernel: RSP: 0018:ffff88100ea57cb8 EFLAGS: 00010246 Jan 14 17:33:59 xxxxx kernel: RAX: 0000000000000002 RBX: ffff880fab8001e8 RCX: 0000000000002000 Jan 14 17:33:59 xxxxx kernel: RDX: 0000000000000002 RSI: ffff880fab8001e8 RDI: ffff881028d60000 Jan 14 17:33:59 xxxxx kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88101003c000 Jan 14 17:33:59 xxxxx kernel: R10: 0000000000001000 R11: ffff880fce594400 R12: 0000000000000000 Jan 14 17:33:59 xxxxx kernel: R13: ffff881028d60000 R14: 0000000000000001 R15: ffffc90016d93678 Jan 14 17:33:59 xxxxx kernel: FS: 0000000000000000(0000) GS:ffff88107fcc0000(0000) knlGS:0000000000000000 Jan 14 17:33:59 xxxxx kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 14 17:33:59 xxxxx kernel: CR2: 00007fe31614ccf8 CR3: 000000000160c000 CR4: 00000000000407e0 Jan 14 17:33:59 xxxxx kernel: Stack: Jan 14 17:33:59 xxxxx kernel: ffff880fab8001e8 0000000188a000fb ffff880fce594400 ffff880fce594400 Jan 14 17:33:59 xxxxx kernel: ffff880fab8001e8 0000000000000013 0000000000000001 ffff88100ea57dc8 Jan 14 17:33:59 xxxxx kernel: ffff88100ea57d18 ffffffffa01ce72a ffff88101371a050 0000000200000000 Jan 14 17:33:59 xxxxx kernel: Call Trace: Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01ce72a>] ? btree_gc_mark_node+0x4c/0x16d [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff811e8e63>] ? call_rwsem_down_write_failed+0x13/0x20 Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d005e>] ? bch_btree_gc+0x187/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff8106ffde>] ?
idle_balance+0x12b/0x166Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Jan 14 17:33:59 xxxxx kernel: [<ffffffff81066b18>] ? mmdrop+0xd/0x1c Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d02ab>] ? bch_gc_thread+0x2d/0xe5 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d027e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffffa01d027e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f77a>] ?
kthread+0x99/0xa1Quoted 96 lines
Quoted 96 lines
Quoted 96 lines
Quoted 96 lines
Quoted 96 lines
Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 14 17:33:59 xxxxx kernel: [<ffffffff813b58cc>] ? ret_from_fork+0x7c/0xb0 Jan 14 17:33:59 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 14 17:33:59 xxxxx kernel: Code: 00 01 c1 b8 ff 3f 00 00 81 f9 ff 3f 00 00 0f 46 c1 66 81 e2 03 80 25 ff 1f 00 00 c1 e0 02 09 d0 66 a9 fc 7f 66 41 89 47 0a 75 02 <0f> 0b ff c5 eb 05 31 ed 45 31 e4 48 8b 03 89 ea 48 c1 e8 3c 83 Jan 14 17:33:59 xxxxx kernel: RIP [<ffffffffa01ce41e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 14 17:33:59 xxxxx kernel: RSP <ffff88100ea57cb8> Jan 14 17:33:59 xxxxx kernel: ---[ end trace 6a29ce0fa7816b54 ]---Jan 16 12:16:00 xxxxx kernel: ------------[ cut here ]------------ Jan 16 12:16:00 xxxxx kernel: kernel BUG at drivers/md/bcache/btree.c:1168! Jan 16 12:16:00 xxxxx kernel: invalid opcode: 0000 [#1] SMP Jan 16 12:16:00 xxxxx kernel: Modules linked in: lp parport_pcparport joydev st
sr_modcdromxt_multiportiptable_filterip_tablesx_tablesxfs libcrc32cipmi_devintfloopiTCO_wdtx86_pkg_temp_thermalcoretempkvm_intelkvmsb_edaciTCO_vendor_supportmgag200 ioatdmasnd_pcmsnd_page_allocsnd_timersndi2c_i801
+ttm soundcorecrc32c_intelghash_clmulni_intelaesni_intellpc_ichaes_x86_64drm_kms_helperdrmi2c_algo_biti2c_coremfd_coreablk_helpercryptd lrw gf128mulmei_memeiglue_helperpsmouseedac_coreserio_rawpcspkr evdev wmiipmi_siipmi_msghandlerprocessorthermal_sysbutton ext3 mbcache jbddm_modraid1 +md_modhid_genericusbhid hid bcache sgsd_modsescrc_t10difenclosurecrct10dif_commonmicrocodeehci_pciehci_hcdusbcore ahci mpt2sas libahciusb_commonraid_classlibatascsi_transport_sasmegaraid_sasixgbescsi_moddca ptppps_coremdio [last unloaded:parport_pc]Jan 16 12:16:00 xxxxx kernel: CPU: 8 PID: 707 Comm: bcache_gc Not tainted 3.13.0-rc7-dsi #3 Jan 16 12:16:00 xxxxx kernel: Hardware name: Supermicro X9SRH-7F/7TF/X9SRH-7F/7TF, BIOS 3.00 07/05/2013 Jan 16 12:16:00 xxxxx kernel: task: ffff88102c30f800 ti: ffff88100e44c000 task.ti: ffff88100e44c000 Jan 16 12:16:00 xxxxx kernel: RIP: 0010:[<ffffffffa01f341e>] [<ffffffffa01f341e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 16 12:16:00 xxxxx kernel: RSP: 0018:ffff88100e44da78 EFLAGS: 00010246 Jan 16 12:16:00 xxxxx kernel: RAX: 0000000000000000 RBX: ffff880fed4037b8 RCX: 0000000000002000 Jan 16 12:16:00 xxxxx kernel: RDX: 0000000000000000 RSI: ffff880fed4037b8 RDI: ffff881028ce0000 Jan 16 12:16:00 xxxxx kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: ffff8810109ea000 Jan 16 12:16:00 xxxxx kernel: R10: 0000000000001000 R11: ffff880fee906400 R12: 0000000000000000 Jan 16 12:16:00 xxxxx kernel: R13: ffff881028ce0000 R14: 0000000000000000 R15: ffffc900168dc660 Jan 16 12:16:00 xxxxx kernel: FS: 0000000000000000(0000) GS:ffff88107fd00000(0000) knlGS:0000000000000000 Jan 16 12:16:00 xxxxx kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 16 12:16:00 xxxxx kernel: CR2: 0000000000619570 CR3: 000000000160c000 CR4: 00000000000407e0 Jan 16 12:16:00 xxxxx kernel: Stack: Jan 16 12:16:00 xxxxx kernel: ffff88100e44dad8 0000000108801efc ffffffffa01f0c31 ffff880fee906400 Jan 16 12:16:00 xxxxx kernel: ffff880fed4037b8 0000000000000251 0000000000000000 ffff88100e44ddc8 Jan 16 12:16:00 xxxxx kernel: ffff88100e44dad8 ffffffffa01f372a ffffffffa01f5bb1 00000251b5f80000 Jan 16 12:16:00 xxxxx kernel: Call Trace: Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f0c31>] ? bch_cut_back+0x41/0x41 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f372a>] ? btree_gc_mark_node+0x4c/0x16d [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f5bb1>] ? tree_to_bkey+0x13/0x3c [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f64b8>] ? bch_ptr_invalid+0x1a/0x1a [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f4cbf>] ? btree_gc_recurse+0x677/0x88f [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f6398>] ? bch_btree_ptr_invalid+0x46/0xb0 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff813ae20a>] ? __schedule+0x48f/0x555 Jan 16 12:16:00 xxxxx kernel: [<ffffffff810680ad>] ? resched_task+0x15/0x4b Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f7ab0>] ? bch_btree_iter_next_filter+0x18/0x38 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f379c>] ? btree_gc_mark_node+0xbe/0x16d [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff811e8e63>] ? call_rwsem_down_write_failed+0x13/0x20 Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f50df>] ? bch_btree_gc+0x208/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff8106ffde>] ?
idle_balance+0x12b/0x166Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Jan 16 12:16:00 xxxxx kernel: [<ffffffff81066b18>] ? mmdrop+0xd/0x1c Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f52ab>] ? bch_gc_thread+0x2d/0xe5 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f527e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffffa01f527e>] ? bch_btree_gc+0x3a7/0x3a7 [bcache] Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f77a>] ?
kthread+0x99/0xa1Quoted 19 lines
Quoted 19 lines
Quoted 19 lines
Quoted 19 lines
Quoted 19 lines
Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 16 12:16:00 xxxxx kernel: [<ffffffff813b58cc>] ? ret_from_fork+0x7c/0xb0 Jan 16 12:16:00 xxxxx kernel: [<ffffffff8105f6e1>] ? __kthread_parkme+0x59/0x59 Jan 16 12:16:00 xxxxx kernel: Code: 00 01 c1 b8 ff 3f 00 00 81 f9 ff 3f 00 00 0f 46 c1 66 81 e2 03 80 25 ff 1f 00 00 c1 e0 02 09 d0 66 a9 fc 7f 66 41 89 47 0a 75 02 <0f> 0b ff c5 eb 05 31 ed 45 31 e4 48 8b 03 89 ea 48 c1 e8 3c 83 Jan 16 12:16:00 xxxxx kernel: RIP [<ffffffffa01f341e>] __bch_btree_mark_key+0x171/0x1a8 [bcache] Jan 16 12:16:00 xxxxx kernel: RSP <ffff88100e44da78> Jan 16 12:16:00 xxxxx kernel: ---[ end trace 14e7f7c11d82ef2f ]---Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
--
--
Um repórter de rock é um jornalista que não sabe escrever,entrevistando
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
gente
que não sabe falar, para pessoas que não sabem ler.--
To unsubscribe from this list: send the line "unsubscribelinux-bcache"
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribelinux-bcache"
Quoted 15 lines
Quoted 15 lines
Quoted 10 lines
Quoted 3 lines
in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html_______________________________________________
ns-list mailing list
[email protected]
https://mlists.ist.utl.pt/mailman/listinfo/groups.ciist.ns-list--
--Quoted 8 lines
Quoted 8 lines
Nenhum pássaro voa alto demais, se voa com suas próprias asas
--William Blake
--
To unsubscribe from this list: send the line "unsubscribelinux-bcache" in
Quoted 4 lines
Quoted 2 lines
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe linux-bcache"in
Quoted 2 lines
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlSignature · 1 line
Ryan Tucker <[email protected]>