IAX enabled in BIOS may cause soft lockup during RHEL9 install
Issue
IAXenabled inBIOSis potentially going to run into an issue with theiaa_cryptodriver when it is loaded and enabled, resulting in a soft lockup:
[ 35.053937] watchdog: BUG: soft lockup - CPU#83 stuck for 22s! [cryptomgr_test:2616]
[ 35.054304] Modules linked in: coretemp(+) kvm_intel kvm iaa_crypto(+) cxl_pmem irqbypass libnvdimm intel_rapl_tpmi intel_uncore_frequency_tpmi isst_tpmi intel_rapl_common isst_tpmi_core intel_uncore_frequency_common cxl_port iTCO_wdt pmt_telemetry iTCO_vendor_support intel_vsec_tpmi intel_sdsi pmt_class ipmi_ssif intel_uncore pcspkr acpi_ipmi isst_if_mmio ipmi_si isst_if_common idxd i2c_i801 ipmi_devintf i2c_smbus intel_vsec idxd_bus cxl_acpi cxl_core ipmi_msghandler joydev xfs libcrc32c rndis_host cdc_ether usbnet r8152 mii ast drm_shmem_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops nvme crct10dif_pclmul qat_4xxx crc32_pclmul drm crc32c_intel nvme_core igb intel_qat ghash_clmulni_intel nvme_common dca t10_pi wmi i2c_algo_bit crc8 dm_mirror dm_region_hash dm_log dm_mod fuse
[ 35.054339] CPU: 83 PID: 2616 Comm: cryptomgr_test Not tainted 5.14.0-427.17.1.el9_4.x86_64 #1
[ 35.054341] Hardware name: Supermicro Super Server/X14SBH, BIOS 1.0 05/20/2024
[ 35.054342] RIP: 0010:check_completion.constprop.0+0x21/0x120 [iaa_crypto]
[ 35.054351] Code: 90 90 90 90 90 90 90 90 90 48 c7 c0 b5 c0 d5 c1 84 d2 48 c7 c1 ac c0 d5 c1 53 48 0f 44 c8 0f b6 06 48 89 f3 84 c0 75 09 f3 90 <0f> b6 03 84 c0 74 f7 0f b6 33 31 c0 40 80 fe 01 74 52 0f b6 03 3c
[ 35.054353] RSP: 0000:ffffbbb3c4b33c48 EFLAGS: 00000246
[ 35.054354] RAX: 0000000000000000 RBX: ffff9afbd571d000 RCX: ffffffffc1d5c0ac
[ 35.054356] RDX: 0000000000000001 RSI: ffff9afbd571d000 RDI: ffff9afb8b7b50c0
[ 35.054356] RBP: ffff9afbb7835800 R08: 0000000000000000 R09: 0000000123d8aa00
[ 35.054357] R10: fffff1b2048f6280 R11: 0000000190f1dcc0 R12: ffff9afb8b7b50c0
[ 35.054358] R13: 0000000000000000 R14: ffff9afd218c0000 R15: 0000000000000000
[ 35.054359] FS: 0000000000000000(0000) GS:ffff9bf6fdec0000(0000) knlGS:0000000000000000
[ 35.054361] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 35.054362] CR2: 0000565425ea8000 CR3: 0000000109c76003 CR4: 0000000000770ee0
[ 35.054363] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 35.054363] DR3: 0000000000000000 DR6: 00000000ffff07f0 DR7: 0000000000000400
[ 35.054364] PKRU: 55555554
[ 35.054365] Call Trace:
[ 35.054367] <IRQ>
[ 35.054368] ? show_trace_log_lvl+0x1c4/0x2df
[ 35.054374] ? show_trace_log_lvl+0x1c4/0x2df
[ 35.054377] ? iaa_compress+0x13c/0x310 [iaa_crypto]
[ 35.054381] ? watchdog_timer_fn+0x1b2/0x210
[ 35.054384] ? __pfx_watchdog_timer_fn+0x10/0x10
[ 35.054385] ? __hrtimer_run_queues+0x127/0x2c0
[ 35.054389] ? hrtimer_interrupt+0xfc/0x210
[ 35.054391] ? __sysvec_apic_timer_interrupt+0x5c/0x110
[ 35.054395] ? sysvec_apic_timer_interrupt+0x6d/0x90
[ 35.054399] </IRQ>
[ 35.054400] <TASK>
[ 35.054401] ? asm_sysvec_apic_timer_interrupt+0x16/0x20
[ 35.054405] ? check_completion.constprop.0+0x21/0x120 [iaa_crypto]
[ 35.054408] iaa_compress+0x13c/0x310 [iaa_crypto]
[ 35.054411] iaa_comp_acompress+0x2d8/0x580 [iaa_crypto]
[ 35.054415] ? acomp_request_alloc+0x1a/0x50
[ 35.054419] test_acomp+0x273/0x4b0
[ 35.054422] alg_test_comp+0x9c/0xc0
[ 35.054424] alg_test+0x37b/0x520
[ 35.054426] ? save_fpregs_to_fpstate+0x17/0x50
[ 35.054429] ? finish_task_switch.isra.0+0x8c/0x2a0
[ 35.054432] ? __schedule+0x223/0x550
[ 35.054435] ? try_to_wake_up+0x3e2/0x5d0
[ 35.054437] ? __pfx_cryptomgr_test+0x10/0x10
[ 35.054439] cryptomgr_test+0x20/0x40
[ 35.054440] kthread+0xdd/0x100
[ 35.054443] ? __pfx_kthread+0x10/0x10
[ 35.054445] ret_from_fork+0x29/0x50
Environment
- Red Hat Enterprise Linux 9.4
- kernel-5.14.0-427.el9 and newer
- Sierra Forrest(SRF) CPU based system
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.