From owner-freebsd-scsi Tue Mar 19 00:21:45 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA13774 for freebsd-scsi-outgoing; Tue, 19 Mar 1996 00:21:45 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id AAA13768 for ; Tue, 19 Mar 1996 00:21:39 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA23747; Tue, 19 Mar 1996 09:20:45 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id JAA23072; Tue, 19 Mar 1996 09:20:43 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id JAA02121; Tue, 19 Mar 1996 09:11:26 +0100 (MET) From: J Wunsch Message-Id: <199603190811.JAA02121@uriah.heep.sax.de> Subject: Re: SCSI death in -current with DAT To: freebsd-scsi@freebsd.org Date: Tue, 19 Mar 1996 09:11:26 +0100 (MET) Cc: mrl@teleport.com (Mostyn/Annabella) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199603190331.TAA04150@linda.teleport.com> from "Mostyn/Annabella" at Mar 18, 96 07:31:48 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk (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. ;-)