Bug 1043197

Summary: XP SP3 fails to install network drivers with virtio-win 0.1-74
Product: [Fedora] Fedora Reporter: Cybertimber2011 <cybertimber2000>
Component: virtio-winAssignee: Ronen Hod <rhod>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bcao, ghammer, knoel, virt-maint, vrozenfe, yvugenfi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 04:31:21 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:

Description Cybertimber2011 2013-12-14 20:45:18 UTC
Description of problem:
When trying to install virtio-win 0.1-74 drivers on Windows XP SP3 for "Ethernet Controller" (aka Red Hat VirtIO Network Controller), an error occurs - Code 39

Version-Release number of selected component (if applicable):
virtio-win 0.1-74

How reproducible:


Steps to Reproduce:
1. Create VM on oVirt (or RHEV?) for XP
2. Mount virtio-win 0.1-74 iso
3. Install drivers for "Ethernet Controller" (aka Red Hat VirtIO Network Controller)

Actual results:
Install fails with an error - "Windows cannot load the device driver for this hardware. The driver may be corrupted or missing (Code 39).
Device shows a yellow exclamation mark.

Expected results:
Driver installs and device works

Additional info:
According to XP's device details:
Driver Date: 11/20/2013
Driver Version: 62.65.104.7400

Also, the drivers are *not digitally signed* which throws an error at install time.

Workaround:
Use e1000 or rlt8139 network interface

Comment 1 Cybertimber2011 2013-12-15 04:31:21 UTC
Closing as NOTABUG

I read through the setupapi file (https://bugzilla.redhat.com/attachment.cgi?id=836855) and found that the issue is XP.
In XP if both "Search removable media" and "Include this location - D:\XP\x86" are checked, the scan could win, and in this case it is. 

#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#I022 Found "PCI\VEN_1AF4&DEV_1000&SUBSYS_00011AF4&REV_00" in d:\xp\x86\NETKVM.INF; Device: "Red Hat VirtIO Ethernet Adapter"; Driver: "Red Hat VirtIO Ethernet Adapter"; Provider: "Red Hat Inc."; Mfg: "Red Hat Inc."; Section name: "kvmnet5.ndi".
#I087 Driver node not trusted, rank changed from 0x00000000 to 0x00008000.
#I023 Actual install section: [kvmnet5.ndi]. Rank: 0x00008000. Effective driver date: 11/20/2013.
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#I022 Found "PCI\VEN_1AF4&DEV_1000&SUBSYS_00011AF4&REV_00" in d:\win8\x86\NETKVM.INF; Device: "Red Hat VirtIO Ethernet Adapter"; Driver: "Red Hat VirtIO Ethernet Adapter"; Provider: "Red Hat Inc."; Mfg: "Red Hat Inc."; Section name: "kvmnet6.ndi".
#I087 Driver node not trusted, rank changed from 0x00000000 to 0x00008000.
#I023 Actual install section: [kvmnet6.ndi]. Rank: 0x00008000. Effective driver date: 11/20/2013.
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#I022 Found "PCI\VEN_1AF4&DEV_1000&SUBSYS_00011AF4&REV_00" in d:\win7\x86\NETKVM.INF; Device: "Red Hat VirtIO Ethernet Adapter"; Driver: "Red Hat VirtIO Ethernet Adapter"; Provider: "Red Hat Inc."; Mfg: "Red Hat Inc."; Section name: "kvmnet6.ndi".
#I087 Driver node not trusted, rank changed from 0x00000000 to 0x00008000.
#I023 Actual install section: [kvmnet6.ndi]. Rank: 0x00008000. Effective driver date: 11/20/2013.
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#I022 Found "PCI\VEN_1AF4&DEV_1000&SUBSYS_00011AF4&REV_00" in d:\vista\x86\NETKVM.INF; Device: "Red Hat VirtIO Ethernet Adapter"; Driver: "Red Hat VirtIO Ethernet Adapter"; Provider: "Red Hat Inc."; Mfg: "Red Hat Inc."; Section name: "kvmnet6.ndi".
#I087 Driver node not trusted, rank changed from 0x00000000 to 0x00008000.
#I023 Actual install section: [kvmnet6.ndi]. Rank: 0x00008000. Effective driver date: 11/20/2013.
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1000&subsys_00011af4&rev_00,pci\ven_1af4&dev_1000&subsys_00011af4,pci\ven_1af4&dev_1000&cc_020000,pci\ven_1af4&dev_1000&cc_0200
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1000&rev_00,pci\ven_1af4&dev_1000,pci\ven_1af4&cc_020000,pci\ven_1af4&cc_0200,pci\ven_1af4,pci\cc_020000,pci\cc_0200
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [kvmnet6.ndi] in "d:\win8\x86\netkvm.inf".
#I320 Class GUID of device remains: {4D36E972-E325-11CE-BFC1-08002BE10318}.
#I060 Set selected driver.
#I058 Selected best compatible driver.
#-124 Doing copy-only install of "PCI\VEN_1AF4&DEV_1000&SUBSYS_00011AF4&REV_00\3&13C0B0C5&0&18".
#E366 An unsigned or incorrectly signed file "d:\win8\x86\netkvm.cat" for driver "Red Hat VirtIO Ethernet Adapter" will be installed (Policy=Warn, user said ok). Error 0x800b010a: An internal certificate chaining error has occurred.
#W187 Install failed, attempting to restore original files.
#E362 An unsigned or incorrectly signed file "d:\win8\x86\netkvm.cat" for driver "Red Hat VirtIO Ethernet Adapter" will be installed (Policy=Warn). Error 0x800b010a: An internal certificate chaining error has occurred.
#-024 Copying file "d:\win8\x86\netkvm.sys" to "C:\WINDOWS\system32\DRIVERS\netkvm.sys".
#E362 An unsigned or incorrectly signed file "d:\win8\x86\netkvm.sys" for driver "Red Hat VirtIO Ethernet Adapter" will be installed (Policy=Warn). Error 0x800b010a: An internal certificate chaining error has occurred.
#-166 Device install function: DIF_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [kvmnet6.ndi.Interfaces] from "d:\win8\x86\netkvm.inf".
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#I123 Doing full install of "PCI\VEN_1AF4&DEV_1000&SUBSYS_00011AF4&REV_00\3&13C0B0C5&0&18".
#E362 An unsigned or incorrectly signed file "d:\win8\x86\netkvm.cat" for driver "Red Hat VirtIO Ethernet Adapter" will be installed (Policy=Warn). Error 0x800b010a: An internal certificate chaining error has occurred.
#I121 Device install of "PCI\VEN_1AF4&DEV_1000&SUBSYS_00011AF4&REV_00\3&13C0B0C5&0&18" finished successfully.

It chooses to install the Windows 8 driver instead.

A workaround is to uncheck "search removable media" and choose to only search "X:\xp\x86\".