Subject: ESP SCSI controller errors?
To: None <port-sparc@netbsd.org>
From: Havard Eidnes <he@netbsd.org>
List: port-sparc
Date: 01/22/2002 13:40:54
----Next_Part(Tue_Jan_22_13:40:54_2002_550)--
Content-Type: Text/Plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,

recently our Sun-4/670mp has started spewing these messages at
irregular intervals during the most recent rebuild of the world (using
NetBSD 1.5ZA of January 17 source vintage):

esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid c0=
0
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 18=
00
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid bf=
d
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 4c=
00
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 20=
00
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 20=
00
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 40=
0
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid bf=
f
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 40=
0

I'm unsure as to whether this is caused by a bug in the driver, or
whether it's the disks we're using which is starting to act up on us;
advice would be appreciated.

Attached below is the complete dmesg output.

Regards,

- H=E5vard

----Next_Part(Tue_Jan_22_13:40:54_2002_550)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

[ using 258188 bytes of netbsd ELF symbol table ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.5ZA (ANKER) #6: Thu Jan 17 15:11:13 CET 2002
    he@anker.urc.uninett.no:/usr/src/sys/arch/sparc/compile/ANKER
total memory = 127 MB
avail memory = 114 MB
using 896 buffers containing 6632 KB of memory
bootpath: /iommu0/sbus0/dma@f,81000/esp@f,80000/sd@0,0
mainbus0 (root): SUNW,Sun 4/600
cpu0 at mainbus0: CY7C601/605 (v.c) @ 40 MHz, RT602 or WTL3171 FPU
cpu0: 64K byte write-back, 32 bytes/line, sw flush: cache enabled
cpu at mainbus0 not configured
cpu at mainbus0 not configured
cpu at mainbus0 not configured
obio0 at mainbus0
clock0 at obio0 slot 0 offset 0x200000: mk48t08: hostid 71400804
timer0 at obio0 slot 0 offset 0x300000 delay constant 18
zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
zstty0 at zs0 channel 0 (console i/o)
zstty1 at zs0 channel 1
zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
kbd0 at zs1 channel 0: baud rate 1200
ms0 at zs1 channel 1: baud rate 1200
audio at obio0 slot 0 offset 0x500000 level 13 not configured
leds at obio0 slot 0 offset 0x600000 not configured
iommu0 at mainbus0 ioaddr 0xe0000000: version 0x1/0x0, page-size 4096, range 64MB
sbus0 at iommu0: clock = 20 MHz
dma0 at sbus0 slot 15 offset 0x81000: dma rev esc
esp0 at dma0 slot 15 offset 0x80000 level 4: ESP200, 25MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
lebuffer0 at sbus0 slot 15 offset 0x40000: 128K memory
le0 at lebuffer0 slot 15 offset 0x60000 level 6: address 08:00:20:0e:f7:94
le0: 64 receive buffers, 16 transmit buffers
cgsix0 at sbus0 slot 0 offset 0x0 level 9: SUNW,501-1672, 1152 x 900, rev 6
cgsix0: attached to /dev/fb
sparcvme0 at iommu0: version 0x0
vme0 at sparcvme0
si0 at vme0 addr 200000 irq 2 vector 40
si0: options=7<RESELECT,DMA_INTR,DMA>
scsibus1 at si0: 8 targets, 8 luns per target
eccmemctl0 at mainbus0: version 0x0/0x0
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST42100, 7614> SCSI2 0/direct fixed
sd0: 1812 MB, 2574 cyl, 15 head, 96 sec, 512 bytes/sect x 3711990 sectors
sd0: sync (160.0ns offset 15), 8-bit (6.250MB/s) transfers, tagged queueing
sd1 at scsibus0 target 1 lun 0: <SEAGATE, ST42100, 8224> SCSI2 0/direct fixed
sd1: 1812 MB, 2574 cyl, 15 head, 96 sec, 512 bytes/sect x 3711990 sectors
sd1: sync (160.0ns offset 15), 8-bit (6.250MB/s) transfers, tagged queueing
scsibus1: waiting 2 seconds for devices to settle...
Kernelized RAIDframe activated
IPsec: Initialized Security Association Processing.
root on sd0a dumps on sd0b
root file system type: ffs
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid c00
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 1800
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid bfd
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 4c00
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 2000
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 2000
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 400
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid bff
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 400

----Next_Part(Tue_Jan_22_13:40:54_2002_550)----