Subject: kern/9271: st driver support for QIC_3095 density drives (HP T4000s)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <srp@zgi.com>
List: netbsd-bugs
Date: 01/21/2000 18:27:36
>Number: 9271
>Category: kern
>Synopsis: st driver support for QIC_3095 density drives (HP T4000s)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 21 18:27:00 2000
>Last-Modified:
>Originator: Scott Presnell
>Organization:
self
>Release: NetBSD-1.4.1
>Environment:
System: NetBSD srp1.olywa.net 1.4.1 NetBSD 1.4.1 (PO) #12: Fri Jan 21 17:55:45 PST 2000 srp@srp1.olywa.net:/usr/src/sys/arch/i386/compile/PO i386
>Description:
HP T4000s tape drive operates erratically (nrst device rewinds,
EOM errors, use of mt program generates I/O errors)
>How-To-Repeat:
attempt any mt operations with HP T4000s tape drive
>Fix:
Patch to /usr/src/sys/dev/scsipi/st.c follows:
*** st.c.sav Sun Feb 28 09:14:57 1999
--- st.c Fri Jan 21 17:53:52 2000
***************
*** 905,910 ****
--- 905,911 ----
case QIC_150:
case QIC_525:
case QIC_1320:
+ case QIC_3095:
st->flags |= ST_FIXEDBLOCKS;
if (st->media_blksize > 0)
st->blksize = st->media_blksize;
***************
*** 957,962 ****
--- 958,964 ----
case QIC_150:
case QIC_525:
case QIC_1320:
+ case QIC_3095:
st->flags &= ~ST_2FM_AT_EOD;
break;
default:
>Audit-Trail:
>Unformatted: