Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 1999 21:14:16 -0700 (MST)
From:      jreynold@primenet.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/14009: Seagate TapeStor 8000 needs scsi quirk entry
Message-ID:  <199909280414.VAA89257@localhost.primenet.com>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909280414.VAA89257>