Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1170494

Summary: [virtio-win][qxlwddm]Can not install qxl driver on windows 2012 guest
Product: Red Hat Enterprise Linux 7 Reporter: Mike Cao <bcao>
Component: virtio-winAssignee: Vadim Rozenfeld <vrozenfe>
Status: CLOSED WORKSFORME QA Contact: Virtualization Bugs <virt-bugs>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 7.2CC: dblechte, ghammer, hhuang, knoel, michen, rbalakri, virt-maint, vrozenfe
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-04 03:35:41 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
driver installation log
none
INSTALLATION LOG none

Description Mike Cao 2014-12-04 06:52:42 UTC
Description of problem:


Version-Release number of selected component (if applicable):
qxlwddm-0.1-6
virtio-win-1.6.7-2
3.10.0-208.el7.x86_64
qemu-kvm-rhev-2.1.2-12.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Start VM w/ spice 
CLI:/usr/libexec/qemu-kvm -name 094SCS201264FVY -enable-kvm -m 6G -smp 8 -uuid ba8769eb-b2cd-4b9e-ad1d-df4b44cffc6e -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/tmp/094SCS201264FVY,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,bus=pci.0,addr=0x1.0x2 -device virtio-scsi-pci,id=scsi00,bus=pci.0 -drive file=win2012-64.qcow2,if=none,id=drive-ide0-0-0,format=qcow2,serial=mike_cao,cache=none -device scsi-hd,drive=drive-ide0-0-0,id=ide0-0-0 -drive file=en_windows_server_2012_x64_dvd_915478.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive file=094SCS201264FVY.vfd,if=none,id=drive-fdc0-0-0,format=raw,cache=none -global isa-fdc.driveA=drive-fdc0-0-0 -netdev tap,script=/etc/qemu-ifup,downscript=no,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=00:52:01:50:3b:03,bus=pci.0,addr=0x4 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=isa_serial0 -device usb-tablet,id=input0 -spice port=5910,disable-ticketing -vga qxl -device virtio-scsi-pci,id=virtio_scsi_pci0,addr=0x5 -monitor stdio -qmp tcp:0:5888,server,nowait -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -global qxl-vga.revision=3
2.install qxlwddm driver 
3.

Actual results:
driver can not be installed 


Expected results:
It should be installed successfully


Additional info:
remove para qxl-vga.revision=3 still hit the issue.

Comment 1 Mike Cao 2014-12-04 07:00:00 UTC
Created attachment 964457 [details]
driver installation log

Comment 3 Gal Hammer 2014-12-04 12:03:32 UTC
Did you "bcdedit /set testsignning on" and install the certificate (the one that the driver is signed with) into the "trusted root" store?

Comment 4 Vadim Rozenfeld 2014-12-04 22:32:16 UTC
(In reply to Gal Hammer from comment #3)
> Did you "bcdedit /set testsignning on" and install the certificate (the one
> that the driver is signed with) into the "trusted root" store?

qxlwddm driver signed with RedHat signature issued by VeriSign.
Why "testsignning on" is needed?

Comment 5 Gal Hammer 2014-12-09 12:20:03 UTC
(In reply to Vadim Rozenfeld from comment #4)
> (In reply to Gal Hammer from comment #3)
> > Did you "bcdedit /set testsignning on" and install the certificate (the one
> > that the driver is signed with) into the "trusted root" store?
> 
> qxlwddm driver signed with RedHat signature issued by VeriSign.
> Why "testsignning on" is needed?

I asked that because I saw "A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider." in the installation log file.

Does it required a MS signature as well?

Comment 6 Mike Cao 2014-12-10 02:59:52 UTC
Hi, 

I can not reproduce it on a new image .
I report it because the image I do lots of testing and concerns some issues customer will be hit as well and hope developer could find the root cause.

Comment 7 Vadim Rozenfeld 2014-12-10 07:03:18 UTC
(In reply to Mike Cao from comment #6)
> Hi, 
> 
> I can not reproduce it on a new image .
> I report it because the image I do lots of testing and concerns some issues
> customer will be hit as well and hope developer could find the root cause.

Yes, the driver has a issue with installation process, when replacing non BDD driver. This problem definitely has nothing to do with "testsignning on" suggested above. I will try to fix it, or at least add some kludge-around to make the installation procedure less painful. 

Best regards,
Vadim.

Comment 10 Vadim Rozenfeld 2015-04-26 02:33:44 UTC
Can we check how it works with the recent driver available at
http://download.devel.redhat.com/brewroot/packages/qxlwddm/0.1/11/win/qxlwddm-0.1.zip ?

Thanks,
Vadim.

Comment 11 Mike Cao 2015-04-27 03:23:14 UTC
(In reply to Vadim Rozenfeld from comment #10)
> Can we check how it works with the recent driver available at
> http://download.devel.redhat.com/brewroot/packages/qxlwddm/0.1/11/win/
> qxlwddm-0.1.zip ?
> 
> Thanks,
> Vadim.

Is qxl-vga.revision=3 still needed ?

Comment 12 Mike Cao 2015-04-27 05:28:37 UTC
Still hit the issue on win8-64 ,will try win2012 in the afternoon

Comment 13 Vadim Rozenfeld 2015-04-27 05:34:22 UTC
(In reply to Mike Cao from comment #11)
> (In reply to Vadim Rozenfeld from comment #10)
> > Can we check how it works with the recent driver available at
> > http://download.devel.redhat.com/brewroot/packages/qxlwddm/0.1/11/win/
> > qxlwddm-0.1.zip ?
> > 
> > Thanks,
> > Vadim.
> 
> Is qxl-vga.revision=3 still needed ?

No, if you are going to check the installation procedure only. 
Yes, if you are going to use it for WHQL testing after that.

Comment 14 Vadim Rozenfeld 2015-04-27 05:36:40 UTC
(In reply to Mike Cao from comment #12)
> Still hit the issue on win8-64 ,will try win2012 in the afternoon

Can you please share the setup log file? Do you install the new driver on top
of previous version of qxl-dod or on top of MS driver?

Comment 15 Mike Cao 2015-04-27 05:49:48 UTC
(In reply to Vadim Rozenfeld from comment #14)
> (In reply to Mike Cao from comment #12)
> > Still hit the issue on win8-64 ,will try win2012 in the afternoon
> 
> Can you please share the setup log file? Do you install the new driver on top
> of previous version of qxl-dod or on top of MS driver?

Will Provided later ,I install prewhql netkvm driver first ,then install the qxl driver you point.

Comment 16 Mike Cao 2015-04-27 06:58:58 UTC
Created attachment 1019247 [details]
INSTALLATION LOG

Comment 17 Mike Cao 2015-04-28 05:15:47 UTC
CLI:
/usr/libexec/qemu-kvm -name 103NICEWIN864PDFNIC1 -enable-kvm -m 6G -smp 8,cores=8,sockets=1 -uuid b9de3157-e2cd-4c77-ad0c-ced51b16334c -nodefconfig -nodefaults -drive file=8/OVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on -drive file=8/OVMF_VARS.fd,if=pflash,format=raw,unit=1 -drive id=cdrom1,if=none,cache=none,snapshot=off,aio=threads,file=8/UefiShell.iso,media=cdrom -chardev socket,id=charmonitor,path=/tmp/103NICEWIN864PDFNIC1,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,bus=pci.0,addr=0x1.0x2 -drive file=103NICEWIN864PDFNIC1,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 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive file=103RNGWIN864VYW.vfd,if=none,id=drive-fdc0-0-0,format=raw,cache=none -global isa-fdc.driveA=drive-fdc0-0-0 -netdev tap,script=/etc/qemu-ifup,downscript=no,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=00:52:54:11:24:19,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=isa_serial0 -device usb-tablet,id=input0 -netdev tap,script=/etc/qemu-ifup-private,downscript=no,id=hostnet1,vhost=on,queues=4 -device virtio-net-pci,netdev=hostnet1,id=net1,mac=00:54:01:02:73:04,bus=pci.0,mq=on,vectors=10 -monitor stdio -spice port=5914,disable-ticketing -vga qxl -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -global qxl-vga.revision=3

I can provide VM access if needed.

Comment 18 Vadim Rozenfeld 2015-04-28 07:06:21 UTC
(In reply to Mike Cao from comment #17)
> CLI:
> /usr/libexec/qemu-kvm -name 103NICEWIN864PDFNIC1 -enable-kvm -m 6G -smp
> 8,cores=8,sockets=1 -uuid b9de3157-e2cd-4c77-ad0c-ced51b16334c -nodefconfig
> -nodefaults -drive
> file=8/OVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on -drive
> file=8/OVMF_VARS.fd,if=pflash,format=raw,unit=1 -drive
> id=cdrom1,if=none,cache=none,snapshot=off,aio=threads,file=8/UefiShell.iso,
> media=cdrom -chardev
> socket,id=charmonitor,path=/tmp/103NICEWIN864PDFNIC1,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,bus=pci.0,addr=0x1.0x2 -drive
> file=103NICEWIN864PDFNIC1,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 -drive
> if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device
> ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive
> file=103RNGWIN864VYW.vfd,if=none,id=drive-fdc0-0-0,format=raw,cache=none
> -global isa-fdc.driveA=drive-fdc0-0-0 -netdev
> tap,script=/etc/qemu-ifup,downscript=no,id=hostnet0 -device
> rtl8139,netdev=hostnet0,id=net0,mac=00:52:54:11:24:19,bus=pci.0,addr=0x3
> -chardev pty,id=charserial0 -device
> isa-serial,chardev=charserial0,id=isa_serial0 -device usb-tablet,id=input0
> -netdev
> tap,script=/etc/qemu-ifup-private,downscript=no,id=hostnet1,vhost=on,
> queues=4 -device
> virtio-net-pci,netdev=hostnet1,id=net1,mac=00:54:01:02:73:04,bus=pci.0,mq=on,
> vectors=10 -monitor stdio -spice port=5914,disable-ticketing -vga qxl
> -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -global
> qxl-vga.revision=3
> 
> I can provide VM access if needed.

Thanks Mike,

It will be very helpful. If you can - just give it to me tomorrow for a couple of hours.
Best regards,
Vadim.