From owner-freebsd-bugs Wed May 14 04:00:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA11025 for bugs-outgoing; Wed, 14 May 1997 04:00:06 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA11014; Wed, 14 May 1997 04:00:01 -0700 (PDT) Date: Wed, 14 May 1997 04:00:01 -0700 (PDT) Message-Id: <199705141100.EAA11014@hub.freebsd.org> To: freebsd-bugs Cc: From: j@uriah.heep.sax.de (J Wunsch) Subject: Re: kern/3580: Bad LUN probes on Xyratex MCD540 drive Reply-To: j@uriah.heep.sax.de (J Wunsch) Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/3580; it has been noted by GNATS. From: j@uriah.heep.sax.de (J Wunsch) To: bryan@fsel.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/3580: Bad LUN probes on Xyratex MCD540 drive Date: Wed, 14 May 1997 12:34:25 +0200 As bryan@fsel.com wrote: > (aha0:4:0): "Xyratex MCD 540I 5.30" type 0 removable SCSI 2 > sd1(aha0:4:0): Direct-Access 515MB (1055416 512 byte sectors) > (aha0:4:1): "Xyratex MCD 540I 5.30" type 0 removable SCSI 2 > sd2(aha0:4:1): Direct-Access 515MB (1055416 512 byte sectors) > sd2(aha0:4:1): timed out Sigh. I wonder when the drive vendors will start to adhere to standards. > Successfully worked round the problem by adding a > > { T_DIRECT, T_DIRECT, T_REMOV, "*", "*", "*", "sd", SC_ONE_LU } > > entry in the knowndev table. The existing entry should probably also cover the T_REMOV case, but doesn't. (It would require to have a T_ANY value for the fixed/ removable field...) > More subtle might be to add a an > entry specfific the MCD540. Index: scsi/scsiconf.c =================================================================== RCS file: /home/ncvs/src/sys/scsi/scsiconf.c,v retrieving revision 1.85 diff -u -u -r1.85 scsiconf.c --- scsiconf.c 1997/05/03 22:23:13 1.85 +++ scsiconf.c 1997/05/14 10:31:18 @@ -273,6 +273,10 @@ T_DIRECT, T_DIRECT, T_FIXED, "EMULEX", "MD21*" , "*", "sd", SC_MORE_LUS }, + { + T_DIRECT, T_DIRECT, T_REMOV, "Xyratex", "MCD 540I", "*", + "sd", SC_ONE_LU + }, #endif /* NSD */ #if NST > 0 { I'm not sure which is better, probably it's better to add the generic stop-gap entry. -- 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. ;-)