Jump to content

iastore.sys caused an unexpected error (21)


tmcd35

Recommended Posts

Hi,

We are a large secondary school with various models of desktop and laptop computers which we image with the software we require to make set-up/repairs as quick and easy as possible. Until recently we have been using Norton's Ghost to image the computers. We recently cam across a problem with Ghost and some SATA controllers, especially on a recent batch of HP desktops, so we are in the process of switching to use RIS.

We have successfully set up a RIS server with a base xp image and 4 specific pc images. The problem we are having is with our latest batch of HP notebooks (NX6310).

They use Broadcom 440 NIC's which we have successfully integrated into the RIS image, and an Intel SATA controller, which we haven't.

When setting up Win-XP we need to press F6 to install 3rd party storage drivers else Windows cannot see the hard drive. Having searched the net extensively I have found details and made the following changes to the RIS set-up:

1) Added *ALL* files from the manufactures mass storage driver floppy to the following directorys:

D:\RIS\Setup\English\Images\NX6310\$oem$\$1\Drivers\hdd

D:\RIS\Setup\English\Images\NX6310\i386

D:\RIS\Setup\English\Images\WinXP\$oem$\$1\Drivers\hdd

D:\RIS\Setup\English\Images\WinXP\i386

2) Edited D:\RIS\Setup\English\Images\NX6310\i386\Templates\ripref.sif

[unattended]

OemPnpDriversPath = "Drivers\nic;Drivers\hdd"

3) Editied D:\RIS\Setup\English\Images\WinXP\i386\txtsetup.sif

[sCSI]

iaAHCI_ICH7M = "Intel® 82801GBM SATA AHCI Controller (Mobile ICH7M)"

[sCSI.Load]

iaStore_ICH7M = iastore.sys,4

[HardwareIdsDatabase]

"PCI\VEN_8086&DEV_27C5&CC_0106" = "iaStor"

[sourceDisksFiles]

iaStore.sys = 1,,,,,,_x,4,1

After making the above changes I restarted the binlsvc service. Now when I try to remote install the NX6310 laptop I get the following mesage:

"File iastore.sys caused an unexpected error (21) at

line 3540 in d:\xpsprtm\base\boot\setup'setup.c."

As anybody come across this error before and knows the solution?

The only references I can find involve removing the above iastore entry's as unwanted files, but in this case they are needed for Windows to see the hard drive.

Have I entered something in wrong or missed an entry?

If I get this working how will our other four images react to the changes in txtsetup.sif? Will they still work? I have a copy of the original txtsetup.sif file if it's needed.

Is there another/better way of loading the txtmode driver for this image?

Thanks in advance for any help, we are pulling our hair out here!

Link to comment
Share on other sites


(Replace "iaStore" with iaStor)

Rename iaStor.sys to iaStor.sy_ and copy it to i386 folder

This is my txtsetup.sif

[SourceDisksFiles] 
iaStor.sys = 1,,,,,,3_,4,1

[HardwareIdsDatabase]
PCI\VEN_8086&DEV_2822&CC_0104 = "iaStor"
PCI\VEN_8086&DEV_2821&CC_0106 = "iaStor"
PCI\VEN_8086&DEV_2682&CC_0104 = "iaStor"
PCI\VEN_8086&DEV_2681&CC_0106 = "iaStor"
PCI\VEN_8086&DEV_27C3&CC_0104 = "iaStor"
PCI\VEN_8086&DEV_27C6&CC_0104 = "iaStor"
PCI\VEN_8086&DEV_27C1&CC_0106 = "iaStor"
PCI\VEN_8086&DEV_27C5&CC_0106 = "iaStor"
PCI\VEN_8086&DEV_2652&CC_0104 = "iaStor"
PCI\VEN_8086&DEV_2652&CC_0106 = "iaStor"
PCI\VEN_8086&DEV_2653&CC_0106 = "iaStor"

[SCSI.load]
iaStor = iaStor.sys,4

[SCSI]
iaStor = "Intel(R) ICH8R/DO/DH SATA RAID Controller (Desktop ICH8R)"
iaStor = "Intel(R) 82801GR/GH SATA RAID Controller (Desktop ICH7R/DH)"

It's working for AHCI too without any change because iaStor.sys it's the driver for ahci too.

Just add to my code

[sCSI]

iaStor = "Intel® 82801GBM SATA AHCI Controller (Mobile ICH7M)"

Edited by Mercury_22
Link to comment
Share on other sites

Thank you, thank you, thank you!

Saved days of searching and missing the obvious. A typo! To be honest, I think I spotted it when I was typing out my original e-mail but wasn't sure if (what I thought was a missing e, rather than loads of extra e's) was really a typo, or correct.

I take it this extra driver will not effect the other 4 images from loading when needed?

Cheers

Link to comment
Share on other sites

  • 7 months later...

here's my own answer to this error message, originally posted at >

http://www.windows-noob.com/forums/index.php?showtopic=26

Customers scenario:- The customer has a whole load of computers and they want to do RIS (remote installation services) installs on their new computerss and they want to use the OEM provided Windows XP SP2 OEM cd, I normally would NOT recommend this method as it is troublesome and may lead to activation issues amongst other things.

When the customer uses the OEM cd to install computers using RIS, what they don't know is the OEM cd has modified files on it that cause errors during the RIS process. The first error they'll encounter is likely to be something along the lines of

File iastor.sys caused an unexpected error (21) at line 3540 in

d:\xpsprtm\base\boot\setup\setup.c.

The above error is misleading as the customer will think they actually need this file (and they most likely don't as the drivers they require can be installed properly via the oempnpdrivers path or install.bat).

NOTE: This error can also be seen on workstations, and if so, have a read of this http://www.msfn.org/board/index.php?showtopic=7454

To get around this problem we have to understand where it's coming from.

When risetup is run on the RIS server, a read only file called txtsetup.sif is created at risserver\risdrive\remote install\setup\english\images\<baseinstallname>\I386.

Remove the read only properties from the file then open it in notepad and find the [sCSI Load] section. In this section you will find the driver that is causing the error. Comment out any lines that produce a similiar error when you try to load the system.

DO NOT comment out all the lines in this section, as the system will not be able to find a hard drive after getting past the errors. What happens here is the OEM cd has several references to drivers (for raid/scsi and so on) that you won't find on a Volume License Key cd's txtsetup.sif file.

Have a look at the two samples below, the first part is from a (danish winxpsp2) OEM txtsetup.sif file, the second part is from the VLK cd txtsetup.sif file.

[sCSI.Load]iastor = iastor.sys,4

a320raid = a320raid.sys,4

aac = aac.sys,4

cpqarray = cpqarray.sys,4

atapi = atapi.sys,4

aha154x = aha154x.sys,4

sparrow = sparrow.sys,4

symc810 = symc810.sys,4

aic78xx = aic78xx.sys,4

i2omp = i2omp.sys,4

dac960nt = dac960nt.sys,4

ql10wnt = ql10wnt.sys,4

amsint = amsint.sys,4

asc = asc.sys,4

asc3550 = asc3550.sys,4

mraid35x = mraid35x.sys,4

ini910u = ini910u.sys,4

ql1240 = ql1240.sys,4

aic78u2 = aic78u2.sys,4

symc8xx = symc8xx.sys,4

sym_hi = sym_hi.sys,4

sym_u3 = sym_u3.sys,4

asc3350p = asc3350p.sys,4

abp480n5 = abp480n5.sys,4

cd20xrnt = cd20xrnt.sys,4

ultra = ultra.sys,4

adpu160m = adpu160m.sys,4

dpti2o = dpti2o.sys,4

ql1080 = ql1080.sys,4

ql1280 = ql1280.sys,4

ql12160 = ql12160.sys,4

perc2 = perc2.sys,4

hpn = hpn.sys,4

cbidf2k = cbidf2k.sys,4

dac2w2k = dac2w2k.sys,4

aarich = aarich.sys,4

And now here's the same part from the VLK txtsetup.sif file…

[sCSI.Load]cpqarray = cpqarray.sys,4

atapi = atapi.sys,4

aha154x = aha154x.sys,4

sparrow = sparrow.sys,4

symc810 = symc810.sys,4

aic78xx = aic78xx.sys,4

i2omp = i2omp.sys,4

dac960nt = dac960nt.sys,4

ql10wnt = ql10wnt.sys,4

amsint = amsint.sys,4

asc = asc.sys,4

asc3550 = asc3550.sys,4

mraid35x = mraid35x.sys,4

ini910u = ini910u.sys,4

ql1240 = ql1240.sys,4

aic78u2 = aic78u2.sys,4

symc8xx = symc8xx.sys,4

sym_hi = sym_hi.sys,4

sym_u3 = sym_u3.sys,4

asc3350p = asc3350p.sys,4

abp480n5 = abp480n5.sys,4

cd20xrnt = cd20xrnt.sys,4

ultra = ultra.sys,4

adpu160m = adpu160m.sys,4

dpti2o = dpti2o.sys,4

ql1080 = ql1080.sys,4

ql1280 = ql1280.sys,4

ql12160 = ql12160.sys,4

perc2 = perc2.sys,4

hpn = hpn.sys,4

cbidf2k = cbidf2k.sys,4

dac2w2k = dac2w2k.sys,4

As you can see from above, there are quite a few differences between the OEM txtsetup.sif file and the one on the VLK cd. So the first step in resolving your customer's 'iastor.sys errors' is to very simply copy/paste the VLK section directly into their original OEM txtsetup.sif file's [scsi.load] section (marked in RED above) replacing the OEM references with the original VLK references (which leaves out the OEM iles which cause the issues in the first place).

Once this is done, you can restart the RIS service and attempt another RIS install. Things will look much better but then half way through the RIS install there will be several references to files 'not found… press ESC to ignore' , the files that are 'missing' are likely to be any of the files below (or more)

Megasas.pdb

Megasas.sys

Nodev.inf

Oemsetup.inf

Delpseud.inf

Mpixp32.cat

Symmpi.inf

Symmpi.sys

Symmpi.tag

Symmpi.pdb

Idecoi.dll

NavAtaBus.sys

Nvrais.sys

Nvraidco.dll

Nvraid.inf

Nvraid.cat

Iastor.sys

Iastor.inf

Iastor.cat

Iaahci.cat

Iaahci.inf

A320RAID.SYS

A320RAID.INF

A320RAID.CAT

A320MGT.INF

A320MGT.CAT

Cercsr6.sys

Cercsr6.inf

Cercsr6.cat

Cercmgt.inf

Cerccin.dll

Afamgt.sys

Aichmgt.inf

Aichmgt.cat

Aarich.sys

Aarich.inf

Aarich.cat

Aacmgt.inf

Aacevt.exe

Aaccin.dll

Aac.sys

Aac.inf

Aac.cat

!Dell_XP.cab

!DPCHFEN.CAB

To resolve those issues we need to edit the TXTSETUP.SIF file some more. We need to locate another section in the TXTSETUP.SIF file called '[sourceDisksFiles]'.

NOTE: you will find SEVERAL references to [sourceDisksFiles] in the TXTSETUP.SIF file, but only ONE of them is the one we need to edit, the one we need to edit will have the following line in it

bootvid.dll = 1,,,,,,3_,2,0,0,,1,2

So once you've located the right one do as follows:-

delete everything between [sourceDisksFiles] and bootvid.dll = 1,,,,,,3_,2,0,0,,1,2

so it now starts to look like...

[sourceDisksFiles]

bootvid.dll = 1,,,,,,3_,2,0,0,,1,2

kdcom.dll = 1,,,,,,3_,2,0,0,,1,2

c_1252.nls = 1,,,,,,3_,2,0,0,,1,2

c_437.nls = 1,,,,,,3_,2,0,0,,1,2

l_intl.nls = 1,,,,,,3_,2,0,0,,1,2...........

(the file list continues on and on and on, only delete the lines BETWEEN '[sourceDisksFiles] and bootvid.dll = 1,,,,,,3_,2,0,0,,1,2

Ok, now that you have completed editing the TXTSETUP.SIF file, save it, and restart the RIS service, Ask the customer to complete another PXE boot to the RIS server and enjoy the sound of the phone not ringing any more

For your reference I'm including a copy of the VLK TXTSETUP.SIF file and the Danish TXTSETUP.SIF file (there will be minor differences between the languages but the scenario will always be the same, to fix an OEM ris install, you must edit the TXTSETUP.SIF file.

Edited by anyweb
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...