Subject: Re: SCSI & ether question
To: Taras Ivanenko <ivanenko@ctpa03.mit.edu>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-sparc
Date: 07/24/1996 13:40:09
On Wed, 24 Jul 1996 15:32:38 -0400 
 Taras Ivanenko <ivanenko@ctpa03.mit.edu> wrote:

 > sd0 at scsibus0 targ 3 lun 0: <MAXTOR, XT-8760S SUN0669, SUNC> SCSI1 0/direct fixed
 > sd0: 639MB, 1632 cyl, 15 head, 53 sec, 512 bytes/sec
 > sd1 at scsibus0 targ 3 lun 1: <, , > SCSI0 0/direct fixed
 > sd1: 1MB, 16384 cyl, 15 head, 0 sec, 1036576 bytes/sec
 > sd2 at scsibus0 targ 3 lun 2: <, , > SCSI0 0/direct fixed
 > sd2: 1MB, 16384 cyl, 15 head, 0 sec, 1036576 bytes/sec

[ . . . ]

Looks like your drive has broken firmware that doesn't cope with LUNs 
properly.  Look in /sys/scsi/scsiconf.c for the following line:

struct scsi_quirk_inquiry_pattern scsi_quirk_patterns[] = {

That's the start of a table that lists some known broken devices.  It 
appears that there's already an entry for a different version of your 
drive.  Find the entry that looks like:

	{{T_DIRECT, T_FIXED,
	 "MAXTOR  ", "XT-8760S        ", ""},     SDEV_NOLUNS},

and change it to:

	{{T_DIRECT, T_FIXED,
	  "MAXTOR  ", "XT-8760S",        ""},     SDEV_NOLUNS},

That should fix the problem.

 -- save the ancient forests - http://www.bayarea.net/~thorpej/forest/ -- 
Jason R. Thorpe                                      thorpej@nas.nasa.gov
NASA Ames Research Center                              Home: 408.866.1912
NAS: M/S 258-6                                         Work: 415.604.0935
Moffett Field, CA 94035                               Pager: 415.428.6939