Jump to content











Photo
- - - - -

More USB 3 fun


  • Please log in to reply
7 replies to this topic

#1 kelsie

kelsie

    Newbie

  • Members
  • 11 posts
  •  
    United Kingdom

Posted 03 January 2018 - 08:27 AM

I'm trying to boot win7 from a vhd on a stick. It has been working fine but on the more recent computers, say two years old or less, it gets bsoded.

 

I've read here about the pains people went through with usb 3 so I suspected that might be the issue. Since I'm trying to boot on hp computers I have installed some usb3 hp drivers. I've also made the two changes in the registry for each of the relevant services. But to no avail.

 

What might I be missing here?

 

These computers have windows 7 as their os. If I try to boot winpe7 it boots fine but the keyboard and mouse, which are connected by usb, don't work. If I try to boot winpe10 it also boots fine but everything works as it should, including access to the files in the stick.


Edited by kelsie, 03 January 2018 - 08:32 AM.


#2 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14392 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 03 January 2018 - 02:55 PM

Well, if you don't specify which services you installed and what registry changes you made it is hard to say what you missed.

Also "how" you "installed" them might make a difference, really difficult to say.

Did you edit an already built PE? (modifying the boot.wim, or is it a "flat" build?)

Did you try adding the drivers as a .script or similar in the build?

 

Etc., etc., the more details you provide the more likely is that someone could spot a mistake or a missing step...

 

The last version by cdob for Winbuilder projects, which is attached here:

http://reboot.pro/to...ssues/?p=189313

contains some references to discussion topics (references that were cleverly obliterated in more recent releases editing the history in an attempt to remove any traces of the past :w00t: :ph34r:).

 

Before:

 

 

HistoryNotes=to process faster required files attached
HistoryNotes=cdob main page (post 6) http://www.911cd.net...showtopic=23637- also cdob pe2/3 notes post 173 http://reboot.pro/10...443#entry115443
HistoryNotes=More Info in USB3 Issues thread http://reboot.pro/16769/particularly cdobs post "76
HistoryNotesPE1=For Gena script requires usb mass storage support ComboRemovableDevices.script--> Enable:"Add Usb Mass Storage Support" ==> Tested & Confirmed by BobxT (Thanks)
HistoryNotes=The Intel USB 3.0 eXtensible Host Controller Driver is not supported in Windows XP or Windows Vista
History001=Script by Lancelot ported from plugin of Driver Master cdob ;) for Gena Project
History002=Lancelot support to pe2/3 projects (JFX codes used to add driver)
History005=Arvy Download_Level=1
History006=Lancelot IniVariables OS
History007=ChrisR - Supports drivers for hardware manufacturers AMD, Intel, Renesas2 and Renesas3 Drivers following 'USB3 Issues' topic (http://reboot.pro/16769/), thanks cdob, darren rose, MedEvil
History008=ChrisR - separate process for PE2/3, complete PE1 process following cdob's indications, Driver versions for future updates.
History009=ChrisR - No process for PE1 (different process) which already has its own script "RemovableDeviceUSB3 More" in Gena but kept for history or future merger.
History009=ChrisR - Adds Asmedia, Etron, Fresco Logic, Texas Instruments, Via Drivers.
History010=cdob - PE3 native USB boot, flat file USB boot
History012=Lancelot - NoWarnROW implemented
History013=ChrisR - Following AU3381 updated
History015=ChrisR - WimGapi Work Dir
History016=ChrisR - copy dism.exe.mui with en-US fallback
History017=ied206 - Added drivers for Intel Haswell's chipsets (Intel 4th Gen Core)
History018=ied206 - Supporting Flat Boot from USB 3.0 in Intel Haswell Chipsets
History019=cdob - rework Intel USB 3.0, removed embedded wdfldr at VIA and Fresco driver, dism dosn't include this part anyway
History019=cdob - Intel USB 3.0 Switch driver added, combined mode adjusted
History020=cdob - Intel USB 3.0 Switch driver added, combined mode Series 8 drivers at Series 7 hardware
History021=cdob - Intel USB 3.0 Version 3.0.0.19 Driver for Intel NUC - testing
History022=cdob - Intel USB 3.0 Version 3.0.1.41 Driver for Intel Series 8/9 - testing
History023=cdob - enable Intel switch driver at Native mode
History024a01=cdob - timing games

 

After:

 

 

HistoryNotes01=to process faster required files attached
HistoryNotes02=PE1 For Gena plugin requires usb mass storage support ComboRemovableDevices.script--> Enable:"Add Usb Mass Storage Support" ==> Tested & Confirmed by BobxT (Thanks)
HistoryNotes=The Intel USB 3.0 eXtensible Host Controller Driver is not supported in Windows XP or Windows Vista
History001=Plugin by Lancelot ported from plugin of Driver Master cdob ;) for Gena Project
History002=Lancelot support to pe2/3 projects (JFX codes used to add driver)
History005=Arvy Download_Level=1
History006=Lancelot IniVariables OS
History007=ChrisR - Supports drivers for hardware manufacturers AMD, Intel, Renesas2 and Renesas3 Drivers following 'USB3 Issues' , thanks cdob, darren rose, MedEvil
History008=ChrisR - separate process for PE2/3, complete PE1 process following cdob's indications, Driver versions for future updates.
History009=ChrisR - No process for PE1 (different process) which already has its own Plugin "RemovableDeviceUSB3 More" in Gena but kept for history or future merger.
History009=ChrisR - Adds Asmedia, Etron, Fresco Logic, Texas Instruments, Via Drivers.
History010=cdob - PE3 native USB boot, flat file USB boot
History012=Lancelot - NoWarnROW implemented
History013=ChrisR - Following AU3381 updated
History015=ChrisR - WimGapi Work Dir
History016=ChrisR - copy dism.exe.mui with en-US fallback
History017=ied206 - Added drivers for Intel Haswell's chipsets (Intel 4th Gen Core)
History018=ied206 - Supporting Flat Boot from USB 3.0 in Intel Haswell Chipsets
History019=cdob - rework Intel USB 3.0, removed embedded wdfldr at VIA and Fresco driver, dism dosn't include this part anyway
History020=cdob - Intel USB 3.0 Switch driver added, combined mode Series 8 drivers at Series 7 hardware - Date=2014.04.19
History022=Lancelot syntax updated
History023=Lancelot updated v023 - Date=2016.01.28
History024=Lancelot Deprecate old syntax (PEBakery Support) - Date:2017.12.07

 

Only to show how difficult it is to effectively delete data to negate the past. ;)

 

:duff:

Wonko



#3 kelsie

kelsie

    Newbie

  • Members
  • 11 posts
  •  
    United Kingdom

Posted 04 January 2018 - 01:43 AM

What I did was boot the stick vhd as usual on an HP computer, go to device manager, right click on the devices, update drivers. Did this for 'Intel® USB 3.0 eXtensible Host Controller' and 'Intel® USB 3.0 Root Hub'. Then went to the registry and changed values in the keys iusb3hub and iusb3xhc located at HKLM\SYSTEM\CurrentControlSet\services. For both of them changed the value of 'Start' to 0 and of Group to 'Boot Bus Extender'. Shut down computer and then tried to boot on the newer HP computer. Bsod.

 

The winpe's I loaded to experiment were taken from the installation media, with no changes.


Edited by kelsie, 04 January 2018 - 01:47 AM.


#4 cdob

cdob

    Gold Member

  • Expert
  • 1402 posts

Posted 04 January 2018 - 05:34 AM

Does exist only one HP computer? Which one do you use?
Which USB 3.0 driver version do you use?
Which USB 3.0 BIOS settigs do you use?
What about a USB 3.0 switch driver?

Integrate current USB 3.0 drivers to winpe7.

#5 kelsie

kelsie

    Newbie

  • Members
  • 11 posts
  •  
    United Kingdom

Posted 05 January 2018 - 05:54 AM

I've looked at the drivers I installed on the vhd, they are iusb3hub.sys and iusb3xhc.sys and both are version 2.5.0.19 with the description I posted above. Are you saying I can try to use the drivers that work OK on the winpe10 or the installed win7 and switch the ones in the vhd? That's a good idea. How can I go about doing that? I've searched the wimpe10 registry and one possibly relevant key I found was at HKLM\ControlSet001\Services\USBHUB3 with the driver being UsbHub3.sys for which the file description is 'USB3 HUB Driver' and version 10.0.10586.122

#6 cdob

cdob

    Gold Member

  • Expert
  • 1402 posts

Posted 05 January 2018 - 05:14 PM

No, don't use Window 10 USB drivers at Windows 7. This will fail.

Fernando maintains a driver collection.
The drivers are tested at different hardware.
https://www.win-raid...and-modded.html

There are USB 3 drivers for Intel 7-Series Chipsets
And other drivers for Chipsets from 8-Series up.
2.5.0.19 relates to a 8-Series chipset.

Again, which hardware do you use?
Which HP do you use? Name the model.
Can you name the USB controller HardareID from the device manager?

There is a driver iusb3hcs.sys "Intel® USB 3.0 Host Controller Switch Driver".
Depending on BIOS settings this driver is required too. Set start=0 too.

Or try native early boot drivers.
http://reboot.pro/to...p1/#entry127772
Set BootFlags=0x4 to services iusb3hcs, iusb3xhc, iusb3hub in addition.

Try from scratch:
Apply a Windows 7 install.wim to the VHD.
Run Dism Add-Driver to include the Intel USB 3.0 drivers.
Fix USB boot settings next.

#7 kelsie

kelsie

    Newbie

  • Members
  • 11 posts
  •  
    United Kingdom

Posted 15 January 2018 - 10:19 PM

I've used Dism to add the drivers but I'm stuck at preparing the registry because either I didn't use it properly or it does not write to the registry. I've searched the documentation for dism and also pnputil and also the command line 'RUNDLL32.EXE SETUPAPI.DLL,...' and it seems all of them add the drivers to the driver store but the registry is only written after the drivers are loaded for the first time making this a catch22 situation. I used 'Dism /Image:C:\test\offline /Add-Driver /Driver:C:\drivers\mydriver.inf'. Is this right? I got the hardwareID for the computer usb3 (hp optiplex 7040), it's IUSB3\ROOT_HUB30&VID_8086&PID_A12F&REV_0031&SID_06B91028. A google search pointed to https://downloadcent...el-NUC-Productswhich has the driver 'Intel® USB 3.0 Device Driver for Intel® NUC Products' Version: 3.0.5.69. I'll try with this one.

#8 cdob

cdob

    Gold Member

  • Expert
  • 1402 posts

Posted 16 January 2018 - 09:42 PM

I got the hardwareID for the computer usb3 (hp optiplex 7040), it's IUSB3\ROOT_HUB30&VID_8086&PID_A12F&REV_0031&SID_06B91028.

This is the HUB HardwareID, the USB Controller HardwareID would be nice too.

Optiplex reminds to Dell. And this to terrible USB BIOS behaviour.
Do you use a HP or a Dell Optiplex 7040?

http://www.dell.com/.../drivers?lwp=rt
https://downloads.de....0.3.42_A02.EXE

Expand Intel-USB-eXtensible-Host-Controller-Driver_4H5XG_WIN_5.0.3.42_A02.EXE at 7-zip.



Given a USB stick D:
 
md D:\VHD
diskpart.exe
list disk
list vol
create vdisk file=D:\VHD\win7.vhd maximum=16384 type=fixed
select vdisk file=D:\VHD\win7.vhd
attach vdisk
list disk
create partition primary
format fs=ntfs quick
assign letter=V
list vol

Dism.exe /Apply-Image /ImageFile:E\sources\install.wim /Index:4 /ApplyDir:V:\
bcdboot.exe V:\Windows /s D:

Dism.exe /image:V:\ /Add-Driver /driver:"C:\drivers\Win7_x64\USB3" /recurse /ForceUnsigned
Dism.exe /image:V:\ /Get-Drivers /Format:Table

There is attached a file fix_USB3_SD.zip
http://www.msfn.org/...comment=1125092

Enable USB boot including Intel USB 3.0 driver.
fix_USB3_SD.cmd V:\Windows


diskpart.exe
select vdisk file=D:\VHD\win7.vhd
detach vdisk





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users