Subject: port-sparc64/17594: sparc64 dma error --> raidframe corruption
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ww@styx.org>
List: netbsd-bugs
Date: 07/14/2002 01:19:27
>Number:         17594
>Category:       port-sparc64
>Synopsis:       dma error on sparc64 and subsequent raidframe corruption
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 13 22:23:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     ww@styx.org
>Release:        NetBSD 1.6D
>Organization:
Idiosyntactix Research Laboratories
>Environment:
System: NetBSD epanaphora 1.6D NetBSD 1.6D (EPANAPHORA) #29: Tue Jul 9 13:00:23 EDT 2002 ww@epanaphora:/src/NetBSD/src/sys/arch/sparc64/compile/EPANAPHORA sparc64
Architecture: sparc64
Machine: sparc64

>Description:

This is an ultra 5 with a pci scsi card with four scsi drives. Three
of them are arranged in a raid0 set. It also has an extra pci ethernet
interface.

Sconsole is /pci@1f,0/pci@1,1/ebus@1/se@14,400000:a
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.6D (EPANAPHORA) #29: Tue Jul  9 13:00:23 EDT 2002
    ww@epanaphora:/src/NetBSD/src/sys/arch/sparc64/compile/EPANAPHORA
total memory = 256 MB
avail memory = 177 MB
using 8175 buffers containing 65400 KB of memory
bootpath: /pci@1f,0/pci@1,1/ide@3,0/disk@0,0
mainbus0 (root): SUNW,Ultra-5_10
cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 360 MHz, version 0 FPU
cpu0: physical 32K instruction (32 b/l), 16K data (32 b/l), 256K external (64 b/l)
psycho0 at mainbus0 addr 0xfffc4000
SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 2; PCI bus 0
intr_establish: intr reused 7c0
DVMA map: c0000000 to e0000000
IOTSB: 4784000 to 4804000
pci0 at psycho0
pci0: i/o space, memory space enabled
ppb0 at pci0 dev 1 function 1: Sun Microsystems Simba PCI bridge (rev. 0x13)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ebus0 at pci1 dev 1 function 0
ebus0: Sun Microsystems PCIO Ebus2, revision 0x01
auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 72c000-72c003, 72f000-72f003
power at ebus0 addr 724000-724003 ipl 37 not configured
SUNW,pll at ebus0 addr 504000-504002 not configured
se at ebus0 addr 400000-40007f ipl 43 not configured
com0 at ebus0 addr 3083f8-3083ff ipl 41: ns16550a, working fifo
kbd0 at com0
com1 at ebus0 addr 3062f8-3062ff ipl 42: ns16550a, working fifo
ms0 at com1
lpt0 at ebus0 addr 3043bc-3043cb, 30015c-30015d, 700000-70000f ipl 34
fdthree at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ipl 39 not configured
clock0 at ebus0 addr 0-1fff: mk48t59: hostid 80a8ed44
flashprom at ebus0 addr 0-fffff not configured
SUNW,CS4231 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f, 722000-722003 ipl 35 ipl 36 not configured
hme0 at pci1 dev 1 function 1: Sun Happy Meal Ethernet, rev. 1
hme0: interrupting at ivec 3021
hme0: Ethernet address 08:00:20:a8:ed:44
nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ATI Technologies 3D Rage Pro (VGA display, revision 0x5c) at pci1 dev 2 function 0 not configured
pciide0 at pci1 dev 3 function 0: CMD Technology PCI0646 (rev. 0x03)
pciide0: bus-master DMA support present
pciide0: primary channel configured to native-PCI mode
pciide0: using ivec 1820 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <ST38420A>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 8223 MB, 16708 cyl, 16 head, 63 sec, 512 bytes/sect x 16841664 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
pciide0: secondary channel configured to native-PCI mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <CRD-8322B, 1998/09/24, 1.05> type 5 cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
ppb1 at pci0 dev 1 function 0: Sun Microsystems Simba PCI bridge (rev. 0x13)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
siop0 at pci2 dev 2 function 0: Symbios Logic 53c860 (ultra scsi)
siop0: interrupting at ivec 14
scsibus0 at siop0: 8 targets, 8 luns per target
ex0 at pci2 dev 3 function 0: 3Com 3c905-TX 10/100 Ethernet (rev. 0x0)
ex0: interrupting at ivec 18
ex0: MAC address 00:60:08:a6:8e:52
nsphy1 at ex0 phy 24: DP83840 10/100 media interface, rev. 1
nsphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcons0 at mainbus0
No counter-timer -- using %tick at 360MHz as system clock.
Using %tick -- intr in 3600000 cycles...done.
scsibus0: waiting 2 seconds for devices to settle...
siop0: alloc newcdb at PHY addr 0xc0180000
sd0 at scsibus0 target 2 lun 0: <SEAGATE, ST318203LSUN18G, 034A> SCSI2 0/direct fixed
sd0: 17274 MB, 7508 cyl, 19 head, 248 sec, 512 bytes/sect x 35378533 sectors
sd0: sync (50.0ns offset 8), 8-bit (20.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 3 lun 0: <SEAGATE, ST318203LSUN18G, 034A> SCSI2 0/direct fixed
sd1: 17274 MB, 7508 cyl, 19 head, 248 sec, 512 bytes/sect x 35378533 sectors
sd1: sync (50.0ns offset 8), 8-bit (20.000MB/s) transfers, tagged queueing
sd2 at scsibus0 target 4 lun 0: <FUJITSU, MAG3182L SUN18G, 1111> SCSI2 0/direct fixed
sd2: 17274 MB, 7508 cyl, 19 head, 248 sec, 512 bytes/sect x 35378533 sectors
sd2: sync (50.0ns offset 8), 8-bit (20.000MB/s) transfers, tagged queueing
sd3 at scsibus0 target 6 lun 0: <QUANTUM, ATLAS_V_18_WLS, 0230> SCSI3 0/direct fixed
sd3: 17510 MB, 20907 cyl, 4 head, 428 sec, 512 bytes/sect x 35861388 sectors
sd3: sync (50.0ns offset 8), 8-bit (20.000MB/s) transfers, tagged queueing
raidattach: Asked for 4 units
Kernelized RAIDframe activated
Searching for raid components...
Component on: sd0g: 35368272
   Row: 0 Column: 0 Num Rows: 1 Num Columns: 3
   Version: 2 Serial Number: 20020202 Mod Counter: 519
   Clean: Yes Status: 0
   sectPerSU: 64 SUsPerPU: 1 SUsPerRU: 1
   RAID Level: 0  blocksize: 512 numBlocks: 35368192
   Autoconfig: No
   Contains root partition: No
   Last configured as: raid0
Component on: sd1g: 35368272
   Row: 0 Column: 1 Num Rows: 1 Num Columns: 3
   Version: 2 Serial Number: 20020202 Mod Counter: 516
   Clean: No Status: 0
   sectPerSU: 64 SUsPerPU: 1 SUsPerRU: 1
   RAID Level: 0  blocksize: 512 numBlocks: 35368192
   Autoconfig: No
   Contains root partition: No
   Last configured as: raid0
Component on: sd2g: 35368272
   Row: 0 Column: 2 Num Rows: 1 Num Columns: 3
   Version: 2 Serial Number: 20020202 Mod Counter: 494
   Clean: No Status: 0
   sectPerSU: 64 SUsPerPU: 1 SUsPerRU: 1
   RAID Level: 0  blocksize: 512 numBlocks: 35368192
   Autoconfig: No
   Contains root partition: No
   Last configured as: raid0

>How-To-Repeat:
	see above.
>Fix:
	???
>Release-Note:
>Audit-Trail:
>Unformatted: