>From: Seagate Unix Compatibility Guide for Scorpion 4, 8 and 24 (For CCP14 use - for up to date information, checkout the Seagate web site at http://www.seagate.com) 1.0 Introduction This document gives details of how to configure the Scorpion 4,8 and 24 Drives to operate on various UNIX systems. It gives details of Drive configuration options, and also any changes that may be required at the operating system level. When configured as documented in this guide, the Drive will perform as an integrated component of the system, giving maximum functionality. Note: Seagate makes no Warranty of any kind with regard to this document. Seagate shall not be liable for any errors contained herein, or indirect, special, incidental or consequential damages in connection with the furnishing, performance, or use of this document. All brand and product names are trademarks, or registered trademarks of their respective companies. ================================================================== ################################################################## ================================================================== 2.0 Drive Requirements In order to enable the Unix compatible functions within the Drive, the following hardware requirements apply: Drive Model # Hardware Scorpion-4 STD24000N-SB 10 Position Dip Switch Scorpion-8 STD28000N-SB 10 Position Dip Switch Scorpion-24 STD224000N-SB 10 Position Dip Switch ================================================================== ################################################################## ================================================================== 3.0 Drive Configuration Switches. The Unix Compatible Drives have a set of configuration switches on the bottom of the Drive. Switches 9 and 10 are used for Unix support: System Switch 9 Switch 10 Sun off on DEC on off IBM off on HP off off SGI off off Non-Unix off off ================================================================== ################################################################## ================================================================== 4.0 Inquiry Strings The Scorpion 4/ 8 and Scorpion-24 return different Inquiry Strings and the Inquiry String of the Drive is also configurable using Switch 7. Full details of the possible Inquiry strings returned are given below: Drive Switch 7 Inquiry String Returned Scorpion-4 Off ARCHIVE Python 04687-XXX Scorpion-8 Off ARCHIVE Python 04687-XXX Scorpion-24 Off ARCHIVE Python 04106-XXX Scorpion-4 On SEAGATE DAT 04687-XXX Scorpion-8 On SEAGATE DAT 04687-XXX Scorpion-24 On SEAGATE DAT 04106-XXX Either setting for switch 7 can be used, but the correct Inquiry string must be entered in the System Configuration information. For simplicity, the ARCHIVE Python string is used in the following sections. If you have switch 7 set on, simply change the strings to SEAGATE DAT. Note: Be careful to insert four spaces between DAT and 04106 or 04687 when the full Inquiry string is required. Scorpion 4/8 and Scorpion 24 return different part numbers in their Inquiry strings. In the following sections, a generic description is used which uses PRTNO in place of the actual part number. When you make the actual kernel modifications, replace PRTNO with the required number: Drive Model # PRTNO Value Scorpion-4 STD24000N-SB 04687 Scorpion-8 STD28000N-SB 04687 Scorpion-24 STD224000N-SB 04106 ================================================================== ################################################################## ================================================================== 7.2 Irix V6.x To configure Irix 6.x to use the Scorpion-24, you must modify the files /var/sysgen/master.d/scsi and /dev/MAKEDEV.d/TPS_base then rebuild the kernel, as described below: i. Add the following entry to the file /var/sysgen/master.d/scsi >>{ DATTAPE, TPDAT, 7, 12, "ARCHIVE", "Python PRTNO"/*DAT*/, 0, 0, {0}, >> /* This drive uses mode select page 0xf for compression control; >> * most of the other drives supporting compression use page 0x10 */ >>MTCAN_BSF|MTCAN_BSR|MTCAN_APPEND|MTCAN_SETMK|MTCAN_PART|MTCAN_PREV| >> MTCAN_SYNC|MTCAN_SPEOD|MTCAN_CHKRDY|MTCAN_VAR|MTCAN_SETSZ| >> MTCAN_SILI|MTCAN_SEEK|MTCAN_CHTYPEANY|MTCAN_COMPRESS, >> /* minimum delay on i/o is 12 minutes, to allow the Drives >> * full error recovery sequence to be performed. */ >>40, 12*60, 12*60, 12*60, 512, 512*512, 0, (u_char *)0 }, (note that the format has changed somewhere between 6.5 to 6.5.3 - thus the following works - L. Cranswick 28th may 1999) { DATTAPE, TPDAT, 7, 12, "ARCHIVE", "Python 04106" /*DAT*/, 0, 0, {0}, /* This drive uses mode select page 0xf for compression control; * most of the other drives supporting compression use page 0x10 * data entered 28th May 1999 by Lachlan Cranswick * Actually made working by Chris Dean */ MTCAN_BSF|MTCAN_BSR|MTCAN_APPEND|MTCAN_SETMK|MTCAN_PART|MTCAN_PREV| MTCAN_SYNC|MTCAN_SPEOD|MTCAN_CHKRDY|MTCAN_VAR|MTCAN_SETSZ| MTCAN_SILI|MTCAN_SEEK|MTCAN_CHTYPEANY|MTCAN_COMPRESS, /* minimum delay on i/o is 12 minutes, to allow the Drives * full error recovery sequence to be performed */ 40, 12*60, 12*60, 12*60, 3*3600, 512, 512*512, tpsc_default_dens_count, tpsc_default_hwg_dens_names, tpsc_default_alias_dens_names, {0}, 0, 0, 0, 0, (u_char *)0 }, ii. Make the following modification to the file /dev/MAKEDEV.d/TPS_base. Note: This modification is not required on systems running IRIX 6.4 Locate the area of code which deals with Dat Drives. This starts with: *Drive?type:*DAT* Insert the following before or after the similar entries for other supported devices: *Device:*Python*PRTNO*) # DAT drive with compression mdev=`expr $mdev + 8`; mknod ${prf}$1c c ${C_TPS} $mdev; ;; iii. Rebuild the kernel, as described in section 7.3 Note: See section 4.0 for information on replacing PRTNO with the number applicable to your drive. 7.3 Rebuilding the Irix Kernel i. Once the modifications have been made, you will need to rebuild the kernel. This can be done using the autoconfig command ( see the autoconfig man page for details ). Alternatively, Irix 5.3 and later will detect the changes made and automatically rebuild the kernel the next time the system boots. ii. Once the new Kernel is built you will need to reboot the system again to bring the changes into effect. 7.4 Troubleshooting Installation problems on the SGI platform 7.4.1 Checking the Drives Inquiry String As it is possible to configure the Drive to return different Inquiry strings, it may be useful to check the Drives Inquiry String before making the changes outlined above. This is done using the mt command. The following example with retrieve the Inquiry string and other status data from a Drive on SCSI bus 1, ID 4. mt -f /dev/rmt/tps1d4 status 7.4.2 System Interchange Problems. If the following error appears when trying to restore a cpio archive from another system, it is likely a mistake has been made in the installation sequence in section 7.1 above: Byte swapped Data - re-try with correct device If this error is encountered, it is probably caused by incorrect setup, as described in section 7.2.1, Check and verify the correct modifications were made to /var/sysgen/master.d/scsi. 7.4.3 Switching Hardware Compression. Support for switching Hardware Compression is supported in Irix 6.x via the use of different device drivers. Drivers including a "c" in the device name should enable compression. Problems seen with compressed operation were resolved by installing the latest Irix 6.x patch set.