SUMMARY: kernel mods for Exabyte 8505

From: david r coelho (drc@coelho.COM)
Date: Tue Jun 22 1993 - 19:40:35 CDT


Thanks to all who sent me responses and to Exabyte technical support!
Here is how to configure SunOS 4.1.3 for the Exabyte 8505 (SunOS 4.1.2
is identical). SunOS 4.1.1 is slightly different since it does not have
an entry for the 8500.

===============================================================================

Context diffs to add support to SunOS 4.1.3 for the Exabyte 8505. Make
these changes (i.e. add the lines marked with '+' to the appropriate
files), then rebuild the kernel, install the new kernel, and reboot.

***************************************************************************
*** /sys/scsi/targets/stdef.old Mon Jun 21 16:38:48 1993
--- /sys/scsi/targets/stdef.h Mon Jun 21 16:12:57 1993
***************
*** 48,54 ****
--- 48,53 ----
  
  #define ST_TYPE_EXABYTE 0x28 /* Exabyte */
  #define ST_TYPE_EXB8500 0x29 /* Exabyte */
+ #define ST_TYPE_EXB8505 0x30 /* Exabyte */
  
  
  /* Defines for supported drive options */
***************************************************************************

***************************************************************************
*** /sys/scsi/targets/st_conf.old Mon Jun 21 16:43:06 1993
--- /sys/scsi/targets/st_conf.c Mon Jun 21 16:08:43 1993
***************
*** 119,124 ****
--- 119,133 ----
          { 0x01, 0x02, 0x03, 0xC3},
          { 0, 0, 0, 0 }
  },
+ /* Exabyte 8mm Half-Height 5GB cartridge w/ compression */
+ {
+ "Exabyte EXB-8505 8mm Helical Scan", 16, "EXABYTE EXB-8505",
+ ST_TYPE_EXB8505, 1024,
+ (ST_VARIABLE | ST_BSF | ST_BSR | ST_LONG_ERASE),
+ 5000, 5000,
+ { 0x14, 0x15, 0x90, 0x8C },
+ { 0, 0, 0, 0 }
+ },
  /* Exabyte 8mm 5GB cartridge */
  {
          "Exabyte EXB-8500 8mm Helical Scan", 16, "EXABYTE EXB-8500",
***************************************************************************

***************************************************************************
*** /sys/sundev/streg.old Mon Jun 21 16:45:34 1993
--- /sys/sundev/streg.h Mon Jun 21 16:08:51 1993
***************
*** 134,139 ****
--- 134,140 ----
  
  #define ST_TYPE_EXB8200 0x28 /* Exabyte EXB-8200 */
  #define ST_TYPE_EXB8500 0x29 /* Exabyte EXB-8500 */
+ #define ST_TYPE_EXB8505 0x30 /* Exabyte EXB-8505 */
  
  
  /* Defines for supported drive options */
***************
*** 187,192 ****
--- 188,198 ----
          10240, (ST_REEL | ST_VARIABLE | ST_BSF | ST_BSR | ST_ERRLOG), \
          2000000, 11, 11, 3, 3, 105, 105, 26, 26, \
          0x01, 0x02, 0x03, 0xC3, 0, 0, 0, 0 }, \
+ /* Exabyte 8mm Half-Height 5GB cartridge */ \
+ { "Exabyte EXB8505", 16, "EXABYTE EXB-8505", ST_TYPE_EXB8505, \
+ 1024, (ST_VARIABLE | ST_BSF | ST_BSR | ST_LONG_ERASE | ST_PHYSREC), \
+ 8000000, 30, 30, 30, 30, 60, 60, 60, 60, \
+ 0x14, 0x15, 0x90, 0x8c, 0, 0, 0, 0 }, \
  /* Exabyte 8mm 5GB cartridge */ \
  { "Exabyte EXB8500", 16, "EXABYTE EXB-8500", ST_TYPE_EXB8500, \
          1024, (ST_VARIABLE | ST_BSF | ST_BSR | ST_LONG_ERASE | ST_PHYSREC), \
***************************************************************************

In /usr/sys/scsi/targets/st_conf.c, add the following lines to the drivetypes
structure:

/* Exabyte 8mm 5GB cartridge */
{
        "Exabyte EXB-8505 8mm Helical Scan", 16, "EXABYTE EXB-8505",
        ST_TYPE_EXB8500, 1024,
        (ST_VARIABLE | ST_BSF | ST_BSR | ST_LONG_ERASE),
        5000, 5000,
        { 0x14, 0x15, 0x90, 0x8C },
        { 0, 0, 0, 0 }
},

-- 
david r. coelho                        email: drc@coelho.COM
personal productivity tools, inc
43000 christy street                   voice: (510) 440-3050
fremont, ca 94538-3198 usa             fax:   (510) 770-0728



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:57 CDT