Thanks to these people for helpful hints and requests for this
summary:
cld@astro.caltech.edu (Cheryl L. Southard)
lct@ai.mit.edu (Leonardo C. Topa)
jablo@munfs01.lsil.de (Dieter Jablanovsky)
mjewison@nereid.sal.ists.ca (Mike Jewison)
era@ncar.ucar.edu (Ed Arnold)
Tim Morgan <morgan@john-parker.ICS.UCI.EDU>
rjcronin@uop.com (Robert J. Cronin)
feldt@phyast.nhn.uoknor.edu (Andy Feldt)
pliuskon@spliuskon.intellistor.com (Saul Pliuskonis)
John A. Murphy <jam@philabs.Philips.Com>
and!
my tech and sales reps at R-Squared.
Original problem statement (abridged):
>Configuration:
> Sparc 10/41
> SunOS 4.1.3
> R-Squared version of Exabyte 10i + Exabyte 8500C
>I received kernel patch instructions from r-squared concerning how to
>build in support for the 8500C. After following the directions given
>(for the 4.1.3 rev), I still get no correct control of the 8500C.
Solution:
I ended up modifying /usr/sys/sundev/streg.h by inserting the lines
shown in PATCH 1 after the EXB-8200 entry.
The kernel's scsi devices file (/usr/sys/scsi/targets/st_conf.c) also
needed to be altered by placing the lines in PATCH 2 after the EXB-
8500 entry. In this patch, an entry for the 8500C was added, and the
entry for the 8500 was changed to include end of data capability. Two
parts of the patch are critical: the order of the hex codes
designating which set of unit numbers correspond to which density
setting, and the compliance between the character name length
specification, 16, and the device name, "EXABYTE EXB8500C". The
device name must be exactly 16 characters; this was the gotcha that
prevented my successful usage of the drive.
I have used the drive (verified) at 8200/normal and 8500/compressed
densities.
Sid
S. Cowles voice: +1 415 812 1917
internet: uucp:
scowles@toolik.stanford.edu
scowles@llnl.gov {backbone}!lll-winken!humpty!scowles
========PATCH 1: /usr/sys/sundev/streg.h==============================
$ diff -c /usr/sys/sundev/streg.h /usr/sys/sundev/streg.h.orig
*** /usr/sys/sundev/streg.h Wed Jun 9 09:46:17 1993
--- /usr/sys/sundev/streg.h.orig Mon Jun 7 15:30:25 1993
***************
*** 197,207 ****
1024, (ST_VARIABLE | ST_BSF | ST_BSR | ST_LONG_ERASE | ST_PHYSREC), \
8000000, 30, 30, 30, 30, 60, 60, 60, 60, \
0x00, 0x00, 0x00, 0x00, 0, 0, 0, 0 }, \
- /* Exabyte 8mm helical 5GB, 4.1.1 (add after the EXB-8200 entry) */ \
- { "Exabyte EXB8500 8mm", 16, "EXABYTE EXB8500C", ST_TYPE_EXABYTE, \
- 1024, (ST_VARIABLE | ST_BSF | ST_BSR | ST_LONG_ERASE | ST_PHYSREC), \
- 30, 30, 30, 30, 60, 60, 60, 60, \
- 0x14, 0x15, 0x8C, 0x90, 0, 0, 0, 0 }, \
/* Kennedy 1/2" reel */ \
{ "Kennedy", 4, "KENNEDY", ST_TYPE_KENNEDY, \
10240, (ST_REEL | ST_VARIABLE | ST_BSF | ST_BSR), \
--- 197,202 ----
=======================================================================
========PATCH 2: /usr/sys/scsi/targets/st_conf.c======================
$ diff -c /usr/sys/scsi/targets/st_conf.c /usr/sys/scsi/targets/st_conf.c.orig
*** /usr/sys/scsi/targets/st_conf.c Thu Jun 10 09:43:44 1993
--- /usr/sys/scsi/targets/st_conf.c.orig Fri May 14 20:16:20 1993
***************
*** 121,157 ****
},
/* Exabyte 8mm 5GB cartridge */
{
! "Exabyte EXB-8500 8mm Helical Scan", 16, "EXABYTE EXB-8500",
! ST_TYPE_EXB8500, 1024,
! /* From a tip on the net, I changed this line as Sun forgot to include */
! /* the Exabyte fast-search capability in their kernel. */
! /* -- Thu Sep 3 11:26:03 PDT 1992 */
! /* (ST_VARIABLE | ST_BSF | ST_BSR | ST_LONG_ERASE), */
! (ST_VARIABLE | ST_BSF | ST_BSR | ST_LONG_ERASE | ST_KNOWS_EOD),
! 5000, 5000,
! { 0x14, 0x00, 0x8C, 0x8C },
! { 0, 0, 0, 0 }
! },
! /*/* Exabyte 8mm 5GB cartridge */ /**/
! /*{ /**/
! /* "Exabyte EXB-8500 8mm Helical Scan", 16, "EXABYTE EXB-8500", /**/
! /* ST_TYPE_EXB8500, 1024, /**/
! /* (ST_VARIABLE | ST_BSF | ST_BSR | ST_LONG_ERASE), /**/
! /* 5000, 5000, /**/
! /* { 0x14, 0x00, 0x8C, 0x8C }, /**/
! /* { 0, 0, 0, 0 } /**/
! /*}, /**/
! /* Exabyte 8mm 5GB cartridge with compression */
! {
! "Exabyte EXB-8500C 8mm Helical Scan", 16, "EXABYTE EXB8500C",
ST_TYPE_EXB8500, 1024,
! (ST_VARIABLE | ST_BSF | ST_BSR | ST_LONG_ERASE | ST_KNOWS_EOD),
5000, 5000,
! { 0x14, 0x15, 0x8C, 0x90 },
! /* 0x14: st0 - st7: 8200 format (2.3G) on tape units 0 through 7 */
! /* 0x15: st8 - st15: 8500 format (5G) on tape units 0 through 7 */
! /* 0x8C: st16 - st23: 8500 with compression on tape units 0 through 7 */
! /* 0x90: st24 - st31: 8200 with compression on tape units 0 through 7 */
{ 0, 0, 0, 0 }
},
/* Exabyte 8mm 2GB cartridge */
--- 121,131 ----
},
/* Exabyte 8mm 5GB cartridge */
{
! "Exabyte EXB-8500 8mm Helical Scan", 16, "EXABYTE EXB-8500",
ST_TYPE_EXB8500, 1024,
! (ST_VARIABLE | ST_BSF | ST_BSR | ST_LONG_ERASE),
5000, 5000,
! { 0x14, 0x00, 0x8C, 0x8C },
{ 0, 0, 0, 0 }
},
/* Exabyte 8mm 2GB cartridge */
=======================================================================
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:55 CDT