BUSE
BUSE copied to clipboard
Kernel crash in failover testing
Hey,
I ran into kernel crash while testing BUSE failover. Here is the stack dump I see on my Ubuntu-16.04 box.
[65092.911201] ------------[ cut here ]------------
[65092.911209] kernel BUG at /build/linux-0XAgc4/linux-4.4.0/fs/buffer.c:3005!
[65092.911212] invalid opcode: 0000 [#1] SMP
[65092.911215] Modules linked in: nbd ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 xt_addrtype iptable_filter ip_tables xt_conntrack x_tables nf_nat nf_conntrack br_netfilter bridge stp llc aufs binfmt_misc snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp hp_wmi sparse_keymap kvm_intel kvm snd_hda_codec_realtek input_leds snd_hda_codec_generic irqbypass snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm serio_raw sb_edac edac_core snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd lpc_ich mei_me soundcore mei shpchp tpm_infineon 8250_fintek mac_hid ib_iser rdma_cm iw_cm ib_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp libiscsi_tcp libiscsi
[65092.911288] scsi_transport_iscsi parport_pc ppdev lp parport autofs4 btrfs raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_generic usbhid hid crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel nouveau aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd mxm_wmi video i2c_algo_bit ttm drm_kms_helper e1000e psmouse syscopyarea sysfillrect sysimgblt fb_sys_fops ptp ahci drm pps_core libahci wmi fjes
[65092.912379] CPU: 5 PID: 148020 Comm: ls Not tainted 4.4.0-78-generic #99-Ubuntu
[65092.913112] Hardware name: Hewlett-Packard HP Z440 Workstation/212B, BIOS M60 v02.31 12/14/2016
[65092.913848] task: ffff8807e7eee200 ti: ffff8807e7690000 task.ti: ffff8807e7690000
[65092.914580] RIP: 0010:[
Issue can be reproduced with following commands, modprobe nbd ./busexmp /dev/nbd0 mkfs.ext4 /dev/nbd0 mount /dev/nbd0 /mnt while true; do ls /mnt/; done & kill -9 < pid of busexmp parent process > ./busexmp /dev/nbd0 [[ Restarting busexmp causes the kernel crash ]]
In general, is the failover of busexmp/nbd driver supported? I saw similar crash with nbd-server/client as well, so this crash might not be specific to BUSE.
Thanks, Mehul.