Author Topic: Unattended Install RAID Controller Woes  (Read 805 times)

Offline CAS

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Unattended Install RAID Controller Woes
« on: February 09, 2004, 06:34:41 PM »
I am in process of creating a totally automated install of Windows 2000 server. I have run into problems doing the install with two different motherboards (Intel SE7501HG2 and SE7501BR2) as noted below. I started with the first server, ...HG2, and got tired of beating my head on it, so I went over to another system (SE7501BR2) that has a different RAID controller, a320raid.sys driver. I have the exact same issue. I've found that the issue is from two lines in my winnt.sif file; OEMPreInstall=Yes and OEMPnPDriversPath="???". It also happens when I use the OEMFilesPath= "???" line.
Issue: When these lines are in the script, I get an error while in TextMode during the Windows 2000 unattended install: Error, Cannot copy file raidsrc.sys ... esc to skip, ...
I pressed esc and then I get the BSOD with an error stating Inaccessiable boot device.
Now the gottcha here is that the exact same thing happens to a different system with a different raid controller.
The first system is an intel motherboard (SE7501HG2)with a PCI SCSI RAID 5 Contoller (SRCZCR)(raidsrc.sys).
The second system is an intel motherboard (SE7501BR2) with the built in RAID Controller (a320raid.sys).
Now, before you get to the "if it hurts, don't do it" line, let me explain what happens.
I remove both lines, OemPreInstall=yes and OEMPnPDriversPath="???",
1. TimeZone is set incorrectly
2. None of my $OEM$/$1 directory structures are copied to the servers hard drive, therefore none of my GUIRunOnce lines or the cmdlines.txt lines work.
3. The [Components], [Networking], [NetAdapters], [Identification], [Params.Adapter1]... (ie all adapter configuration) is ignored.

FYI, This script works perfectly on a "non raid" server.

My guts are telling me that the issue may be in Intel's oemsetup.inf or their txtsetup.oem...maybe the overwrite of a OEMPnPDriverPath ...
Any Ideas thoughts or comments would be greatly appreciated.

Below is a copy of my winnt.sif

[Data]
AutoPartition=1
MsDosInitiated="0"
UnattendedInstall="Yes"
[Unattended]
UnattendMode=ReadOnly
OemPreinstall=Yes
OemSkipEula=Yes
NoWaitAfterGUIMode=1
; 10
Repartition=Yes
TargetPath=\WINNT
DriverSigningPolicy=Ignore
; NT Upgrade = No
OemFilesPath="$OEM$\$1\Drivers\raid"
OEMPnPDriversPath="drivers\RAID;install\drivers\network;"
[GuiUnattended]
OemSkipWelcome=1
AdminPassword=????
OEMSkipRegional=1
TimeZone=35
; 20
Autologon=Yes
AutoLogonCount=2
[GUIRunOnce]
Command0="c:\install\Software\Abr60\abr60.bat"
Command1="c:\hotfixes\hotfixes.bat"
; Command2="c:\install\Software\Registry\regentry.bat"
; Command2="c:\install\Software\MSXML\msxml.bat
; Command3="c:\install\Software\Registry\security.bat"
[LicenseFilePrintData]
Automode="PerSeat"
[UserData]
FullName="????"
; 30
OrgName="????"
Computername="????-TEST"
[Display]
BitsPerPel=32
Xresolution=800
YResolution=600
Vrefresh=75
[RegionalSettings]
LanguageGroup=1
; 40
Language=00000409
[Components]
cdplayer=off
certsrv=off
certsrv_client=off
certsrv_server=off
charmap=off
chat=off
cluster=off
deskpaper=off
dialer=off
fp_extensions=off
; 50
freecell=off
iis=on
iis_common=on
iis_dbg=off
iis_doc=on
iis_ftp=on
iis_htmla=off
iis_inetmgr=on
iis_nntp=off
iis_nntp_docs=off
; 60
iis_pwmgr=off
iis_smtp=off
iis_smtp_docs=off
iis_www=on
indexsrv_system=off
inetpub=on
licenseServer=off
media_clips=off
minesweeper=off
mousepoint=off
mplay=off
; 70
msmq=off
mswordpad=on
netcis=off
netmeeting=off
objectpkg=off
paint=on
pinball=off
rec=off
reminst=off
; 80
rstorage=off
solitaire=off
templates=off
TSClients=off
TSEnable=off
vol=on
WMS=off
WMS_Admin=off
WMS_SERVER=off
; 90
[Networking]
InstallDefaultComponents=Yes
[NetAdapters]
;Need one for each adapter then a separate [params.?] for each
Adapter1=params.Adapter1
;** Adapter2=params.Adapter2
[Identification]
JoinWorkgroup="workgroup"
[params.Adapter1]
; 100
;InfID key must match a valid PNP ID in the system. For examle,
;a valid PNP ID might look as follows: InfID = "pci/ven_0e11&dev_ae32"
;** INFID=IBA 4.1.04 Slot0100
INFID=*
;**[params.Adapter2]
;InfID key must match a valid PNP ID in the system. For examle,
;a valid PNP ID might look as follows: InfID = "pci/ven_0e11&dev_ae32"
;** INFID=IBA 4.1.04 Slot0108
[NetClients]
; 110
; Installs the client for MS Networks
MS_MSClient=params.MS_MSClient
[Params.MS_MSClient]
[NetProtocols]
MS_TCPIP=params.MS_TCPIP
[params.MS_TCPIP]
DNS=No
UseDomainNameDevolution=No
EnableLMHosts=Yes
; 120
AdapterSections=params.MS_TCPIP.Adapter1
;** AdapterSections=params.MS_TCPIP.Adapter1,params.MS_TCPIP.Adapter2
[params.MS_TCPIP.Adapter1]
SpecificTo=Adapter1
IPAddress=192.168.1.1
SubnetMask=255.255.255.0
DefaultGateway=192.168.1.254
DHCP=No
WINS=No
; 130
NetBIOSOptions=0
;**[params.MS_TCPIP.Adapter2]
;** SpecificTo=Adapter2
;** IPAddress=??
;** SubnetMask=??
;** DefaultGateway=??
;** DHCP=No
;** WINS=No
;** NetBIOSOptions=0
; 140
[NetServices]
; Installs the file and print services
MS_SERVER=params.MS_SERVER

Below is a copy of the SE7501BR2 OEMSetup.inf file

;-------------------------------------------------------------------------------
;
; OEMSETUP.INF - This INF installs HostRAID driver for suported Adaptec PCI
; SCSI devices for Windows 2000
;
; Copyright © 2003 Adaptec Incorporated
;
;-------------------------------------------------------------------------------

[Version]
signature="$Windows NT$"
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider=%INF_PROVIDER%
CatalogFile="a320raid.cat"
DriverVer=03/04/2002

; Last DriverVer=08/09/2001

[SourceDisksNames]
1 = %FLOPPY_DESCRIPTION%,,,\

[SourceDisksFiles]
a320raid.sys= 1,,

[ControlFlags]
;ExcludeFromSelect=

[Manufacturer]
%ADP%= ADAPTEC

[ADAPTEC]
;
; All U320 HostRAID device IDs (AIC-7902s and ASC-39320Ds)
;
%PCI\VEN_9005&DEV_809F.DeviceDesc% = HostRAID_Inst,PCI\VEN_9005&DEV_809F
%PCI\VEN_9005&DEV_8090.DeviceDesc% = HostRAID_Inst,PCI\VEN_9005&DEV_8090
%PCI\VEN_9005&DEV_8091.DeviceDesc% = HostRAID_Inst,PCI\VEN_9005&DEV_8091
%PCI\VEN_9005&DEV_8092.DeviceDesc% = HostRAID_Inst,PCI\VEN_9005&DEV_8092
%PCI\VEN_9005&DEV_8093.DeviceDesc% = HostRAID_Inst,PCI\VEN_9005&DEV_8093
%PCI\VEN_9005&DEV_8094.DeviceDesc% = HostRAID_Inst,PCI\VEN_9005&DEV_8094
%PCI\VEN_9005&DEV_809E.DeviceDesc% = HostRAID_Inst,PCI\VEN_9005&DEV_809E

[HostRAID_Inst.nt]
[email protected]
DelReg = LegacyScsiportValues

[HostRAID_Inst.nt.Services]
AddService = a320raid, 0x00000002, HostRAID_Service_Inst, Miniport_EventLog_Inst

; StartType ErrorControl
; 0x0 (SERVICE_BOOT_START) 0x0 (SERVICE_ERROR_IGNORE)
; 0x1 (SERVICE_SYSTEM_START) 0x1 (SERVICE_ERROR_NORMAL)
; 0x2 (SERVICE_AUTO_START) 0x2 (SERVICE_ERROR_SEVERE)
; 0x3 (SERVICE_DEMAND_START) 0x3 (SERVICE_ERROR_CRITICAL)
; 0x4 (SERVICE_DISABLED)
;
; ServiceBinary
; %12% is equivalent to %windir%\system32\drivers on Windows 2000
;-------------------------------------------------------------------------------

[HostRAID_Service_Inst]
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_BOOT_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\a320raid.sys
LoadOrderGroup = SCSI Miniport
AddReg = pnpsafe_pci_addreg

[pnpsafe_pci_addreg]
HKR,"Parameters\PnpInterface","5",0x00010001,0x00000001

[LegacyScsiportValues]
HKR,Scsiport,BusNumber
HKR,Scsiport,LegacyInterfaceType
HKR,Scsiport,SlotNumber

[Miniport_EventLog_Inst]
AddReg = Miniport_EventLog_AddReg

[Miniport_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll"
HKR,,TypesSupported,0x00010001,7

[DestinationDirs]
DefaultDestDir = 12

;-------------------------------------------------------------------------------
;
; [Strings]
;
;-------------------------------------------------------------------------------
[Strings]
INF_PROVIDER="Adaptec"
ADP="Adaptec"
FLOPPY_DESCRIPTION="Adaptec HostRAID U320 Driver Ver 1.00 For Windows 2000/XP"


; Adaptec SCSI Controllers supported by this driver.
;
; All U320 HostRAID device IDs (AIC-7902s and ASC-39320Ds)
;
PCI\VEN_9005&DEV_809F.DeviceDesc = "Adaptec AIC-7902 HostRAID driver"
PCI\VEN_9005&DEV_8090.DeviceDesc = "Adaptec ASC-39320 HostRAID driver"
PCI\VEN_9005&DEV_8091.DeviceDesc = "Adaptec ASC-39320D HostRAID driver"
PCI\VEN_9005&DEV_8092.DeviceDesc = "Adaptec ASC-29320 HostRAID driver"
PCI\VEN_9005&DEV_8093.DeviceDesc = "Adaptec ASC-29320B HostRAID driver"
PCI\VEN_9005&DEV_8094.DeviceDesc = "Adaptec ASC-29320LP HostRAID driver"
PCI\VEN_9005&DEV_809E.DeviceDesc = "Adaptec AIC-7901A HostRAID driver"

Below is a copy of the Txtsetup.oem

#-----------------------------------------------------------------------------
# Copyright © Adaptec Inc. 2001
#-----------------------------------------------------------------------------
#
# General format:
#
# [section]
# key = value1,value2,...
#
#
# The hash ('#') introduces a comment.
# Strings with embedded spaces, commas, or hashes should be double-quoted
#

[Disks]
d1 = "Adaptec HostRAID U320 Driver Ver 1.00 For Windows 2000/XP", \hraidsk1, \Win2000
d2 = "Adaptec HostRAID U320 Driver Ver 1.00 For Windows NT 4", \hraidsk1, \Nt4

[Defaults]
scsi = ADAPTEC_U320RAID_W2K

[scsi]
ADAPTEC_U320RAID_W2K = "Adaptec HostRAID U320 Driver Ver 1.00 For Windows 2000/XP"
ADAPTEC_U320RAID_NT4 = "Adaptec HostRAID U320 Driver Ver 1.00 For Windows NT 4"

[Files.scsi.ADAPTEC_U320RAID_W2K]
driver = d1,a320raid.sys, a320raid
inf = d1,oemsetup.inf
catalog = d1,a320raid.cat

[Files.scsi.ADAPTEC_U320RAID_NT4]
driver = d2,a320raid.sys, a320raid
inf = d2,oemsetup.inf

[Config.a320raid]
value = "", Group, REG_SZ, "SCSI Miniport"
value = "", Start, REG_DWORD, 0
value = "", Tag, REG_DWORD, 1
value = "", Type, REG_DWORD, 1