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 1144975

Summary: [virtio-win][rng]viorng device doesn't work on nearly all 64bits guests
Product: Red Hat Enterprise Linux 7 Reporter: lijin <lijin>
Component: virtio-winAssignee: Gal Hammer <ghammer>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.1CC: bcao, hhuang, juzhang, mdeng, rbalakri, shuyu, virt-maint
Target Milestone: rcKeywords: Regression, TestBlocker
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-28 05:58:05 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
error message during driver installation
none
error message after run random.exe
none
Random test utility (64-bit) none

Description lijin 2014-09-22 07:24:54 UTC
Created attachment 939905 [details]
error message during driver installation

Description of problem:
viorng device doesn't work on win7-64/win8-64/win2k8-64/win2k12r2 guests;
viorng device work fine on win7-32/win8-32/win2k8-32 guests

Version-Release number of selected component (if applicable):
qemu-kvm-rhev-2.1.0-4.el7.x86_64
kernel-3.10.0-165.el7.x86_64
seabios-1.7.5-4.el7.x86_64
virtio-win-prewhql-92

How reproducible:
100%

Steps to Reproduce:
1.boot guest with virtio-rng device:
/usr/libexec/qemu-kvm -name 092RNGWIN732NFU -enable-kvm -m 2G -smp 2 -uuid 0f8e7a5d-0f9a-481a-8911-cfa0544befb3 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/tmp/092RNGWIN732NFU,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=092RNGWIN732NFU,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 file=en_windows_7_ultimate_with_sp1_x86_dvd_u_677460.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=092RNGWIN732NFU.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:6a:3c:3f:08,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=isa_serial0 -device usb-tablet,id=input0 -vnc 0.0.0.0:0 -vga cirrus -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0
2.1).install viorng driver via "pnputil -i -a viorng.inf" on win7-64/win2k8-64;
2).run sigverif on win8-64/win2k12R2 guests.
3.run random.exe

Actual results:
after step2,win7-64/win2k8-64 prompt a error message "The program can't start because MSVCR 120.dll is missing from your computer.Try reinstalling the program to fix this problem"(as the the first attachment shown) during driver installation;
win8-64/win2012R2 guests prompt the same error while run "sigverif" in guests.

after step3,random.exe cannot get any random numbers on all 64bits guests,error message as the second attachment;

Expected results:
viorng can work well on all 64bits guests

Additional info:

Comment 1 lijin 2014-09-22 07:25:41 UTC
Created attachment 939906 [details]
error message after run random.exe

Comment 4 lijin 2014-09-22 09:42:46 UTC
(In reply to lijin from comment #0)
> 2.1).install viorng driver via "pnputil -i -a viorng.inf" on
> win7-64/win2k8-64;
need to mention that win7-64/win2k8-64 can install the driver manually,but use  pnputil will fail;
win8-64/2012r2 can install the driver via pnputil command and manually successfully;

Comment 5 lijin 2014-09-24 06:22:04 UTC
other packages info:
spice-server-0.12.4-5.el7.x86_64
sgabios-bin-0.20110622svn-4.el7.noarch

Comment 6 Gal Hammer 2014-09-28 05:58:05 UTC
This bug is due to the changes which were made in bug 1091867. Closing as duplicate.

*** This bug has been marked as a duplicate of bug 1091867 ***

Comment 7 Gal Hammer 2014-09-28 08:27:24 UTC
Created attachment 941965 [details]
Random test utility (64-bit)