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 1116573

Summary: RNG drivers should use OS supplied version of KMDF
Product: Red Hat Enterprise Linux 7 Reporter: Lev Veyde <lveyde>
Component: virtio-winAssignee: Gal Hammer <ghammer>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: bcao, ghammer, juzhang, knoel, lveyde, rbalakri, virt-maint, vrozenfe
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Windows   
Whiteboard:
Fixed In Version: virtio-win-prewhql-0.1-88 Doc Type: Bug Fix
Doc Text:
Cause: RNG drivers use version 1.11 of KMDF, for all platforms. Consequence: This will require additional OS reboot to update the KMDF if system does not have KMDF 1.11 installed. Fix: Fix project file to use KMDF 1.9 for old Windows versions, Result: Now virtio-rng driver can be installed without reboot on old Windows platforms.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 05:34:29 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:
Bug Depends On:    
Bug Blocks: 1131838    

Description Lev Veyde 2014-07-06 12:34:09 UTC
Description of problem:
RNG drivers use version 1.11 of KMDF, for all platforms, and not the specific version supplied by the OS. This will require additional OS reboot to update the KMDF, and may cause other issues with i.e. RHEV WGT installation.

Version-Release number of selected component (if applicable):
Build 81

Actual results:
RNG Drivers for all platforms use KMDF 1.11

Expected results:
RNG Drivers should use OS supplied version of KMDF, i.e. Win7 / 2K8R2 should use 1.9 etc.

Comment 1 Mike Cao 2014-07-06 13:37:00 UTC
(In reply to Lev Veyde from comment #0)
> Description of problem:
> RNG drivers use version 1.11 of KMDF, for all platforms, and not the
> specific version supplied by the OS. This will require additional OS reboot
> to update the KMDF, and may cause other issues with i.e. RHEV WGT
> installation.
> 
> Version-Release number of selected component (if applicable):
> Build 81
> 
> Actual results:
> RNG Drivers for all platforms use KMDF 1.11
> 
> Expected results:
> RNG Drivers should use OS supplied version of KMDF, i.e. Win7 / 2K8R2 should
> use 1.9 etc.

Can you show me how to check the KMDF version used for the driver ? 

I can use WDF-Check Kmdf Function Table Test job to verify it ,but looks a little complex 

Mike

Comment 2 Gal Hammer 2014-07-07 11:36:56 UTC
Can you please specify which KMDF version you expect for each Windows version?

We have version for Windows 7, Windows 8 and Windows 2008/Vista.

Thanks.

Comment 3 Lev Veyde 2014-07-07 13:20:51 UTC
(In reply to Gal Hammer from comment #2)
> Can you please specify which KMDF version you expect for each Windows
> version?
> 
> We have version for Windows 7, Windows 8 and Windows 2008/Vista.
> 
> Thanks.

Vista - KMDF 1.5 - not supported by RHEV
W2K8 - KMDF 1.7 - we already have an issue on this OS, as we update it to 1.9
Windows 7 / W2K8R2 - KMDF 1.9
Windows 8 / W2K12 - KMDF 1.11

Comment 4 Lev Veyde 2014-07-07 13:24:32 UTC
(In reply to Mike Cao from comment #1)
> (In reply to Lev Veyde from comment #0)
> > Description of problem:
> > RNG drivers use version 1.11 of KMDF, for all platforms, and not the
> > specific version supplied by the OS. This will require additional OS reboot
> > to update the KMDF, and may cause other issues with i.e. RHEV WGT
> > installation.
> > 
> > Version-Release number of selected component (if applicable):
> > Build 81
> > 
> > Actual results:
> > RNG Drivers for all platforms use KMDF 1.11
> > 
> > Expected results:
> > RNG Drivers should use OS supplied version of KMDF, i.e. Win7 / 2K8R2 should
> > use 1.9 etc.
> 
> Can you show me how to check the KMDF version used for the driver ? 
> 
> I can use WDF-Check Kmdf Function Table Test job to verify it ,but looks a
> little complex 
> 
> Mike

To see what version of KMDF is used by the driver you need to check it's .inf file.

You should look for a line that looks similar to this:
KmdfLibraryVersion = 1.11

In this case it uses KMDF 1.11.

Comment 5 RHEL Program Management 2014-07-22 05:47:12 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 6 Gal Hammer 2014-07-22 14:10:16 UTC
Although I don't agree this solution, a patch was posted.

The RHEV WGT installer should know how to handle the case where a WDF upgrade is needed and requires a reboot.

Comment 8 Mike Cao 2014-08-15 06:45:24 UTC
reproduce this issue on virtio-win-prewhql-87
Verified this issue on virtio-win-prewhql-88

Steps:
Check the WDFCoinstaller version in win7 folder 


Actual Results:
on build-87 ,RNG use WdfCoInstaller01011.dll
on build-88 ,RNG use WdfCoInstaller01009.dll

Based on above ,this issue has been fixed ald 
Move status to Verified

Comment 10 Vadim Rozenfeld 2015-01-26 05:21:42 UTC
(In reply to Gal Hammer from comment #6)
> Although I don't agree this solution, a patch was posted.
> 
> The RHEV WGT installer should know how to handle the case where a WDF
> upgrade is needed and requires a reboot.

I also think that falling back to the default WDF version, originally shipped with OS, is not a good idea. Windows update or any other third party driver
can install the latest WDF binaries on the system while we still be using 
the the old (maybe already obsolete) WDF binaries, provided by OS.

Comment 12 errata-xmlrpc 2015-03-05 05:34:29 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://rhn.redhat.com/errata/RHBA-2015-0289.html