I’ve had haos running in a VM on a raspberry pi 4B (8GB) for several months, with no issues. It’s a bit of an odd setup, but basically it’s Ubuntu 22.04 64bit, running some other stuff, and then haos running in a qemu/libvirt VM. When I first installed it, I used the haos_generic-aarch64-16.3.qcow2 image. Everything has been fine for a while, I’ve done several updates, etc., all with no problem.
Recently it stopped working, and I found the rpi had completely frozen up. I restarted with a monitor attached, and it halts in about the same place on every boot, while loading the HAOS vm. So I put it in safe mode, disabled libvirt/qemu, and everything else starts up fine and is stable. When I try to start the haos vm, the system halts about 2-3 seconds later - I haven’t yet been able to get the VM’s console started in time to see the messages, but it hard-locks the system with no obvious logs of what’s going on.
This is where it gets strange(r).
I tried to create a new VM, with the same image I originally used, and the same commands/options, in case it was an haos image that broke things. That image halts and crashes the pi in the exact same manner. Thinking maybe it was a hardware issue, I tried a brand new out of the box RPi4 8Gb - same issue.
There are no USB devices connected, apart from a wireless keyboard dongle I added while troubleshooting (it was not there for the initial crashes). The RPi is connected to wired ethernet, and using what I believe to be a solid/stable power supply (it’s a PoE dongle rated for 2.4A/5V output, but I’ve gotten no voltage warnings or errors while using it, as opposed to the UPS the RPi was briefly plugged into which sprayed frequent voltage warnings). The case is a GeekPi passive heatsink case, and temperatures don’t appear to be approaching anything that would cause concern. The other workloads on this Pi are minimal also - a TPLink Omada controller, UNMS/UISP (whatever they call it this week) running in docker, and tailscale. I’ve stopped all those and started up the VM, and still got the same system hang.
The only other thing that’s changed since initial install is some of the Ubuntu packages, but I did not perform any system updates/upgrades between when HAOS was working, and when it started crashing the system.
If it were just the VM hanging, I could at least try to troubleshoot that, but much harder when it’s the entire RPi… any suggestions beyond moving to an RPi5 or other hardware, or adding a second RPi dedicated to HAOS (which I’d prefer not to do, but… could be an option I suppose).
