[Kernel-packages] [Bug 1755393] Re: hot-add CPU cause VM with ubuntu-16.04.4-desktop-64bit / ubuntu-18.04-desktop hang
This bug was initially opened for Artful, but it is now EOL as is the 4.13 kernel. Can you confirm this bug still exists in Bionic(18.04)? ** Changed in: linux (Ubuntu) Status: Incomplete => Triaged ** Changed in: linux (Ubuntu) Importance: Undecided => High ** Tags removed: artful ** Tags added: bionic ** Also affects: linux (Ubuntu Bionic) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Bionic) Status: New => Triaged ** Changed in: linux (Ubuntu Bionic) Importance: Undecided => High ** Changed in: linux (Ubuntu Bionic) Assignee: (unassigned) => Joseph Salisbury (jsalisbury) ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Joseph Salisbury (jsalisbury) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1755393 Title: hot-add CPU cause VM with ubuntu-16.04.4-desktop-64bit / ubuntu-18.04-desktop hang Status in linux package in Ubuntu: Triaged Status in linux source package in Bionic: Triaged Bug description: hot-add CPU cause VM with ubuntu-16.04.4-desktop-64bit hang in ESXi Reproduce: - 1. create VM with EFI firewall in ESXi 2. install geustOS with ubuntu16.04.4-dsktop-64bit image. 3. reboot it after finish installation 4. edit VM setting and enable hot-add CPU and memory 5. edit VM setting and set default 1 vCPU to 2 6. open a terminal and run script to enable vcpu1: "sudo ~/rescanCpu.sh" 7. check the cpu number with command "cat /proc/cpuinfo" in terminal. but there is not output message for this command. click anywhere on VM desktop, there is no response. It seems like VM hang. From vmware developer's analysis: Looks to me like Ubuntu's problem. It noticed at 566 seconds after boot that CPU1 was hot-added. Then perhaps you run code to online CPU, and doing so ended up with warning at blk-mq.c: Mar 6 17:41:33 vmware-virtual-machine kernel: [ 566.583896] CPU1 has been hot-added Mar 6 17:42:17 vmware-virtual-machine CommAmqpListener[2376]: Initializing CommAmqpListener Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.431990] SMP alternatives: switching to SMP code Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.487612] x86: Booting SMP configuration: Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.487616] smpboot: Booting Node 0 Processor 1 APIC 0x2 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.489517] Disabled fast string operations Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.492082] smpboot: CPU 1 Converting physical 2 to logical package 1 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.493162] Will online and init hotplugged CPU: 1 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.524713] [ cut here ] Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.524726] WARNING: CPU: 1 PID: 2402 at /build/linux-hwe-4GXcua/linux-hwe-4.13.0/block/blk-mq.c:1106 __blk_mq_run_hw_queue+0x7b/0xa0 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.524727] Modules linked in: vmw_vsock_vmci_transport vsock nls_iso8859_1 vmw_balloon sb_edac crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd glue_helpe r cryptd intel_rapl_perf joydev input_leds serio_raw shpchp vmw_vmci i2c_piix4 nfit tpm_crb mac_hid parport_pc ppdev lp parport autofs4 vmw_pvscsi vmwgfx ttm drm_kms_helper psmouse syscopyarea sysfillrect sysimgblt fb_sys_fops mptspi mptscsih drm mptbase nvme nvme_core vmxnet3 scsi_transport_spi ahci libahci pata_acpi floppy Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525006] CPU: 1 PID: 2402 Comm: kworker/1:0H Not tainted 4.13.0-36-generic #40~16.04.1-Ubuntu Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525008] Hardware name: VMware, Inc. VMware7,1/440BX Desktop Reference Platform, BIOS VMW71.00V.7915097.B64.1802282254 02/28/2018 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525013] Workqueue: kblockd blk_mq_run_work_fn Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525016] task: 8ab5326b task.stack: a694441d8000 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525021] RIP: 0010:__blk_mq_run_hw_queue+0x7b/0xa0 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525023] RSP: 0018:a694441dbe38 EFLAGS: 00010202 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525026] RAX: 0001 RBX: 8ab50b4edc00 RCX: 8ab53c662760 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525028] RDX: 8ab50b9cba60 RSI: 8ab50b4edc40 RDI: 8ab50b4edc00 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525029] RBP: a694441dbe50 R08: R09: 0001 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525031] R10: 02e2 R11: 029b
[Kernel-packages] [Bug 1755393] Re: hot-add CPU cause VM with ubuntu-16.04.4-desktop-64bit / ubuntu-18.04-desktop hang
** Also affects: linux (Ubuntu) Importance: Undecided Status: New ** No longer affects: kernel-package (Ubuntu) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1755393 Title: hot-add CPU cause VM with ubuntu-16.04.4-desktop-64bit / ubuntu-18.04-desktop hang Status in linux package in Ubuntu: Incomplete Bug description: hot-add CPU cause VM with ubuntu-16.04.4-desktop-64bit hang in ESXi Reproduce: - 1. create VM with EFI firewall in ESXi 2. install geustOS with ubuntu16.04.4-dsktop-64bit image. 3. reboot it after finish installation 4. edit VM setting and enable hot-add CPU and memory 5. edit VM setting and set default 1 vCPU to 2 6. open a terminal and run script to enable vcpu1: "sudo ~/rescanCpu.sh" 7. check the cpu number with command "cat /proc/cpuinfo" in terminal. but there is not output message for this command. click anywhere on VM desktop, there is no response. It seems like VM hang. From vmware developer's analysis: Looks to me like Ubuntu's problem. It noticed at 566 seconds after boot that CPU1 was hot-added. Then perhaps you run code to online CPU, and doing so ended up with warning at blk-mq.c: Mar 6 17:41:33 vmware-virtual-machine kernel: [ 566.583896] CPU1 has been hot-added Mar 6 17:42:17 vmware-virtual-machine CommAmqpListener[2376]: Initializing CommAmqpListener Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.431990] SMP alternatives: switching to SMP code Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.487612] x86: Booting SMP configuration: Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.487616] smpboot: Booting Node 0 Processor 1 APIC 0x2 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.489517] Disabled fast string operations Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.492082] smpboot: CPU 1 Converting physical 2 to logical package 1 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.493162] Will online and init hotplugged CPU: 1 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.524713] [ cut here ] Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.524726] WARNING: CPU: 1 PID: 2402 at /build/linux-hwe-4GXcua/linux-hwe-4.13.0/block/blk-mq.c:1106 __blk_mq_run_hw_queue+0x7b/0xa0 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.524727] Modules linked in: vmw_vsock_vmci_transport vsock nls_iso8859_1 vmw_balloon sb_edac crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd glue_helpe r cryptd intel_rapl_perf joydev input_leds serio_raw shpchp vmw_vmci i2c_piix4 nfit tpm_crb mac_hid parport_pc ppdev lp parport autofs4 vmw_pvscsi vmwgfx ttm drm_kms_helper psmouse syscopyarea sysfillrect sysimgblt fb_sys_fops mptspi mptscsih drm mptbase nvme nvme_core vmxnet3 scsi_transport_spi ahci libahci pata_acpi floppy Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525006] CPU: 1 PID: 2402 Comm: kworker/1:0H Not tainted 4.13.0-36-generic #40~16.04.1-Ubuntu Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525008] Hardware name: VMware, Inc. VMware7,1/440BX Desktop Reference Platform, BIOS VMW71.00V.7915097.B64.1802282254 02/28/2018 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525013] Workqueue: kblockd blk_mq_run_work_fn Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525016] task: 8ab5326b task.stack: a694441d8000 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525021] RIP: 0010:__blk_mq_run_hw_queue+0x7b/0xa0 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525023] RSP: 0018:a694441dbe38 EFLAGS: 00010202 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525026] RAX: 0001 RBX: 8ab50b4edc00 RCX: 8ab53c662760 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525028] RDX: 8ab50b9cba60 RSI: 8ab50b4edc40 RDI: 8ab50b4edc00 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525029] RBP: a694441dbe50 R08: R09: 0001 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525031] R10: 02e2 R11: 029b R12: 8ab5310d69c0 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525032] R13: 8ab53c662740 R14: 8ab53c668300 R15: Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525036] FS: () GS:8ab53c64() knlGS: Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525038] CS: 0010 DS: ES: CR0: 80050033 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525039] CR2: 7ff14dd7ab00 CR3: 1180a002 CR4: 001606e0 Mar 6 17:42:17 vmware-virtual-machine kernel: [ 610.525140] Call Trace: Mar 6 17:42:17 vmware-virtual-machine