Subject: RE: Problem with INTEL NIC on AXPPCI33
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Pierre-Emmanuel Brinette <brinette@hrnet.fr>
List: port-alpha
Date: 08/20/2003 22:55:57
> Objet : Re: Problem with INTEL NIC on AXPPCI33
>
>
> On Sun, Aug 10, 2003 at 10:45:14PM +0200, Pierre-Emmanuel Brinette wrote:
> > Hi all,
> >
> > I've just installed an EtherExpress 100 (i82558 chip) on my AXPPci33
> > (noname).
> >
> > Everytime I boot the system, I have a fatal Kernel trap (with
> the Generic
> > 1.6 Kernel). I have try the card in different PCI slot but I
> have the same
> > result. This card come from an old DELL Poweredge PII server.
> >
> > The only other card in my system is the S3 Velocity 3D (that work fine).
> >
> > Here is the kernel message :
> >
> > ------
> > ...
> > fxp0 at pci0 dev 11 function 0: i82558 Ethernet, rev 5
> > fxp0: interrupting at isa irq 9
> >
> > CPU 0: fatal kernel trap:
> >
> > CPU 0 trap entry = 0x2 (memory management fault)
>
> Does it drop in ddb at this point (the db> prompt) ?
> If so can you report the output of 'tr' ?
>

Hello,

Sorry for the delay, but I was on holiday. I've made some test with
different PCI NIC (3C900, RT8029, RT8139) and all work fine with BSD. But I
really would like to use this card because It is reconize as an DE500 by
OpenVMS.

Regards.

Here is the output of the boot sequence.

---------------------------------------------------
AXPpci33 Common Console X4.7-1860, built on Nov  1 1996 at 06:00:01
>>>sh conf

SRM Console X4.7-1860    VMS PALcode V5.56-4, OSF PALcode X1.45-9
MEMORY - 64 Meg of system memory

PCI
Slot            Device          Class           Sub-Class
 6      NCR     810 Scsi Con    Default         0
 7      Intel SIO 82378         Default         0
 8      5333-883d               Display         0
 9
 10
 11
 12     8086-1229               Network         0
ISA
Slot    Device  Name            Type         Enabled  BaseAddr  IRQ     DMA
0
        0       MOUSE           Embedded        Yes     60      12
        1       KBD             Embedded        Yes     60      1
        2       COM1            Embedded        Yes     3f8     4
        3       COM2            Embedded        Yes     2f8     3
        4       LPT1            Embedded        Yes     3bc     7
        5       FLOPPY          Embedded        Yes     3f0     6       2
>>>b
(boot dka0.0.0.6.0 -flags a)
block 0 of dka0.0.0.6.0 is a valid boot block
reading 15 blocks from dka0.0.0.6.0
bootstrap code read in
base = 110000, image_start = 0, image_bytes = 1e00
initializing HWRPB at 2000
initializing page table at 102000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code

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

NetBSD/alpha 1.6 Secondary Bootstrap, Revision 1.13
(autobuild@cs20.apochromatic.org, Sun Sep  8 11:54:59 UTC 2002)

VMS PAL rev: 0x1000400010538
OSF PAL rev: 0x100090002012d
Switch to OSF PAL code succeeded.

Boot flags: a
6268336+416560 [347496+209718]=0x6e8540

Entering netbsd at 0xfffffc0000301290...
[ using 558176 bytes of netbsd ELF symbol table ]
consinit: not using prom console
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    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 1.6 (GENERIC) #0: Sun Sep  8 12:15:59 UTC 2002

autobuild@cs20.apochromatic.org:/autobuilder/build/alpha/OBJ/autobuilder/bui
ld/src/sys/ar
ch/alpha/compile/GENERIC
Alpha PC AXPpci33, 166MHz, s/n
8192 byte page size, 1 processor.
total memory = 65536 KB
(2024 KB reserved for PROM, 63512 KB used by NetBSD)
avail memory = 51832 KB
using 409 buffers containing 3272 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), LCA-2 (21066)

cpu0: Architecture extensions: fffffc00008c6fe8<PAT,MVI>
lca0 at mainbus0
pci0 at lca0 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)
vga0 at pci0 dev 8 function 0: S3 ViRGE/VX (rev. 0x02)
wsdisplay0 at vga0 (kbdmux ignored)
fxp0 at pci0 dev 12 function 0: i82558 Ethernet, rev 5
fxp0: interrupting at isa irq 9

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         = 0xfffffc00006d48bc
CPU 0    ra         = 0xfffffc00003c5240
CPU 0    pv         = 0xfffffc00006d48a0
CPU 0    curproc    = 0xfffffc0000941928
CPU 0        pid = 0, comm = swapper

panic: trap
Stopped in pid 0 (swapper) at   cpu_Debugger+0x4:       ret     zero,(ra)
db> tr
cpu_Debugger() at cpu_Debugger+0x4
panic() at panic+0x168
trap() at trap+0x5f4
XentMM() at XentMM+0x20
--- memory management fault (from ipl 6) ---
lca_mem_write_4() at lca_mem_write_4+0x1c
fxp_get_info() at fxp_get_info+0x40
fxp_attach() at fxp_attach+0x2d8
fxp_pci_attach() at fxp_pci_attach+0x5cc
config_attach() at config_attach+0x390
config_found_sm() at config_found_sm+0x54
pci_probe_device() at pci_probe_device+0x2c8
pci_enumerate_bus_generic() at pci_enumerate_bus_generic+0x178
pciattach() at pciattach+0x284
config_attach() at config_attach+0x390
config_found_sm() at config_found_sm+0x54
lcaattach() at lcaattach+0x184
config_attach() at config_attach+0x390
config_found_sm() at config_found_sm+0x54
mbattach() at mbattach+0x160
config_attach() at config_attach+0x390
config_rootfound() at config_rootfound+0x78
cpu_configure() at cpu_configure+0x48
configure() at configure+0x40
main() at main+0x520
locorestart() at locorestart+0x64
--- root of call graph ---
db>

------