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.
VirtIO SCSI pass-through is not supported on Windows XP.
Ok. Does the same apply for "Red Hat VirtIO SCSI controller"?
(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.
Ok because that one (SCSI Controller/vistor.sys) is failing with the same error, code 39, as is the networking driver (BZ 1043197)
(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.
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.
can you please post setupapi.log file? http://msdn.microsoft.com/en-us/library/windows/hardware/ff550882%28v=vs.85%29.aspx
Created attachment 836855 [details] Setupapi file
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.
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.
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
(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.