You are not logged in.

#1 2024-05-19 21:11:06

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Instant Restarts with Libvirt/KVM/QEMU and passthrough of RTX 3060

Hello I have a problem where I will go to use my Windows VM for something and the entire system will hard reset on me I can't seem to figure it out and I'm asked around and my friends and the r/VFIO folks don't seem to know either. I will provide a dmesg output and a journalctl -b -1 output and my VM XML our leading guess is a hardware bus fault but we don't know if anyone knows how to help me I would appreciate the help thanks.

https://linux-hardware.org/?probe=d65531ccec hw probe 
https://gist.github.com/OzzyHelix/3e027 … 01f3de3bec  journalctl -b -1  / before I added options kvm report_ignored_msrs=0 to my modprobe.d as a config file / VM XML / ps aux | grep qemu output

Last edited by Ozzy_Helix_ (2024-05-20 16:37:14)

Offline

#2 2024-05-19 22:39:18

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Re: Instant Restarts with Libvirt/KVM/QEMU and passthrough of RTX 3060

I want to meation that I have a riser but I think its unlike that its the riser that is the problem because its the same manufacturer as my case but at the same time I am getting some stuff with the VM
https://www.amazon.com/dp/B09RXMBLT4?psc=1/ riser in question
the errors in dmesg when the VM starts up

Timed out during operation: cannot acquire state change lock (held by monitor=remoteDispatchDomainCreate)
vfio-pci 0000:10:00.0: not ready 16383ms after FLR; waiting 

its weird because the vfio-pci address its talking about is my wifi card which I passed to it which is a part of the motherboard MEDIATEK Corp. MT7922 802.11ax

also to note it takes a signification amount of time for the VM to start but it does start but later the system instantly restarts for some reason

Last edited by Ozzy_Helix_ (2024-05-19 22:42:44)

Offline

#3 2024-05-19 22:44:25

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Re: Instant Restarts with Libvirt/KVM/QEMU and passthrough of RTX 3060

the first couple things I've tried is reseating the GPU and riser and switched from normal qemu to the qemu-git aur package
I have the VM up now and I am waiting for it to crash

Last edited by Ozzy_Helix_ (2024-05-19 22:45:11)

Offline

#4 2024-05-20 07:53:27

AaAaAAaaAAaARCH
Member
Registered: 2024-02-29
Posts: 42

Re: Instant Restarts with Libvirt/KVM/QEMU and passthrough of RTX 3060

Does it also happen when you dont pass the wifi card?

Offline

#5 2024-05-20 12:16:30

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,085

Re: Instant Restarts with Libvirt/KVM/QEMU and passthrough of RTX 3060

Most of the links in #1 do not work.

The first one has a / at the end that makes it fail, the 2nd and 4th link to this forum (which doesn't support attachments).
please upload the files to a public location that's not pastebin.com , https://wiki.archlinux.org/title/List_o … n_services

The VM xml file suggests you are trying to combine PCI passthrough through OVMF with looking glass ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2024-05-20 16:18:26

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Re: Instant Restarts with Libvirt/KVM/QEMU and passthrough of RTX 3060

I see my mistake with that I will make an edit with that I thought I posted it correctly sorry

Offline

#7 2024-05-20 16:39:48

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Re: Instant Restarts with Libvirt/KVM/QEMU and passthrough of RTX 3060

I have replaced the pastebin links with github gist all info should be there and yes I am using PCI passthrough through OVMF with looking glass.

Offline

#8 2024-05-20 16:41:13

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Re: Instant Restarts with Libvirt/KVM/QEMU and passthrough of RTX 3060

I apologize for sending it to pastebin I didn't know of good alternatives

Offline

Board footer

Powered by FluxBB