[ofw] RE: Windows Server 2008 (x64) mthca install via DPINST.EXE

Fab Tillier ftillier at windows.microsoft.com
Tue Dec 11 19:39:01 PST 2007


Hi Stan,

I ran into the same issue with DPInst with the IB driver package.

See the following page for how to decode DPInst return values:

http://msdn2.microsoft.com/en-us/library/ms791066.aspx

The error code 80010100 means there was an error (0x80000000), that one driver was installed to the driver store (the 0x00000100), and one driver failed (0x00010000).  If you run DPInst a second time, I suspect you'll see thing work.

What happens is the when the HCA driver's co-installer tries to install the IB Fabric device (the bus driver), it can't find the drivers (not in the driver store, and an assumption in the co-installer doesn't hold on Windows Server 2008.)  However, that first try stages the bus driver's files in the driver store (the 0x00000100 of the return code).  The second time you run DPInst, when the co-installer tries to create the IB Fabric device, it does find the bus driver in the driver store and succeeds, which in turn allows the HCA driver installation to succeed.

IPoIB will install more cleanly once the HCA driver installs.

-Fab

-----Original Message-----
From: ofw-bounces at lists.openfabrics.org [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Smith, Stan
Sent: Tuesday, December 11, 2007 4:33 PM
To: Tzachi Dar
Cc: ofw at lists.openfabrics.org
Subject: [ofw] Windows Server 2008 (x64) mthca install via DPINST.EXE

Hello,
  I've started probing what's involved in a LH WinOF install. In past
email, which I unfortunately misplaced, you had mentioned success using
DPInst.exe to install mthca. My experiments have shown less than
complete results.

 DPInst.exe (version 2.1.0.0 10/8/2007)

>From a folder which contains DPInst.exe mthca.{inf,cdf,sys}
ibinstaller.dll + ib_bus.{inf,cdf,sys}

dpinst /C

Summary - ib_bus.inf appears to install, while mthca.inf fails due to a
missing file?
How did you get the mthca install to work?

What did your DPInst command line look like?

Thanks,

Stan.

Details:


C:\temp\WinOF\IBcore>dir mthca* IbInstaller.dll ib_bus*
 Volume in drive C is System Disk
 Volume Serial Number is 2887-C300

 Directory of C:\temp\WinOF\IBcore

10/05/2007  12:21 PM               352 mthca.cdf
10/08/2007  10:55 AM             6,984 mthca.inf
10/08/2007  11:04 AM           338,944 mthca.sys
10/08/2007  11:04 AM            13,312 IbInstaller.dll

10/05/2007  12:21 PM               447 ib_bus.cdf
10/05/2007  12:21 PM             5,753 ib_bus.inf

C:\temp\WinOF\IBcore>dpinst /C
INFO:   Option set: dumping log info to console.
INFO:   Current working directory: 'C:\temp\WinOF\IBcore'
INFO:   Running on path 'C:\temp\WinOF\IBcore'
INFO:   No valid 'dpinst.xml' file provided.
INFO:   Found driver package: 'C:\temp\WinOF\IBcore\ib_bus.inf'.
INFO:   Found driver package: 'C:\temp\WinOF\IBcore\mthca.inf'.
INFO:   Preinstalling 'c:\temp\winof\ibcore\ib_bus.inf' ...
INFO:   ENTER:  DriverPackagePreinstallW
SUCCESS:c:\temp\winof\ibcore\ib_bus.inf is preinstalled.
INFO:   RETURN: DriverPackagePreinstallW  (0x0)
INFO:   ENTER:  DriverPackageGetPathW
INFO:   RETURN: DriverPackageGetPathW  (0x0)
INFO:   Preinstalling 'c:\temp\winof\ibcore\mthca.inf' ...
INFO:   ENTER:  DriverPackagePreinstallW
INFO:   Driver package is already preinstalled
'c:\temp\winof\ibcore\mthca.inf'.

SUCCESS:c:\temp\winof\ibcore\mthca.inf is preinstalled.
INFO:   RETURN: DriverPackagePreinstallW  (0xB7)
INFO:   ENTER:  DriverPackageGetPathW
INFO:   RETURN: DriverPackageGetPathW  (0x0)
INFO:   ENTER:  DriverPackageInstallW
INFO:   Installing INF file 'c:\temp\winof\ibcore\ib_bus.inf' (Plug and
Play).
INFO:   Looking for Model Section [Ibbus.DeviceSection.ntamd64]...
INFO:   Looking for Model Section [SST.DeviceSection.ntamd64]...
INFO:   No matching devices found in INF
"C:\Windows\System32\DriverStore\FileRepository\ib_bus.inf_f344a16c\ib_b
us.inf" on the Machine.
INFO:   No drivers installed. No devices found that match driver(s)
contained in

'C:\Windows\System32\DriverStore\FileRepository\ib_bus.inf_f344a16c\ib_b
us.inf'
.
INFO:   RETURN: DriverPackageInstallW  (0xE000020B)
INFO:   No matching device was found for
'c:\temp\winof\ibcore\ib_bus.inf'. Driver will be installed when plugged
in.
INFO:   ENTER:  DriverPackageInstallW
INFO:   Installing INF file 'c:\temp\winof\ibcore\mthca.inf' (Plug and
Play).
INFO:   Looking for Model Section [HCA.DeviceSection.ntamd64]...
INFO:   Installing devices with Id
"PCI\VEN_15B3&DEV_6278&SUBSYS_627815B3&REV_A0
" using INF
"C:\Windows\System32\DriverStore\FileRepository\mthca.inf_2483b5f7\mthca
.inf".
INFO:   ENTER UpdateDriverForPlugAndPlayDevices...
ERROR:  RETURN UpdateDriverForPlugAndPlayDevices. (Error code 0x2: The
system cannot find the file specified.)
ERROR:  Installation failed. (Error code 0x2: The system cannot find the
file specified.)
ERROR:  PnP Install failed. (Error code 0x2: The system cannot find the
file specified.)
INFO:   Attempting to rollback ...
INFO:   No devices to rollback
INFO:   RETURN: DriverPackageInstallW  (0x2)
INFO:   Created entry in Add or Remove Programs for
'C:\Windows\System32\DriverStore\FileRepository\ib_bus.inf_f344a16c\ib_b
us.inf'.
INFO:   Returning with code 0x80010100

C:\temp\WinOF\IBcore>
_______________________________________________
ofw mailing list
ofw at lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw



More information about the ofw mailing list