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 1102615

Summary: [virtio-win][viorng]The driver could not be installed during guest's installation but it could be installed to pre-installed guest
Product: Red Hat Enterprise Linux 7 Reporter: Min Deng <mdeng>
Component: virtio-winAssignee: Gal Hammer <ghammer>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: bcao, ghammer, hhuang, lijin, mdeng, phou, rbalakri, virt-maint
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: 2014-12-29 11:54:37 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
screenshot none

Description Min Deng 2014-05-29 10:06:19 UTC
Description of problem:
[virtio-win][viorng]The driver could not be installed during guest's installation but it could be installed to pre-installed guest

Version-Release number of selected component (if applicable):
virtio-win-1.7.1-1.el7.noarch.rpm

How reproducible:
5/5

Steps to Reproduce:
1.boot up guest with the following CLI 
  /usr/libexec/qemu-kvm -M pc -m 2G -smp 2 -cpu host -usb -device usb-tablet -drive file=test.raw,format=raw,if=none,id=drive-ide0-0-0,werror=stop,rerror=stop,cache=none -device virtio-blk-pci,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,id=hostnet0,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet0,mac=00:52:4f:75:65:35,id=net0 -uuid 4870b5fd-65d1-488a-9333-3c4e095285b0 -rtc-td-hack -no-kvm-pit-reinjection -chardev socket,id=a111,path=/tmp/monitor-win2012-serial,server,nowait -mon chardev=a111,mode=readline -vnc :1 -vga cirrus -monitor stdio -device virtio-balloon-pci,id=balloon1 -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -device virtio-serial-pci,id=virtio-serial0,max_ports=31 -chardev socket,id=channel0,path=/tmp/helloworld764,server,nowait -device virtserialport,chardev=channel0,name=com.redhat.rhevm.vdsm,bus=virtio-serial0.0,id=port0 -chardev socket,path=/tmp/qga.sock,server,nowait,id=qga0 -device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0 -drive file=test764-block.raw,if=none,id=drive-virtio1,cache=writeback,werror=stop,rerror=stop -device virtio-blk-pci,drive=drive-virtio1,id=virtio-blk-pci1 -device virtio-scsi-pci,id=scsi0 -drive file=test764scsi.raw,if=none,id=drive-scsi0-0-0,if=none,media=disk,cache=none,format=raw,werror=stop,aio=native -device scsi-hd,bus=scsi0.0,drive=drive-scsi0-0-0,id=scsi1 -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0 -drive file=en_windows_7_ultimate_with_sp1_x64_dvd_u_677332.iso,if=none,media=cdrom,format=raw,id=drive-ide1-0-1 -device ide-drive,drive=drive-ide1-0-1,id=ide1-0-1,bootindex=1 -drive file=/usr/share/virtio-win/virtio-win.iso,if=none,media=cdrom,format=raw,id=drive-ide1-0-2 -device ide-drive,drive=drive-ide1-0-2,id=ide1-0-2
2.As soon as facing driver selected dialog please choose virtio rng driver and click "Next"
3.

Actual results:
The driver could not be installed and error messages pop up

Expected results:
The driver could be installed just like other drivers

Additional info:*Driver could be installed to pre-installed guest successfully.*

Comment 1 Min Deng 2014-05-29 10:06:50 UTC
Created attachment 900310 [details]
screenshot

Comment 3 lijin 2014-07-17 09:43:06 UTC
win2k8-32/64 hit the same issue with build86

Comment 4 Gal Hammer 2014-10-20 05:58:42 UTC
Does it reproduce on virtio-win-prewhql-0.1-93? The installation procedure was changed in the build in order to resolve bug #1091867.

Comment 5 lijin 2014-10-28 02:36:31 UTC
win2k8-64 still hit this issue with build 93

package info:
virtio-win-prewhql-93
qemu-kvm-rhev-2.1.2-5.el7.x86_64
kernel-3.10.0-194.el7.x86_64
seabios-bin-1.7.5-5.el7.noarch
spice-server-0.12.4-7.el7.x86_64

Comment 6 Min Deng 2014-10-29 08:33:31 UTC
  Re-tested the bug on build 93 with the following cli for win2k8-R2 guest and win2k8-32 guest.
build info,
virtio-win-prewhql-93
qemu-kvm-rhev-2.1.2-5.el7.x86_64
kernel-3.10.0-194.el7.x86_64
For win2k8-R2 guest,the driver could be installed successfully
For win2k8-32 guest,*it could be reproduced *

CLI,usr/libexec/qemu-kvm -M pc -m 2G -smp 2 -cpu host -usb -device usb-tablet -drive file=win2k8-R2-93-iso.raw,format=raw,if=none,id=drive-ide0-0-0,werror=stop,rerror=stop,cache=none -device ide-drive,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,id=hostnet0,script=/etc/qemu-ifup -device rtl8139,netdev=hostnet0,mac=00:52:4f:75:65:35,id=net0 -uuid 4870b5fd-65d1-488a-9333-3c4e095285b0 -rtc-td-hack -no-kvm-pit-reinjection -chardev socket,id=a111,path=/tmp/monitor-win2012-serial,server,nowait -mon chardev=a111,mode=readline -vnc :2 -vga cirrus -monitor stdio -device virtio-balloon-pci,id=balloon1 -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0,max-bytes=1024,period=1000,id=rng-device0 -qmp tcp:0:5555,server,nowait -name win2k8-R2 -drive file=virtio-win-prewhql-93.iso,format=raw,if=none,id=drive3,media=cdrom,readonly=on -device ide-drive,drive=drive3,bus=ide.1,unit=1,id=cdrom1 -drive file=en_windows_server_2008_r2_standard_enterprise_datacenter_and_web_with_sp1_x64_dvd_617601.iso,if=none,id=drive2,media=cdrom -device ide-drive,drive=drive2,id=ide-blk-pci2,bus=ide.0,unit=0,bootindex=0

  According to comment 5 and 6,the issue still exists.

Comment 7 Gal Hammer 2014-12-29 11:54:37 UTC
It seem that all our drivers which are based on WDF can't be installed during Windows pre-installation stage.

The WDF coinstaller requires the Windows Update Standalone Installer (wusa.exe: http://support.microsoft.com/kb/934307) which doesn't exist.

Since none of the WDF-based drivers are required to complete the installation (unlike the network and SCSI drivers) I'm closing this bug as WONTFIX.

More reading:
http://www.osronline.com/showthread.cfm?link=162112
http://microsoft.public.development.device.drivers.narkive.com/ny0CRmuB/winpe-wdf-wdfcoinstaller

Comment 8 Peixiu Hou 2015-12-16 04:55:23 UTC
Hello Gal Hammer,

I have a little confuse about this issue. I can duplicate this issue on windows 2008, but can't duplicate it on windows 2012 or 2012 R2. I can install rng driver during Windows 2012/2012r2 installation. I think the rng driver also base to WDF in windows 2012 or win2012 R2. According to your said "It seem that all our drivers which are based on WDF can't be installed during Windows pre-installation stage".Why this test case can be passed on the win2012&2012r2 OS?


Best Regards!
Peixiu Hou

Comment 9 Gal Hammer 2015-12-17 13:40:21 UTC
(In reply to Peixiu Hou from comment #8)
> Hello Gal Hammer,
> 
> I have a little confuse about this issue. I can duplicate this issue on
> windows 2008, but can't duplicate it on windows 2012 or 2012 R2. I can
> install rng driver during Windows 2012/2012r2 installation. I think the rng
> driver also base to WDF in windows 2012 or win2012 R2. According to your
> said "It seem that all our drivers which are based on WDF can't be installed
> during Windows pre-installation stage".Why this test case can be passed on
> the win2012&2012r2 OS?
> 
> 
> Best Regards!
> Peixiu Hou

That's because, unlike previous Windows versions, Windows 2012 includes the required WDF library version during installation.

    Gal.