From owner-freebsd-scsi Wed Sep 22 8: 1:59 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from localhost.primenet.com (206-132-48-129.nas-1.SCF.primenet.com [206.132.48.129]) by hub.freebsd.org (Postfix) with ESMTP id 25BBE1585C for ; Wed, 22 Sep 1999 08:01:51 -0700 (PDT) (envelope-from jreynold@primenet.com) Received: (from jreynold@localhost) by localhost.primenet.com (8.9.3/8.9.3) id IAA07253; Wed, 22 Sep 1999 08:03:48 -0700 (MST) (envelope-from jreynold@primenet.com) From: John and Jennifer Reynolds MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14312.61395.807193.436425@localhost.primenet.com> Date: Wed, 22 Sep 1999 08:03:47 -0700 (MST) To: freebsd-scsi@freebsd.org Subject: new quirk entry for my seagate tape (please commit) X-Mailer: VM 6.73 under Emacs 20.3.1 Cc: Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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