TrueNAS 25.10.1 upgraded from 25.04.2.6
VM with a pcie sata controller passed through
The VM is taking >8 minutes to start. Before the upgrade this VM would start in less than 1 minute.
During the 8 minute wait top shows qemu-system-x86 100% cpu
joiurnalctl
Dec 30 11:24:04 homeserver systemd[1]: Started machine-qemu\x2d3\x2d13mediavm.scope - Virtual Machine qemu-3-13mediavm.
Dec 30 11:24:04 homeserver libvirtd[4407]: unable to open /dev/mapper/control: No such device
Dec 30 11:28:37 homeserver kernel: clocksource: timekeeping watchdog on CPU1: wd-tsc-wd excessive read-back delay of 49925898ns vs. limit of 125000ns, wd-wd read-back delay only 838ns, attempt 3, marking tsc unstable
Dec 30 11:28:37 homeserver kernel: tsc: Marking TSC unstable due to clocksource watchdog
Dec 30 11:28:37 homeserver kernel: TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'.
Dec 30 11:28:37 homeserver kernel: sched_clock: Marking unstable (1177298084695, 142611171)<-(1177474092289, -33386544)
Dec 30 11:28:38 homeserver kernel: clocksource: Checking clocksource tsc synchronization from CPU 0 to CPUs 1,3.
Dec 30 11:28:38 homeserver kernel: clocksource: Switched to clocksource acpi_pm
Dec 30 11:28:49 homeserver kernel: hrtimer: interrupt took 149810031 ns
The vm boots about 4 minutes after the last kernel message.
No errors in the vm log. If I delete the PCI Device the vm starts as normal without the long delay.
PCIe sata controller
$ sudo lspci -vDs '0000:02:00.0'
0000:02:00.0 SATA controller: ASMedia Technology Inc. ASM1064 Serial ATA Controller (rev 02) (prog-if 01 [AHCI 1.0])
Subsystem: ZyDAS Technology Corp. ASM1064 Serial ATA Controller
Flags: bus master, fast devsel, latency 0, IRQ 34, IOMMU group 10
Memory at f7e82000 (32-bit, non-prefetchable) [size=8K]
Memory at f7e80000 (32-bit, non-prefetchable) [size=8K]
Expansion ROM at f7e00000 [disabled] [size=512K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [80] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [130] Secondary PCI Express
Kernel driver in use: vfio-pci
Kernel modules: ahci
vm settings
1 cpu, 2 cores, 1 thread
cpu model HOST-PASSTHROUGH
6 GiB ram
no TPM
UEFI
disk VIRTIO
nic VIRTIO
display VNC port 5900
pci device pci_0000_02_00_0