From owner-freebsd-current Mon Nov 4 20:12:57 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA28563 for current-outgoing; Mon, 4 Nov 1996 20:12:57 -0800 (PST) Received: from rf900.physics.usyd.edu.au (rf900.physics.usyd.edu.au [129.78.129.109]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id UAA28542 for ; Mon, 4 Nov 1996 20:12:49 -0800 (PST) Received: (from dawes@localhost) by rf900.physics.usyd.edu.au (8.6.11/8.6.9) id PAA04097 for current@freebsd.org; Tue, 5 Nov 1996 15:12:29 +1100 From: David Dawes Message-Id: <199611050412.PAA04097@rf900.physics.usyd.edu.au> Subject: Timeout problem with SDT-4000 DAT and AHC To: current@freebsd.org Date: Tue, 5 Nov 1996 15:12:29 +1100 (EST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 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