Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 1996 09:11:26 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-scsi@freebsd.org
Cc:        mrl@teleport.com (Mostyn/Annabella)
Subject:   Re: SCSI death in -current with DAT
Message-ID:  <199603190811.JAA02121@uriah.heep.sax.de>
In-Reply-To: <199603190331.TAA04150@linda.teleport.com> from "Mostyn/Annabella" at Mar 18, 96 07:31:48 pm

next in thread | previous in thread | raw e-mail | index | archive | help
(Moved to freebsd-scsi, fits better there.)

As Mostyn/Annabella wrote:

> This, with a St. Patrick's Day -current.

(Please, keep in mind that this is a project with volunteers scattered
around the earth.  I don't even have the slightest idea what
"St. Patrick's Day" might be, i often do already having a hard time in
computing time zone differences and translate "AM" or "PM" into
something useful for me. :-)

>  (ahc0:0:0): "ARCHIVE Python 28388-XXX 5.45" type 1 removable SCSI 2

> I could force fixed blocks by hand in st.c but I'd prefer a genuine fix.

Do you really wanna say that an Archive Python doesn't grok variable
blocks at all???

This would be very surprising, though the fix is rather simple (if
it's really this).  I can't really believe it, but just as an
experiment, try this:

Index: sys_scsi/scsiconf.c
===================================================================
RCS file: /home/ncvs/src/sys/scsi/scsiconf.c,v
retrieving revision 1.57
diff -u -u -r1.57 scsiconf.c
--- scsiconf.c	1996/03/10 07:13:10	1.57
+++ scsiconf.c	1996/03/19 08:10:26
@@ -228,6 +228,13 @@
 	    {1024, ST_Q_FORCE_FIXED_MODE, DDS},		/* minor 8,9,10,11 */
 	    {0, ST_Q_FORCE_VAR_MODE, DDS}		/* minor 12,13,14,15 */
 	};
+static st_modes mode_python28388 =
+	{
+	    {512, ST_Q_FORCE_FIXED_MODE, DDS},		/* minor 0,1,2,3 */
+	    {512, ST_Q_FORCE_FIXED_MODE, DDS},		/* minor 4,5,6,7 */
+	    {1024, ST_Q_FORCE_FIXED_MODE, DDS},		/* minor 8,9,10,11 */
+	    {0, ST_Q_FORCE_VAR_MODE, DDS}		/* minor 12,13,14,15 */
+	};
 static st_modes mode_unktape =
 	{
 	    {0, 0, 0},					/* minor 0,1,2,3 */
@@ -287,6 +294,10 @@
 	{
 		T_SEQUENTIAL, T_SEQUENTIAL, T_REMOV, "WangDAT", "Model 1300", "*",
 		"st", SC_ONE_LU, 0, mode_wangdat1300
+	},
+	{
+		T_SEQUENTIAL, T_SEQUENTIAL, T_REMOV, "ARCHIVE", "Python 28388", "*",
+		"st", SC_ONE_LU, 0, mode_python28388
 	},
 	{
 		T_SEQUENTIAL, T_SEQUENTIAL, T_REMOV, "*", "*", "*",


-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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