kernel crash when hot-remove pvscsi controller

Bug #1727263 reported by vmware-gos-Yuhua
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kernel-package (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I install ubuntu 17.10 Server/Desktop GA in ESXi 6.5GA.
When I edit VM ubuntu 17.10 setting to remove pvscsi controller, the kernel crash immediately.

This is pvscsi driver issue. VMware have submitted the patch upstream into the kernel sources.

vmware-gos-Yuhua (yhzou)
no longer affects: mutter (Ubuntu)
Revision history for this message
vmware-gos-Yuhua (yhzou) wrote :
Download full text (5.6 KiB)

Issue exists with ubuntu18.04 Server 64bit daily build 12-Mar-2018.

After hot-remove PVSCSI controller and type "dmesg" in terminal, we can see:

[ 90.240204] pciehp 0000:00:17.0:pcie004: Slot(224): Attention button pressed
[ 90.240285] pciehp 0000:00:17.0:pcie004: Slot(224): Powering off due to button press
[ 95.523836] pciehp 0000:00:17.0:pcie004: Slot(224): Link Down
[ 96.544292] pciehp 0000:00:17.0:pcie004: Slot(224): Already disabled
[ 135.202312] pciehp 0000:00:17.0:pcie004: Slot(224): Attention button pressed
[ 135.203026] pciehp 0000:00:17.0:pcie004: Slot(224): Link Up
[ 135.206159] pciehp 0000:00:17.0:pcie004: Slot(224) Powering on due to button press
[ 135.324090] pci 0000:13:00.0: [15ad:07c0] type 00 class 0x010700
[ 135.324715] pci 0000:13:00.0: reg 0x10: [io 0x0000-0x0007]
[ 135.325071] pci 0000:13:00.0: reg 0x14: [mem 0x00000000-0x00007fff 64bit]
[ 135.325696] pci 0000:13:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 135.327592] pci 0000:13:00.0: PME# supported from D0 D3hot D3cold
[ 135.332219] pci 0000:13:00.0: disabling ASPM on pre-1.1 PCIe device. You can enable it with 'pcie_aspm=force'
[ 135.332590] pci 0000:13:00.0: BAR 6: assigned [mem 0xfd900000-0xfd90ffff pref]
[ 135.332598] pci 0000:13:00.0: BAR 1: assigned [mem 0xfd910000-0xfd917fff 64bit]
[ 135.332832] pci 0000:13:00.0: BAR 0: assigned [io 0x2000-0x2007]
[ 135.332901] pcieport 0000:00:17.0: PCI bridge to [bus 13]
[ 135.332938] pcieport 0000:00:17.0: bridge window [io 0x2000-0x2fff]
[ 135.333037] pcieport 0000:00:17.0: bridge window [mem 0xfd900000-0xfd9fffff]
[ 135.333104] pcieport 0000:00:17.0: bridge window [mem 0xc0400000-0xc05fffff 64bit pref]
[ 135.357705] VMware PVSCSI driver - version 1.0.7.0-k
[ 135.358116] vmw_pvscsi 0000:13:00.0: enabling device (0000 -> 0003)
[ 135.366120] vmw_pvscsi: using 64bit dma
[ 135.366720] vmw_pvscsi: max_id: 65
[ 135.366723] vmw_pvscsi: setting ring_pages to 32
[ 135.373774] vmw_pvscsi: enabling reqCallThreshold
[ 135.374414] vmw_pvscsi: driver-based request coalescing enabled
[ 135.374418] vmw_pvscsi: using MSI-X
[ 135.374935] scsi host32: VMware PVSCSI storage adapter rev 2, req/cmp/msg rings: 32/32/1 pages, cmd_per_lun=254
[ 135.375290] vmw_pvscsi 0000:13:00.0: VMware PVSCSI rev 2 host #32
[ 158.124152] pciehp 0000:00:17.0:pcie004: Slot(224): Attention button pressed
[ 158.128314] pciehp 0000:00:17.0:pcie004: Slot(224): Powering off due to button press
[ 163.296929] ------------[ cut here ]------------
[ 163.296931] Trying to free already-free IRQ 16
[ 163.296971] WARNING: CPU: 0 PID: 307 at /build/linux-LuqUgo/linux-4.15.0/kernel/irq/manage.c:1552 __free_irq+0xab/0x2a0
[ 163.296974] Modules linked in: vmw_pvscsi vmw_vsock_vmci_transport vsock nls_iso8859_1 vmw_balloon sb_edac intel_rapl_perf input_leds joydev serio_raw shpchp vmw_vmci mac_hid sch_fq_codel ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesn...

Read more...

Revision history for this message
vmware-gos-Yuhua (yhzou) wrote :

This is kernel issue. need to get the patch https://patchwork.kernel.org/patch/9985425/

Revision history for this message
vmware-gos-Yuhua (yhzou) wrote :

This issue is fixed when check ubuntu 19.04 daily build with kernel 5.0.0-7-generic

Changed in kernel-package (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.