IBM Options 4/10, TR3, TR4, TR5, and NS20 Tape Diagnostics Utility ************************************************************* This package contains two diagnostic utilities that can test SCSI and ATAPI Travan, DAT and AIT tape drives from Seagate, Conner or Archive and a .NLM to run under Netware. If backup operations are not functioning correctly, use these diagnostic utilities to: - Verify that the system is communicating with the tape drive. - Confirm that the tape drive can successfully write data to a tape and read it back accurately. *** For SCSI drives attached to a NetWare 3.x or 4.x server, refer to the instructions in this document concerning NWSGTAPE.NLM. *** For SCSI or ATAPI drives attached to a Windows 95/98/NT 4.0 or 3.x or a IBM compatible computer, refer to the instructions in this document concerning SGTAPE21.EXE. SGTAPE 2.1 has the following enhancements over version 2.0a: 1) A single program, SGTAPE21.EXE, now works with both SCSI and ATAPI tape drives. 2) The user is now allowed to enter the number of megabytes to be written/read to the tape for testing. IMPORTANT: Exceeding the capacity of the Tape will result in this message "Unexpected attempt to read beyond the end of data. Retry the read-only portion of the test and set the number of megabytes to less than or equal to previously written data or perform the Read/Write test followed by the read only test." 3) It now includes a "read-only" option capability for the purpose of testing drive interchange capability. Table of Contents ----------------- 1) Running SGTAPE21.EXE for SCSI Tape Drives 2) Running SGTAPE21.EXE for ATAPI (IDE) Tape Drives 3) Running NWSGTAPE.NLM for SCSI Tape drives attached to on a Netware Server 4) Running SGTAPE21.EXE for MS-DOS and Other Intel-Based Operating Systems 1.0 Running SGTAPE21.EXE for SCSI Tape Drives -------------------------------------------- 1.1 Windows 95/98 and 3.x 1.1.1 Insert the diagnostic diskette into your floppy drive. 1.1.2 For Windows 95/98, select Run from the Start menu and for Windows 3.x, select Run from the File menu in Program Manager. 1.1.3 Type X:\SGTAPE21 (where X is the letter of your floppy drive). 1.1.4 Follow the online instructions. 1.1.5 If the diagnostic utility does not recognize your tape drive; follow the instructions for "Windows NT, MS-DOS and Other Intel-Based Operating Systems" below. 1.2 Windows NT, MS-DOS and Other Intel-Based Operating Systems 1.2.1 To run this utility, a real-mode SCSI ASPI device driver is required. 1.2.2 Make the diagnostic diskette DOS-bootable: 1.2.3 Insert the diagnostic diskette into your floppy drive. 1.2.4 Go to a DOS command prompt. NOTE: For Windows NT, you must restart your system in MS-DOS mode. DO NOT USE the MS-DOS console option in the control panel instead use a DOS boot disk or a Windows 95/98 compatibility box. 1.2.5 Enter SYS X: (where X is the letter of the floppy drive). 1.2.6 Copy the ASPI DOS device driver for your SCSI card to the diagnostic diskette. NOTE: Most DOS ASPI drivers are either in a DOS directory on your SCSI card installation diskette or have already been installed on your hard drive. Below are examples of ASPI driver files from two manufacturers whose cards have been tested with the diagnostic utility: Adaptec--aspixdos.sys (where x is 2, 4, 7 or 8) Bus Logic--btdosm.sys 1.2.7 To load the ASPI driver, create a CONFIG.SYS file on the diagnostic diskette: 1.2.7.1 Open a new file in DOS Edit or Notepad. 1.2.7.2 In this new text file, type DEVICE= followed by the appropriate path and device driver filename. Example: DEVICE=X:\ASPI8DOS.SYS (where X is the letter of your floppy drive). 1.2.7.3 Save this file with the name CONFIG.SYS onto the diagnostic diskette and exit the program. 1.2.8 Reboot your system using the diagnostic diskette. 1.2.9 Run the diagnostic utility: 1.2.9.1 At the A:\ prompt type SGTAPE21 and follow the online instructions. 1.3 Advanced Users ============================================================= 1.3.1 Before running the diagnostic utility, you can set an environment variable to control various the following operations. Type: SET SGTAPE21= followed by one or more of the following Letters: b (or B) = initiates a bus reset before test unit ready e (or E) = logs READ errors c (or C) = leaves compression enabled r (or R) = skips retension for minicartridge drives For Example: SET SGTAPE21-S=EC to this will log the READ errors on a DAT drive with compression enabled (without the setting compression is disabled by the utility for the read/write test) To clear the previous all options, Type: SET SGTAPE21= 1.4 Quick Troubleshooting ============================================================= 1.4.1 The tape drive is not recognized during boot time. - If you made the diagnostic diskette DOS-bootable, make sure the entry DEVICE= line in the CONFIG.SYS file on the diagnostic diskette was typed correctly. - Make sure the power to the tape drive is powered on. - If you have an internal tape drive, make sure that the power connector is secure. - Verify that the SCSI cable is securely attached to the tape drive and SCSI card. - For Windows 95/98 and Windows 3.x users, follow the instructions in "Windows NT, MS-DOS and other Intel-based operating systems." 1.4.2 The SCSI card is not recognized. - Make sure that the SCSI card is completely inserted into the computer system. - Make sure that the SCSI card's jumper or switches are set correctly. - Run the diagnostics that came with the SCSI card (the card may not be functioning properly). - NOTE: Tape drives attached to an Adaptec 3940 card will only be recognized on Channel A. 1.4.3 The SCSI tape diagnostic software locks up the computer. - Check your system, SCSI card or ASPI device driver documentation for the appropriate setup options. - The SCSI card is not compatible with the diagnostic utility. ***************** End SCSI Instructions ********************* 2.0 Running SGTAPE21.EXE for ATAPI (IDE) Tape Drives --------------------------------------------------- 2.1 For Windows 95/98 and Windows NT, restart your computer in MS-DOS mode. For Windows 3.x, go to a DOS command prompt by exiting Windows. Note: For Windows 95/98 and Windows NT, do not go to a DOS prompt screen from within Windows. You must restart your system in MS-DOS mode. 2.1.1 Insert the diagnostic diskette into your floppy drive. 2.1.2 Type X:\SGTAPE21 (where X is the letter of your floppy drive). 2.1.3 Follow the online instructions. 2.1.4 If the diagnostic utility does not recognize your tape drive, you may need to enter your tape drive's input/output (I/O) and interrupt request (IRQ) settings from within the diagnostic utility. To determine what your tape drive's I/O and IRQ settings are, refer to the "Identifying Input/Output (I/O) and Interrupt Request (IRQ) Settings" section. 2.2 Identifying Input/Output (I/O) and Interrupt Request (IRQ) Settings ------------------------------------------------------------------- NOTE: If your Seagate ATAPI tape drive is attached to your system using an input/output (I/O) address or interrupt request (IRQ) that is different from the diagnostic program default of 170 and 15, you will need to enter the correct settings from within the diagnostic utility or the tape drive cannot be detected. Follow the instructions below to determine the correct settings. 2.2.1 Windows 95/98 2.2.1.1 Open the Device Manager: 2.2.1.2 Open the Control Panel by either selecting Settings from the Start menu or by opening My Computer. 2.2.1.3 Double-click on the System icon. 2.2.1.4 Select the Device Manager tab. 2.2.1.5 Locate the listing for your tape drive and click on the option to View devices by connection, located near the top of the window. 2.2.1.6 Click on the plus (+) sign next to the Plug and Play BIOS to expand the list. 2.2.1.7 Locate the one or two IDE/ESDI Hard Disk Controllers listed (you may need to click on the plus (+) sign next to the PCI Bus to see these listings). Note: If your tape drive is connected to an Acculogic IDE card, your IDE/ESDI Hard Disk Controllers may be located under the Computer icon and not under the Plug and Play BIOS. 2.2.1.8 Click on the plus (+) sign next to each IDE/ESDI Hard Disk Controller listing to determine which one your tape drive is connected to. Note: Your tape drive may be listed as either a Seagate, Conner or Archive drive. The model number on screen should match the model number of your tape drive. 2.2.1.9 Determine the I/O and IRQ settings for your tape drive: 2.2.1.9.1 Highlight the IDE/ESDI Hard Disk Controller that has your tape drive displayed beneath it. 2.2.1.9.2 Click on Properties. 2.2.1.9.3 Click on the Resources tab. 2.2.1.9.4 Locate the first Input/Output Range listed. 2.2.1.9.5 Write down the first number that appears. For example, if the range is 0170-0177, write down the 170 only (ignore the leading zero). 2.2.1.9.6 Write down the Interrupt Request number, which is displayed below the Input/Output Range. 2.3 Run the diagnostic utility: 2.3.1 Follow the instructions in "Running the Diagnostic Utility for ATAPI (IDE) Tape Drives." 2.3.2 When prompted, enter your I/O Range number into the I/O Port field and the Interrupt Request number into the IRQ field. Note: Entering an IRQ into the diagnostic program that is incorrect or in use by another device may cause your system to hang. If this happens, restart your computer and rerun the test with the correct settings. 2.3.3 Choose whether your tape drive is in master or slave configuration. Refer to your tape drive installation manual to determine how your tape drive is configured. The diagnostic utility should now recognize your tape drive. 2.4 Windows NT 4.0 2.4.1 Open the Device Manager: 2.4.2 Open the Control Panel by either selecting Settings from the Start menu or by opening My Computer. 2.4.3 Double-click on the SCSI Adapters icon. 2.4.4 Select the Devices tab. 2.4.5 Follow the steps for Windows 95/98 above, starting with step 2.3.2. Note: The IDE controller may be listed as a CD-ROM controller. 2.5 Windows 3.x and DOS 2.5.1 Use one of the following methods to determine the I/O and IRQ settings for your tape drive: 2.5.1.1 Most ATAPI tape drives are attached to the same interface cable as the CD-ROM, enabling both devices to share the same IRQ setting. The recommended installation of an ATAPI tape drive is as a slave to the CD-ROM. If this is how your tape drive is set up, check your computer's system setup, or run a diagnostic utility such as Microsoft Diagnostic (MSD), which is included with most DOS-based systems, to determine which IRQ your CD-ROM is using. Refer to that IRQ from the list below to find out the corresponding I/O address, and then enter it into the diagnostic utility. I/O IRQ 170 15 (Default setting for the diagnostic util) 1F0 14 1E8 12 168 10 2.5.1.2 Try using one of the shareware utilities available on the Internet. To locate a list of utilities, perform a search for "IRQ" and "shareware". Note: Entering an IRQ into the diagnostic program that is incorrect or in use by another device may cause your system to hang. If this happens, restart your computer and rerun the test with the correct settings. 2.6 Advanced Users ============================================================= 2.6.1 Before running the diagnostic utility, you can set an environment variable to control the following operations by typing SET SGTAPE21= followed by one or more of the following letters: b (or B) = initiates a bus reset before test unit ready e (or E) = logs READ errors c (or C) = leaves compression enabled r (or R) = skips retension for minicartridge drives For example, to log READ errors on a DAT drive with compression still enabled (it is normally disabled by the utility for the read/write test), type SET SGTAPE21=EC. To clear all options, type SET SGTAPE21= 2.7 Quick Troubleshooting ============================================================= 2.7.1 The diagnostic utility does not recognize your tape drive. - Make sure all cables are attached firmly to the drive. - Make sure the I/O and IRQ settings are correct. See the "Identifying Input/Output (I/O) and Interrupt Request (IRQ) Settings" section for instructions on how to reconfigure these settings. *********** End ATAPI (IDE) Instructions ******************** 3.0 Running NWSGTAPE.NLM for SCSI Tape Drives on a Netware Server ================================================================= 3.1 Make sure the ASPI device driver for your SCSI card has been installed on the Netware server and included in startup.ncf. For additional information, refer to your SCSI card documentation. 3.1.2 Copy NWSGTAPE.NLM from the diagnostic diskette to the location on the server that contains NLM files. NOTE: You can also run this utility directly from the diagnostic diskette. 3.1.3 Using the load command run the diagnostic utility NWSGTAPE. Example: load X:\NWSGTAPE (where X is the letter of your floppy drive). 3.1.4 Follow the online instructions. 3.1.5 If the diagnostic utility does not recognize your tape drive, see the Troubleshooting section below or follow the instructions for "MS-DOS and Other Intel-Based Operating Systems." 3.2 Important Netware Notes: ------------------------------------------------------------- 3.2.1 NWSGTAPE.NLM has been seen to exhibit the following after saving the log file when using an Adaptec 2940 SCSI card: - Time delay before returning to console prompt. - Server hang if program is run twice. - Server ABENDS. 3.2.1.1 To prevent this from occurring, make sure you are loading the AIC7870.DSK ASPI driver in the STARTUP.NCF file and not entering it manually at the server console. 3.2.1.2 If running NWSGTAPE.NLM a second time hangs on "Searching for Tape Drive." Go to the console prompt and enter "List Devices." This will send a reset to the tape drive and the drive will be found with NWSGTAPE.NLM. 3.2.1.3 Receiving Tape I/O errors when running program. Check your STARTUP.NCF for another application that is using the tape interface, such as TAPEDAI.DSK. (TAPEDAI.DSK is used for running tape drives with SBACKUP.) 3.2.1.4 Using the Adaptec 1540 SCSI card and NWSGTAPE is showing "Tape Drive Not Found:" errors. In your STARTUP.NCF, insert the following command: SET AUTO REGISTER MEMORY ABOVE 16 MEGABYTES = OFF 3.3 Advanced Users ============================================================= 3.3.1 Before running the diagnostic utility NLM, you can set an environment variable to control the following operations by typing a space after the load command, followed by one or more of the following letters: b (or B) = initiates a bus reset before test unit ready e (or E) = logs READ errors c (or C) = leaves compression enabled r (or R) = skips retension for minicartridge drives Example: to log READ errors on a DAT drive with compression still enabled (it is normally disabled by the utility for the read/write test), type LOAD NWSGTAPE EC. To clear the previous options, type SET SGTAPE21= 3.4 Quick Troubleshooting ============================================================= 3.4.1 The tape drive is not recognized during boot time. - If you made the diagnostic diskette DOS-bootable, make sure the DEVICE= line in the CONFIG.SYS file on the diagnostic diskette was typed correctly. - Make sure the tape drive is powered on. - If you have an internal tape drive, make sure that the power connector is secure. - Verify that the SCSI cable is securely attached to the tape drive and SCSI card. 3.4.2 The SCSI card is not recognized. - Make sure that the SCSI card is completely inserted into the computer system. - Make sure that the SCSI card's jumper or switches are set correctly. - Download the latest ASPI driver from your SCSI card manufacturer's Web site. - Run MODULES to verify that the proper ASPI NLM is being loaded on server startup. If not, load it manually before running NWSGTAPE. - Run the diagnostics that came with the SCSI card (the card may not be functioning properly). - NOTE: Tape drives attached to an Adaptec 3940 card will only be recognized on Channel A. 3.4.2 The SCSI tape diagnostic software locks up the computer. - Check your system, SCSI card or ASPI device driver documentation for the appropriate setup options. - The SCSI card is not compatible with the diagnostic utility. *********** End Netware Instructions ************************ 4.0 MS-DOS and Other Intel-Based Operating Systems ============================================================= 4.1 To run this utility, a real-mode SCSI ASPI device driver is required. 4.1.1 Make the diagnostic diskette DOS-bootable: 4.1.1.1 Insert the diagnostic diskette into your floppy drive. 4.1.1.2 Go to a DOS command prompt. 4.1.1.3 Enter SYS X: (where X is the letter of your floppy drive). 4.2 Copy the ASPI DOS device driver for your SCSI card to the diagnostic diskette. Note: Most ASPI DOS drivers are either in a DOS directory on your SCSI card installation diskette or have already been installed on your hard drive. Below are examples of ASPI driver files from two manufacturers whose cards have been tested with the diagnostic utility: Adaptec--aspixdos.sys (where x is 2, 4, 7 or 8) Bus Logic--btdosm.sys 4.3 To load the ASPI driver, create a CONFIG.SYS file on the diagnostic diskette: 4.3.1 Open a new file in DOS Edit or Notepad. 4.3.2 In this new text file, type DEVICE= followed by the appropriate path and device driver filename. Example: DEVICE=X:\ASPI8DOS.SYS (where X is the letter of your floppy drive). 4.3.3 Save this file with the name CONFIG.SYS onto the diagnostic diskette and exit the program. 4.3.4 Reboot your system using the diagnostic diskette. 4.4 Run the diagnostic utility: 4.4.1 At the A:\ prompt, type SGTAPE21. 4.4.2 Follow the online instructions and refer to README_21.TXT. ============================================================= LICENSE AGREEMENT AND WARRANTY DISCLAIMER Seagate reserves the right to change, without notice, product offerings or specifications. This is a legal agreement between you the purchaser and Seagate Technology, Inc. By accessing SGTAPE21.EXE, the ("Software"), you agree to be bound by the terms of this agreement. If you do not agree; do not access the software. Seagate provides the accompanying object code of the Software and nonexclusively licenses its use to you on the following terms and conditions. The Software is Seagate's proprietary, copyrighted product. Seagate grants you a limited access to use one copy of the Software. You may not copy, distribute the Software for resale. You may not reverse-engineer, modify, rent or lease the Software. In addition, you may not disclose the information or data incorporated in the Software to others, in any format. You accept the Software "as is" without any warranty whatsoever. Seagate does not warrant that the Software will meet your requirements; that the Software is fit for any particular purpose or that the use of the Software will be error-free. SEAGATE EXPRESSLY DISCLAIMS ALL WARRANTIES, WHETHER ORAL OR WRITTEN, EXPRESSED OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL SEAGATE BE LIABLE TO YOU, YOUR CUSTOMERS OR OTHER USERS IN ANY WAY BASED ON USE OF THE SOFTWARE, INCLUDING WITHOUT LIMITATION FOR ANY LOSS OF PROFITS, LOSS OF DATA OR USE OF THE SOFTWARE OR INDIRECT, INCIDENTAL, CONSEQUENTIAL, SPECIAL, OR EXEMPLARY DAMAGES ARISING OUT OF OR IN CONNECTION WITH THE USE OR INABILITY TO USE THE SOFTWARE. (C) 1998 Seagate Technology, Inc. End of License Agreement. -------------------------------------------------------------