From owner-freebsd-bugs Mon Sep 27 21:20: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7D46215714 for ; Mon, 27 Sep 1999 21:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA21877; Mon, 27 Sep 1999 21:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from localhost.primenet.com (ip-54-016.scf.primenet.com [206.132.54.16]) by hub.freebsd.org (Postfix) with ESMTP id 2674C1589C for ; Mon, 27 Sep 1999 21:12:08 -0700 (PDT) (envelope-from jreynold@primenet.com) Received: (from jreynold@localhost) by localhost.primenet.com (8.9.3/8.9.3) id VAA89257; Mon, 27 Sep 1999 21:14:16 -0700 (MST) (envelope-from jreynold) Message-Id: <199909280414.VAA89257@localhost.primenet.com> Date: Mon, 27 Sep 1999 21:14:16 -0700 (MST) From: jreynold@primenet.com Reply-To: jreynold@primenet.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/14009: Seagate TapeStor 8000 needs scsi quirk entry Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 14009 >Category: kern >Synopsis: Seagate TapeStor 8000 (firmware 4.11) needs quirk entry >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Sep 27 21:20:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: John Reynolds >Release: FreeBSD 3.3-STABLE i386 >Organization: Four Guys' Plumbing, south Chandler. >Environment: TapeStor 8000 with 4.11 firmware sitting on 7890 Adaptec controller. Running 3.3-STABLE. Problem existed in 3.2-STABLE as well (and -current I assume too). >Description: Running 3.3-STABLE. Had problems getting new TapeStor 8000 from Seagate to work properly. People on -scsi said to try "seteotmodel" to change the EOT characteristics from 2 to 1. This worked. I then modified scsi_sa.c to add a quirk entry that works to put this particular tape into '1-mode' automatically without having to remember to use the mt command. >How-To-Repeat: Using a TapeStor 8000 drive, try doing successive dump(8)'s to the tape using the non-rewinding device /dev/nrsa0. The drive will simply "freak out" and a hard reboot will be in order. Using this quirk entry or "mt seteotmodel 1" fixes the problem and allows multiple files to be placed onto the tape. >Fix: The following patch to src/sys/cam/scsi/scsi_sa.c was posted to -scsi over a week ago but has not been committed as of yet. I would appreciate it very much if someone would. Thank you! -------- --- scsi_sa.c Sun Aug 29 09:21:49 1999 +++ scsi_sa.c.new Wed Sep 22 07:17:36 1999 @@ -213,6 +213,10 @@ static struct sa_quirk_entry sa_quirk_table[] = { + { + { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "Seagate", + "STT8000N*", "*"}, SA_QUIRK_1FM, 0 + }, { { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "ARCHIVE", "Python 25601*", "*"}, SA_QUIRK_NOCOMP, 0 @@ -544,7 +548,7 @@ printf("unable to backspace over one of double" " filemarks at end of tape\n"); xpt_print_path(periph->path); - printf("it is possible that this device " + printf("it is possible that this device" " needs a SA_QUIRK_1FM quirk set for it\n"); softc->flags |= SA_FLAG_TAPE_FROZEN; } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message