After hotunplugging the NVMe device from guest, a call trace message was logged in dmesg

Solution Verified - Updated -

Issue

  • After hotunplugging the NVMe device from guest, a call trace message was logged in dmesg.
[  205.733533] pcieport 0000:00:02.3: Slot(0-3): Attention button pressed
[  205.733612] pcieport 0000:00:02.3: Slot(0-3): Powering off due to button press
[  210.964353] WARNING: CPU: 1 PID: 143 at kernel/irq/chip.c:210 irq_startup+0xde/0xf0
[  210.964411] Modules linked in: nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nf_tables_set nft_chain_nat_ipv6 nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nft_chain_route_ipv6 nft_chain_nat_ipv4 nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack nft_chain_route_ipv4 ip6_tables nft_compat ip_set nf_tables nfnetlink bochs_drm drm_vram_helper ttm iTCO_wdt iTCO_vendor_support drm_kms_helper syscopyarea sysfillrect sysimgblt nvme fb_sys_fops drm joydev nvme_core pcspkr i2c_i801 lpc_ich ip_tables xfs libcrc32c ahci libahci libata serio_raw virtio_net virtio_blk net_failover failover dm_mirror dm_region_hash dm_log dm_mod
[  210.964783] CPU: 1 PID: 143 Comm: irq/27-pciehp Kdump: loaded Tainted: G        W        --------- -  - 4.18.0-159.el8.x86_64 #1
[  210.964848] Hardware name: Red Hat KVM, BIOS 1.12.0-5.module+el8.1.0+4754+8d38b36b 04/01/2014
[  210.964899] RIP: 0010:irq_startup+0xde/0xf0
[  210.964928] Code: 31 f6 4c 89 ef e8 12 2f 00 00 85 c0 75 20 48 89 ee 31 d2 4c 89 ef e8 a1 d8 ff ff 48 89 df e8 b9 fe ff ff 89 c5 e9 59 ff ff ff <0f> 0b eb b9 0f 0b eb b5 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00
[  210.965029] RSP: 0018:ffffb41e40eafbf8 EFLAGS: 00010002
[  210.965061] RAX: 0000000000000004 RBX: ffff945cb3345600 RCX: 0000000000000040
[  210.965102] RDX: 0000000000000000 RSI: ffffffff9460cac0 RDI: ffff945cb332def8
[  210.965144] RBP: ffff945cb332def8 R08: 0000000000000000 R09: ffff945c47800b68
[  210.965185] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
[  210.965226] R13: 0000000000000001 R14: 0000000000000000 R15: ffff945cb819b400
[  210.965268] FS:  0000000000000000(0000) GS:ffff945cbba80000(0000) knlGS:0000000000000000
[  210.965330] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  210.965365] CR2: 0000563d5d2f9308 CR3: 0000000173246000 CR4: 00000000000006e0
[  210.965410] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  210.966863] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  210.968284] Call Trace:
[  210.969688]  enable_irq+0x46/0x90
[  210.970942]  nvme_poll_irqdisable+0x2b7/0x370 [nvme]
[  210.972128]  __nvme_disable_io_queues+0x1b2/0x1f0 [nvme]
[  210.973317]  ? nvme_del_queue_end+0x20/0x20 [nvme]
[  210.974501]  nvme_dev_disable+0x172/0x220 [nvme]
[  210.975692]  nvme_remove+0x6d/0x170 [nvme]
[  210.976881]  pci_device_remove+0x3b/0xc0
[  210.978066]  device_release_driver_internal+0xe4/0x1d0
[  210.979249]  pci_stop_bus_device+0x69/0x90
[  210.980062]  pci_stop_and_remove_bus_device+0xe/0x20
[  210.980548]  pciehp_unconfigure_device+0x7c/0x130
[  210.981028]  pciehp_disable_slot+0x6b/0x120
[  210.981514]  pciehp_handle_disable_request+0x3b/0x60
[  210.981995]  pciehp_ist+0x11b/0x1c0
[  210.982481]  ? irq_finalize_oneshot.part.42+0xf0/0xf0
[  210.982963]  irq_thread_fn+0x1f/0x50
[  210.983450]  irq_thread+0xe7/0x170
[  210.983930]  ? irq_forced_thread_fn+0x70/0x70
[  210.984420]  ? irq_thread_check_affinity+0xe0/0xe0
[  210.984905]  kthread+0x112/0x130
[  210.985397]  ? kthread_flush_work_fn+0x10/0x10
[  210.985878]  ret_from_fork+0x35/0x40
[  210.986355] ---[ end trace 5d70a9183df370a9 ]---

Environment

  • Red Hat Enterprise Linux 8.2
  • QEMU-KVM

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content