Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 1997 04:00:01 -0700 (PDT)
From:      j@uriah.heep.sax.de (J Wunsch)
To:        freebsd-bugs
Subject:   Re: kern/3580: Bad LUN probes on Xyratex MCD540 drive
Message-ID:  <199705141100.EAA11014@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
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. ;-)



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