Subject: SCSI errors
To: None <port-sparc64@netbsd.org>
From: Jonathan Perkin <sketch@rd.bbc.co.uk>
List: port-sparc64
Date: 01/13/2003 12:31:41
I began to see the following a few times:

Jan 13 12:12:57  /netbsd: esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 0, resid 4df0

on my Ultra 2 which then grew into a single

Jan 13 12:20:08  /netbsd: sd1(esp0:0:1:0): esp0: timed out [ecb 0x251fc80 (flags 0x41, dleft df0, stat 0)], <state 5, nexus 0x251fc80, phase(l 3, c 3, p 3), resid 0, msg(q 20,o 0) > AGAIN
Jan 13 12:20:08  /netbsd: esp0: SCSI bus reset
Jan 13 12:20:08  /netbsd: esp0: can't get status, only 1 bytes
Jan 13 12:20:08  /netbsd: esp0: STATUS_PHASE: msg 4
Jan 13 12:20:08  /netbsd: esp0: unexpected disconnect; sending REQUEST SENSE
Jan 13 12:20:08  /netbsd: sd0(esp0:0:0:0): esp0: timed out [ecb 0x251ef60 (flags 0x5, dleft 20, stat 0)], <state 2, nexus 0x251ef60, phase(l 2, c 100, p 7), resid 2000, msg(q 20,o 0) >

Symptom of a disk error or something else?  Seems to be working fine
apart from these errors (and the one in the cut-down dmesg below..)

NetBSD 1.6 (GENERIC) #0: Sun Sep  8 11:55:46 UTC 2002
    autobuild@cs20.apochromatic.org:/autobuilder/build/sparc64/OBJ/autobuilder/build/src/sys/arch/sparc64/compile/GENERIC
total memory = 512 MB
avail memory = 466 MB
cpu0 at mainbus0: SUNW,UltraSPARC-II @ 295.978 MHz, version 0 FPU
cpu0: physical 32K instruction (32 b/l), 16K data (32 b/l), 2048K external (64 b/l)
esp0 at sbus0 slot 14 offset 0x8800000 vector 20 ipl 3: dma rev fas
: FAS366/HME, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST318404LSUN18G, 4203> SCSI3 0/direct fixed
sd0: 17274 MB, 7508 cyl, 19 head, 248 sec, 512 bytes/sect x 35378533 sectors
esp0: wide mode 1
sd0: sync (100.0ns offset 15), 16-bit (20.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 1 lun 0: <SEAGATE, ST318275LC, 0001> SCSI2 0/direct fixed
sd1: 17366 MB, 11721 cyl, 10 head, 303 sec, 512 bytes/sect x 35566480 sectors
esp0: wide mode 1
sd1: sync (100.0ns offset 15), 16-bit (20.000MB/s) transfers, tagged queueing
probe(esp0:0:6:0): esp0: timed out [ecb 0x243e000 (flags 0x101, dleft 0, stat 0)], <state 1, nexus 0x0, phase(l 0, c 100, p 7), resid 0, msg(q 0,o 0) >
cd0 at scsibus0 target 6 lun 0: <TOSHIBA, XM5701TASUN12XCD, 0997> SCSI2 5/cdrom removable
cd0: sync (100.0ns offset 8), 8-bit (10.000MB/s) transfers

Thanks,

-- 
Jonathan Perkin - Internet Operations Engineer - BBC Internet Services
24x7 Hotline: +44 (0)1628 407 777 (x37777) - http://support.bbc.co.uk/