Hello,
I have recently investigated what appears to be the same IOCK NMI
problem on my HP ProLiant MicroServer Gen8 after migrating from Ubuntu
24.04 LTS to Proxmox VE.
I have found a promising workaround involving the Matrox mgag200
graphics driver and wanted to share my findings, as they may help narrow
down the cause of this issue.
*Hardware configuration*
*
HP ProLiant MicroServer Gen8
*
Intel Xeon E3-1230 v2
*
16 GB RAM
*
BIOS J06 04/04/2019
*
CPU microcode 0x21
*
HPE iLO 4
*
Matrox MGA G200EH [102b:0533]
*
Graphics subsystem: Hewlett-Packard Company iLO4 [103c:3381]
*
Graphics PCI address: 0000:01:00.1
*
Mellanox ConnectX-4 Lx Ethernet controller
*
Broadcom BCM5720 Ethernet controller
*
Renesas uPD720201 USB 3.0 controller
*Symptoms*
Following the migration to Proxmox VE, the server repeatedly generated
the following kernel errors:
|NMI: IOCK error (debug interrupt?) for reason 61 on CPU 0.|
and:
|NMI: IOCK error (debug interrupt?) for reason 71 on CPU 0.|
The interrupted execution context was commonly swapper/0, with
intel_idle appearing in the stack trace.
The iLO Integrated Management Log recorded:
|User Initiated NMI Switch|
and:
|Unrecoverable System Error (NMI) has occurred. System Firmware will log
additional details in a separate IML entry if possible.|
No NMI switch had been intentionally operated.
The hardware-health indicator would begin flashing red. Unlike some
reports of this issue, my server generally remained operational and
accessible through SSH.
The problem was reproducible within approximately one to three hours
after boot, including when all virtual machines on the affected host
were stopped.
*Previous Ubuntu installation*
The same physical machine previously ran Ubuntu 24.04 LTS using kernels
including 6.8.0-142-generic and 6.8.0-147-generic.
I examined the archived system journals from that installation and found
operating periods lasting days or weeks without the IOCK errors.
The original Ubuntu installation had the mgag200 driver enabled:
|mgag200 0000:01:00.1: vgaarb: deactivate vga console [drm] Initialized
mgag200 1.0.0 20110418 for 0000:01:00.1 on minor 0 fbcon: mgag200drmfb
(fb0) is primary device|
The CPU, BIOS, microcode and installed PCIe hardware remained unchanged
between Ubuntu and Proxmox.
*Troubleshooting and test results*
I initially investigated CPU idle-state handling because of the
intel_idle stack traces.
However, testing the Proxmox 6.14 kernel with idle=nomwait, which
changed the active idle driver to acpi_idle, did not prevent the problem.
I subsequently booted Ubuntu 24.04.1 Desktop Live directly on the
physical machine using kernel 6.8.0-41-generic and the nomodeset
parameter. It remained stable for more than four hours, exceeding the
normal failure window.
This prompted me to test graphics modesetting on the affected Proxmox
kernels.
Results:
|Kernel Parameter Result ------------------ ------------------
------------------------- 7.0.2-6-pve Default IOCK NMI 7.0.14-30-pve
Default IOCK NMI 6.14.11-9-pve Default NMI after approx. 2h 31m
6.14.11-9-pve idle=nomwait NMI after approx. 2h 15m 6.8.0-41-generic
nomodeset 4+ hours without NMI 6.14.11-9-pve nomodeset 24h 4m without
NMI 6.14.11-9-pve mgag200.modeset=0 22+ hours without NMI 7.0.14-30-pve
mgag200.modeset=0 24h 2m without NMI|
The successful Proxmox nomodeset test also prevented automatic guest
startup using systemd.mask=pve-guests.service. However, the subsequent
targeted mgag200 tests did not require this additional parameter.
The earlier successful tests were deliberately ended to proceed with
further testing, rather than because of a failure. The current
7.0.14-30-pve test remains ongoing.
*Targeted workaround*
The following kernel parameter appears to prevent the issue on my system:
|mgag200.modeset=0|
I verified that the parameter is supported by all three tested Proxmox
kernels using:
|for kernel in 7.0.14-30-pve 7.0.2-6-pve 6.14.11-9-pve; do modinfo -k
"$kernel" -p mgag200 done|
Each kernel returned:
|modeset:Disable/Enable modesetting (int)|
My current kernel command line is:
|BOOT_IMAGE=/boot/vmlinuz-7.0.14-30-pve root=/dev/mapper/pve-root ro
quiet mgag200.modeset=0|
The resulting graphics device configuration is:
|01:00.1 VGA compatible controller [0300]: Matrox Electronics Systems
Ltd. MGA G200EH [102b:0533] Subsystem: Hewlett-Packard Company iLO4
[103c:3381] Kernel modules: mgag200|
There is no "Kernel driver in use" entry, and lsmod confirms that
mgag200 is not loaded.
Normal CPU idle management remains enabled:
|intel_idle POLL disabled=0 C1 disabled=0 C1E disabled=0 C3 disabled=0
C6 disabled=0|
These are the states reported for CPU 0.
The current 7.0.14-30-pve test includes approximately 13½ hours under
normal workloads, including an active virtual machine running 19 Docker
containers and accessing storage over NFS 4.2 backed by a mergerfs
storage pool.
At the latest checkpoint on 26 November 2026:
|Kernel: 7.0.14-30-pve Uptime: 1 day, 2 minutes IOCK / NMI errors: None
recorded|
*Possible relevance to this bug*
I noticed that the original reporter's PCI device listing includes the
same Matrox G200EH device [102b:0533], the same iLO4 subsystem
[103c:3381], and mgag200 bound to the device.
Although I have not directly tested Debian's affected 6.12 kernel, my
results suggest that disabling mgag200 may be worth testing
independently of the CPU idle, watchdog and IOMMU workarounds previously
discussed.
The same hardware was stable with mgag200 enabled under Ubuntu's 6.8
kernel, so there may be a kernel-version-dependent graphics driver
regression or an interaction between the driver and the platform firmware.
I have not identified the precise upstream commit responsible, and I
cannot yet exclude other contributing factors. Nevertheless, the
difference between the repeated failures within three hours and the
successful extended tests with the graphics driver disabled is substantial.
I would be interested to know whether other affected MicroServer Gen8
owners can reproduce this result using mgag200.modeset=0.
I have preserved the successful kernel journals and other diagnostic
information and can provide further logs if they would assist the
investigation.
I will continue monitoring the server under normal workloads.
Kind regards,
--
Shane Hodson
[email protected]
OpenPGP public key: https://keys.openpgp.org/search?q=shane%40huyton.org