***************************************************************************** SCOUNIX.TXT ***************************************************************************** INSTALLATION GUIDE FOR THE LSI Fusion-MPT (TM) lsil DRIVER 1.03.xx This file describes the features and use of the LSI Logic Fusion-MPT lsil device driver for the SCO OpenServer 5 operating system environments. The package name and the driver name are "lsil." These instructions assume that you are using a LSI host adapter and the appropriate SCSI devices. You only need to "link" the new lsil 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. Note: Current SCO OpenServer drivers can be downloaded from the LSI Logic web site at http://www.lsilogic.com. After you are connected to this web site, place your cursor on the Get Drivers option in the menu bar. Click on the Drivers selection. Choose the SCO Open Server 5.X operating system for SCSI or Fibre Channel and click on the Go button. Follow the instructions on subsequent screens to download the driver. Driver files are labeled sco103xx.Z, sco103xx.dd, etc. The "xx" refers to the last two digits of the actual driver version number. For instance, files associated with lsil driver version 1.03.04 will be labeled sco10304.Z, sco10304.dd, etc. 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 Procedure 2, Existing System Installation Troubleshooting Read the information below before proceeding with the installation instructions. 1) The 1.03.xx 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) The 1.03.xx driver diskette contains the package "lsil," which is the package for all SCO OpenServer 5 releases. 3) Within the text instructions for adding SCSI disk drives, tape drives, and CD-ROM drives, the system prompts the user to check if the driver is the default value or enter the exact driver name. The package name and the driver name are lsil. ******************************* 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 lsil Boot Time Loadable Driver (BTLD) diskette contains one package: lsil 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 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 with the software provided by SCO. SCO OpenServer 5 provides only one installation diskette, labeled Boot Disk. This diskette, the lsil BTLD driver diskette, and other software media are used during an SCO OpenServer 5 installation. The lsil driver allows SCO OpenServer 5 operating systems to interface with SCSI devices connected to the LSI53C1030 family of chipsets and/or LSI53C1030 host adapter cards. Driver 1.03.xx also features support for the LSIFC929X, LSIFC919X, LSIFC929, LSIFC919 and LSIFC909 Fibre Channel chipsets and their associated Host Adapter boards. The following sections provide instructions for configuring the SCO UNIX kernel with the lsil 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 * * * * * * * * * * * o Provides easy UNIX installation on a hard disk with the lsil Boot Time Loadable Driver (BTLD) diskette o Supports Domain Validation o Supports multiple host adapters o Provides multiprocessor support * * * * * * * * * * LSI Logic Devices Supported * * * * * * The BTLD driver supports the following devices and LSI Logic host adapters based on those devices: o LSI53C1030 and LSI53C1020 Ultra320 SCSI Chips o LSIFC929X, LSIFC919X, LSIFC929, LSIFC919 and LSIFC909 Fibre Channel Chips * * * * * * * * * * * * Description * * * * * * * * * * UNIX installation on a SCSI system requires creation of a SCO UNIX kernel that contains the driver to support LSI Logic SCSI and Fibre Channel devices. The two possible installation procedures are: 1. Installing UNIX and the proper lsil driver for the first time on a boot drive. 2. Loading or updating the proper lsil driver on a boot drive. To perform a new SCO UNIX installation that includes the proper lsil driver, then follow Procedure 1. This procedure uses a BTLD to provide a user-friendly method for installing SCO UNIX onto a hard disk drive. To attach devices to a LSI Logic host adapter while using a non-SCSI hard drive as the boot hard drive already containing a SCO UNIX system, follow Procedure 2. This procedure installs the lsil driver on the non-SCSI boot drive. Some of the devices supported include tape drives, CD-ROM drives, and hard disk drives used as secondary storage. Use this procedure to replace a previously installed lsil driver. 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 lsil 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 lsil 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, type: link Press Enter. c. At the next prompt, type: lsil Do not remove the diskette. Press Enter. d. When prompted during the installation, insert either the proper installation diskette or the lsil 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 "lsilinit" at the end [default], 'n' to do nothing, or 'q' to quit" Enter the indicated routine number that proceeds this message. Then, the system may prompt with another inquiry: "Please enter which routine (0-2) to replace '?' to list), 'a' to add "lsilpoll" at the end [default], 'n' to do nothing, or 'q' to quit" Enter the indicated routine number that proceeds 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 by continuing from Procedure 2, step 3. * * * * * * 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 LSI Logic 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 lsil driver a. Insert the lsil BTLD diskette in the drive and type: installpkg Press Enter to continue. b. A prompt appears to insert the requested diskette. Since the BTLD diskette is already inserted, press Enter. c. A prompt now asks for the name of the package. Type: lsil Press Enter to continue. d. If a driver is already present from a previous installation, a prompt inquires about replacing it. Press "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. To activate the new kernel, you must reboot the system. At the command prompt, type: reboot Press Enter. 3. Adding a SCSI Disk Drive Note: If you are not adding a SCSI or Fibre Channel disk drive to this system, go to step 4. a. At the command prompt, type: mkdev hd Press Enter. b. The system prompts for the identifier of the host adapter that supports this device. If the default is correct, press Enter. If the default is not correct, type: lsil Press Enter. c. The system prompts for the host adapter that supports the disk drive. Type the correct host adapter number and press Enter. If an additional LSI Logic 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. d. With SCO OpenServer 5, the system prompts for the bus number of the disk drive. Since LSI Logic host adapters support one bus per adapter, press Enter to get the default of zero, or type 0 (zero) and press Enter. e. The system prompts for the target ID of the disk drive. Type the ID number of the disk drive and press Enter. f. The system prompts for the Logical Unit Number (LUN) of the disk drive. Type the desired LUN and press Enter, or press Enter for the default value of zero. g. The system prompts you to update the Configuration file. Type y and press Enter if the displayed values are correct. Type n if the values are incorrect, and retry from step 3d. h. A prompt appears to create a new kernel. Type y if this is the last device to be added, or type n if additional devices are to be added. Go to step 6, "Rebuilding the Kernel," if you replied y; return to step 3 if you replied n. 4. Adding a Tape Drive Note: If you are not adding a tape drive to this system, go to step 5. a. At the command prompt, type: mkdev tape Press Enter. b. The Tape Drive Configuration Program menu appears. Select option 1 to install a tape drive, and press Enter. c. The Tape Drive Installation Menu appears. Select option 4 to install a tape drive, and press Enter. From the next list, select the type of tape drive to install, and press Enter. d. The system prompts to configure the tape drive. Type y and press Enter. e. The system prompts for the identifier of the host adapter that supports this device. If the default is correct, press Enter. If the default is not correct, type: lsil Press Enter. f. The system prompts for the host adapter that supports the tape drive. Type the correct host adapter number, and press Enter. If an additional LSI Logic 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. g. With SCO OpenServer 5, the system prompts for the bus number of the tape drive. Since LSI Logic host adapters support only one bus per adapter, press Enter to get the default of zero, or type 0 (zero) and press Enter. h. The system prompts for the ID of the tape drive. Type the ID number of the tape drive and press Enter. i. The system prompts for the LUN of the tape drive. Type 0 (zero) and press Enter. The system then prompts to update the Configuration file. Type y and press Enter. j. A list appears that shows the special devices created. Press Enter, and another list appears that shows the links to the installed tape drive. When prompted for a boot string, type q and press Enter to return to the Tape Drive Configuration Program menu. Type q and press Enter to terminate the Tape Drive Configuration Program menu. k. A prompt appears to create a new kernel. Type y if this is the last device to be added, or type n if additional devices are to be added. Go to step 6, "Rebuilding the Kernel," if you replied y; return to step 3 if you replied n. 5. Adding a CD-ROM Drive Note: If you are not adding a CD-ROM drive to this system, go to Step 6. a. At the command prompt, type: mkdev cdrom Press Enter. b. The CD-ROM Configuration Program menu appears. Select option 1 to install a CD-ROM drive and press Enter. c. The system prompts to configure the CD-ROM Drive. Type y and press Enter. d. The system prompts for the identifier of the host adapter that supports this device. If the default is correct, press Enter. If the default is not correct, type: lsil Press Enter. e. The system prompts for the host adapter that supports the CD-ROM drive. Type the correct host adapter number and press Enter. If an additional LSI Logic 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. f. With SCO OpenServer 5, the system prompts for the bus number of the CD-ROM. Since LSI Logic host adapters support only one bus per adapter, press Enter to get the default of zero, or type 0 (zero) and press Enter. g. The system prompts for the ID of the CD-ROM Drive. Type the ID number and press Enter. h. The system prompts for the LUN of the CD-ROM drive. Type the desired LUN and press Enter, or press Enter for the default value of zero. i. The system prompts to update the Configuration file. Type y and press Enter. A prompt appears to configure a CD-ROM/TAPE installation device. Unless this is desired, type n and press Enter. A prompt appears to add a High-Sierra file system. Type y and press Enter. The system displays the High Sierra/ISO9600 file system Configuration Program menu. Select option 1 to add High-Sierra and press Enter. The system updates the configuration file and returns to the CD-ROM Configuration Program menu. Type q and press Enter to terminate the CD-ROM Configuration Program menu. j. A prompt appears to create a new kernel. Type y if this is the last device to be added, or type n if additional devices are to be added. 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 lsil. 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 an lsil entry for each LSI Logic host adapter configured in the system. The second field in the sdevice file should read 'Y'. An lsil entry should appear in the mdevice file. An lsil entry for each configured device should appear in the mscsi file. Directory /etc/conf/pack.d/lsil should exist and contain the files Driver.o and space.c. Some potential problems and their suggested solutions are: * * * Problem * * * Difficulty loading the SCO UNIX kernel to an IDE hard drive * * * Solution * * * You only need to "link" if you have a device attached to an 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 lsil driver. * * * Problem * * * A device is not found. * * * Solution * * * a. Reboot and press Cntl C when prompted to view the LSI Logic Configuration Utility displays. b. Verify the device is on the correct host adapter and ID. If the device is not shown, then it is probably 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 lsil 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 disk, use the BIOS Configuration Utility to check that the disk is assigned ID 0 and is configured to host adapter 0, LUN 0.