Hi,
I was testing routing with this box to see what could be done and when
use in full duplex mode routing traffic with tcpbench on servers at
either side of this box and this one as a router in between, I get this
crash after a timeout of the watchdog.
Only happen when I process traffic in both direction, if I do one side,
all good, the other all good, but both direction at the same time, I get
94Mb on one side, 54Mb on the other and crash with timeout getting me
into the ddb>
All related information below, trace, ps and dmesg.
Thanks
Daniel
# dc0: watchdog timeout
panic: psycho0: uncorrectable DMA error AFAR 6ed72050 (pa=0
tte=0/6ce94012) AFSR 210000ff40000000
kdb breakpoint at 1462280
Stopped at Debugger+0x4: nop
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb>
ddb> trace
psycho_ue(40000f99e00, 6, e0017428, 40009db9c40, 14284e0, ffff) at
psycho_ue+0x
7c
sparc_interrupt(40009da8f50, 0, 40010b14050, 800000006ce94012, 20,
deafbeef) at
sparc_interrupt+0x2a0
m_extfree(40009da8f50, 4000a07c0f0, 60014000, ff00, 1918, deafbeef) at
m_extfre
e+0x7c
m_free_unlocked(40009da8f50, 60014000, 2000, 4000a07c0f0, 11f8ce0, 18d0)
at m_f
ree_unlocked+0x4c
m_freem(40009da8f50, 2000, 400010a9d00, 0, 800, 2) at m_freem+0x20
dc_stop(4000109a000, 3, 2000, 4000a07c150, 20, 40) at dc_stop+0xd0
dc_init(4000109a000, 6, 40001081900, 1e00, 20, a) at dc_init+0x20
dc_tx_underrun(4000109a000, 73ff, ff0000, 8000, ff00, 18d0) at
dc_tx_underrun+0
x1ec
dc_intr(4000109a000, 1, e0017b50, 40009db9c40, 1081200, ffff) at
dc_intr+0x198
sparc_interrupt(400014f4050, 40001081e00, 40001081900, 7e0, 20, a) at
sparc_int
errupt+0x2a0
nettxintr(4000109a000, 3fff0000, ff0000, ff00, 1918, 1910) at nettxintr+0x6c
netintr(e0017ec8, 0, e0017ec8, 8000, 11f8ce0, 18d0) at netintr+0xd0
sparc_interrupt(e0017ec8, 0, e0017ec8, 0, 11f8ce0, 180f3d8) at
sparc_interrupt+
0x2a0
sparc_interrupt(188a030, e0018000, 153a150, 1886148, 0, 0) at
sparc_interrupt+0
x2a0
sched_idle(e0018000, 4000a070400, 153a758, 4000efb8000, 40010bba470,
1c09d30) a
t sched_idle+0x140
proc_trampoline(0, 0, 0, 0, 0, 0) at proc_trampoline+0x4
ddb>
ddb> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
17579 24574 17579 0 3 0x44180 poll systat
24574 26610 24574 0 3 0x4080 pause ksh
26610 29211 26610 0 3 0x4180 select sshd
2817 1 2817 0 3 0x40180 select sendmail
22433 1 22433 0 3 0x4080 ttyin ksh
16463 1 16463 0 3 0x80 select cron
1739 1 1739 0 3 0x180 select inetd
29211 1 29211 0 3 0x80 select sshd
13002 31220 26791 83 3 0x180 poll ntpd
31220 26791 26791 83 3 0x180 poll ntpd
26791 1 26791 0 3 0x80 poll ntpd
9509 15123 15123 74 3 0x180 bpf pflogd
15123 1 15123 0 3 0x80 netio pflogd
30009 12451 12451 73 3 0x180 poll syslogd
12451 1 12451 0 3 0x88 netio syslogd
13 0 0 0 3 0x100200 aiodoned aiodoned
12 0 0 0 3 0x100200 syncer update
11 0 0 0 3 0x100200 cleaner cleaner
10 0 0 0 3 0x100200 reaper reaper
9 0 0 0 3 0x100200 pgdaemon pagedaemon
8 0 0 0 3 0x100200 bored crypto
7 0 0 0 3 0x100200 pftm pfpurge
6 0 0 0 3 0x100200 usbtsk usbtask
5 0 0 0 3 0x100200 usbatsk usbatsk
4 0 0 0 3 0x100200 bored syswq
* 3 0 0 0 7 0x40100200 idle0
2 0 0 0 3 0x100200 kmalloc kmthread
1 0 1 0 3 0x4080 wait init
0 -1 0 0 3 0x80200 scheduler swapper
ddb>
OpenBSD 4.9 (GENERIC) #253: Tue Mar 1 17:27:32 MST 2011
dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC
real mem = 1073741824 (1024MB)
avail mem = 1043521536 (995MB)
mainbus0 at root: Sun Netra X1 (UltraSPARC-IIe 500MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-IIe (rev 1.4) @ 500 MHz
cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 256K
external (64 b/l)
psycho0 at mainbus0: SUNW,sabre, impl 0, version 0, ign 7c0
psycho0: bus range 0-0, PCI bus 0
psycho0: dvma map 60000000-7fffffff
pci0 at psycho0
ebus0 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00
"dma" at ebus0 addr 0-ffff ivec 0x2a not configured
rtc0 at ebus0 addr 70-71: m5819
power0 at ebus0 addr 2000-2007 ivec 0x23
lom0 at ebus0 addr 8010-8011 ivec 0x2a: LOMlite2 rev 3.10
com0 at ebus0 addr 3f8-3ff ivec 0x2b: ns16550a, 16 byte fifo
com0: console
com1 at ebus0 addr 2e8-2ef ivec 0x2b: ns16550a, 16 byte fifo
"flashprom" at ebus0 addr 0-7ffff not configured
alipm0 at pci0 dev 3 function 0 "Acer Labs M7101 Power" rev 0x00: 74KHz
clock
iic0 at alipm0
"max1617" at alipm0 addr 0x18 skipped due to alipm0 bugs
spdmem0 at iic0 addr 0x54: 256MB SDRAM registered ECC PC133CL2
spdmem1 at iic0 addr 0x55: 256MB SDRAM registered ECC PC133CL2
spdmem2 at iic0 addr 0x56: 256MB SDRAM registered ECC PC133CL2
spdmem3 at iic0 addr 0x57: 256MB SDRAM registered ECC PC133CL2
dc0 at pci0 dev 12 function 0 "Davicom DM9102" rev 0x31: ivec 0x7c6,
address 00:03:ba:0f:e4:2f
amphy0 at dc0 phy 1: DM9102 10/100 PHY, rev. 0
dc1 at pci0 dev 5 function 0 "Davicom DM9102" rev 0x31: ivec 0x7dc,
address 00:03:ba:0f:e4:30
amphy1 at dc1 phy 1: DM9102 10/100 PHY, rev. 0
ohci0 at pci0 dev 10 function 0 "Acer Labs M5237 USB" rev 0x03: ivec
0x7e4, version 1.0, legacy support
pciide0 at pci0 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc3:
DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using ivec 0x7cc for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <ST380215A>
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "Acer Labs OHCI root hub" rev 1.00/1.00 addr 1
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
bootpath: /pci@1f,0/ide@d,0/disk@0,0
root on wd0a swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
#