Subject: qfe kernel panic in a SMP SPARCstation 20
To: None <port-sparc@netbsd.org>
From: Nuno Pires <nmfp@mega.ist.utl.pt>
List: port-sparc
Date: 10/30/2006 22:47:21
Hi,

My NetBSD 3.0.1 SPARCstation 20 MP (2 X HyperSPARC RT626@180MHz) panics 
at boot time in the detection of the second hme ethernet port in a sbus 
qfe card:

hme2 at sbus0 slot 2 offset 0x8c20000 level 4 (ipl 7): Sun Happy Meal 
Ethernet (SUNW,qfe)
data fault: pc=0xf024b02c addr=0x1c 
sfsr=126<PERR=0,LVL=1,AT=1,FT=1,FAV,OW>
panic: kernel fault
cpu1 halted
cpu0 halted

With a uniprocessor kernel all the ports on the card work fine. I've 
pasted the complete dmesg with a custom kernel (with GENERIC.MP the 
problem is the same) at the end of the message.


I could use some help,
thanks,
-- 
Nuno P.


Booting netbsd
3123932+79524+219620 [178160+162267]=0x3a7038
OBP version 3, revision 2.25 (plugin rev 2)
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 3.0.1 (MYCONF) #0: Sat Aug 19 18:54:14 WEST 2006
         nunop@birdland.homeip.net:/usr/src/sys/arch/sparc/compile/MYCONF
total memory = 511 MB
avail memory = 495 MB
bootpath: 
/iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@3,0
mainbus0 (root): SUNW,SPARCstation-20: hostid 72776f39
cpu0 at mainbus0: mid 8: RT620/625 @ 180 MHz, on-chip FPU
cpu0: 512K byte write-back, 32 bytes/line, sw flush: cache enabled
cpu1 at mainbus0: mid 10: RT620/625 @ 180 MHz, on-chip FPU
cpu1: 512K byte write-back, 32 bytes/line, sw flush: cache enabled
obio0 at mainbus0
clock0 at obio0 slot 0 offset 0x200000: mk48t08
timer0 at obio0 slot 0 offset 0x300000: delay constant 59
zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
zstty0 at zs0 channel 0 (console i/o)
zstty1 at zs0 channel 1
zs at obio0 slot 0 offset 0x0 level 12 not configured
SUNW,fdtwo at obio0 slot 0 offset 0x700000 level 11 not configured
auxreg0 at obio0 slot 0 offset 0x800000
power0 at obio0 slot 0 offset 0xa01000 level 2
iommu0 at mainbus0 ioaddr 0xe0000000: version 0x3/0x1, page-size 4096, 
range 64MB
sbus0 at iommu0: clock = 25 MHz
dma0 at sbus0 slot 15 offset 0x400000: DMA rev 2
esp0 at dma0 slot 15 offset 0x800000 level 4: ESP200, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
ledma0 at sbus0 slot 15 offset 0x400010: DMA rev 2
le0 at ledma0 slot 15 offset 0xc00000 level 6: address 08:00:20:77:6f:39
le0: 8 receive buffers, 2 transmit buffers
SUNW,bpp at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3) not 
configured
SUNW,DBRIe at sbus0 slot 14 offset 0x10000 level 9 not configured
hme0 at sbus0 slot 2 offset 0x8c00000 level 4 (ipl 7): Sun Happy Meal 
Ethernet (SUNW,qfe)
hme0: Ethernet address 08:00:20:77:6f:39
OUI 0x00068a model 0x0000 rev 1 at hme0 phy 1 not configured
hme1 at sbus0 slot 2 offset 0x8c10000 level 4 (ipl 7): Sun Happy Meal 
Ethernet (SUNW,qfe)
hme1: Ethernet address 08:00:20:77:6f:39
OUI 0x00068a model 0x0000 rev 1 at hme1 phy 1 not configured
hme2 at sbus0 slot 2 offset 0x8c20000 level 4 (ipl 7): Sun Happy Meal 
Ethernet (SUNW,qfe)
data fault: pc=0xf024b02c addr=0x1c 
sfsr=126<PERR=0,LVL=1,AT=1,FT=1,FAV,OW>
panic: kernel fault
cpu1 halted
cpu0 halted