Subject: Re: Tape device?
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: David Gilbert <dgilbert@pci.on.ca>
List: port-sparc
Date: 09/13/1995 15:11:41
>>>>> "Jason" == Jason Thorpe <thorpej@nas.nasa.gov> writes:

Jason> On Wed, 13 Sep 1995 14:53:29 -0400 David Gilbert
Jason> <dgilbert@pci.on.ca> wrote:

>> scsi timeout--WAIT_FOR_REQ---../../../../dev/ic/ncr5380.c, line
>> 551.  ncr5380_dorequest: target=4, lun=0, r=4 resetting...  scsi
>> timeout--WAIT_FOR_REQ---../../../../dev/ic/ncr5380.c, line 485.
>> st0(si0:4:0): unit attention, data = 30 scsi
>> timeout--WAIT_FOR_REQ---../../../../dev/ic/ncr5380.c, line 551.
>> ncr5380_dorequest: target=0, lun=1, r=4 resetting...  scsi
>> timeout--WAIT_FOR_REQ---../../../../dev/ic/ncr5380.c, line 551.
>> ncr5380_dorequest: target=4, lun=0, r=4 resetting...  scsi
>> timeout--WAIT_FOR_REQ---../../../../dev/ic/ncr5380.c, line 485.
>> st0(si0:4:0): unit attention, data = 30 scsi
>> timeout--WAIT_FOR_REQ---../../../../dev/ic/ncr5380.c, line 551.
>> ncr5380_dorequest: target=4, lun=0, r=4 resetting...  scsi
>> timeout--WAIT_FOR_REQ---../../../../dev/ic/ncr5380.c, line 485.
>> st0(si0:4:0): unit attention, data = 30

Jason> I think this stems from:

Jason> 	a) an NCR 5380 driver that leavs a bit to be desired b) the
Jason> fact that that tape drive is a QIC-24 or 36 behind an Emulex
Jason> MT02.  (I know that because I've seen your dmesg output :-)

	The two disks show up as Emulex, but the tape shows up as a
blank.  For the rest of the list, here's the dmesg:

si0 at vmes0 addr ff200000 vec 0x40 pri 2
scsibus0 at si0
si0 targ 0 lun 0: <EMULEX, MD21/S2     ESDI, A00> SCSI0 0/direct fixed
sd0 at scsibus0: 312MB, 1224 cyl, 15 head, 34 sec, 512 bytes/sec
si0 targ 0 lun 1: <EMULEX, MD21/S2     ESDI, A00> SCSI0 0/direct fixed
sd1 at scsibus0: 312MB, 1224 cyl, 15 head, 34 sec, 512 bytes/sec
si0 targ 4 lun 0: <, , > SCSI1 1/sequential removable
st0 at scsibus0: rogue, drive empty

Jason> It's worth noting that before mine went completely on the
Jason> fritz, I had this problem, too.  Mine didn't even work under
Jason> SunOS, tho.

	This drive has worked well under SunOS in the past.  It may
not have been tested in the last 6 months, but it makes happy little
noises when I put a tape in.  I can test it (later) with a SunOS boot
tape, but I'm fairly confident that it works.

Jason> I'm not entirely sure what to do about that problem, and I'm
Jason> probably not going to have the time to look at it any time
Jason> soon, either.  (*sigh* I wish there were more hours in the day
Jason> and coffee was cheaper....)

	If people can point me in the right directions (I havn't got
too much feedback from people other than Jason), I have enough time to
put a little work into this.  The fact that I've never worked on
device drivers is not daunting me (yet).

	I gather that not too many people are using things like the
sun4/260 as spaceheater/NetBSD platforms yet?

	For the immediate future, the machine is directly on the net.
I may be able to provide a very limited number of logons to some
dedicated people to help.

Dave.

-- 
----------------------------------------------------------------------------
|David Gilbert, PCI, Richmond Hill, Ontario.  | Two things can only be     |
|Mail:      dgilbert@pci.on.ca                |  equal if and only if they |
|http://www.pci.on.ca/~dgilbert               |   are precisely opposite.  |
---------------------------------------------------------GLO----------------