question

59148298 avatar image
0 Votes"
59148298 asked XiaoweiHe-MSFT commented

Passing though HBA card in hyperV causes VM to not boot

Hi all
Im trying to pass though a HBA card for a tape drive to a VM
I have found instructions online on how to do it
https://devblogs.microsoft.com/scripting/passing-through-devices-to-hyper-v-vms-by-using-discrete-device-assignment

(plus other tutorials with the same steps)
and I have from what I can tell, successfully added the card to the VM

However when I go to boot the VM I get an error saying
"The VM failed to start as that virtual machine has one or more devices assigned to it"

What does this error mean?
I know its got a device assigned to it, I just did it, but why does it stop the machine from booting?

I looked in the error logs and found ID 19560 but that doesnt show anything on google.
If I remove the card using the instructions, then the machine boots fine

Any ideas on whats going on?

Running server 2019 on both the host and the VM
Many thanks

windows-server-powershellwindows-server-hyper-v
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

essjae0000 avatar image
0 Votes"
essjae0000 answered 59148298 commented
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Im not doing a GPU so not sure how much of that is relevant to the HBA card
I havnt done any of the memory stuff at the start of the instructions as that looks like its more for the GPU cards

The rest i have already followed from what I can tell

The only thing on there would be the MIMO troubleshooting, but no idea if that would help with the error im having?

0 Votes 0 ·

Unless you meant to link the storage device DDA instructions, in which case thats the steps im doing,

0 Votes 0 ·
XiaoweiHe-MSFT avatar image
0 Votes"
XiaoweiHe-MSFT answered XiaoweiHe-MSFT commented

Hi,

Please check the Hyper-V log in Event viewer, Event viewer>Applications and Services Logs>Microsoft>Windows>Hyper-V-VMMS and Hyper-V-VMWorker, check if there's any detailed information about the issue.

Thanks for your time!
Best Regards,
Anne


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Anne
I have the following errors showing

VMMS Logs I have a 15130 error saying failed to start
and a 19560 error saying failed due to one or more devices attached

Nothing in VM Worker logs about this error

0 Votes 0 ·

Hi,

After some research, I didn't find deep information about the issue, in order to get better help, I would suggest you open a case with MS for deep troubleshooting.

Below is the link to open a case with MS:

https://support.microsoft.com/en-us/gp/customer-service-phone-numbers

Best Regards,
Anne

0 Votes 0 ·