Virtual machine hang with softlockup waiting on ioread8/ioread16

Solution Verified - Updated -

Issue

  • System hang with softlockup waiting on ioread8() or ioread16():
NMI watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [pool-283592-thr:10122]
Kernel panic - not syncing: softlockup: hung tasks
NMI watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [pool-283592-thr:10124]
NMI watchdog: BUG: soft lockup - CPU#3 stuck for 23s! [pool-283592-thr:10121]

 #0 [ffff9f77a73c8e48] crash_nmi_callback at ffffffff85258567
 #1 [ffff9f77a73c8e58] nmi_handle at ffffffff8598d93c
 #2 [ffff9f77a73c8eb0] do_nmi at ffffffff8598db5d
 #3 [ffff9f77a73c8ef0] end_repeat_nmi at ffffffff8598cd9c
    [exception RIP: ioread8+22]
    RIP: ffffffff855a1946  RSP: ffff9f723ab4f980  RFLAGS: 00000006
    RAX: ffffffffc01b7750  RBX: ffff9f72f3bec000  RCX: 0023b13d90468d80
    RDX: 0000000000000177  RSI: 0000000000000007  RDI: 0000000000010177
    RBP: ffff9f723ab4f988   R8: 0000000000000010   R9: ffff9f72f3bec198
    R10: ffff9f71b67e8000  R11: 7fffffffffffffff  R12: 00000000000003e8
    R13: 0000000000000000  R14: 0000000000000001  R15: ffff9f72f3bec158
    ORIG_RAX: ffffffffffffffff  CS: 0010  SS: 0018
--- <NMI exception stack> ---
 #4 [ffff9f723ab4f980] ioread8 at ffffffff855a1946
 #5 [ffff9f723ab4f980] ata_sff_check_status at ffffffffc01b7782 [libata]
 #6 [ffff9f723ab4f990] ata_dev_select.constprop.19 at ffffffffc01ba6b7 [libata]
 #7 [ffff9f723ab4f9b8] ata_sff_qc_issue at ffffffffc01ba775 [libata]
 #8 [ffff9f723ab4f9e8] ata_bmdma_qc_issue at ffffffffc01ba953 [libata]
 #9 [ffff9f723ab4fa18] ata_qc_issue at ffffffffc01a5a35 [libata]
#10 [ffff9f723ab4fa70] ata_scsi_queuecmd at ffffffffc01aed38 [libata]
#11 [ffff9f723ab4fab8] scsi_dispatch_cmd at ffffffff856e3e70
#12 [ffff9f723ab4fae0] scsi_request_fn at ffffffff856ed59c
#13 [ffff9f723ab4fb48] __blk_run_queue at ffffffff85553809
#14 [ffff9f723ab4fb60] blk_execute_rq_nowait at ffffffff8555ba45
#15 [ffff9f723ab4fba0] blk_execute_rq at ffffffff8555bb8b
#16 [ffff9f723ab4fc58] scsi_execute at ffffffff856e9ef3
#17 [ffff9f723ab4fc98] scsi_execute_req_flags at ffffffff856ebdce
#18 [ffff9f723ab4fd00] sr_check_events at ffffffffc01eb31c [sr_mod]
#19 [ffff9f723ab4fd70] cdrom_check_events at ffffffffc02a505e [cdrom]
#20 [ffff9f723ab4fd88] sr_block_check_events at ffffffffc01ec091 [sr_mod]
#21 [ffff9f723ab4fdb0] disk_check_events at ffffffff855698d6
#22 [ffff9f723ab4fe10] disk_events_workfn at ffffffff85569a16
#23 [ffff9f723ab4fe20] process_one_work at ffffffff852bddcf
#24 [ffff9f723ab4fe68] worker_thread at ffffffff852beee6
#25 [ffff9f723ab4fec8] kthread at ffffffff852c5da1

Environment

  • Red Hat Enterprise Linux
  • Virtual system

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