Subject: wi interface causes machine check panic
To: None <port-alpha@netbsd.org>
From: grant beattie <grant@netbsd.org>
List: port-alpha
Date: 05/06/2003 01:45:30
on my alphastation 250, 1.6M works fine, but a 1.6R kernel from a few days
panics initialising wi0. any ideas? traceback and dmesg follow...

# ifconfig wi0 nwid blah
      Processor Machine Check (660), Code 0x100000205
CPU state:
	PAL temp[0-1]		= 0xfffffc0000ac32c8 0x   c82f800000004
	PAL temp[2-3]		= 0x             800 0xfffffc0000a622d8
	PAL temp[4-5]		= 0xfffffc0000a64cd8 0xfffffc0000659480
	PAL temp[6-7]		= 0x            4200 0x             400
	PAL temp[8-9]		= 0x               1 0xfffffc00003003b4
	PAL temp[10-11]		= 0x               0 0xfffffc0000300354
	PAL temp[12-13]		= 0xfffffc00003003e0 0xfffffc000030047c
	PAL temp[14-15]		= 0xfffffc0000300410 0xfffffc0000300384
	PAL temp[16-17]		= 0x       12001de78 0x       1fffff7e0
	PAL temp[18-19]		= 0xfffffe0006ff3af8 0xfffffc0000a2a6e8
	PAL temp[20-21]		= 0x        200200f0 0x  505070727a7a7a
	PAL temp[22-23]		= 0x      8000000080 0x               0
	PAL temp[24-25]		= 0x           10000 0x       160156bf8
	PAL temp[26-27]		= 0x               0 0x         1508000
	PAL temp[28-29]		= 0xfffffffc00000000 0x               1
	PAL temp[30-31]		= 0x         14fe000 0xfffffc00008023e8
        Excepting Instruction Addr = 0x0000000000000000
        Summary of arithmetic traps = 0x0000000000000000
        Exception mask            = 0x000c82f800000004
        ICCSR                     = 0x0000000000014000
        Base address for PALcode  = 0x00000000000014f0
        HIER                      = 0x0000000000000402
        HIRR                      = 0x0000000000005240
        MM_CSR                    = 0x0000000000000003
        DC_STAT                   = 0x00000007ffffffff
        DC_ADDR                   = 0x000000000000942e
        ABOX_CTL                  = 0x0000000000000050
        Bus Interface Unit status = 0x00000000000060e0
        Bus Interface Unit addr   = 0x0000000810002225
        Bus Interface Unit control = 0x0000000000000000
        Fill Syndrome             = 0x0000000000006100
        Fill Address              = 0x0000000000006170
        Effective VA              = 0x204900204848484c
        BC_TAG                    = 0x000000007fb200b4

Cache and Memory Controller (21071-CA) state:
        COMA_GCR                  = 0x000000007fb22140
        COMA_EDSR                 = 0x000000007fb2ffe0
        COMA_TER                  = 0x000000007fb20000
        COMA_ELAR                 = 0x000000007fb20800
        COMA_EHAR                 = 0x000000007fb26196
        COMA_LDLR                 = 0x000000006fb10005
        COMA_LDHR                 = 0x000000006fb10000
        COMA_BASE0                = 0x000000006fb10000
        COMA_BASE1                = 0x0000000047ff0000
        COMA_BASE2                = 0x0000000047ff0067
        COMA_CNFG0                = 0x0000000047ff0000
        COMA_CNFG1                = 0x0000000047ff0000
        COMA_CNFG2                = 0xffffffff800c085d

PCI bridge (21071-DA) state:
        EPIC Diag. control/status = 0x00000000000102cc
        EPIC_PEAR                 = 0x0000000000503320
        EPIC_SEAR                 = 0x00000000009ca000
        EPIC_TBR1                 = 0x0000000000000000
        EPIC_TBR2                 = 0x00000000008c0000
        EPIC_PBR1                 = 0x0000000040080000
        EPIC_PBR2                 = 0x0000000000700000
        EPIC_PMR1                 = 0x000000003ff00000
        EPIC_PMR2                 = 0xffffffff80000000
        EPIC_HARX1                = 0x0000000000000000
        EPIC_HARX2                = 0x00000000000000ff
        EPIC_PMLT                 = 0x0000000000000000
        EPIC_TAG0                 = 0x0000000000000000
        EPIC_TAG1                 = 0x0000000000000000
        EPIC_TAG2                 = 0x0000000000000000
        EPIC_TAG3                 = 0x0000000000000000
        EPIC_TAG4                 = 0x0000000000000000
        EPIC_TAG5                 = 0x0000000000000000
        EPIC_TAG6                 = 0x0000000000000000
        EPIC_TAG7                 = 0x0000000000000000
        EPIC_DATA0                = 0x0000000000000000
        EPIC_DATA1                = 0x0000000000000000
        EPIC_DATA2                = 0x0000000000000000
        EPIC_DATA3                = 0x0000000000000000
        EPIC_DATA4                = 0x0000000000000000
        EPIC_DATA5                = 0x0000000000000000
        EPIC_DATA6                = 0x0000000000000000
        EPIC_DATA7                = 0x0000000000000000


PCI bridge fault

unexpected machine check:

    mces    = 0x1
    vector  = 0x660
    param   = 0xfffffc0000006000
    pc      = 0xfffffc00008023e8
    ra      = 0xfffffc000045f9a0
    code    = 0x100000205
    curlwp = 0xfffffc0001400570
        pid = 22.1, comm = ifconfig

panic: machine check
Stopped in pid 22.1 (ifconfig) at       netbsd:cpu_Debugger+0x4:        ret     z
ero,(ra)
db> t
cpu_Debugger() at netbsd:cpu_Debugger+0x4
panic() at netbsd:panic+0x180
machine_check() at netbsd:machine_check+0x25c
dec_2100_a50_mcheck() at netbsd:dec_2100_a50_mcheck+0xe68
dec_2100_a50_mcheck_handler() at netbsd:dec_2100_a50_mcheck_handler+0x54
interrupt() at netbsd:interrupt+0x1ac
XentInt() at netbsd:XentInt+0x1c
--- interrupt (from ipl 1) ---
spl0() at netbsd:spl0+0x28
wi_ioctl() at netbsd:wi_ioctl+0x3e0
in_control() at netbsd:in_control+0xc40
udp_usrreq() at netbsd:udp_usrreq+0x64
ifioctl() at netbsd:ifioctl+0xbe4
soo_ioctl() at netbsd:soo_ioctl+0x210
sys_ioctl() at netbsd:sys_ioctl+0x4cc
syscall_plain() at netbsd:syscall_plain+0x154
XentSys() at netbsd:XentSys+0x5c
--- syscall (54) ---
--- user mode ---
db>

NetBSD 1.6R (AS250-$Revision: 1.2 $) #0: Fri May  2 01:08:26 EST 2003
	grant@as250:/work/netbsd/current/src/sys/arch/alpha/compile/AS250
AlphaStation 250 4/266, 268MHz, s/n 
8192 byte page size, 1 processor.
total memory = 128 MB
(2000 KB reserved for PROM, 126 MB used by NetBSD)
avail memory = 108 MB
using 819 buffers containing 6552 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21064A-0
cpu0: VAX FP support, IEEE FP support, Primary Eligible
cpu0: Architecture extensions: 6<CIX,FIX>
apecs0 at mainbus0: DECchip 21072 Core Logic chipset
apecs0: DC21071-CA pass 2, 128-bit memory bus
apecs0: DC21071-DA pass 2
pci0 at apecs0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
siop0 at pci0 dev 6 function 0: Symbios Logic 53c810 (fast scsi)
siop0: interrupting at isa irq 11
scsibus0 at siop0: 8 targets, 8 luns per target
sio0 at pci0 dev 7 function 0: Intel 82378ZB System I/O (SIO) (rev. 0x03)
tlp0 at pci0 dev 11 function 0: DECchip 21040 Ethernet, pass 2.3
tlp0: interrupting at isa irq 5
tlp0: Ethernet address 08:00:2b:e4:f6:cb
tlp0: 10baseT, 10baseT-FDX, 10base5, manual
tlp1 at pci0 dev 12 function 0: DECchip 21140A Ethernet, pass 2.0
tlp1: interrupting at isa irq 9
tlp1: DEC DE500-AA, Ethernet address 00:00:f8:03:4b:21
nsphy0 at tlp1 phy 5: DP83840 10/100 media interface, rev. 0
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
wi0 at pci0 dev 13 function 0: Netgear MA301 PCI IEEE 802.11b (rev. 0x02)
wi0: interrupting at isa irq 10
wi0: 802.11 address 00:09:5b:0d:f4:bc
wi0: using RF:PRISM2.5 MAC:ISL3873B(PCMCIA)
wi0: Intersil Firmware: Primary (1.0.7), Station (1.3.6)
wi0: supported rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
isa0 at sio0
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
pckbdprobe: reset error 5
pmsprobe: reset error 5
lpt0 at isa0 port 0x3bc-0x3bf irq 7
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
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
IPsec: Initialized Security Association Processing.
scsibus0: waiting 2 seconds for devices to settle...
siop0: alloc newcdb at PHY addr 0x4140c000
sd0 at scsibus0 target 0 lun 0: <QUANTUM, FIREBALL_TM2110S, 300X> disk fixed
sd0: 2014 MB, 6810 cyl, 4 head, 151 sec, 512 bytes/sect x 4124736 sectors
sd0: sync (100.00ns offset 8), 8-bit (10.000MB/s) transfers, tagged queueing