Bug 1485293

Summary: [virtio-win][netkvm] driver occurred error (code 10) when boot with vectors=2
Product: Red Hat Enterprise Linux 7 Reporter: Yu Wang <wyu>
Component: virtio-winAssignee: ybendito
virtio-win sub component: virtio-win-prewhql QA Contact: Virtualization Bugs <virt-bugs>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: ailan, lijin, mtessun, phou, wyu, xiagao, ybendito
Version: 7.5   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 06:31:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
debug-view-log
none
screenshot none

Description Yu Wang 2017-08-25 10:04:56 UTC
Created attachment 1318080 [details]
debug-view-log

Description of problem:
driver occurred error (code 10) when boot with vectors=2

Version-Release number of selected component (if applicable):
virtio-win-1.9.3-1.el7.noarch (build 141)
kernel-3.10.0-691.el7.x86_64
qemu-kvm-rhev-2.9.0-14.el7.x86_64
seabios-1.10.2-3.el7.x86_64


How reproducible:
100%

Steps to Reproduce:
1./usr/libexec/qemu-kvm -name 131RNG200832OUU -enable-kvm -m 3G -smp 4 -uuid ffb943d0-c48f-4647-9568-09064dcfc637 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/tmp/131RNG200832OUU,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime,driftfix=slew -boot order=cd,menu=on -device piix3-usb-uhci,id=usb -drive file=141NICBLUE32CET,if=none,id=drive-ide0-0-0,format=raw,serial=mike_cao,cache=none -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -device usb-tablet,id=input0 -M pc -qmp tcp:0:4444,server,nowait -monitor stdio -fda virtio-win-prewhql-0.1-142_i386.vfd -vnc 0.0.0.0:0 -vga std -netdev tap,script=/etc/qemu-ifup,downscript=no,id=hostnet0,vhost=on,queues=4 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=00:52:11:36:3f:80,bus=pci.0,vectors=2,mq=on

2. check the network adapters in device manager
3.

Actual results:
driver with yellow bang (code 10)

debug view logs and screenshot refer to attachment

Expected results:
no error and network is up

Additional info:

1 it loads successfully when boot with vectors=0/1/3/8/10
2 tried on virtio-win-1.9.0-3.el7.iso(RHEL7.3) , also hit this issue, so not regression.
3 hit same issue w/ and w/o mq.

Comment 2 Yu Wang 2017-08-25 10:09:10 UTC
Created attachment 1318094 [details]
screenshot

Comment 7 Yu Wang 2017-09-13 08:35:33 UTC
Hi ybendito,

Could you help to check comment#6?

Thanks
Yu Wang

Comment 8 Yu Wang 2017-11-15 05:03:25 UTC
Hi,

Reproduced on win2008R2 with build137
Verified on win2008R2 with build143
Steps as comment#0

Result:
install/load build143 successfully, and msi info as follows:

[DetermineQueueNumber] Number of hardware queues = 4	
[DetermineQueueNumber] WARNING: Single MSIx interrupt allocated, performance will be reduced	
[DetermineQueueNumber] 1 CPUs reported	
[DetermineQueueNumber] 2 MSIs, 1 queues' bundles	
[DetermineQueueNumber] # of path bundles = 1


Above all, this bug has been fixed. 

Thank a lot
Yu Wang

Comment 10 errata-xmlrpc 2018-04-10 06:31:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0657