Subject: SCSI problem
To: netbsd-help <netbsd-help@netbsd.org>
From: Matt Herzog <mherzog@acamm.org>
List: netbsd-help
Date: 03/05/2003 11:12:46
I am unable to run backups under 1.6.1 RC2 using a tape drive that 
worked the last time I used it a couple months ago. I even tried a 
generic kernel and got the same result.

Is sd0 faulty or the scsi controller or the tape drive? I suspect sd0 is 
 the culprit in part because it's a refurbished drive. 

Here's the dmesg output:

ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs
st0: sync (100.0ns offset 15), 8-bit (10.000MB/s) transfers
sd0 at scsibus0 target 6 lun 0: <IBM, DDYS-T09170N, SA2A> SCSI3 0/direct fixed
sd0: 8748 MB, 15110 cyl, 3 head, 395 sec, 512 bytes/sect x 17916240 sectors
sd0: sync (25.0ns offset 63), 16-bit (80.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 8 lun 0: <IBM, DDYS-T09170N, S96H> SCSI3 0/direct fixed
sd1: 8748 MB, 15110 cyl, 3 head, 395 sec, 512 bytes/sect x 17916240 sectors
sd1: sync (25.0ns offset 63), 16-bit (80.000MB/s) transfers, tagged queueing

The sample of the console error spew:

sd0(ahc0:0:6:0): SCB 1b - timed out in Data-out phase, SEQADDR == 0x5d
SCSIRATE == 0x18
sd0(ahc0:0:6:0): Other SCB Timeout
sd0(ahc0:0:6:0): SCB 19 - timed out in Data-out phase, SEQADDR == 0x5d
SCSIRATE == 0x18
sd0(ahc0:0:6:0): Other SCB Timeout
sd0(ahc0:0:6:0): SCB 1c - timed out in Data-out phase, SEQADDR == 0x5d
SCSIRATE == 0x18
sd0(ahc0:0:6:0): Other SCB Timeout
sd0(ahc0:0:6:0): SCB 15 - timed out in Data-out phase, SEQADDR == 0x5d
SCSIRATE == 0x18
sd0(ahc0:0:6:0): Other SCB Timeout
sd0(ahc0:0:6:0): SCB 1d - timed out in Data-out phase, SEQADDR == 0x5d
SCSIRATE == 0x18
sd0(ahc0:0:6:0): Other SCB Timeout
sd0(ahc0:0:6:0): SCB 13 - timed out in Data-out phase, SEQADDR == 0x5d
SCSIRATE == 0x18
sd0(ahc0:0:6:0): Other SCB Timeout
sd0(ahc0:0:6:0): SCB 10 - timed out in Data-out phase, SEQADDR == 0x5d
SCSIRATE == 0x18
st0(ahc0:0:4:0): BDR message in message buffer
st0(ahc0:0:4:0): SCB e - timed out in Data-out phase, SEQADDR == 0x5d
SCSIRATE == 0x18
st0(ahc0:0:4:0): no longer in timeout, status = 0
cd0: async, 8-bit transfers
st0: async, 8-bit transfers
sd0: async, 8-bit transfers, tagged queueing
sd1: async, 8-bit transfers, tagged queueing
ahc0: Issued Channel A Bus Reset. 10 SCBs aborted
sd0: sync (25.0ns offset 63), 16-bit (80.000MB/s) transfers, tagged queueing
st0: sync (100.0ns offset 15), 8-bit (10.000MB/s) transfers
st0(ahc0:0:4:0): not ready, data = 00 00 00 00 00 04 01 00 00 00

-- 
Matthew Herzog

acamm.org is powered by NetBSD		 :www.netbsd.org: