Hello, We got this error while trying to expand an RBD iblock device: Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.550402] BUG: unable to handle kernel NULL pointer dereference at 0000000000000010 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.550454] IP: [<ffffffffc0438529>] sbc_check_prot+0x49/0x210 [target_core_mod] Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.550517] PGD 0 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.550540] Oops: 0000 [#1] SMP Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.550567] Modules linked in: target_core_user uio rbd libceph libcrc32c iscsi_target_mod target_core_file target_core_pscsi target_core_iblock target_core_mod configfs xt_multiport iptable_filter ip_tables x_tables enhanceio_rand(OE) enhanceio_lru(OE) enhanceio_fifo(OE) enhanceio(OE) ipmi_devintf ipmi_ssif x86_pkg_temp_thermal intel_powerclamp coretemp kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd sb_edac joydev edac_core mei_me mei lpc_ich ioatdma ipmi_si 8250_fintek ipmi_msghandler 8021q garp mrp stp llc bonding wmi shpchp mac_hid lp parport mlx4_en vxlan ip6_udp_tunnel udp_tunnel hid_generic ahci igb libahci mpt2sas usbhid i2c_algo_bit dca hid raid_class ptp mlx4_core scsi_transport_sas pps_core Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.550984] CPU: 4 PID: 30304 Comm: kworker/4:1 Tainted: G C OE 4.1.0-040100-generic #201506220235 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.551034] Hardware name: Supermicro X9DRD-7LN4F(-JBOD)/X9DRD-EF/X9DRD-7LN4F, BIOS 3.0a 12/05/2013 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.551095] Workqueue: xcopy_wq target_xcopy_do_work [target_core_mod] Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.551126] task: ffff880842059e30 ti: ffff880841040000 task.ti: ffff880841040000 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.551170] RIP: 0010:[<ffffffffc0438529>] [<ffffffffc0438529>] sbc_check_prot+0x49/0x210 [target_core_mod] Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.551228] RSP: 0018:ffff880841043b88 EFLAGS: 00010246 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.551254] RAX: 0000000000000400 RBX: ffff8808438a3408 RCX: 0000000000000400 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.551298] RDX: ffff8808438a34f8 RSI: 0000000000000000 RDI: 0000000000000000 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.551341] RBP: ffff880841043bc8 R08: 0000000000000000 R09: 0000000000000001 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.551384] R10: 0000000001970000 R11: 0000000000000002 R12: 0000000000000000 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.551428] R13: ffff8810488d8000 R14: ffffffffc02832c0 R15: 0000000000000400 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554058] FS: 0000000000000000(0000) GS:ffff88085fb00000(0000) knlGS:0000000000000000 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554103] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554131] CR2: 0000000000000010 CR3: 0000000001e0f000 CR4: 00000000001407e0 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554174] Stack: Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554195] e2f9859a47051b50 ffff8808599e0030 ffff880841043bb8 ffff8808438a34f8 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554246] ffff8808438a3408 ffff8810488d8000 ffffffffc02832c0 0000000000000400 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554296] ffff880841043c28 ffffffffc043928a ffff880841043c98 000400ffc04cf85b Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554347] Call Trace: Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554380] [<ffffffffc043928a>] sbc_parse_cdb+0x66a/0xa20 [target_core_mod] Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554427] [<ffffffffc027f195>] iblock_parse_cdb+0x15/0x20 [target_core_iblock] Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554481] [<ffffffffc0432950>] target_setup_cmd_from_cdb+0x1c0/0x260 [target_core_mod] Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554537] [<ffffffffc04411bd>] target_xcopy_setup_pt_cmd+0x8d/0x170 [target_core_mod] Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554591] [<ffffffffc0441b16>] target_xcopy_read_source.isra.12+0x126/0x220 [target_core_mod] Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554647] [<ffffffffc0441f01>] target_xcopy_do_work+0xf1/0x370 [target_core_mod] Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554696] [<ffffffffc07a571d>] ? rbd_queue_workfn+0x2dd/0x440 [rbd] Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554730] [<ffffffff81096414>] process_one_work+0x144/0x490 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554759] [<ffffffff81096e7e>] worker_thread+0x11e/0x460 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554787] [<ffffffff81096d60>] ? create_worker+0x1f0/0x1f0 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554816] [<ffffffff8109ce59>] kthread+0xc9/0xe0 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554844] [<ffffffff8109cd90>] ? flush_kthread_worker+0x90/0x90 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554875] [<ffffffff8180d6a2>] ret_from_fork+0x42/0x70 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554903] [<ffffffff8109cd90>] ? flush_kthread_worker+0x90/0x90 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.554931] Code: 7d f8 49 89 fd 4c 89 65 e0 44 0f b6 62 01 41 89 cf 48 8b be 80 00 00 00 41 8b b5 18 04 00 00 41 c0 ec 05 48 83 bb f0 01 00 00 00 <8b> 4f 10 41 89 f6 74 0a 8b 83 f8 01 00 00 85 c0 75 14 45 84 e4 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.555149] RIP [<ffffffffc0438529>] sbc_check_prot+0x49/0x210 [target_core_mod] Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.555203] RSP <ffff880841043b88> Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.555226] CR2: 0000000000000010 Sep 1 11:46:21 roc-4r-scd212 kernel: [938393.555505] ---[ end trace f8dce4845a413396 ]--- Sep 1 11:46:30 roc-4r-scd212 kernel: [938393.569058] BUG: unable to handle kernel paging request at ffffffffffffffd8 Sep 1 11:46:30 roc-4r-scd212 kernel: [938393.569189] IP: [<ffffffff8109d220>] kthread_data+0x10/0x20 Sep 1 11:46:30 roc-4r-scd212 kernel: [938393.569281] PGD 1e12067 PUD 1e14067 PMD 0 Sep 1 11:46:30 roc-4r-scd212 kernel: [938393.569435] Oops: 0000 [#2] SMP Sep 1 11:46:30 roc-4r-scd212 kernel: [938393.569554] Modules linked in: target_core_user uio rbd libceph libcrc32c iscsi_target_mod target_core_file target_core_pscsi target_core_iblock target_core_mod configfs xt_multiport iptable_filter ip_tables x_tables enhanceio_rand(OE) enhanceio_lru(OE) enhanceio_fifo(OE) enhanceio(OE) ipmi_devintf ipmi_ssif x86_pkg_temp_thermal intel_powerclamp coretemp kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd sb_edac joydev edac_core mei_me mei lpc_ich ioatdma ipmi_si 8250_fintek ipmi_msghandler 8021q garp mrp stp llc bonding wmi shpchp mac_hid lp parport mlx4_en vxlan ip6_udp_tunnel udp_tunnel hid_generic ahci igb libahci mpt2sas usbhid i2c_algo_bit dca hid raid_class ptp mlx4_core scsi_transport_sas pps_core uname -r Linux roc-4r-scd212 4.1.0-040100-generic #201506220235 SMP Mon Jun 22 06:36:19 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux Thank you, Alex -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html