NetBSD Problem Report #9271

Received: (qmail 256 invoked from network); 22 Jan 2000 02:26:18 -0000
Message-Id: <200001220225.SAA00496@srp1.olywa.net>
Date: Fri, 21 Jan 2000 18:25:57 -0800 (PST)
From: srp@zgi.com
Reply-To: srp@zgi.com
To: gnats-bugs@gnats.netbsd.org
Subject: st driver support for QIC_3095 density drives (HP T4000s)
X-Send-Pr-Version: 3.95

>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
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 21 18:27:00 +0000 2000
>Closed-Date:    Sat Jan 22 04:31:20 +0000 2000
>Last-Modified:  Sat Jan 22 04:31:48 +0000 2000
>Originator:     Scott Presnell
>Release:        NetBSD-1.4.1
>Organization:
self
>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:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mjacob 
State-Changed-When: Fri Jan 21 20:31:20 PST 2000 
State-Changed-Why:  
Fixed. Patch is reasonable. Thanks. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.