"Cannot reset device"


Recommended Posts

I tried passing Through my onboard Sound. It work for exactly one start of the VM.

After restarting it, I can see a log message saying:

 

2019-01-06T12:21:32.016096Z qemu-system-x86_64: vfio: Cannot reset device 0000:00:1f.3, no available reset mechanism.
2019-01-06T12:21:32.020337Z qemu-system-x86_64: vfio: Cannot reset device 0000:00:1f.3, no available reset mechanism.

The VM won't start anymore.

 

The IMMOU Group looks like this:

 

[8086:a2d2] 00:1f.0 ISA bridge: Intel Corporation X299 Chipset LPC/eSPI Controller
[8086:a2a1] 00:1f.2 Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller
[8086:a2f0] 00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
[8086:a2a3] 00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller

To bind it to vfio, I'm using

append initrd=/bzroot vfio-pci.ids=8086:a2a1,8086:a2f0,8086:a2a3

 

What can I do?...

Link to comment

This has to do with "IOMMU Groups", everything in the group has to be passed together... You will find that Intel sound is usually grouped with several other devices that you don't want to passthough...  I have heard of some people able to get it to work, but by far the easiest way is to just get a USB sound card to use instead...

 

Edit:

This is a clip from my system, my sound card is in IOMMU group 11 with SMBus controller as well which you don't want to passthrough...  Also see how my video card is listed as "[RESET]"?  That means that KVM can reset it... Notice how the sound card doesn't list it can be reset?  That is why it works once, but can't be reset with the reset of the VM when it is rebooted... Only way to reset it after that is to reboot the host...

IOMMU group 11 
00:1f.0 ISA bridge [0601]: Intel Corporation 200 Series PCH LPC Controller (Z270) [8086:a2c5]
00:1f.2 Memory controller [0580]: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller [8086:a2a1]
00:1f.4 SMBus [0c05]: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller [8086:a2a3]
IOMMU group 1 
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 05)
[RESET]	01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1)

 

Edited by Warrentheo
Link to comment
  • 3 years later...
On 1/11/2019 at 11:05 PM, Warrentheo said:

Intel sound is usually grouped with several other devices that you don't want to passthough...  I have heard of some people able to get it to work

 

Can you elaborate or link? I'm still trying to get my intel audio passed through. 
 

On 1/11/2019 at 11:05 PM, Warrentheo said:

see how my video card is listed as "[RESET]"?

 

Am I to understand that as of early 2019, shutting down a vm was pointless if you were looking for integrated audio support? Any idea if this has changed more recently?

P.S. any help would be appreciated! This is the first post I've found about my topic, but I'll keep reading into things tonight. I've only had unraid running for a few hours so pls be patient.

Link to comment
  • 1 month later...

@christenlanger you might be able to schedule your userscript to run on a regular basis to save yourself the hassle. Otherwise, I personally found that following spaceinvader's advanced gpu passthru techniques video was leading to my intel motherboard onboard audio issue. If youre not able to get your audio interface to display in the windows > Sounds > Playback (devices list) then I might be able to help you fix that issue!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.