<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>Hello everybody!<br><br></div>Well, as you might know, i am a dumb fool who succeeded in ruining his own system many times but recovered it everytime.<br><br></div>So, yesterday was just another day of ruining the setup.<br></div>I've had a motherboard's embedded sound card passed through... via legacy kvm pci-assign driver.<br></div>And a week or so ago it started to throw a lot of IRQs to the point i got a crash with a kernel message "IRQ16 was not handled, nobody cared" or something like this.<br>Anyway, it went nuts, and yesterday my VM just froze completely. Afterwards, i was unable to boot it no matter which devices are plugged in.<br></div>"Something got overwrited", i thought, and started to examine dmesg, rebooting the host, and even reflashed my motherboard ROM.<br><br></div>The solution was simple. The guest NVRAM(/var/lib/libvirt/nvram/VMNAME_VARS.fd) got damaged badly resulting in DoS.<br></div><br></div>And being a dumb fool, i didn't copy the damaged file to examine it, but i suppose some audio card related data got written there. I don't know why a soundcard would need to write something into the system if there's no sound input connected...<br><br></div>The morale: do NOT use pci-assign even for pci device assignment. It doesn't work with DMA(there was a lot of IOMMU page faults in dmesg) and it managed to mess up the interrupts.<br><br></div>That means i can't have my motherboard's soundcard passed through into the vm at all - it shares it's IOMMU group with other system devices. The host soundcard is too old for windowns and there is no drivers ever been made for NT systems, just 9x. Seems like i'll need to find a newer one.<br></div><div>Well, this mess worked like a charm for.. half a year?<br></div><div><br></div>That's all, folks!<br></div>