From owner-freebsd-scsi Sat Oct 2 9:45:55 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from granite.sentex.net (granite.sentex.ca [199.212.134.1]) by hub.freebsd.org (Postfix) with ESMTP id 04C0114DE9 for ; Sat, 2 Oct 1999 09:45:39 -0700 (PDT) (envelope-from mike@sentex.net) Received: from ospf-mdt.sentex.net (ospf-mdt.sentex.net [205.211.164.81]) by granite.sentex.net (8.8.8/8.6.9) with SMTP id MAA24232; Sat, 2 Oct 1999 12:45:34 -0400 (EDT) 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 Date: Sat, 02 Oct 1999 16:45:33 GMT Message-ID: <37f63490.1434693500@mail.sentex.net> References: In-Reply-To: X-Mailer: Forte Agent .99e/32.227 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 22 Sep 1999 11:03:12 -0400, in sentex.lists.freebsd.scsi you wrote: sa0: 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