Subject: Kernel Panics with fxp on -current and 2.0
To: None <port-alpha@netbsd.org>
From: Falk Stern <falk@fourecks.de>
List: port-alpha
Date: 03/02/2005 08:09:44
Hi,

yesterday I inserted 2 fxp(4) cards in my DEC Alphastation 200 4/233.

I had to remove the gfx card for both to fit. Booting over serial console
works well but after inserting the fxp cards I get this: 

>>>boot 
(boot dka0.0.0.6.0 -flags a)
block 0 of dka0.0.0.6.0 is a valid boot block
reading 14 blocks from dka0.0.0.6.0
bootstrap code read in
base = 1f2000, image_start = 0, image_bytes = 1c00
initializing HWRPB at 2000
initializing page table at 1e4000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code

NetBSD/alpha 2.0 FFS Primary Bootstrap
Jumping to entry point...

NetBSD/alpha 2.0 Secondary Bootstrap, Revision 1.13
(builds@build, Tue Nov 30 20:47:48 UTC 2004)

VMS PAL rev: 0x1000000010538
OSF PAL rev: 0x100000002012e
Switch to OSF PAL code succeeded.

Boot flags: a
3754720+261976 [234144+144486]=0x431700

Entering netbsd at 0xfffffc0000301280...
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 2.99.16 (alphastation200) #2: Wed Feb 23 21:45:12 CET 2005
        root@zoidberg.fourecks.de:/usr/src/sys/arch/alpha/compile/alphastation200
AlphaStation 200 4/233, 233MHz, s/n 
8192 byte page size, 1 procinbus0: ID 0 (primary), 21064A-0
apecs0 at mainbus0: DECchip 21071 Core Logic chipset
apecs0: DC21071-CA pass 2, 64-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: vendor 0x8086 product 0x0484 (rev. 0x84)
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:e7:53:14
tlp0: 10baseT, 10baseT-FDX, 10base5, manual
fxp0 at pci0 dev 12 function 0: i82558 Ethernet, rev 5
fxp0: interrupting at isa irq 10

CPU 0: fatal kernel trap:

CPU 0    trap entry = 0x2 (memory management fault)
CPU 0    a0         = 0x118
CPU 0    a1         = 0x1
CPU 0    a2         = 0x1
CPU 0    pc         = 0xfffffc00005d1c00
CPU 0    ra         = 0xfffffc00003ddf14
CPU 0    pv         = 0xfffffc00005d1bd0
CPU 0    curlwp    = 0xfffffc00006cab18
CPU 0        pid = 0, comm = swapper

panic: trap
halted.


halted CPU 0

halt code = 5
HALT instruction executed
PC = fffffc0000300118


This happens with -current and also with the original 2.0 kernel.

Any hints?

Have a nice day, 

Falk

-- 
The X approach to device independence is to treat everything like a 
MicroVAX framebuffer on acid. - The Unix Haters Handbook on X11