Subject: Re: 1.3_ALPHA/i386 snap-971030 and PCMCIA: ifconfig hangs.
To: None <Marc.Baudoin@solsoft.com>
From: John Kohl <jtk@kolvir.arlington.ma.us>
List: port-i386
Date: 11/03/1997 15:58:41
>>>>> "MB" == Marc Baudoin <Marc.Baudoin@solsoft.com> writes:

MB> I have some problems too with a 1.3A kernel from last week a
MB> friend sent me to try.  The Ethernet card (3Com 3C589B, an old
MB> model) is recognized but doesn't work.  Here are the boot
MB> messages:
MB> ep1 at pcmcia0 function 0 port 0x400-0x40f: 3Com 3C589 Ethernet
MB> ep1: MAC address 00:20:af:df:9e:f1
MB> ep1: write 0x7ff to TX_AVAIL_THRESH, read back 0x7aa, Interface disabled
MB> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

MB> But everything works fine with my stock NetBSD 1.2 with John
MB> Kohl's patches:

MB> ep0 at pcmcia0 port 0x300-0x30f irq 11: 3Com 3C589 Ethernet
MB> ep0: aui/bnc/utp address 00:20:af:df:9e:f1

This sounds like ISA port mapping/decoding problems.  Try wiring down
the base address for PCIC ISA port allocations, with something like this
in your kernel config file:

options PCIC_ISA_ALLOC_IOBASE=0x380	# 0x400 doesn't work--address lines?
options PCIC_ISA_ALLOC_IOSIZE=0x80

(You can also patch the initialized variables with lowercase names)

-- 
==John Kohl <jtk@kolvir.arlington.ma.us>, <john_kohl@alum.mit.edu>
See also <http://jtk.ne.mediaone.net/~jtk/>
This signature was created using 100% recycled bits.