[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[realmen]




Reference : http://www.ee.ethz.ch/~slist/realmen/msg00014.html        
                                                                      
Hi,                                                                   
                                                                      
Sorry for this late intrusion, but I only recently focused on that    
subject, therefore found the referenced mail not long ago, while      
browsing on the Web.                                                  
                                                                      
Anyway, in order to thank you all for the work done, I'd like to bring
my own little brick to the building, just in case it might be         
useful...                                                             
                                                                      
I met the same kind of problem than Alain : wanted to include         
third-party mass storage drivers to be used during the text-mode part 
of a Windows 2000 CD-based setup.                                     
In other words, I wanted to get rid of the boring "F6 curse".         
                                                                      
Pierre's tip works great for the GUI-part of the setup but text-mode  
setup repeatedly ended with the error :                               
                                                                      
"File txtsetup.oem caused an unexpected error (18)                    
at line 1041 in F:\nt\private\ntos\boot\setup\oemdisk.c",             
                                                                      
no matter where I put the drivers : the root of the CD, $OEM$, I386 or
I386\$OEM$.                                                           
                                                                      
Here's how I got it working :                                         
======================================================================
My example is based on the IBM ServeRAID driver v5.10.                
I guess it could be easily adapted to other hardware                  
                                                                      
1. Copy the driver (nfrd960.sys) in the I386 directory                
                                                                      
2. Update the file I386\txtsetup.sif, picking parts of the            
txtsetup.oem file provided on the ServeRAID driver disk, adapted to   
the txtsetup.sif's syntax. There are 4 sections concerned :           
                                                                      
[SourceDisksFiles]                                                    
nfrd960.sys = 1,,,,,,_x,4,1                                           
                                                                      
[SCSI]                                                                
nfrd960  = "IBM ServeRAID 4M/4Mx/4L/4Lx/5i Controller (Windows 2000)" 
                                                                      
[SCSI.Load]                                                           
nfrd960 = nfrd960.sys,4                                               
                                                                      
[HardwareIdsDatabase]                                                 
"PCI\VEN_1014&DEV_01BD"= "nfrd960"                                    
======================================================================
                                                                      
Comments :                                                            
--------                                                              
1. I think that, in the text-mode part of the setup, drivers are used 
in a rather less sofisticated way than under the GUI part. That would 
explain why there is no need (in this part) for the .dll, .cat or .inf
files (and the parameters stored in them).                            
                                                                      
2. But being loaded during the text-mode doesn't mean installed on    
Windows 2000. So you still have to install your driver in the GUI     
part, using Pierre's method.                                          
                                                                      
3. For the "Line 2 of the INF file is invalid" error, I suggest to    
check the following KB article :                                      
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q304305&;      
                                                                      
Guesses :                                                             
--------                                                              
1. I didn't succeeded in loading drivers for the text-mode setup by   
copying them in the                                                   
$OEM$ tree.                                                           
During this part of the setup, the CDFS file system is not yet loaded,
so the only character-set that setup is able to read is the ISO9660,  
which doesn't include "$" In other words I think that, at that time,  
the directory is read as "_OEM_" :-)                                  
                                                                      
2. During my investigations, I parsed the txtsetup.sif file to see how
and where the "retail" SCSI drivers were listed.                      
In the [SourceDisksFiles] section, they are all referenced in the form
:                                                                     
                                                                      
driver.sys = 1,,,,,,3_,4,1                                            
                                                                      
I changed the "3_" to "_x" because I noticed that all the files that  
where not                                                             
compressed in the I386 directory where referenced this way            
                                                                      
======================================================================
APPENDIX - Content of the original TXTSETUP.OEM file (from the        
ServeRAID driver diskette) :                                          
                                                                      
[Disks]                                                               
d1  = "IBM ServeRAID Device Driver Diskette",                         
\Win2kSrv\driver\i960\NFRD960.SYS, \Win2kSrv\driver\i960              
                                                                      
[Defaults]                                                            
scsi = NFRDWin2k32                                                    
                                                                      
[scsi]                                                                
NFRDWin2k32 = "IBM ServeRAID 4M/4Mx/4L/4Lx/5i Controller (Windows     
2000)"                                                                
                                                                      
# If you hit F6 and specify to load an OEM driver, NT loads the first 
driver in                                                             
# the list.  If you don't hit F6 and specify to load an OEM driver, NT
loads                                                                 
# the last driver in the list.                                        
                                                                      
[Files.scsi.NFRDWin2k32]                                              
driver  = d1, nfrd960.sys, NFRD960                                    
dll     = d1, nfrdci01.dll                                            
driver  = d1, nfrd960.sys, NFRD960                                    
catalog = d1, ibmnfrd.cat                                             
inf     = d1, oemsetup.inf                                            
                                                                      
[Config.NFRD960]                                                      
value = parameters\PnpInterface,5,REG_DWORD,1                         
value = parameters\Device,NumberOfRequests,REG_DWORD,128              
                                                                      
[Config.IPSRAIDN]                                                     
value = parameters\PnpInterface,5,REG_DWORD,1                         
value = parameters\Device,NumberOfRequests,REG_DWORD,128              
                                                                      
[HardwareIDs.scsi.NFRDWin2k32]                                        
id = "PCI\VEN_1014&DEV_01BD", "nfrd960"                               
======================================================================
Marc                                                                  
--------------------------------------------------                    
Oreka ! Nous sommes l'internet moins cher !                           
Surfez 25% moins cher avec http://www.oreka.com                       

--
Unsubscribe mailto:realmen-request@list.ee.ethz.ch?subject=unsubscribe
Help        mailto:realmen-request@list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/realmen
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi