Subject: Re: Kernel panics with pci network cards (fxp and ex)
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Arto Huusko <arto.huusko@utu.fi>
List: port-alpha
Date: 05/26/2004 19:07:06
Manuel Bouyer wrote:
> On Sun, May 23, 2004 at 09:45:26PM +0200, Manuel Bouyer wrote:
> 
>>On Sun, May 23, 2004 at 09:53:47PM +0300, Arto Huusko wrote:
>>
>>>>With which release ?
>>>
>>>2.0E. It's 3C905CX-TX-M.
>>
>>Ok. I'll have to try a 2.0 on one of these alpha.
> 
> Works for me:

Here's what I get (I've partially written this by hand from screen, so may
not be totally accurate):

NetBSD 2.0E (MAAILMA) #0: Mon May 10 19:49:32 EEST 2004
        root@lady:/local/netbsd/current/alpha/obj/sys/archi/alpha/compile/MAAILMA
Digital AlphaStation 500/266, 266MHz, s/n
8192 byte page size, 1 processor
total memory = 256 MB
(2256 KB reserved for PROM, 253 MB used by NetBSD)
avail memory = 245 MB
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary) 21164-0
cia0 at mainbus0: DECchip 2117x Core Logic Chipset (ALCOR/ALCOR2), pass 2
pci0 at cia0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
[...]
ex0 at pci0 dev 7 function 0: 3Com 3c905C-TX 10/100 Ethernet with mngmt (rev. 0x
78)
ex0: interrupting at kn20aa irq 8
ex0: MAC address ....
exphy0 at ex0 phy 24: 3Com internal media interface
exphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

(Everything looks similar to yours Manuel, but different processor)

Immediatetly after running ifconfig -a:

Processor machine check 670 code 0x20f

[...]

unexpected machine check:

         mces = 0x01
         vector = 0x660
         param = 0xfffffc0000006060
         pc =    0xfffffc000034f000
         ra =    0xfffffc0000368538
         code = 0x20f
         curlwp = ...
         pid = 12.1, comm = ifconfig

panic: machine check

trace:

cpu_Debugger
panic
machine_check
dec_kn20aa_mcheck
interrupt
XentInt
--- interrupt from ipl 4
mii_bitbang_readreg  +0x20
ex_mii_readreg  +0xa8
ukphy_status
mii_phy_status
exphy_service
mii_pollstat
ex_media_stat
ifmedia_ioctl
ex_ioctl
ifioctl
soo_ioctl
sys_ioctl
syscall_plain
XentSys