Subject: Problems with de interface
To: NetBSD/Alpha Users <port-alpha@NetBSD.ORG>
From: Curt Sampson <cjs@portal.ca>
List: port-alpha
Date: 07/06/1997 11:50:09
I swapped my new SMC EtherPro 10/100 for an older one, so I've
gotten around the ROM problems with netbooting my AXPpci33. However,
I now seem to be having problems with the de driver itself. When
I netboot a June 16th kernel, it prints
de0 at pci0 dev 12 function 0 at isa irq 5
fatal kernel trap:
trap entry = 0x2 (memory management fault)
a0 = 0x0
a1 = 0x1
a2 = 0x0
pc = 0xfffffc000040ab90
ra = 0xfffffc000040f744
curproc = 0xfffffc000047e2e8
pid = 0, comm =
panic: trap
Kgdb tells me this is:
(kgdb) l *(0xfffffc000040ab90)
0xfffffc000040ab90 is in tulip_2114x_media_preset (../../../../dev/pci/if_de.c:1474).
1469 if (media != TULIP_MEDIA_UNKNOWN) {
1470 #if defined(TULIP_DEBUG)
1471 if (media < TULIP_MEDIA_MAX && sc->tulip_mediums[media] != NULL) {
1472 #endif
1473 mi = sc->tulip_mediums[media];
1474 if (mi->mi_type == TULIP_MEDIAINFO_MII) {
1475 sc->tulip_cmdmode |= TULIP_CMD_PORTSELECT;
1476 } else if (mi->mi_type == TULIP_MEDIAINFO_GPR
1477 || mi->mi_type == TULIP_MEDIAINFO_SYM) {
1478 sc->tulip_cmdmode &= ~TULIP_GPR_CMDBITS;
So I tried recompiling if_de.o with TULIP_DEBUG turned on, and
things got a little better:
de0 at pci0 dev 12 function 0 at isa irq 5
de0: preset: bad media 8!
de0: SMC 9332DST 21140 [10-100Mb/s] pass 1.2
de0: address 00:00:c0:39:1a:e4
de0: enabling 10baseT port
However, when it tries to use de0 later:
root device (default de0):
dump device:
file system (default nfs):
nfs_boot: using network interface 'de0'
revarp failed, error=51
cannot mount root, error = 5
and nothing ever appears on the net.
Any thoughts?
cjs
Curt Sampson cjs@portal.ca Info at http://www.portal.ca/
Internet Portal Services, Inc. `And malt does more than Milton can
Vancouver, BC (604) 257-9400 To justify God's ways to man.'