***************************************************************************** 
                                 SCOUNIX.TXT  
***************************************************************************** 

INSTALLATION GUIDE FOR THE SDMS SCO UNIX OPENSERVER  BTLD DRIVER V4.11.00

This file describes the features and use of the SDMS device driver for the
SCO OpenServer 5 operating system environments. These instructions assume that
you are using a Symbios host adapter and appropriate SCSI devices. You only need
to "link" the new SDMS device driver if you have a LSI Logic host adapter in
the system. Go to the Troubleshooting section for further information about
installation to an IDE Hard Drive.

This file is divided into the following sections:

Introduction
     Features
     LSI Logic Devices Supported
     Description
Installing Your SCO Unix Driver
     Procedure 1, New System Installation
                  Installing the SCO UNIX Driver
                  Installing SCSI Device Support
     Procedure 2, Existing System Installation
                  Installing the SCO UNIX Driver
                  Adding a SCSI Disk Drive
                  Adding a SCSI Tape Drive
                  Adding a SCSI CD-ROM
     Troubleshooting

Read the information below before proceeding with the installation instructions.

       1) The 4.11.00 slha driver supports all of the OpenServer 5 releases of 
	  SCO UNIX (Releases 5.0.0, 5.0.2, 5.0.4, 5.0.5 and 5.0.6).
       2) Within the text instructions for adding SCSI disk drives, tape drives, 
          and CD-ROM drives, the system prompts the user to check whether the 
          driver is the default value or enter the exact driver name. The 
          package name and the driver name are slha.


******************************* Introduction ******************************** 

SCO UNIX is the first UNIX operating system licensed for IBM-compatible
microcomputers. The integrated communications, file system, international 
application support, and documentation create an ideal platform for those 
requiring a full-featured, UNIX-based operating system. SCO UNIX takes full 
advantage of the capabilities of the 80386 and above microprocessors.

To connect SCSI devices to one or more host adapters, you must place the
proper host adapter driver in the SCO UNIX kernel. The SDMS Boot Time
Loadable Driver (BTLD) diskette contains one package:

     slha contains the driver for SCO OpenServer 5

You must link-edit the proper driver into the SCO UNIX kernel. The kernel must 
reside on the boot drive: either an internal, non-SCSI hard drive (for
example, IDE), or a SCSI hard drive attached to host adapter 0 with SCSI ID 0
and LUN 0. The BTLD permits an easy installation of SCO UNIX OpenServer 5 with
the software provided by The Santa Cruz Operation. 

SCO OpenServer 5 provides only one installation diskette, labeled Boot 
Disk. This diskette, along with the SDMS BTLD driver diskette, and other
software media, are used during an SCO OpenServer 5 installation.

The slha driver allows SCO OpenServer 5 operating systems to interface with
SCSI devices connected to the LSI Logic SYM53C8XX or SYM53C1XXX family of
chipsets and/or LSI Logic 8XX host adapter cards. Driver 4.11.00 features
support for the Ultra160 SYM53C1010 chipset and Ultra160 SYM8955U Host
Adapter board.  Both the 33 MHz and the 66 MHz chips are supported.

The following sections provide instructions for configuring the SCO UNIX kernel 
with the SDMS driver, installing SCO UNIX onto a hard drive, and adding SCSI
peripheral devices. These instructions assume that you are familiar with UNIX 
system administration.


*  *  *  *  *  *  *  *  *  *  *  *  Features *  *  *  *  *  *  *  *  *  *  *

The BTLD driver supports these features:

o  Easy UNIX installation on a hard disk with the SDMS Boot Time Loadable 
   Driver (BTLD) diskette 
o  Ultra160 Data Transfers  (for SYM53C1010 devices)
o  Ultra160 Domain Validation 
o  Wide and synchronous negotiation (including Fast SCSI/Ultra SCSI/  
   Ultra2 SCSI) 
o  Parallel Protocol Request (PPR) negotiation to SCSI-3 devices for 
   Ultra160 Double Transition <DT> data transmission
o  Multiple host adapters 
o  Disconnect/reselect 
o  Multiple and non-contiguous Logical Unit Numbers (LUNs) support 
o  Dynamic interrupt mapping
o  Scatter/Gather 
o  Wide SCSI 
o  SCSI pass-through functionality 
o  Tagged command queuing 
o  Multiprocessor support
o  Target-initiated negotiation
o  NVRAM and NVS configuration data areas 
o  Termination control using NVRAM and NVS settings
o  RAID up to 1024 byte block sizes

*  *  *  *  *  *  *  *  LSI Logic Devices Supported *  *  *  *  *  *  *  *  * 

The BTLD driver supports the following devices and LSI Logic host adapters
based on those devices:

o  SYM53C810, SYM53C810A, SYM53C810AE (SYM8100S, SYM8100ASP, SYM20810)
o  SYM53C815 (SYM815XS, SYM8150SP)
o  SYM53C825, SYM53C825A (SYM8250S, SYM8251S, SYM8251D, SYM8250ASP, SYM8251ASP,
   SYM8251AD)
o  SYM53C860, SYM53C860AE (SYM8600SP, SYM20860)
o  SYM53C875, SYM53C875E (SYM8750SP, SYM8751SP, SYM8751D)
o  SYM53C876 (SYM22801, SYM22802)
o  SYM53C885 
o  SYM53C895, (SYM8951U, SYM8952U)
o  SYM53C896 (SYM22910, SYM21002, SYM22902)
o  SYM53C895A (SYM8953U)
o  SYM53C1510
o  SYM53C1010* (SYM8955U, SYM21040, SYM22903)

* Note: Represents both SYM53C1010-33 and SYM53C1010-66 MHz

*  *  *  *  *  *  *  *  *  *  *  * Description *  *  *  *  *  *  *  *  *  * 

UNIX installation on a SCSI system requires creation of a SCO UNIX kernel 
that contains the SCSI driver to support SCSI devices. The two possible 
installation procedures are:

1. Installing UNIX and the proper SDMS BTLD driver for the first time on 
   a boot drive.

2. Loading or updating the proper SDMS BTLD driver on a boot drive.


*   *   * Procedure 1: New System Installation *   *   *

To perform a new SCO UNIX installation that includes the proper SDMS driver,
then follow this procedure. Procedure 1 uses a Boot Time Loadable Driver
(BTLD) to provide a user-friendly method for installing SCO UNIX onto a
hard disk drive.


*   *   * Procedure 2: Existing System Installation *   *   * 

To attach SCSI devices to a Symbios host adapter while using a non-SCSI hard
drive (for example, IDE) as the boot hard drive already containing a SCO UNIX
system, execution of Procedure 2 is all that is necessary. This procedure 
installs the SDMS driver on the non-SCSI boot drive. Some of the SCSI devices
supported include tape drives, CD-ROM drives, and SCSI hard disk drives used as
secondary storage. This procedure is also followed to replace a previously
installed SDMS driver on a SCSI boot drive.

Each procedure is described in detail below. LSI Logic recommends that you
complete the entire installation in one session. To complete this installation
without interruption, you should have sufficient time (possibly over an hour).


************************ Installing the SCO UNIX Driver ********************* 

*  *  *  *  *  * Procedure 1: New System Installation *  *  *  *  *  *  * 

This procedure installs SCO UNIX onto a hard disk drive. This installation is 
necessary to build a new UNIX kernel that includes your SDMS driver. During
installation, you are given the option of retaining current partitions on
the root hard disk. For instance, you could have a DOS partition or a user 
UNIX partition already established on the drive. For more details on UNIX 
installation, refer to the SCO OpenServer Handbook. 


1. Link the SDMS BTLD into the UNIX kernel during installation.

   a. Insert the SCO UNIX installation diskette and reboot the system. For
      SCO OpenServer 5, this diskette is labeled Boot Disk.

   b. At the "boot:" prompt (prompt appears without the double qoutes), type:

      link

      Press Enter.

   c. At the next prompt, type:

      slha
   
      Do not remove the diskette. Press Enter.

   d. When prompted during the installation, insert either the proper 
      installation diskette or the SDMS BTLD diskette, and press Enter.
      The system may prompt you to enter a routine:

       "Please enter
              which routine (0-40) to replace '?' to list),
              'a' to add "slhainit" at the end [default],
              'n' to do nothing, or 'q' to quit"

       Enter the indicated routine number that precedes this message.

       Then, the system may prompt with another inquiry:

       "Please enter
              which routine (0-2) to replace '?' to list),
              'a' to add "slhapoll" at the end [default],
              'n' to do nothing, or 'q' to quit"

       Enter the indicated routine number that precedes this message.

   e. Continue the installation according to the SCO UNIX documentation.

   f. The SCO OpenServer 5 system automatically creates a file unix.safe 
      during installation. To access this UNIX kernel, type after the "boot:"
      prompt:

      unix.safe

2. Install SCSI device support.

3. Continue from Procedure 2, step 3.


************************ Installing the SCO UNIX Driver *********************

*  *  *  *  *  * Procedure 2: Existing System Installation *  *  *  *  *

This procedure assumes SCO UNIX is already installed on a hard disk drive. 
This installation is necessary to build a new UNIX kernel that includes the 
proper Symbios host adapter driver. The basic steps for accomplishing 
this task are outlined below. For more details on UNIX installation, refer to
the SCO UNIX System Administrator's Reference Manual.

1. The SCO OpenServer 5 system automatically creates a file unix.safe during
   installation.  To access this UNIX kernel, type after the "boot:" prompt:

      unix.safe

2. Installing the SDMS driver

   a. Insert the SDMS BTLD diskette in the drive and type: 

      installpkg

      Press Enter to continue.

      A prompt appears to insert the requested diskette, which has  
      already been inserted.

   b. Press Enter.

      A prompt now asks for the name of the package. 

   c. Type:

      slha

      Press Enter to continue.

   d. If a driver is already present from a previous installation, a prompt 
      inquires about replacing it. Reply y for yes. 

   e. Once the install package (installpkg) has completed, relink the kernel by
      typing:

      /etc/conf/cf.d/link_unix

      at the command prompt.

   f. The system executes the command and then prompts for a series of 
      responses to:

      1.  Do you want this kernel to boot by default (y/n)?

          Type: y  

          Press Enter. 

          The system backs up the old kernel.

      2.  Do you want the kernel environment rebuilt (y/n)? 

          Type: y 

          Press Enter.

   g. Reboot the system to activate the new kernel by typing at the command 
      prompt:

      reboot

      Press Enter.


3. Adding a SCSI Disk Drive 

   Note: If you are not adding a SCSI disk drive to this system, go to step 4.

   a. At the command prompt, type:

       mkdev hd 

       Press Enter.

      The system prompts for the identifier of the host adapter that supports 
      this device.

   b. If the default is correct, press Enter. If the default is 
      not correct, type:

      slha

      Press Enter.
   
      The system prompts for the host adapter that supports the disk drive.
      
   c. Type the correct host adapter number and press Enter.

      Note: If an additional Symbios host adapter is being added to the 
            SCO UNIX kernel, the system may prompt if you want to update 
            the link-kit (add another host adapter). Type y and press
            Enter. If you entered the host adapter number incorrectly,
            type n, and press Enter; the system then prompts for the 
            host adapter identifier of the preceding step.

      With SCO OpenServer 5, the system prompts for the SCSI bus number of 
      the disk drive. Symbios host adapters support one bus per adapter.

   d. Press Enter to get the default of zero, or type 0 (zero) and press Enter.  

      The system prompts for the target ID of the disk drive.

   e. Type the SCSI ID number of the disk drive and press Enter. 

      If the ID entered is in the range 8-15, a prompt requests verification 
      that the device you are adding is a wide (16-bit) device, as only wide 
      devices may have IDs greater than 7.

      Type y and press Enter if the device is wide. 
      Type n and press Enter if an ID greater than 7 is incorrectly entered for a 
      narrow (8-bit) device. The target ID prompt is then re-issued so you can
      enter the correct target ID.

      The system prompts for the Logical Unit Number (LUN) of the disk drive. 
      
   f. Type the desired LUN and press Enter, or press Enter for the default 
      value of zero.

      The system prompts you to update the SCSI Configuration file.

   g. Type y and press Enter if the displayed values are correct. 
      Type n if the values are incorrect, and retry from step 3d.

      A prompt appears to create a new kernel. 

   h. Type y if this is the last device to be added,

      or

      Type n if additional devices are to be added.

   i. Go to step 6, "Rebuilding the Kernel," if you replied y; return to step 3
      if you replied n.

4. Adding a SCSI Tape Drive

   Note: If you are not adding a SCSI tape drive to this system, go to step 5.

   a. At the command prompt, type:

      mkdev tape 

      Press Enter. 

      The Tape Drive Configuration Program menu appears. 

   b. Select option 1 to install a tape drive, and press Enter.

      The Tape Drive Installation Menu appears. 
  
   c. Select option 4 to install a SCSI tape drive, and press Enter.
     
   d. From the next list, select the type of SCSI tape drive to install, 
      and press Enter. 

      The system prompts to configure the tape drive. 

   e. Type y and press Enter. 

      The system prompts for the identifier of the host adapter that supports 
      this device. 

   f. If the default is correct, press Enter. If the default is not correct,
      type:

      slha

      Press Enter.

      The system prompts for the host adapter that supports the tape drive. 
      
   g. Type the correct host adapter number, and press Enter.

      If an additional Symbios host adapter is being added to the SCO UNIX 
      kernel, the system may prompt if you want to update the link-kit (add 
      another host adapter). Type y and press Enter.
      If you entered the host adapter number incorrectly, type n, and press 
      Enter; the system then prompts for the host adapter identifier of the
      preceding step.

      With SCO OpenServer 5, the system prompts for the SCSI bus number of 
      the tape drive. Symbios host adapters support only one bus per
      adapter.

   h. Press Enter to get the default of zero, or type 0 (zero) and 
      press Enter.

      The system prompts for the SCSI ID of the tape drive.

   i. Type the SCSI ID number of the tape drive and press Enter. 

      The system prompts for the LUN of the tape drive. 

   j. Type 0 (zero) and press Enter. 

      The system then prompts to update the SCSI Configuration file. 

   k. Type y and press Enter.

      A list appears that shows the special devices created.

   l. Press Enter, and another list appears that shows the links to the
      installed tape drive. 

      The system prompts for a boot string.

   m. Type q and press Enter to return to the Tape Drive Configuration 
      Program menu. 

   n. Type q and press Enter to terminate the Tape Drive Configuration
      Program menu.

      A prompt appears to create a new kernel.

   o. Type y if this is the last device to be added,

      or 

      Type n if additional devices are to be added.

   p. Go to step 6, "Rebuilding the Kernel," if you replied y; return to 
      step 3 if you replied n.

5. Adding a SCSI CD-ROM Drive

   Note: If you are not adding a SCSI CD-ROM drive to this system, go to 
         Step 6.

   a. At the command prompt, type:

      mkdev cdrom

      Press Enter.

      The CD-ROM Configuration Program menu appears. 

   b. Select option 1 to install a CD-ROM drive and press Enter.

      The system prompts to configure the CD-ROM Drive. 

   c. Type y and press Enter.

      The system prompts for the identifier of the host adapter that supports 
      this device.

   d. If the default is correct, press Enter. If the default is not correct,
      type:

      slha

      Press Enter.

      The system prompts for the host adapter that supports the CD-ROM drive. 
      
   e.Type the correct host adapter number and press Enter.

      If an additional Symbios host adapter is being added to the SCO UNIX 
      kernel, the system may prompt if you want to update the link-kit (add 
      another host adapter). Type y and press Enter. 
      If you entered the host adapter number incorrectly, type n, and press
      Enter; the system then prompts for the host adapter identifier of the
      preceding step.

      With SCO OpenServer 5, the system prompts for the SCSI bus number of 
      the CD-ROM. Symbios host adapters support only one bus per adapter.
      
   f. Press Enter to get the default of zero, or type 0 (zero) and press Enter.  

      The system prompts for the SCSI ID of the CD-ROM Drive.
 
   g. Type the SCSI ID number and press Enter.

      The system prompts for the LUN of the CD-ROM drive. 

   h. Type the desired LUN and press Enter, or press Enter for the default
      value of zero.

      The system prompts to update the SCSI Configuration file. 

   i. Type y and press Enter. 

      A prompt appears to configure a CD-ROM/TAPE installation device.

   j. Unless this is desired, type n and press Enter.

      A prompt appears to add a High-Sierra file system. 

   k. Type y and press Enter. 

      The system displays the High Sierra/ISO9600 file system Configuration 
      Program menu. 

   l. Select option 1 to add High-Sierra and press Enter.

      The system updates the SCSI configuration file and returns to the
      CD-ROM Configuration Program menu. 

   m. Type q and press Enter to terminate the CD-ROM Configuration Program menu. 

      A prompt appears to create a new kernel.

   n. Type y if this is the last device to be added,

      or 

      Type n if additional devices are to be added. 

   o. Go to step 6, "Rebuilding the Kernel," if you replied y; return to
      step 3 if you replied n.

6. Rebuilding the Kernel

   a. To rebuild the kernel, type:

      /etc/conf/cf.d/link_unix

   b. The system displays will prompt for responses to these messages:
      
      1.  Do you want this kernel to boot by default (y/n)?
  
          Type: y  

          Press Enter. 

          The system backs up the old kernel.

      2.  Do you want the kernel environment rebuilt (y/n)?

          Type: y 

          Press Enter.

   c. To activate the new kernel, you must reboot the system. Type the 
      command:

      reboot

      Press Enter.

   d. After the system reboots and the "boot:" prompt appears, press Enter to 
      load the new kernel.

   e. Log in as usual.


*  *  *  *  *  *  *  *  *  *  * Troubleshooting *  *  *  *  *  *  *  *  *  *

The following conditions should exist after a successful installation:

The directory etc/conf/sdevice.d should contain a file named slha. This file 
contains the sdevice entries.

The directory etc/conf/cf.d contains files sdevice, mdevice, and mscsi. Files 
sdev.hdr and mdev.hdr describe the values of the possible field entries 
in the files sdevice and mdevice, respectively.

     The sdevice file should contain a slha entry for each LSI Logic host 
     adapter configured in the system.

     The second field in the sdevice file should read 'Y'.

     A slha entry should appear in the mdevice file.

     A slha entry for each configured SCSI device should appear in the
     mscsi file.

Directory /etc/conf/pack.d/slha should exist and contain the files Driver.o 
and space.c.

Some potential problems and their suggested solutions are:

*   *   * Problem *   *   *

Loading the SCO UNIX kernel to an IDE hard drive

*   *   * Solution *   *   *

You only need to "link" if you have a SCSI device attached to a LSI Logic host 
adapter. Follow the instructions in the SCO UNIX Installation documentation. 
Once the installation has completed, then go to Step 2 in Procedure 2 and use
"installpkg" to install your SDMS driver.

*   *   * Problem *   *   *

A SCSI device is not found.

*   *   * Solution *   *   *

a. Reboot and press Cntl C when prompted to view the SCSI BIOS Configuration
   Utility displays.  

b. Verify the device is on the correct host adapter and ID. If the device is
   not shown, then it is probaby turned off or a cabling problem exists.

*   *   * Problem *   *   *

UNIX system behaves unreliably after a configuration change.

*   *   * Solution *   *   *

Whenever the hardware or software configuration is altered, you must rebuild 
the kernel.  Use the directory /etc/conf/cf.d and type:

     ./link_unix

to rebuild the kernel.

*   *   * Problem *   *   *

An error message occurs during the rebuild of the kernel.

*   *   * Solution *   *   *

   Reinstall the proper SDMS driver using the installpkg utility. 
   Remember to relink the kernel and then reboot the system.

*   *   * Problem *   *   *

The root disk is not found or the partitioning of the disk fails.

*   *   * Solution *   *   *

   If your boot drive is a SCSI disk, use the SCSI BIOS Configuration Utility 
   to check that the disk is assigned SCSI ID 0 (zero) and is configured to host
   adapter 0 (zero), LUN 0 (zero).

