Bug 1043198 - XP SP3 fails to install SCSI storage drivers with virtio-win 0.1-74
Summary: XP SP3 fails to install SCSI storage drivers with virtio-win 0.1-74
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: virtio-win
Version: rawhide
Hardware: Unspecified
OS: Windows
unspecified
unspecified
Target Milestone: ---
Assignee: Ronen Hod
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-14 20:49 UTC by Cybertimber2011
Modified: 2014-12-15 00:53 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-15 04:25:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Setupapi file (307.75 KB, text/plain)
2013-12-15 02:32 UTC, Cybertimber2011
no flags Details

Description Cybertimber2011 2013-12-14 20:49:13 UTC
Description of problem:
When trying to install virtio-win 0.1-74 drivers on Windows XP SP3 for "SCSI Controller" (aka Red Hat VirtIO SCSI pass-through 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. SCSI Controller" (aka Red Hat VirtIO SCSI pass-through 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).

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.

Comment 1 Vadim Rozenfeld 2013-12-14 21:22:10 UTC
VirtIO SCSI pass-through is not supported on Windows XP.

Comment 2 Cybertimber2011 2013-12-14 21:25:57 UTC
Ok. Does the same apply for "Red Hat VirtIO SCSI controller"?

Comment 3 Vadim Rozenfeld 2013-12-14 22:47:23 UTC
(In reply to Cybertimber2011 from comment #2)
> Ok. Does the same apply for "Red Hat VirtIO SCSI controller"?

No. virtio-blk (viostor.sys) should work fine.

Comment 4 Cybertimber2011 2013-12-14 23:49:24 UTC
Ok because that one (SCSI Controller/vistor.sys) is failing with the same error, code 39, as is the networking driver (BZ 1043197)

Comment 5 Vadim Rozenfeld 2013-12-15 00:06:44 UTC
(In reply to Cybertimber2011 from comment #4)
> Ok because that one (SCSI Controller/vistor.sys) is failing with the same
> error, code 39, as is the networking driver (BZ 1043197)

Was it the driver located under /WXp/x86 directory?
What is the qemu version?

Thanks,
Vadim.

Comment 6 Cybertimber2011 2013-12-15 01:14:50 UTC
qemu-1.4.2-13.fc19.x86_64
I can confirm it was the WXp/x86 driver as I uninstalled the driver, rebooted, and pointed to that location to reinstall it. Still showing code 39.

Comment 7 Vadim Rozenfeld 2013-12-15 01:58:43 UTC
can you please post setupapi.log file?
http://msdn.microsoft.com/en-us/library/windows/hardware/ff550882%28v=vs.85%29.aspx

Comment 8 Cybertimber2011 2013-12-15 02:32:23 UTC
Created attachment 836855 [details]
Setupapi file

Comment 9 Cybertimber2011 2013-12-15 03:32:40 UTC
Ok I read through the setupapi file and I found the problem.
In XP if both "Search removable media" and "Include this location - D:\WXP\x86" are checked, the scan could win, and in this case it is.

#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#I022 Found "PCI\VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00" in d:\wxp\x86\VIOSTOR.INF; Device: "Red Hat VirtIO SCSI controller"; Driver: "Red Hat VirtIO SCSI controller"; Provider: "Red Hat, Inc."; Mfg: "Red Hat, Inc."; Section name: "rhelscsi_inst".
#I087 Driver node not trusted, rank changed from 0x00000000 to 0x00008000.
#I023 Actual install section: [rhelscsi_inst]. Rank: 0x00008000. Effective driver date: 11/20/2013.
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#I022 Found "PCI\VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00" in d:\wxp\x86\VIOSTOR.INF; Device: "Red Hat VirtIO SCSI controller"; Driver: "Red Hat VirtIO SCSI controller"; Provider: "Red Hat, Inc."; Mfg: "Red Hat, Inc."; Section name: "rhelscsi_inst".
#I087 Driver node not trusted, rank changed from 0x00000000 to 0x00008000.
#I023 Actual install section: [rhelscsi_inst]. Rank: 0x00008000. Effective driver date: 11/20/2013.
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#I022 Found "PCI\VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00" in d:\wnet\x86\VIOSTOR.INF; Device: "Red Hat VirtIO SCSI controller"; Driver: "Red Hat VirtIO SCSI controller"; Provider: "Red Hat, Inc."; Mfg: "Red Hat, Inc."; Section name: "rhelscsi_inst".
#I087 Driver node not trusted, rank changed from 0x00000000 to 0x00008000.
#I023 Actual install section: [rhelscsi_inst]. Rank: 0x00008000. Effective driver date: 11/20/2013.
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#I022 Found "PCI\VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00" in d:\wlh\x86\VIOSTOR.INF; Device: "Red Hat VirtIO SCSI controller"; Driver: "Red Hat VirtIO SCSI controller"; Provider: "Red Hat, Inc."; Mfg: "Red Hat, Inc."; Section name: "rhelscsi_inst".
#I087 Driver node not trusted, rank changed from 0x00000000 to 0x00008000.
#I023 Actual install section: [rhelscsi_inst]. Rank: 0x00008000. Effective driver date: 11/20/2013.
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#I022 Found "PCI\VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00" in d:\win8\x86\VIOSTOR.INF; Device: "Red Hat VirtIO SCSI controller"; Driver: "Red Hat VirtIO SCSI controller"; Provider: "Red Hat, Inc."; Mfg: "Red Hat, Inc."; Section name: "rhelscsi_inst".
#I087 Driver node not trusted, rank changed from 0x00000000 to 0x00008000.
#I023 Actual install section: [rhelscsi_inst]. Rank: 0x00008000. Effective driver date: 11/20/2013.
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#I022 Found "PCI\VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00" in d:\win7\x86\VIOSTOR.INF; Device: "Red Hat VirtIO SCSI controller"; Driver: "Red Hat VirtIO SCSI controller"; Provider: "Red Hat, Inc."; Mfg: "Red Hat, Inc."; Section name: "rhelscsi_inst".
#I087 Driver node not trusted, rank changed from 0x00000000 to 0x00008000.
#I023 Actual install section: [rhelscsi_inst]. Rank: 0x00008000. Effective driver date: 11/20/2013.
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#-019 Searching for hardware ID(s): pci\ven_1af4&dev_1001&subsys_00021af4&rev_00,pci\ven_1af4&dev_1001&subsys_00021af4,pci\ven_1af4&dev_1001&cc_010000,pci\ven_1af4&dev_1001&cc_0100
#-018 Searching for compatible ID(s): pci\ven_1af4&dev_1001&rev_00,pci\ven_1af4&dev_1001,pci\ven_1af4&cc_010000,pci\ven_1af4&cc_0100,pci\ven_1af4,pci\cc_010000,pci\cc_0100
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [rhelscsi_inst] in "d:\win8\x86\viostor.inf".
#I320 Class GUID of device remains: {4D36E97B-E325-11CE-BFC1-08002BE10318}.
#I060 Set selected driver.
#I058 Selected best compatible driver.
#-124 Doing copy-only install of "PCI\VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00\3&13C0B0C5&0&38".
#E366 An unsigned or incorrectly signed file "d:\win8\x86\viostor.cat" for driver "Red Hat VirtIO SCSI controller" 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\viostor.cat" for driver "Red Hat VirtIO SCSI controller" will be installed (Policy=Warn). Error 0x800b010a: An internal certificate chaining error has occurred.
#-024 Copying file "d:\win8\x86\viostor.sys" to "C:\WINDOWS\system32\DRIVERS\viostor.sys".
#E362 An unsigned or incorrectly signed file "d:\win8\x86\viostor.sys" for driver "Red Hat VirtIO SCSI controller" 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 [rhelscsi_inst.Interfaces] from "d:\win8\x86\viostor.inf".
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#I123 Doing full install of "PCI\VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00\3&13C0B0C5&0&38".
#E362 An unsigned or incorrectly signed file "d:\win8\x86\viostor.cat" for driver "Red Hat VirtIO SCSI controller" will be installed (Policy=Warn). Error 0x800b010a: An internal certificate chaining error has occurred.
#I163 Device not started: Device has problem: 0x27: CM_PROB_DRIVER_FAILED_LOAD.
#I121 Device install of "PCI\VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00\3&13C0B0C5&0&38" finished successfully.

In this snippet we can see that all of the viostor.sys (viostor.cat) files were found, but in the end the Win8 driver was picked to install on XP.

I reverted to a snapshot I took after the OS install finished but before the drivers were installed and unchecking "Search removable media" and only checking "Include this location in the search", it acts as expected.
The Network driver (BZ 1043197) installs correctly, the SCSI pass-through device does not find a driver, the serial device does find a driver, and I haven't tested the controller yet.

Comment 10 Vadim Rozenfeld 2013-12-15 03:51:48 UTC
So, both vioserial, viostor and netkvm work fine on your setup, right?
SCSI pass through for WinXP just doesn't exist.
If by "controller" you mean balloon device - it also should
work fine.

Regards,
Vadim.

Comment 11 Cybertimber2011 2013-12-15 04:25:14 UTC
Correct! I tested the "Red Hat VirtIO SCSI Controller" by adding another drive with the VirtIO interface and the installing the drivers and it works. SO just the pass-through doesn't work as expected.

I'm ok with closing this as NOTABUG. I'm not sure if anything can be done to the drivers so that XP only sees the XP driver as an appropriate one, but the workaround of disabling "Search removable media" works. 

Thanks for your help Vadim

Comment 12 Vadim Rozenfeld 2013-12-15 04:40:02 UTC
(In reply to Cybertimber2011 from comment #11)
> Correct! I tested the "Red Hat VirtIO SCSI Controller" by adding another
> drive with the VirtIO interface and the installing the drivers and it works.
> SO just the pass-through doesn't work as expected.
> 
> I'm ok with closing this as NOTABUG. I'm not sure if anything can be done to
> the drivers so that XP only sees the XP driver as an appropriate one, but
> the workaround of disabling "Search removable media" works. 
> 
> Thanks for your help Vadim

glad to hear that everything is working fine for you now.
Best regards,
Vadim.


Note You need to log in before you can comment on or make changes to this bug.