cancel
Showing results for 
Search instead for 
Did you mean: 

PC Drivers & Software

zhaolh
Journeyman III

kvm guest is hung up when wx 4100 passthrough to win10 vm

1. It was enabled VT-d/AMD-Vi in BIOS

2. It also set /etc/default/grub as follow

GRUB_CMDLINE_LINUX_DEFAULT="radeon.blacklist=1 quiet splash intel_iommu=on pci-stub.ids=1002:679a,1002:aaa0"

3.And passthrough wx 4100 to win10 virtual machine, then win10 was hung up

4. Check vfio

[root@node-19 ~]# lsmod | grep vfio
vfio_pci 41312 1
vfio_iommu_type1 22300 1
vfio 32695 5 vfio_iommu_type1,vfio_pci
irqbypass 13503 10 kvm,vfio_pci

Is there any good advice?

Best regards

0 Likes
1 Reply
zhaolh
Journeyman III

Installing wx 4100 driver (win10-64bit-radeon-pro-software-enterprise-19.q1.1-feb19.exe) at 50%, and then win10 vm was hung up, at the same time vm's cpu usage is 100% all the time.

Writing log to pid.txt with strace command, as follow:

ppoll([{fd=-1}, {fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=14, events=POLLIN}, {fd=38, events=POLLIN}, {fd=45, events=POLLIN}, {fd=46, events=POLLIN}, {fd=47, events=POLLIN}, {fd=48, events=POLLIN}, {fd=49, events=POLLIN}, {fd=51, events=POLLIN}, {fd=132, events=POLLIN}, {fd=133, events=POLLIN}, {fd=134, events=POLLIN}, {fd=135, events=POLLIN}, {fd=136, events=POLLIN}, {fd=137, events=POLLIN}, {fd=138, events=POLLIN}, {fd=139, events=POLLIN}, {fd=140, events=POLLIN}, {fd=141, events=POLLIN}, {fd=142, events=POLLIN}, {fd=143, events=POLLIN}, {fd=144, events=POLLIN}, {fd=145, events=POLLIN}, {fd=146, events=POLLIN}, {fd=147, events=POLLIN}, {fd=148, events=POLLIN}, {fd=149, events=POLLIN}, {fd=150, events=POLLIN}, ...], 77, {0, 529090}, NULL, 8) = 0 (Timeout)
ioctl(17, KVM_IRQ_LINE_STATUS, 0x7ffe50fbb480) = 0
ppoll([{fd=-1}, {fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=14, events=POLLIN}, {fd=38, events=POLLIN}, {fd=45, events=POLLIN}, {fd=46, events=POLLIN}, {fd=47, events=POLLIN}, {fd=48, events=POLLIN}, {fd=49, events=POLLIN}, {fd=51, events=POLLIN}, {fd=132, events=POLLIN}, {fd=133, events=POLLIN}, {fd=134, events=POLLIN}, {fd=135, events=POLLIN}, {fd=136, events=POLLIN}, {fd=137, events=POLLIN}, {fd=138, events=POLLIN}, {fd=139, events=POLLIN}, {fd=140, events=POLLIN}, {fd=141, events=POLLIN}, {fd=142, events=POLLIN}, {fd=143, events=POLLIN}, {fd=144, events=POLLIN}, {fd=145, events=POLLIN}, {fd=146, events=POLLIN}, {fd=147, events=POLLIN}, {fd=148, events=POLLIN}, {fd=149, events=POLLIN}, {fd=150, events=POLLIN}, ...], 77, {0, 0}, NULL, 8) = 0 (Timeout)
write(8, "\1\0\0\0\0\0\0\0", 8) = 8
ioctl(17, KVM_IRQ_LINE_STATUS, 0x7ffe50fbb480) = 0
ppoll([{fd=-1}, {fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=14, events=POLLIN}, {fd=38, events=POLLIN}, {fd=45, events=POLLIN}, {fd=46, events=POLLIN}, {fd=47, events=POLLIN}, {fd=48, events=POLLIN}, {fd=49, events=POLLIN}, {fd=51, events=POLLIN}, {fd=132, events=POLLIN}, {fd=133, events=POLLIN}, {fd=134, events=POLLIN}, {fd=135, events=POLLIN}, {fd=136, events=POLLIN}, {fd=137, events=POLLIN}, {fd=138, events=POLLIN}, {fd=139, events=POLLIN}, {fd=140, events=POLLIN}, {fd=141, events=POLLIN}, {fd=142, events=POLLIN}, {fd=143, events=POLLIN}, {fd=144, events=POLLIN}, {fd=145, events=POLLIN}, {fd=146, events=POLLIN}, {fd=147, events=POLLIN}, {fd=148, events=POLLIN}, {fd=149, events=POLLIN}, {fd=150, events=POLLIN}, ...], 77, {0, 0}, NULL, 8) = 1 ([{fd=8, revents=POLLIN}], left {0, 0})
futex(0x55ffcc0f5960, FUTEX_WAKE_PRIVATE, 1) = 1
ppoll([{fd=-1}, {fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=14, events=POLLIN}, {fd=38, events=POLLIN}, {fd=45, events=POLLIN}, {fd=46, events=POLLIN}, {fd=47, events=POLLIN}, {fd=48, events=POLLIN}, {fd=49, events=POLLIN}, {fd=51, events=POLLIN}, {fd=132, events=POLLIN}, {fd=133, events=POLLIN}, {fd=134, events=POLLIN}, {fd=135, events=POLLIN}, {fd=136, events=POLLIN}, {fd=137, events=POLLIN}, {fd=138, events=POLLIN}, {fd=139, events=POLLIN}, {fd=140, events=POLLIN}, {fd=141, events=POLLIN}, {fd=142, events=POLLIN}, {fd=143, events=POLLIN}, {fd=144, events=POLLIN}, {fd=145, events=POLLIN}, {fd=146, events=POLLIN}, {fd=147, events=POLLIN}, {fd=148, events=POLLIN}, {fd=149, events=POLLIN}, {fd=150, events=POLLIN}, ...], 77, {0, 106281}, NULL, 8) = 1 ([{fd=8, revents=POLLIN}], left {0, 93891})
read(8, "\2\0\0\0\0\0\0\0", 512) = 8
ioctl(17, KVM_IRQ_LINE_STATUS, 0x7ffe50fbb480) = 0
ioctl(17, KVM_IRQ_LINE_STATUS, 0x7ffe50fbb480) = 0
ppoll([{fd=-1}, {fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=14, events=POLLIN}, {fd=38, events=POLLIN}, {fd=45, events=POLLIN}, {fd=46, events=POLLIN}, {fd=47, events=POLLIN}, {fd=48, events=POLLIN}, {fd=49, events=POLLIN}, {fd=51, events=POLLIN}, {fd=132, events=POLLIN}, {fd=133, events=POLLIN}, {fd=134, events=POLLIN}, {fd=135, events=POLLIN}, {fd=136, events=POLLIN}, {fd=137, events=POLLIN}, {fd=138, events=POLLIN}, {fd=139, events=POLLIN}, {fd=140, events=POLLIN}, {fd=141, events=POLLIN}, {fd=142, events=POLLIN}, {fd=143, events=POLLIN}, {fd=144, events=POLLIN}, {fd=145, events=POLLIN}, {fd=146, events=POLLIN}, {fd=147, events=POLLIN}, {fd=148, events=POLLIN}, {fd=149, events=POLLIN}, {fd=150, events=POLLIN}, ...], 77, {0, 0}, NULL, 8) = 0 (Timeout)
futex(0x55ffcc0f5960, FUTEX_WAKE_PRIVATE, 1) = 1

......

the whole pid.txt is like this information.

Is it maybe a bug?

Could anybody give some advices?

0 Likes