Subject: kern/1797: Quirk required for SCSI-1 Exabyte 8200 drive
To: None <gnats-bugs@gnats.netbsd.org>
From: Paul Goyette <paul@pgoyette.bdt.com>
List: netbsd-bugs
Date: 11/29/1995 19:04:20
>Number: 1797
>Category: kern
>Synopsis: Quirk required for SCSI-1 Exabyte 8200 drive
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 29 22:35:00 1995
>Last-Modified:
>Originator: Paul Goyette
>Organization:
none
>Release: 1.1
>Environment:
Mac IIci, NetBSD 1.1
System: NetBSD pgoyette.bdt.com 1.1 NetBSD 1.1 (PGOYETTE) #160: Tue Nov 28 19:05:31 PST 1995 paul@pgoyette.bdt.com:/home/paul/src/sys/arch/mac68k/compile/PGOYETTE mac68k
>Description:
Exabyte 8mm tape drive with SCSI-1 controller, and ROM version
263H has only 5 bytes of SCSI Page 0 information, not the default
of 12. Attempts to write more than 5 bytes cause the command to
be rejected with an Illegal Request. This particular tape drive
requires a "quirk" to operate properly.
>How-To-Repeat:
Build kernel with the default (no quirk data), or use the sample
quirk data provided (but commented out via #if 0 ... #endif), and
the drive will be unusable.
>Fix:
Apply the following patch:
*** /usr/src/sys/scsi/st.c Fri Oct 13 19:55:31 1995
--- /home/paul/src/sys/scsi/st.c Sat Nov 25 12:22:24 1995
***************
*** 193,198 ****
--- 193,205 ----
ST_Q_FORCE_BLKSIZE, 1024, DDS, /* minor 8-11 */
ST_Q_FORCE_BLKSIZE, 0, DDS /* minor 12-15 */
}},
+ {T_SEQUENTIAL, T_REMOV,
+ "EXABYTE ", "EXB-8200 ", "263H", 0, 5, {
+ 0, 0, 0, /* minor 0-3 */
+ 0, 0, 0, /* minor 4-7 */
+ 0, 0, 0, /* minor 8-11 */
+ 0, 0, 0 /* minor 12-15 */
+ }},
#if 0
{T_SEQUENTIAL, T_REMOV,
"EXABYTE ", "EXB-8200 ", "", 0, 12, {
>Audit-Trail:
>Unformatted: