8/15/95 -- Exabyte Drive Installation Information on SGI IRIX systems OVERVIEW IRIX supports all compression modes and block options for Exabyte 8200 and 8500 series of drives. In order to use these features it is necessary to define the Exabyte device in the SGI kernel, as well as making special device files in /dev. PROCEDURE If you have an Exabyte 8200 or 8500, stop here. SGI already has support for these drives and no further modifications is necessary. For all other Exabyte drives (8505, 8505XL, 8500C), peform all the following steps as root. 1. Modify the "scsi" file, adding a definition for the hp dat drive. In IRIX 5.1 or earlier this is the file: /usr/sysgen/master.d/tpsc In IRIX 5.2 and IRIX 5.3 this is the file: /var/sysgen/master.d/scsi Copy your scsi file to a backup, e.g. scsi.original. # cd /var/sysgen/master.d # cp -p scsi scsi.original Open the scsi file as root with your favorite editor. You will notice it is composed of sets of entries enclosed in {}'s. These entries define a mapping between device names and their capabilities. One new entry will be needed for each different type of Exabyte drive attached to your system. In the example below, adding an Exabyte 8505XL is shown. For other Exabyte drives, you can determine the name of the device by running the mt status command. Search for the Exabyte 8500 entry, make a copy and insert it just above the Exabyte 8500 entry. Modify the copy as follows: For an Exabyte 8505 or 8505XL Drive: Change the first two lines of the entry from: { EXABYTE8500, TP8MM_8500, 7, 8, "EXABYTE", "EXB-8500", 6, "\40\4\16\0\200\7", {0x0, 0x14, 0x0, 0x0}, to { EXABYTE8500, TP8MM_8500, 7, 8, "EXABYTE", "EXB-8505", 6, "\40\4\16\0\200\7", {0x15, 0x14, 0x8C, 0x90}, For an Exabyte 8500C Drive: Change the first two lines of the entry from: { EXABYTE8500, TP8MM_8500, 7, 8, "EXABYTE", "EXB-8500", 6, "\40\4\16\0\200\7", {0x0, 0x14, 0x0, 0x0}, to { EXABYTE8500, TP8MM_8500, 7, 8, "EXABYTE", "EXB8500C", 6, "\40\4\16\0\200\7" {0x15, 0x14, 0x8C, 0x90}, The second line corresponds to the following compression modes: 0x8C = 8500 compatible recording mode w/compression 0x15 = 8500 compatible recording mode without compression 0x90 = 8200 compatible recording mode w/compression 0x14 = 8200 compatible recording mode without compression The net result will look like this for an Exabyte 8505 or 8505XL: { EXABYTE8500, TP8MM_8500, 7, 8, "EXABYTE", "EXB-8505", 6, "\40\4\16\0\200\7", {0x15, 0x14, 0x8C, 0x90}, MTCAN_BSF|MTCAN_BSR|MTCAN_PREV|MTCAN_CHKRDY|MTCAN_VAR|MTCAN_SETSZ| MTCAN_SILI|MTCAN_CHTYPEANY|MTCAN_SETDEN|MTCAN_SPEOD|MTCAN_SYNC| MTCAN_SEEK, 80, 4*60, 25*60, 5*60, 1024, 128*1024}, The Exabyte 8500C will look like this: { EXABYTE8500, TP8MM_8500, 7, 8, "EXABYTE", "EXB8500C", 6, "\40\4\16\0\200\7", {0x15, 0x14, 0x8C, 0x90}, MTCAN_BSF|MTCAN_BSR|MTCAN_PREV|MTCAN_CHKRDY|MTCAN_VAR|MTCAN_SETSZ| MTCAN_SILI|MTCAN_CHTYPEANY|MTCAN_SETDEN|MTCAN_SPEOD|MTCAN_SYNC| MTCAN_SEEK, 80, 4*60, 25*60, 5*60, 1024, 128*1024}, 2. Modify the /dev/MAKEDEV file to include code for producing the appropriate special devices for writing 8200 and 8500 tapes. Insert the following entry prior to the "*Drive?type:*8mm?8500*)" for an Exabyte 8505 or 8505XL drive: *Device*8505*) \ rm -f $${prf}nr ; \ set s nrs ns "" nrns nr sv nrsv nsv v nrnsv nrv ; \ for add in 0 1 2 2 3 3 4 5 6 6 7 7 ; do \ mdev=`expr $$minor + $$add`; \ mknod $${prf}$$1 c ${C_TPS} $$mdev; \ shift; \ done; \ for dens in 0 8 16 24; do \ case $$dens { \ 0) kden=8500;; \ 8) kden=8200;; \ 16) kden=8500c;; \ 24) kden=8200c;; \ }; \ set s nrs ns "" nrns nr sv nrsv nsv v nrnsv nrv ; \ for add in 0 1 2 2 3 3 4 5 6 6 7 7 ; do \ mdev=`expr $$minor + $$add + $$dens`;\ mknod $${prf}$$1.$$kden c ${C_TPS} $$mdev;\ shift;\ done; \ done ;; \ Insert this sequence for an Exabyte 8500C: *Device*8500C*) \ rm -f $${prf}nr ; \ set s nrs ns "" nrns nr sv nrsv nsv v nrnsv nrv ; \ for add in 0 1 2 2 3 3 4 5 6 6 7 7 ; do \ mdev=`expr $$minor + $$add`; \ mknod $${prf}$$1 c ${C_TPS} $$mdev; \ shift; \ done; \ for dens in 0 8 16 24; do \ case $$dens { \ 0) kden=8500;; \ 8) kden=8200;; \ 16) kden=8500c;; \ 24) kden=8200c;; \ }; \ set s nrs ns "" nrns nr sv nrsv nsv v nrnsv nrv ; \ for add in 0 1 2 2 3 3 4 5 6 6 7 7 ; do \ mdev=`expr $$minor + $$add + $$dens`;\ mknod $${prf}$$1.$$kden c ${C_TPS} $$mdev;\ shift;\ done; \ done ;; \ 3. Remove tape devices (they will be regenerated automatically): # /bin/rm /dev/rmt/* # /bin/rm /dev/tape # /bin/rm /dev/nrtape 4. Recompile the kernel using autoconfig. # autoconfig If you get any error messages at this step, check the Exabyte entry you made in the scsi file. 5. Reboot.