Date: Wed, 22 Sep 1999 08:03:47 -0700 (MST) From: John and Jennifer Reynolds <jreynold@primenet.com> To: freebsd-scsi@freebsd.org Subject: new quirk entry for my seagate tape (please commit) Message-ID: <14312.61395.807193.436425@localhost.primenet.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14312.61395.807193.436425>