Subject: Kernel panics with pci network cards (fxp and ex)
To: None <port-alpha@NetBSD.org>
From: Einar Karttunen <ekarttun@cs.helsinki.fi>
List: port-alpha
Date: 05/23/2004 16:14:56
Hello

I am experiencing kernel panics (possibly related to unaligned access)
when trying to use PCI network cards on an alphastation 255. The 
cards work fine under linux, so that should not be an issue, also
the internal tlp0 works fine under NetBSD. I am using 2.0E GENERIC
kernel.

The fxp card (intel 82558B) makes the kernel panic on bootup.
The issue is the same as in:
http://mail-index.netbsd.org/port-alpha/2003/08/10/0003.html,
http://mail-index.netbsd.org/port-alpha/2003/08/24/0000.html

it produces the following backtrace:
cpu_Debugger()+0x4
panic()+0x1F8
trap()+0x120
XentMM()+0x20
-- memory management fault (from ipl6) ---
apecs_memwrite_4+0x30
fxp_get_info+0x44
fxp_attach+0x284
fxp_pci_attach+0x410

So it seems to be related to (unaligned?) probing of PCI
memory/registers. I switched the card to a 3c905B (ex),
which booted fine, but a simple ifconfig made the machine
panic with a similar (write to PCI space) reason.

What PCI 100mbps network interfaces are supported on alpha?

- Einar Karttunen