HAOS 18.3 OVA on Proxmox: recurring RCU CPU stalls / 20–42 s guest stalls causing I/O timeouts

Author: speedycarsCreated Sep 23, 2026Updated Sep 23, 2026

Describe the issue you are experiencing

Summary

Home Assistant OS 18.3 running as an OVA/KVM VM on Proxmox VE periodically experiences kernel RCU stalls in which one or more guest vCPUs appear to stop making progress for tens of seconds.

The VM recovers without a reboot, but latency-sensitive userspace I/O fails during the stall.

I originally discovered this while troubleshooting intermittent Zigbee2MQTT coordinator failures. Further investigation showed that two recent Zigbee2MQTT failures occurred at exactly the same timestamps as HAOS kernel RCU stalls.

This therefore appears to be a guest/kernel scheduling or vCPU progress issue rather than primarily a Zigbee problem.

Environment

  • Home Assistant OS: 18.3
  • Board/image: OVA
  • HAOS kernel: 6.18.52-haos
  • Hypervisor: Proxmox VE 9.2.20
  • Proxmox host kernel: 7.0.14-19-pve
  • qemu-server: 9.2.8
  • pve-qemu-kvm: 11.0.3-3
  • VM firmware: OVMF
  • Machine type: q35
  • VM CPU type: host
  • vCPUs: 2
  • VM RAM: 5120 MB
  • Storage controller: virtio-scsi-single, iothread=1
  • Host CPU: Intel Core i5-8400T (6 physical cores, no SMT)
  • Host RAM: 32 GiB
  • KVM Intel APICv: disabled (/sys/module/kvm_intel/parameters/enable_apicv = N)

The Proxmox host itself remains responsive during the HAOS stalls and does not log corresponding kernel, QEMU, USB, storage, OOM, or other errors.

Confirmed events

Event 1

Zigbee2MQTT failure: 2026-09-23 01:33:42 EEST = 2026-09-22 22:33:42 UTC in HAOS host journal

At exactly 22:33:42.891 UTC HAOS reports:

rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu:      0-...!: (0 ticks this GP) idle=d61c/1/0x4000000000000000 softirq=864963/864963 fqs=111
rcu:      (detected by 1, t=21002 jiffies, g=1508685, q=9 ncpus=2)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 104207 Comm: python3 Not tainted 6.18.52-haos #1 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009)
RIP: 0010:clear_page_erms+0xb/0x20

The call trace includes:

get_page_from_freelist
__alloc_frozen_pages_noprof
alloc_pages_mpol
vma_alloc_folio_noprof
folio_prealloc
__handle_mm_fault
handle_mm_fault
do_user_addr_fault
exc_page_fault

and then:

rcu: rcu_preempt kthread starved for 20540 jiffies!
rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.

At exactly the same local time Zigbee2MQTT's Ember/ASH serial protocol fails because the coordinator does not receive host acknowledgements in time:

ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT
ASH disconnected | Adapter status: ASH_NCP_FATAL_ERROR

Its ASH counters are otherwise clean:

Retry frames:    RX=13, TX=0
Retry dupes:     RX=13
CRC errors:      RX=0
Comm errors:     RX=0
Bad ACK numbers: RX=0
Out of sequence: RX=0

Event 2

Zigbee2MQTT failure: 2026-09-23 05:47:08 EEST = 2026-09-23 02:47:08 UTC in HAOS host journal

HAOS again reports:

rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:

and at 02:47:08.170:

clocksource: Long readout interval, skipping watchdog check:
cs_nsec: 42427707528
wd_nsec: 42427704217

This corresponds to approximately 42.43 seconds.

Again, Zigbee2MQTT failed at exactly 05:47:08 local time with:

ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT

and again the ASH transport counters were:

Retry frames:    RX=13
Retry dupes:     RX=13
CRC errors:      RX=0
Comm errors:     RX=0
Bad ACK numbers: RX=0
Out of sequence: RX=0

Additional HAOS timing anomalies

The host journal also contains other Long readout interval events that did not necessarily result in the Zigbee2MQTT failure, including:

2026-09-22 19:02:52.921
cs_nsec: 18568200616

and:

2026-09-22 19:43:11.781
cs_nsec: 15916127192

So the RCU/clocksource problem appears broader than the Zigbee symptom.

Isolation already performed

The Zigbee coordinator has been tested through two completely different VM transport paths:

  1. Full QEMU USB passthrough of the USB coordinator.
  2. Physical USB device owned by the Proxmox host via cdc_acm, passed to the VM as a QEMU serial port (serial1 -> /dev/ttyS1).

The same ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT failure occurs with both.

With the second configuration the serial protocol is completely clean (zero CRC, framing, communication and sequencing errors), but it still fails when HAOS experiences the RCU stall.

This makes USB passthrough / USB corruption unlikely to explain these particular failures.

The VM CPU model was also temporarily changed from host to x86-64-v3. The problem still occurred, so it has been restored to host.

APICv is already disabled on the Proxmox host.

Proxmox host observations

Proxmox remains responsive during the events.

Both the kernel journal and the complete journal were checked around the exact timestamps. No KVM/QEMU, USB, storage, memory/OOM or other host-side errors were present.

There is a custom service that periodically checks whether an RTL8156 USB NIC is still attached to its Linux bridge. It executes every ~6 seconds, but its dedicated recovery log contains no entries during the relevant period, meaning no recovery/reattach action occurred.

Impact

The VM recovers, so this is not a permanent kernel hang, but guest execution appears to stop or become severely stalled long enough to break latency-sensitive protocols and services.

In my case the most visible secondary symptom is Zigbee2MQTT losing its coordinator connection and restarting.

Possibly related issue

This may be related in failure class, although the exact call path is different:

home-assistant/operating-system#4573

That report also involves an RCU stall and cross-CPU synchronization/smp_call_function behavior, although it occurred on HAOS 17.1 / Linux 6.12 and resulted in a permanent hang rather than a temporary stall.

What operating system image do you use?

ova (for Virtual Machines)

What version of Home Assistant Operating System is installed?

18.3

Did the problem occur after upgrading the Operating System?

No

Hardware details

Proxmox VE 9.2.20 VM on Lenovo ThinkCentre M720Q.

Host:

  • Intel Core i5-8400T, 6 physical cores / 6 threads
  • 32 GiB RAM
  • Proxmox kernel 7.0.14-19-pve
  • pve-qemu-kvm 11.0.3-3
  • qemu-server 9.2.8
  • Intel KVM APICv disabled (enable_apicv=N)

HAOS VM:

  • OVA / amd64
  • OVMF
  • q35
  • CPU type: host
  • 2 vCPUs
  • 5120 MB RAM
  • virtio-scsi-single
  • iothread=1
  • VirtIO network adapter

The Proxmox host has ample free RAM and no meaningful swap activity or CPU/I/O saturation was observed around the events.

Steps to reproduce the issue

There is currently no deterministic manual reproducer.

  1. Run HAOS 18.3 normally as an OVA on the described Proxmox VM.
  2. Leave the VM operating for several hours under its normal Home Assistant workload.
  3. Inspect the HAOS host journal for:
    • rcu_preempt detected stalls on CPUs/tasks
    • rcu_preempt kthread starved
    • clocksource: Long readout interval
  4. In my installation these have occurred intermittently, with intervals ranging from roughly 16 to 42 seconds.
  5. Two RCU stalls were independently detected because a latency-sensitive serial protocol failed at exactly the same timestamps.

The VM normally resumes operation without requiring a reboot.

Anything in the Supervisor logs that might be useful for us?

txt
No obvious Supervisor error precedes the stall. The affected Zigbee2MQTT add-on exits/restarts as a consequence of the serial protocol timing out after the guest stall.

Anything in the Host logs that might be useful for us?

txt
2026-09-23 02:47:08.073 homeassistant kernel: rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
...
2026-09-23 02:47:08.170 homeassistant kernel: clocksource: Long readout interval, skipping watchdog check: cs_nsec: 42427707528 wd_nsec: 42427704217

System information

System Information

version core-2026.9.3
installation_type Home Assistant OS
dev false
hassio true
docker true
container_arch amd64
user root
virtualenv false
python_version 3.14.6
os_name Linux
os_version 6.18.52-haos
arch x86_64
timezone Europe/Sofia
config_dir /config
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
HACS
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 5000
Installed Version 2.0.5
Stage running
Available Repositories 4132
Downloaded Repositories 39
Home Assistant Supervisor
host_os Home Assistant OS 18.3
update_channel stable
supervisor_version supervisor-2026.09.2
agent_version 1.14.0
docker_version 29.7.2
disk_total 30.8 GB
disk_used 20.9 GB
nameservers 192.168.0.2
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization kvm
board ova
supervisor_api ok
version_api ok
installed_addons Mosquitto broker (7.1.1), Piper (2.5.2), Samba share (12.10.0), SQLite Web (6.1.1), Node-RED (22.0.6), File editor (6.1.0), ESPresense Companion (2.2.2), Glances (0.23.0), Advanced SSH & Web Terminal (24.1.5), TasmoAdmin (0.34.0), Samba Backup (5.2.0), Filebrowser (2.63.23), openWakeWord (2.1.1), Music Assistant (2.10.4), ESPHome Device Builder (2026.8.2), Zigbee2MQTT (2.14.1-1), Whisper (3.5.3), Portainer (2.45.1)
Dashboards
dashboards 9
resources 12
views 19
mode storage
Network Configuration
adapters lo (disabled), enp6s18 (enabled, default, auto), hassio (disabled), docker0 (disabled), vethfef8e25 (disabled), vethc1ff760 (disabled), veth8a673a5 (disabled), veth3d6e738 (disabled), vethbd21b8c (disabled), vethfd33274 (disabled), veth7e89bb7 (disabled), veth2c7e280 (disabled), vethe02ea05 (disabled), veth6c7de9c (disabled), veth64762ad (disabled), veth82db036 (disabled), veth1f39ecd (disabled)
ipv4_addresses lo (127.0.0.1/8), enp6s18 (192.168.0.170/22), hassio (172.30.32.1/23), docker0 (172.30.232.1/23), vethfef8e25 (), vethc1ff760 (), veth8a673a5 (), veth3d6e738 (), vethbd21b8c (), vethfd33274 (), veth7e89bb7 (), veth2c7e280 (), vethe02ea05 (), veth6c7de9c (), veth64762ad (), veth82db036 (), veth1f39ecd ()
ipv6_addresses lo (::1/128), enp6s18 (fe80::bc21:c87f:a805:f581/64), hassio (fd0c:ac1e:2100::1/48, fe80::3866:25ff:fe2a:fa09/64), docker0 (fd4d:1580:d6e7::1/64, fe80::f0a3:31ff:fed4:4d37/64), vethfef8e25 (fe80::1431:dfff:fe39:5afa/64), vethc1ff760 (fe80::470:49ff:febc:4e3c/64), veth8a673a5 (fe80::b4b2:29ff:fed4:d439/64), veth3d6e738 (fe80::18d6:85ff:fe80:e381/64), vethbd21b8c (fe80::bc16:e0ff:fed5:5bd1/64), vethfd33274 (fe80::8cfe:96ff:fe2b:8472/64), veth7e89bb7 (fe80::e812:29ff:fe20:eece/64), veth2c7e280 (fe80::5462:67ff:feae:e14d/64), vethe02ea05 (fe80::3c0f:dbff:fed8:fa70/64), veth6c7de9c (fe80::e863:e2ff:fe98:f44f/64), veth64762ad (fe80::e8f1:66ff:feee:535c/64), veth82db036 (fe80::a82b:ccff:fe83:d906/64), veth1f39ecd (fe80::7c2c:b6ff:fee1:be91/64)
announce_addresses 192.168.0.170, fe80::bc21:c87f:a805:f581
Recorder
oldest_recorder_run September 12, 2026 at 19:24
current_recorder_run September 23, 2026 at 08:14
estimated_db_size 1239.97 MiB
database_engine sqlite
database_version 3.53.2
Spotify
api_endpoint_reachable ok

Additional information

I can provide larger HAOS host-journal excerpts and Proxmox logs around the exact timestamps if required.

I would prefer to continue debugging on HAOS 18.3 rather than downgrade the installation. I am happy to test kernel parameters, VM configuration changes, or additional diagnostics if maintainers suggest specific tests.

Source: home-assistant/operating-system