Subject: Stability problem (maybe stge related, maybe satalink)
To: None <port-alpha@netbsd.org>
From: Tonnerre LOMBARD <tonnerre@bsdprojects.net>
List: port-alpha
Date: 06/02/2006 10:02:27
--FvI60RJo/OoThODE
Content-Type: multipart/mixed; boundary="yY6OajYROBmoEVZC"
Content-Disposition: inline


--yY6OajYROBmoEVZC
Content-Type: text/plain; charset=iso-8859-1
Content-Description: A mail
Content-Disposition: inline

Salut,

I have some issues with NetBSD 2.1 on my dual 600MHz ev56 alpha. After
a day or two, it usually just hangs and doesn't react on anything
but the reset button. I don't remember this behavior from tthe time
before I put a satalink controller (Silicon Image) into it, but then
again I had a different machine back then: a dual 400MHz one.

The last thing that happens before the hangups is:

stge0: device timeout
stge0: DMA wait timed out
<machine is hung>

Also, pcictl list on the PCI bus with the SATA controller causes
a reboot.

Some more information about the machine can be found in the dmesg
which I hopefully won't forget to attach.

Any ideas?

				Tonnerre

--yY6OajYROBmoEVZC
Content-Type: text/plain; charset=iso-8859-1
Content-Description: A dmesg
Content-Disposition: attachment; filename=dmesg

Unrecognized boot flag '0'.
consinit: not using prom console
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    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 2.1 (GENERIC.MP) #0: Mon Oct 24 19:21:50 UTC 2005
	jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-1-RELEASE/alpha/200510241747Z-obj/home/builds/ab/netbsd-2-1-RELEASE/src/sys/arch/alpha/compile/GENERIC.MP
AlphaServer 4100 5/600 8MB, 598MHz, s/n AY92915865
8192 byte page size, 2 processors.
total memory = 2048 MB
(2088 KB reserved for PROM, 2045 MB used by NetBSD)
avail memory = 2002 MB
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A-2
cpu0: Architecture extensions: 1<BWX>
cpu1 at mainbus0: ID 1, 21164A-2
cpu1: Architecture extensions: 1<BWX>
mcbus0 at mainbus0: No BCache
mcmem0 at mcbus0 mid 1: Memory
mcpcia0 at mcbus0 mid 5: PCI Bridge
mcpcia0: Horse Revision 3, Left Handed Saddle Revision 3, CAP Revision 2
pci0 at mcpcia0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
siop0 at pci0 dev 1 function 0: Symbios Logic 53c810 (fast scsi)
siop0: interrupting at kn300 irq 36
scsibus0 at siop0: 8 targets, 8 luns per target
ahc0 at pci0 dev 3 function 0: Adaptec 29160 Ultra160 SCSI adapter
ahc0: interrupting at kn300 irq 44
ahc0: aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsibus1 at ahc0: 16 targets, 8 luns per target
ppb0 at pci0 dev 4 function 0: Digital Equipment DECchip 21050 PCI-PCI Bridge (rev. 0x02)
pci1 at ppb0 bus 2
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
isp0 at pci1 dev 0 function 0: QLogic 1020 Fast Wide SCSI HBA
isp0: interrupting at kn300 irq 48
scsibus2 at isp0: 16 targets, 8 luns per target
mcpcia1 at mcbus0 mid 4: PCI Bridge
mcpcia1: Horse Revision 3, Left Handed Saddle Revision 3, CAP Revision 2
pci2 at mcpcia1 bus 0
pci2: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pceb0 at pci2 dev 1 function 0: Intel 82375EB/SB PCI-EISA Bridge (PCEB) (rev. 0x15)
vga0 at pci2 dev 2 function 0: S3 Trio32/64 (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1
wsmux1: connecting to wsdisplay0
stge0 at pci2 dev 3 function 0: D-Link DL-4000 Gigabit Ethernet, rev. 12
stge0: interrupting at kn300 irq 12
stge0: Ethernet address 00:0d:88:7f:4e:cf
ukphy0 at stge0 phy 1: Generic IEEE 802.3u media interface
ukphy0: Marvell 88E1000 Gigabit PHY (OUI 0x000ac2, model 0x0005), rev. 4
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
satalink0 at pci2 dev 5 function 0
satalink0: Silicon Image SATALink 3112 (rev. 0x02)
satalink0: SATALink BA5 register space disabled
satalink0: bus-master DMA support present
satalink0: primary channel wired to native-PCI mode
satalink0: using kn300 irq 20 for native-PCI interrupt
atabus0 at satalink0 channel 0
satalink0: secondary channel wired to native-PCI mode
atabus1 at satalink0 channel 1
eisa0 at pceb0
isa0 at pceb0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
stray kn300 irq 48
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
scsibus2: waiting 2 seconds for devices to settle...
satalink0: port 1: device present, speed: 1.5Gb/s
wd0 at atabus1 drive 0: <SAMSUNG SP0411C>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 38166 MB, 77545 cyl, 16 head, 63 sec, 512 bytes/sect x 78165360 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(satalink0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
(Yes, wd1 is missing for raid2 because I accidentally destroyed the second SATA port of the controller when the disk caught fire yesterday. This was due to a bad power supply however, and completely unrelated to the alpha itself.)
cd0 at scsibus0 target 5 lun 0: <DEC, RRD47   (C) DEC, 1206> cdrom removable
cd0: sync (100.00ns offset 8), 8-bit (10.000MB/s) transfers
st0 at scsibus1 target 0 lun 0: <SONY, SDX-700C, 0207> tape removable
st0: drive empty
st0: sync (50.00ns offset 126), 16-bit (40.000MB/s) transfers
stray kn300 irq 48
sd0 at scsibus2 target 0 lun 0: <IBM, IC35L018UCD210-0, S5BS> disk fixed
sd0: 17501 MB, 20765 cyl, 3 head, 575 sec, 512 bytes/sect x 35843670 sectors
stray kn300 irq 48
sd0: sync (100.00ns offset 12), 16-bit (20.000MB/s) transfers, tagged queueing
stray kn300 irq 48
sd1 at scsibus2 target 1 lun 0: <DEC, RZ1CB-CS (C) DEC, 0656> disk fixed
sd1: async, 8-bit transfers
stray kn300 irq 48
sd1: 4091 MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
stray kn300 irq 48
sd1: sync (100.00ns offset 12), 16-bit (20.000MB/s) transfers, tagged queueing
stray kn300 irq 48
stray kn300 irq 48
sd2 at scsibus2 target 2 lun 0: <IBM, IC35L018UCD210-0, S5BS> disk fixed
sd2: 17501 MB, 20765 cyl, 3 head, 575 sec, 512 bytes/sect x 35843670 sectors
stray kn300 irq 48
sd2: sync (100.00ns offset 12), 16-bit (20.000MB/s) transfers, tagged queueing
stray kn300 irq 48
stray kn300 irq 48
sd3 at scsibus2 target 3 lun 0: <IBM, IC35L018UCD210-0, S5BS> disk fixed
sd3: 17501 MB, 20765 cyl, 3 head, 575 sec, 512 bytes/sect x 35843670 sectors
stray kn300 irq 48
sd3: sync (100.00ns offset 12), 16-bit (20.000MB/s) transfers, tagged queueing
stray kn300 irq 48
stray kn300 irq 48
sd4 at scsibus2 target 4 lun 0: <COMPAQ, MAB3045SC, 0814> disk fixed
sd4: 4094 MB, 7877 cyl, 5 head, 212 sec, 512 bytes/sect x 8386000 sectors
stray kn300 irq 48
sd4: sync (100.00ns offset 12), 16-bit (20.000MB/s) transfers, tagged queueing
stray kn300 irq 48
raid2: RAID Level 1
raid2: Components: component0[**FAILED**] /dev/wd0a
raid2: Total Sectors: 78165248 (38166 MB)
raid1: RAID Level 1
raid1: Components: /dev/sd2a /dev/sd3a
raid1: Total Sectors: 35843584 (17501 MB)
raid0: RAID Level 1
raid0: Components: /dev/sd1a /dev/sd4a
raid0: Total Sectors: 8379968 (4091 MB)
root on sd0a dumps on sd0b
root file system type: ffs
raid0: Device already configured!
raid1: Device already configured!
raid2: Device already configured!
stray isa irq 4
raid2: Error re-writing parity!

--yY6OajYROBmoEVZC--

--FvI60RJo/OoThODE
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)

iQIVAwUBRH/wk+1mMGan/TnWAQJqrw//Q2Gokk9FXgn0m3Yv/YnF6YNpWi0zGlfD
ESl3d+smBL2uTWLJMXBY14HLQTGUC0HFiVHq/v/IxewxsquImLgqiPpJy6S+Gy5O
yWmiXXyJR71O5IhMydAfwOI2j5D2M1lyFvkJk5R/oD7Y/08FR9Zq+hkkZrDy2Xqo
hmzB+9phsNctumlplZ16DB9qMPvzB7dUOVo5pIwZQf5pRQL4I0hr5YY0+unNp9Tl
6v1vXjtDJcib5D1WVm/Rl4QjQKXUy4KtLYdFHQdJZYCz09u4qzhA7uMSxOXb0jdn
xVYKmut5iKNTkD3j2D/PLnM+lpSlWU7pYNWD7aIOxj5m3pjLHgIZcEIC5P5uJ15W
pDxJEcrvZkBMYsOTbjzEtmXKoXHTkBlvsSe/zDEi6dwwbghGeN+oMI8cVrM0K8dE
qnWy9oid5QHPU6TdNfVYO8rt9icu3iZFuLN/vrruyynqdto/pSaAlO6ueFJuq4Uc
aoqUFiWrNx4LFJyl9OM4CBg9aN/pcVda1bUvE1e0Q6IzJOVPRWNG8Kp4jVAfFFUB
lL0welT6FEwZzXTdJOxlsr/b7uxLSpmIRlgdWZmnBW9YNphYygi/xNpNlulMBSc/
+EZ5VK+5psdcVmEGVqEh/I6jB5V7sLf1ID/ih+SmuWeOWFhYm3n649j6GteHCGtK
M3cku+MKx7Y=
=VPgH
-----END PGP SIGNATURE-----

--FvI60RJo/OoThODE--