Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Oct 1999 16:45:33 GMT
From:      mike@sentex.net (Mike Tancsa)
To:        jreynold@primenet.com (John and Jennifer Reynolds)
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: new quirk entry for my seagate tape-- this time a STT20000N
Message-ID:  <37f63490.1434693500@mail.sentex.net>
In-Reply-To: <MAIL14312.61395.807193.436425@localhost.primenet.com>
References:  <MAIL14312.61395.807193.436425@localhost.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 22 Sep 1999 11:03:12 -0400, in sentex.lists.freebsd.scsi you wrote:


sa0: <Seagate STT20000N 7.11> Removable Sequential Access SCSI-2 device 

seems to be hit with the same quirk.  Can someone make a similar entry ?

mt seteotmodel 1

also allows me to do more than one dump to the device as described below.

	---Mike

>
>Hi,
>
>Could one of you fine commiters commit the attached patch to
>/usr/src/sys/cam/scsi/scsi_sa.c ? I finally got my new Seagate TapeStor
>8000 drive working with the advice of several on this list. The trick turned
>out to be using "mt seteotmodel 1" to make the SA driver deal with just 1
>filemark at EOT. Everything seems to be peachy now. The following quirk entry
>makes things work peachy as well without having to remember the 'mt' command
>before backing up.
>
>I'm using 3.3-STABLE (CVSup'ed very recently ... I believe last sunday) and I
>would imagine that the patch would apply to -current as well.
>
>(I didn't know if I should send-pr for such a small patch ...)
>
>Thanks, and thanks for everybody's help!!!!!
>
>-Jr
>
>--- scsi_sa.c   Tue Sep 21 01:18:26 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;
>
>-- 
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>John Reynolds         Chandler Capabilities Engineering, CDS, Intel Corporation
>jreynold@sedona.ch.intel.com  My opinions are mine, not Intel's. Running
>jreynold@primenet.com          FreeBSD 3.3-STABLE. FreeBSD: The Power to Serve.
>http://www.primenet.com/~jreynold/  Come join us!!! @ http://www.FreeBSD.org/
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-scsi" in the body of the message
>
>---

Mike Tancsa  (mdtancsa@sentex.net)		
Sentex Communications Corp,   		
Waterloo, Ontario, Canada
"Given enough time, 100 monkeys on 100 routers 
could setup a national IP network." (KDW2)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




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