Software >> OS >> DOS >> How to use ASPI drivers for SCSI

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adaptec Drivers for DOS and Windows 3.x (c) Copyright Adaptec, Inc. 1995-1999 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- DOS / WINDOWS 3.1/3.11 HOST ADAPTER DRIVERS (ASPI MANAGERS) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Under DOS, drivers (also called ASPI Managers) are required to support Adaptec SCSI host adapters as specified in the list below. Following this list are troubleshooting tips for the drivers. PCI Bus ------- ASPI8DOS.SYS Adaptec AHA-2910A/2910B Adaptec AHA-2906 Adaptec AHA-2920C Adaptec AHA-2930A/2930B/2930C/2930CU Adaptec AHA-2940/2940AU/2940W/2940U/2940UW Adaptec AHA-2944W/2944UW Adaptec AHA-3940/3940U/3940W/3940UW Adaptec AHA-3940AU/3940AUW Adaptec AVA-2904, AVA-2902E/I, AVA-2906 Adaptec AIC-7850/7855/7860/7870/7880 based SCSI host adapters Adaptec AIC-7895 based SCSI host adapters ASPI8U2.SYS Adaptec AHA-2930U2 Adaptec AHA-2940U2W Adaptec AHA-3950U2 AIC-7890/7891/7896/7897 based SCSI host adapters MCAM18XX.SYS Adaptec AHA-2920/2920A Parallel Port Bus ----------------- MA358.SYS Trantor MiniSCSI EPP (T358) Adaptec MiniSCSI EPP (APA-358) Adaptec MiniSCSI EPP (APA-358A) ISA Bus ------- ASPI2DOS.SYS Adaptec AVA-1502P,1502AP Adaptec AVA-1505 Adaptec AVA-1515 Adaptec AHA-1510/1520/1522 Adaptec AHA-1510A/1520A/1522A Adaptec AHA-1510B/1520B/1522B Adaptec AHA-1530P/1532P Adaptec AVA-1502AE/AI,AVA-1505AE/AI,AVA-1505AES Adaptec AIC-6260/6360/6370 based SCSI host adapters Adaptec AVA-2825 host adapter ASPI4DOS.SYS Adaptec AHA-1540B/1542B Adaptec AHA-1540C/1542C Adaptec AHA-1540CF/1542CF Adaptec AHA-1540CP/1542CP Microchannel ------------ ASPI4DOS.SYS Adaptec AHA-1640 EISA ---- ASPIEDOS.SYS Adaptec AHA-1740/1742/1744 (when configured for ENHANCED mode) Adaptec AHA-1740A/1742A (when configured for ENHANCED mode) ASPI4DOS.SYS Adaptec AHA-1740/1742/1744 (when configured for STANDARD mode) Adaptec AHA-1740A/1742A (when configured for STANDARD mode ASPI7DOS.SYS Adaptec AHA-2740/2742/2740T/2742T Adaptec AHA-2740A/2742A/2740AT/2742AT Adaptec AHA-2740W/2742W Adaptec AIC-7770 based SCSI host adapters VL Bus ------ ASPI7DOS.SYS Adaptec AHA-2840VL/2842VL Adaptec AHA-2840A/2842A ==================== TROUBLESHOOTING TIPS ==================== ASPI2DOS.SYS ------------ ASPI2DOS.SYS is Adaptec's ASPI manager for the AIC-6x60 based ISA host adapters. o If the adapter is not at the driver default of I/O Port 340h and IRQ 11, the following parameters must be added to the driver command line. Consult your installation guide or Adaptec Interactive Fax at (303)684-3400 for jumper settings for your host adapter. The installation guides are also posted on the Adaptec Web site at http://www.adaptec.com/support/manuals/installation.html#isa For I/O Port address 140h /P140 For IRQ 9, 10, 12 /Q9, /Q10, or /Q12 o Command line parameters which may be required for operation of some peripherals /u- - Force Asynchronous Data Transfers on a Host Adapter. /norst - Disables Hard Reset during initialization. /y - Disables parity checking. /c - Disables Disconnect. /L - Enables LUN support. ASPI4DOS.SYS ------------ ASPI4DOS.SYS is Adaptec's ASPI manager for the AHA-1540 and AHA-1640 host adapters, and for the AHA-174X EISA adapter when used in STANDARD mode (Use EISA config to set up adapter parameters). o For the AHA-1540C/CF/CP host adapters, the BIOS and port addresses are set by the DIP switches. The IRQ and DMA channel are set in the SCSISelect utility. The default is I/O port 330h, IRQ 11, DMA 5, and BIOS address start at DC000. o If the I/O port range is changed from the default of 330h, the selected port must be added to the ASPI4DOS.SYS driver line with the parameter /Pxxx (x=the 3 digit I/O port range). o If installing in Pentium systems, it may be necessary to match the IRQ selected in SCSISelect, via jumpers, or EISA config, to the CMOS (System BIOS) resources. The IRQ setting in the CMOS is usually located in the PCI Configuration and must be reserved for the ISA card. Consult your vendor documentation. o For the AHA-1540B/1542B, consult your installation guide or Adaptec Interactive Fax at (303)684-3400 for jumper settings for your host adapter. o For systems with more than 16MB of RAM, also load ASPIBUF.SYS. ASPIBUF.SYS should be loaded directly after ASPI4DOS.SYS. o Consult your installation guide or Adaptec Interactive Fax at (303)684-3400 for jumper settings for your host adapter. The installation guides are also posted on the Adaptec Web site at http://www.adaptec.com/support/manuals/installation.html#isa MCAM18XX.SYS ------------ MCAM18XX.SYS is Adaptec's ASPI manager for AHA-2920/2920A PCI SCSI Host Adapters. o The command line switches for MCAM18XX.SYS are currently not documented in our on-line "Device Driver Reference" Windows help file. The following command line switches are supported: /u- - Force Asynchronous Data Transfers on a Host Adapter. /norst - Disables Hard Reset during initialization. /y - Disables parity checking. /m1 - Force PCI bus scanning using the "Mechanism 1" method. /m2 - Force PCI bus scanning using the "Mechanism 2" method. /mb - Force PCI bus scanning using INT 1A. /l - Enable multiple LUN support MA358.SYS --------- MA358.SYS is Adaptec's ASPI manager for its APA-358/358A parallel port SCSI host adapters. o MA358.SYS, by default, will automatically detect the type of parallel port you are using. You can use the /Mnm switch to force a specific mode, and to set the amount of time that the MiniSCSI "Fast" read and write cycles are delayed (parallel ports on some computers require delays). You must specify values for both 'n' and 'm'. The 'n' specifies the amount of delay. Allowable values for 'n' are 0 through 7, with each number representing a 125-nanosecond (ns) increment. A value of 7, for example, adds an 875 ns (7x125) delay to the cycles. The default of 0 specifies no delays. The 'm' parameter determines the mode. The allowable values are shown in the following table: Value of 'm' Meaning ------------ ------------------------------------------------------ 0 Auto-detect mode (the default). Automatically detects the type of port and configures the APA-358/358A for EPP if that port is detected to support EPP mode, otherwise the port is set up as a standard parallel port. 2 Forces unidirectional mode. 4 Forces bidirectional mode. 8 Assumes EPP 8-bit bidirectional mode. For this to work, the parallel port must be set for EPP mode in the CMOS setup program or by configuring jumper settings on your EPP I/O card. For instructions on using the CMOS setup program, see your motherboard documentation. For instructions on configuring jumpers on your EPP I/O card, see your EPP I/O card documentation. For example, if your parallel port is configured for EPP mode, and you would like the default read/write delay, your CONFIG.SYS would contain the following: DEVICE=C:\SCSI\MA358.SYS /m08 If you change the MA358.SYS options in the config.sys file, turn the computer OFF and then ON again to have the changes take effect. (Do not simply reboot the computer using Ctrl-Alt-Del.) o If you have an original NEC Ultralite Versa laptop, and MA358.SYS is unable to detect the APA-358/358A SCSI host adapter, you should use the /m20 command line switch. For example: DEVICE=C:\SCSI\MA358.SYS /m20 o If you are using the APA-358 with an NEC Versa E or Versa V system, which uses the Western Digital Super I/O chip for FPP Parallel Ports (Chip #WD76C30), you should use the MA358NEC.SYS ASPI Manager in your CONFIG.SYS file instead of the standard MA358.SYS ASPI Manager. o If you are using an IBM ThinkPad 720 series computer, you should use the MA358IBM.SYS ASPI manager in your CONFIG.SYS file instead of the standard MA358.SYS ASPI manager. o When using the APA-358/358A, you should not configure your parallel port for ECP mode. Instead, you should configure the port for EPP mode. o MA358.SYS only supports one APA-358/358A in a system. o If you are using the APA-358/358A, and you are backing up from a SCSI disk drive to a SCSI tape drive, and you are using SMARTDRV, we recommend that you disable SMARTDRV write caching. Leaving write caching enabled can cause the backup to fail. =-=-=-=-=-=-=-=-= HARD DRIVE AND REMOVABLE DRIVE SUPPORT =-=-=-=-=-=-=-=-= Windows 3.1/3.11 and DOS ------------------------ DOS and Windows 3.1x include built-in support for SCSI hard drives if your new drive is under BIOS control. Please refer to your host adapter documentation to learn whether or not your SCSI host adapter includes an on-board ROM BIOS. (Your host adapter BIOS may also contain an option to support removable disks as hard drives. If so, you can enable that option for 'All Disks' and use the steps below to prepare your drive. Set the option back to 'boot only' or 'disabled' after drive preparation to use the device as a removable drive.) If your hard drive or removable drive is under BIOS control, you can follow these steps: 1.) Boot to DOS. 2.) Run FDISK. Select and partition your new drive. 3.) Reboot your operating system. 4.) Run FORMAT on your newly created drive letter(s). Note: Some host adapters may only allow system support of two hard drives. Consult your host adapter installation guide for hard drive support limitations. If your new SCSI drive is not under BIOS control, you can follow these steps: 1.) Install the appropriate driver for your controller in the Config.sys using the following syntax (this is for all ASPI drivers) Device=[drive:][path]Drivername /D [Parameter] Example: Device=A:\ASPI2DOS.SYS /D /P140 /Q10 2.) Install the driver for the removable disk device, ASPIDISK.SYS using the following syntax Device=[drive:][path]ASPIDISK.SYS 3.) If the removable drive is to be installed using vendor software, for example, IOMEGA TOOLS, do not use the Adaptec disk driver. It is only necessary to load the driver for the installed host adapter. 4.) If the drive is unformatted, AND you are using the Adaptec driver, the disk must be partitioned with the program AFDISK in order to have the OS assign a drive letter. Run AFDISK and follow the prompts to partition your drive. The drive is high level formatted for DOS at the same time, so the DOS FORMAT command is not needed. ****Important Note**** If FDISK returns 'no disk drives available', the host adapter either does not have a BIOS, the BIOS is disabled, or the BIOS is enabled but does not assign a drive letter or hex address. You may have a defective drive or may have to Low Level Format the drive. To verify drive operation or format the hard drive, install the driver per the above procedure and run the file SCSIFMT from the DOS prompt. The utility should identify the hard drive(s). Select the drive and then the VERIFY option. This test is non-destructive. If the drive returns an error screen with a Medium error code listed, select the FORMAT command and Low Level Format the drive. This will erase all information on the drive. If the drive returns an error screen with a Hardware error code listed, the drive is probably defective. If the VERIFY and FORMAT commands both return errors, the drive is probably bad. Consult the drive vendor for interpretation of any additional sense codes or qualifiers. ********************** =-=-=-=-=-=-=-= CD-ROM SUPPORT =-=-=-=-=-=-=-= Windows 3.1/3.11 and DOS ------------------------ Adaptec's CD-ROM driver for DOS/Windows, ASPICD.SYS, has been written to support any SCSI-2 CD-ROM drive and most SCSI-1 CD-ROM drives. Adaptec EZ-SCSI has been tested with CD-ROM drives from the following vendors: AIWA Compaq Chinon Denon Goldstar Hitachi IBM LMS Matsushita NEC Panasonic Nakamichi Philips Pioneer Plasmon Data Plextor Ricoh Sanyo Sony TEAC Texel Toshiba Yamaha o The following drives do not support parity: NEC CDR 38 NEC CDR 55 NEC CDR 72 NEC CDR 73 NEC CDR 74 (NOTE: 74-1 and 84-1 do support SCSI parity) NEC CDR 84 NEC CDR 210 (NOTE: 210P does support parity) Please consult your host adapter documentation on how to disable parity support on your SCSI host adapter. o The following jukebox CD-ROM drives are fully supported: Nakamichi MBR-7 Pioneer DRM 600 Pioneer DRM 604X Pioneer DRM 624X A drive letter will be assigned for each CD. o Some older SCSI CD-ROM drives do not support synchronous negotiation properly. If you encounter problems using your CD-ROM drive, try disabling synchronous negotiation. Please refer to your host adapter documentation on how to do this. o In rare circumstances, you may encounter problems with Windows 3.x and DOS reading your CD-ROM drive. For example, you change the contents of the CD-ROM drive, but when you run DIR, the contents of the previous CD is displayed instead of the new CD's. Or you may see multiple drive letters assigned to your single CD-ROM drive. One solution is to add the /NOLUN switch to the aspicd.sys line in config.sys. We have seen the former problem with the Sony 55s - an older double speed CD-ROM drive, and the latter problem with an older SCSI1 Panasonic drive. By adding the /NOLUN switch, you will however loose support for any CD Changers or PD drives that you also have connected to your PC. o Installation of the CD-ROM Driver If installing the ASPI drivers to facilitate installation of CD-ROM based applications such as Windows95, you can follow these steps: 1.) Install the device driver command line for your host adapter. The driver can be located on either a floppy or hard drive. The correct syntax is Device=[drive:][path]Drivername /D [parameter] Example: Device=A:\ASPI8DOS.SYS /D 2. Install the device driver for the CD-ROM. The correct syntax is Device=[drive:][path]ASPICD.SYS /D:xxxx (xxxx is any text string, i.e., 'test' or 'CD1') Example: Device=A:\ASPICD.SYS /D:ASPICD0 3. If installing the drivers to a DOS 6.xx Operating System, you must use the DOS 6.xx version of MSCDEX.EXE. If installing to a Windows95 Operating System you must use the Windows95 version of MSCDEX.EXE located in the \Windows\System\Command subdirectory. The correct syntax in the Autoexec.bat file is [drive:]MSCDEX.EXE /D:xxxx (xxxx is the same text string used in the ASPICD.SYS command line) Example: A:\MSCDEX.EXE /D:ASPICD0 A typical re-installation of Windows95/98 to a new hard drive, requiring booting to a floppy and installing the OS from CD: 1.) Format a floppy on a DOS or Windows95 system using the command: A:\format /S This formats the floppy and makes it a boot diskette. 2.) Copy the MSCDEX.EXE from the Operating System to the floppy. 3.) Copy the drivers from DOSDRVR.EXE to the floppy. 4.) Using a text editor such as Notepad, Edit, or WordPad, create a Config.sys file (or copy from the workstation) with the command line for your host adapter and the command line for ASPICD.SYS. (see examples above) 5.) Using a text editor, create (or copy from a workstation), a Autoexec.bat file with the MSCDEX.EXE command line. (see example above) 6. Copy the file HIMEM.SYS to the floppy from a working Windows95 installation. 7. Using a text editor, edit the Config.sys file created in step 4 with the command line: Device=a:\himem.sys This will allow the CD Setup.EXE to check the hard drive using SCANDISK. 8.) Boot to the floppy. The driver should load for the card, display the attached devices and install successfully. The ASPICD.SYS should detect the drive and indicate it is a target. MSCDEX.EXE will load and assign a drive letter. The CD-ROM should then be accessible from the DOS prompt. A typical installation of Novell 3.x/4.x/5.x to a new hard drive, requiring booting to a floppy and installing the OS from CD: 1.) Format a floppy on a DOS or Windows95 system using the command: A:\format /S This formats the floppy and makes it a boot diskette. 2.) Copy the MSCDEX.EXE from the Operating System to the floppy. 3.) Copy the drivers from DOSDRVR.EXE to the floppy. 4.) Using a text editor such as Notepad, Edit, or WordPad, create a Config.sys file (or copy from the workstation) with the command line for your host adapter and the command line for ASPICD.SYS. (see examples above) 5.) Using a text editor, create (or copy from a workstation), a Autoexec.bat file with the MSCDEX.EXE command line. (see example above) 6.) Boot to the floppy. The driver should load for the card, display the attached devices and install successfully. The ASPICD.SYS should detect the drive and indicate it is a target. MSCDEX.EXE will load and assign a drive letter. The CD-ROM should then be accessible from the DOS prompt. ** END **