Jump to content

HOWTO: Add HP KGPSA HBA drivers


Ausmith1

Recommended Posts

Procedure for adding boot support for the HP (Compaq) KGPSA-xx / Emulex LightPulse 950 PCI-Fibre Channel HBA to a Windows 2000/2003 install CD.

This is very useful if you are trying to install in a boot from SAN configuration.

1) Add the following to DOSNET.INF

[Files]
d1,cpqkgpsa.sys

[OptionalSrcDirs]
svcpack

2) Add the following to TXTSETUP.SIF

[SourceDisksFiles]
cpqkgpsa.sys = 2,,,,,,_x,4,0,0

[HardwareIdsDatabase]
; Compaq / Emulex KGPSA-xx PCI-Fibre Channel HBA
PCI\VEN_10DF&DEV_F700&SUBSYS_F7000E11 = "cpqkgpsa"
PCI\VEN_10DF&DEV_F700&SUBSYS_F70010DF = "cpqkgpsa"
PCI\VEN_10DF&DEV_F800&SUBSYS_F8000E11 = "cpqkgpsa"
PCI\VEN_10DF&DEV_F800&SUBSYS_F80010DF = "cpqkgpsa"
PCI\VEN_10DF&DEV_F095&SUBSYS_F0950E11 = "cpqkgpsa"
PCI\VEN_10DF&DEV_F095&SUBSYS_F09510DF = "cpqkgpsa"

[SCSI.Load]
cpqkgpsa = cpqkgpsa.sys,4

[SCSI]
cpqkgpsa = "Compaq/Emulex KGPSA-xx PCI-Fibre Channel HBA"

3) Add the following to HIVESYS.INF

[AddReg]
; Compaq/Emulex KGPSA-xx PCI-Fibre Channel HBA
HKLM,"SYSTEM\CurrentControlSet\Services\cpqkgpsa","ErrorControl",0x00010003,1
HKLM,"SYSTEM\CurrentControlSet\Services\cpqkgpsa","Group",0x00000002,"SCSI miniport"
HKLM,"SYSTEM\CurrentControlSet\Services\cpqkgpsa","Start",0x00010003,4
HKLM,"SYSTEM\CurrentControlSet\Services\cpqkgpsa","Tag",0x00010003,259
HKLM,"SYSTEM\CurrentControlSet\Services\cpqkgpsa","Type",0x00010003,1
HKLM,"SYSTEM\CurrentControlSet\Services\cpqkgpsa\Parameters",,0x00000012
HKLM,"SYSTEM\CurrentControlSet\Services\cpqkgpsa\Parameters\Device","NumberOfRequests",0x00010001,0x32
HKLM,"SYSTEM\CurrentControlSet\Services\cpqkgpsa\Parameters\Device","MaximumSGList",0x00010001,0x21
HKLM,"SYSTEM\CurrentControlSet\Services\cpqkgpsa\Parameters\Device","DriverParameter",0x00000000,"EnableDPC=1;ElsRetryCount=6;NodeTimeOut=60;ScanDown=1;SimulateDevice=1;Topology=2;"
HKLM,"SYSTEM\CurrentControlSet\Services\cpqkgpsa\Parameters\PnpInterface","5",0x00010003,1
HKLM,"SYSTEM\CurrentControlSet\Services\disk","TimeOutValue",0x00010001,0x3c
HKLM,"SYSTEM\CurrentControlSet\Control\ScsiPort\SpecialTargetList\GenDisk","LargeLuns",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Control\ScsiPort\SpecialTargetList\GenDisk","SparseLUN",0x00010001,1

; Compaq/Emulex KGPSA-xx PCI-Fibre Channel HBA
HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\cpqkgpsa","EventMessageFile",0x00020002,"%SystemRoot%\System32\IoLogMsg.dll"
HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\cpqkgpsa","TypesSupported",0x00010003,7

Be extremely careful to ensure that you don't change the wrapping of lines in HIVESYS.INF, I found that if I opened HIVESYS.INF in Notepad with word wrap on, that it would sometimes change the line wrapping upon saving, effectivly corrupting the file. So turn word wrap off! Or better yet use a better text editor like UltraEdit.

4) Create the following CD structure

+---$OEM$
|   +---$1
|       \---Drivers
|           +---SCSI
|               \---cpqkgpsa
\---I386
  +---SVCPACK
  +---SYSTEM32
  \---UNIPROC

Place all the extracted KGPSA driver files in \$OEM$\$1\Drivers\SCSI\cpqkgpsa

Copy cpqkgpsa.sys to \i386

Copy cpqkgpsa.cat to \i386\SVCPACK

5) Make the following modifications to SVCPACK.INF

[Version]
Signature="$Windows NT$"
BuildNumber=2195
MajorVersion=5
MinorVersion=0

[SetupData]
CatalogSubDir="\i386\svcpack"

[ProductCatalogsToInstall]
cpqkgpsa.cat

I'm not 100% positive that you have to add the CAT file to the SVCPACK.INF. Anyone know for sure?

6) Add the following to WINNT.SIF

[Unattended]
  OemPreinstall=Yes
  OemFilesPath="..\$OEM$"
; See http://support.microsoft.com/default.aspx?scid=kb;EN-US;q250380 for why this must be = Ignore
  DriverSigningPolicy=Ignore
  OemPnPDriversPath="Drivers\SCSI\cpqkgpsa;"

Beware that lines posted here may possibly wrap! If you paste wrapped lines into your INF or SIF files they will NOT work.

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...