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 aesni_intel aes_x86_64 
crypto_simd glue_helper cryptd mptsas vmwgfx mptscsih psmouse ttm 
drm_kms_helper mptbase scsi_transport_sas syscopyarea sysfillrect sysimgblt 
fb_sys_fops vmxnet3 ahci libahci drm i2c_piix4 pata_acpi floppy
[  163.297189] CPU: 0 PID: 307 Comm: kworker/u256:27 Not tainted 
4.15.0-10-generic #11-Ubuntu
[  163.297191] Hardware name: VMware, Inc. VMware7,1/440BX Desktop Reference 
Platform, BIOS VMW71.00V.7915097.B64.1802282254 02/28/2018
[  163.297197] Workqueue: pciehp-224 pciehp_power_thread
[  163.297202] RIP: 0010:__free_irq+0xab/0x2a0
[  163.297204] RSP: 0018:ffffbfe400ddfc60 EFLAGS: 00010082
[  163.297207] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000006
[  163.297208] RDX: 0000000000000007 RSI: 0000000000000082 RDI: ffff9a283b616450
[  163.297210] RBP: ffffbfe400ddfc98 R08: 0000000000000001 R09: 00000000000006b4
[  163.297211] R10: 0000000000000040 R11: 0000000000000000 R12: 0000000000000010
[  163.297213] R13: ffff9a2834cfd7a8 R14: ffff9a27cd5f56a4 R15: ffff9a27cd5f5600
[  163.297216] FS:  0000000000000000(0000) GS:ffff9a283b600000(0000) 
knlGS:0000000000000000
[  163.297218] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  163.297220] CR2: 00007f28b8dc7228 CR3: 000000002260a006 CR4: 00000000001606f0
[  163.297310] Call Trace:
[  163.297320]  free_irq+0x35/0x70
[  163.297326]  pvscsi_shutdown_intr+0x25/0x40 [vmw_pvscsi]
[  163.297330]  pvscsi_release_resources+0x16/0x260 [vmw_pvscsi]
[  163.297334]  pvscsi_remove+0x37/0x50 [vmw_pvscsi]
[  163.297338]  pci_device_remove+0x3e/0xb0
[  163.297343]  device_release_driver_internal+0x15b/0x220
[  163.297346]  device_release_driver+0x12/0x20
[  163.297349]  pci_stop_bus_device+0x7f/0xa0
[  163.297352]  pci_stop_and_remove_bus_device+0x12/0x20
[  163.297356]  pciehp_unconfigure_device+0x80/0x1d0
[  163.297359]  pciehp_disable_slot+0x57/0xd0
[  163.297362]  pciehp_power_thread+0x8a/0xa0
[  163.297366]  process_one_work+0x1ef/0x410
[  163.297368]  worker_thread+0x32/0x410
[  163.297373]  kthread+0x121/0x140
[  163.297376]  ? process_one_work+0x410/0x410
[  163.297380]  ? kthread_create_worker_on_cpu+0x70/0x70
[  163.297387]  ret_from_fork+0x35/0x40
[  163.297389] Code: 39 6a 08 75 0e e9 bf 01 00 00 4c 39 6b 08 74 5a 48 89 da 
48 8b 5a 18 48 85 db 75 ee 44 89 e6 48 c7 c7 60 d2 8c 91 e8 e5 be f9 ff <0f> ff 
48 8b 75 c8 4c 89 f7 e8 b7 b7 8a 00 49 8b 47 40 48 8b 80 
[  163.297437] ---[ end trace 3328408c9b7dcf37 ]---
[  163.360308] pciehp 0000:00:17.0:pcie004: Slot(224): Link Down
[  164.383316] pciehp 0000:00:17.0:pcie004: Slot(224): Already disabled

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1727263

Title:
  kernel crash when hot-remove pvscsi controller

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kernel-package/+bug/1727263/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to