Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 1996 15:12:29 +1100 (EST)
From:      David Dawes <dawes@rf900.physics.usyd.edu.au>
To:        current@freebsd.org
Subject:   Timeout problem with SDT-4000 DAT and AHC
Message-ID:  <199611050412.PAA04097@rf900.physics.usyd.edu.au>

next in thread | raw e-mail | index | archive | help
I recently installed 2.2-961014-SNAP on a Pentium 166 with three PCI
Adaptec controllers (one on-board AIC7870 and two 2940AU cards).  Everything
is working fine except for a Sony SDT-4000 DAT drive which is connected
to one of the cards, and it is the only device on that SCSI bus.  The boot
(-v) messages for this card/drive are:

 ahc2 <Adaptec 2940A Ultra SCSI host adapter> rev 1 int a irq 5 on pci0:7
         mapreg[10] type=1 addr=00008800 size=0100.
         mapreg[14] type=0 addr=c0002000 size=1000.
         reg16: ioaddr=0x8800 size=0x100
         reg20: virtual=0xf6ca2000 physical=0xc0002000 size=0x1000
         using shared irq 5.
 ahc2: Reading SEEPROM...done.
 ahc2: aic7860 Single Channel, SCSI Id=7, 3 SCBs
 ahc2: Downloading Sequencer Program...Done
 ahc2: Probing channel A
 Choosing drivers for scbus configured at 2
 ahc2 waiting for scsi devices to settle
 ahc2: target 4 synchronous at 5.0MHz, offset = 0x7
 (ahc2:4:0): "SONY SDT-4000 2.09" type 1 removable SCSI 2
 st0(ahc2:4:0): Sequential-Access density code 0x13, 512-byte blocks, write-enabled

When I try to access the drive, for example, with 'mt -f /dev/nrst0 stat',
it sits there for a while, then the following appears on the console:

 st0(ahc2:4:0): timed out in dataout phase, SCSISIGI == 0x0
 st0(ahc2:4:0): BUS DEVICE RESET message queued.
 Bus Device Reset Message Sent
 st0(ahc2:4:0): timed out in message out phase, SCSISIGI == 0xa4
 ahc2: Issued Channel A Bus Reset #1. 1 SCBs aborted

Sometimes it gets into a state where it works properly for a bit, but
I haven't found a repeatable way of doing this, and it doesn't stay that
way for long.

I've tried two of these drives, and see the same behaviour with both.  I've
also tried connecting it to the other 2940AU (which also has a couple of
4GB Barracudas connected), and see the same thing.  I've also tried
different cables and terminators, with no change.

This morning I checked out the RELENG_2_2 branch, and did a 'make world'
and installed a new kernel.  I still see the same problem, but the messages
are a little bit different:

 st0(ahc2:4:0): timed out in dataout phase, SCSISIGI == 0x0
 st0(ahc2:4:0): timed out in dataout phase, SCSISIGI == 0x0
 ahc2: Issued Channel A Bus Reset. 1 SCBs aborted

Anyone have any ideas about this, or suggestions for things to try?

David



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