operating-system icon indicating copy to clipboard operation
operating-system copied to clipboard

Please enable 6300esb watchdog driver on generic aarch64

Open DanaGoyette opened this issue 1 year ago • 0 comments

Describe the issue you are experiencing

When running Home Assistant OS under libvirt on a Raspberry Pi 5, I can add a virtual 6300esb watchdog timer to the VM, but the Home Assistant OS image doesn't seem to have that module enabled. Therefore, there's no easy way to get a working guest watchdog timer.

# CONFIG_I6300ESB_WDT is not set

On a self-built kernel for another aarch64 machine (not HAOS), I was able to build the i6300esb driver just fine for aarch64.

~~Hopefully either Debian or Ubuntu has that module enabled in their aarch64 generic kernel images, so I can try it in a VM.~~ I tried Ubuntu 24.04 aarch64 in a VM on the same host, and the virtual watchdog works just fine: the VM resets after a number of seconds if I poke it and then don't close it properly.

What operating system image do you use?

generic-aarch64 (Generic UEFI capable aarch64 systems)

What version of Home Assistant Operating System is installed?

6.6.29-haos

Did the problem occur after upgrading the Operating System?

No

Hardware details

Raspberry Pi 5 with 8GB of RAM. Host OS is Raspberry Pi OS Debian 12 (Bookworm). Libvirt version: libvirtd (libvirt) 9.0.0 QEMU emulator version 7.2.9 (Debian 1:7.2+dfsg-7+deb12u5)

Steps to reproduce the issue

  1. Create a Home Assistant OS Virtual Machine under libvirt, using the qcow2 image
  2. Add a watchdog to the VM (the only model that makes any sense is 6300esb).
  3. Notice that HAOS has no driver for that watchdog.

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

Nothing relevant, because it's a missing driver.

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

Nothing relevant, because it's a missing driver.

System information

No response

Additional information

No response

DanaGoyette avatar Jun 13 '24 04:06 DanaGoyette