Subject: qec, qe0<->qe1 freezes the system
To: None <port-sparc@netbsd.org>
From: Karo Salminen <kaeesalm@cc.jyu.fi>
List: port-sparc
Date: 08/15/2002 01:15:56
Howdy,

I use qec SBus card, which has 4 ethernet slots. If I transfer data through le0 (integrated Lance) and qe0 everything works fine, but if I transfer data through qe0 and qe1 the transfer speed will stay at 600kB/s instead of the 1M/s (10Mbit/s) and the system loads will go up to 5 and higher and the system really freezes. I use this machine as a router/switch/firewall, so qe0 and qe1 are in different subnets.

/var/run/dmesg.boot:
NetBSD 1.6_BETA5 (experiment) #0: Sat Aug 10 17:37:23 EEST 2002
    karo@experiment.kortex.jyu.fi:/opt/sources/src/sys/arch/sparc/compile/experiment
total memory = 65116 KB
avail memory = 57568 KB
using 839 buffers containing 3356 KB of memory
bootpath: /iommu@0,10000000/sbus@0,10001000/espdma@4,8400000/esp@4,8800000/sd@3,0
mainbus0 (root): SUNW,SPARCstation-4
cpu0 at mainbus0: MB86904 @ 110 MHz, on-chip FPU
cpu0: 16K instruction (32 b/l), 8K data (16 b/l): cache enabled
obio0 at mainbus0
clock0 at obio0 slot 0 offset 0x200000: mk48t08: hostid 807d8621
timer0 at obio0 slot 0 offset 0xd00000: delay constant 52
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
slavioconfig at obio0 slot 0 offset 0x800000 not configured
auxreg0 at obio0 slot 0 offset 0x900000
power0 at obio0 slot 0 offset 0x910000 level 2
fdc0 at obio0 slot 0 offset 0x400000 level 11 softpri 4: chip 82077
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
iommu0 at mainbus0 addr 0x10000000: version 0x4/0x0, page-size 4096, range 64MB
sbus0 at iommu0: clock = 22 MHz
dma0 at sbus0 slot 4 offset 0x8400000: dma rev 2
esp0 at dma0 slot 4 offset 0x8800000 level 4: ESP200, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
bpp0 at sbus0 slot 4 offset 0xc800000 level 2 (ipl 3): dma rev 2
ledma0 at sbus0 slot 4 offset 0x8400010: dma rev 2
le0 at ledma0 slot 4 offset 0x8c00000 level 6: address 08:00:20:7d:86:21
le0: 8 receive buffers, 2 transmit buffers
qec0 at sbus0 slot 0 offset 0x20000 level 4 (ipl 7): 128K memory
qe0 at qec0 slot 0 offset 0x0 rev 1 address 08:00:20:7d:86:21
qe1 at qec0 slot 1 offset 0x0 rev 1 address 08:00:20:7d:86:21
qe2 at qec0 slot 2 offset 0x0 rev 1 address 08:00:20:7d:86:21
qe3 at qec0 slot 3 offset 0x0 rev 1 address 08:00:20:7d:86:21
tcx0 at sbus0 slot 2 offset 0x800000 level 5 (ipl 9): SUNW,tcx, 1152 x 900, id 0
, rev 2, sense 0
tcx0: attached to /dev/fb
power-management at sbus0 slot 3 offset 0xa000000 not configured
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 3 lun 0: <FUJITSU, M2954ESP SUN4.2G, 2545> SCSI2 0/direct
 fixed
sd0: 4094 MB, 3882 cyl, 16 head, 135 sec, 512 bytes/sect x 8385121 sectors
sd0: sync (100.0ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
cd0 at scsibus0 target 6 lun 0: <TOSHIBA, XM-4101TASUNSLCD, 1755> SCSI2 5/cdrom 
removable
cd0: async, 8-bit transfers
Kernelized RAIDframe activated
root on sd0a dumps on sd0b
root file system type: ffs
IP Filter: v3.4.27 initialized.  Default = pass all, Logging = enabled
cpu0: NMI: system interrupts: 40000000<VME=0,SBUS=0,ME>
-- 
E-mail: kaeesalm@cc.jyu.fi
GSM: +358 45 6728280
WWW: http://www.cc.jyu.fi/~kaeesalm/