Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 1998 20:42:30 -0400 (EDT)
From:      Mike Andrews <mandrews@termfrost.org>
To:        freebsd-mobile@FreeBSD.ORG
Subject:   Problems with no-name PCMCIA ethernet card
Message-ID:  <Pine.BSF.3.96.980615204132.11953A-100000@mindcrime.termfrost.org>

next in thread | raw e-mail | index | archive | help
Hi folks,

Just decided to upgrade my aging Compaq Contura Aero to give it a bit more
life (cheaper than buying something modern) and ran into a snag trying to
get FreeBSD 2.2.6-RELEASE happy with it.  Once I installed the Acer UART
patch for 2.2.6, it was happier with the COM port and the PCMCIA modems...

Anyway, I'm still trying to get an ethernet card to work.  It's an
EFA Infoexpress 207.  It's apparently an OEM'ed version of a PMX PE-200
card, except that the vendor ID in the CIS has been changed to "EFA   "
"-EFA207" (instead of "PMX   " "-PE-200")...  in fact the .inf for Win95
that was on EFA's website had the PMX vendor ID in it and had to be
hand-edited for it to be happy with 95.

This card is supposed to be an NE2000 clone, except it appares to have two
shared memory regions, one of 1K and one of 16K (don't most NE2000's have
NO shared memory?)  On insertion, pccardd finds the card's correct ethernet
address, then dies with "resource allocation failure".  From adding -DDEBUG
and lots of extra printf's to pccardd, it appears that it's dying trying
to allocate space for the 1K block.  I tried using pccardd from Friday's
2.2-stable, and got the same result.

Doing some searches thru the mailing list archives reveals one other person
(Bill Trost) with another variant of this same card having the same problems,
but no resolution other than taking the mutant card back to the store...

A 3com 3c589D I borrowed from someone else seems to work fine, so if all
else fails I'll break down and buy one...  I'd just prefer not to, if I can
limp along with this one somehow. :)

Relevant info:

kernel config:

device ed0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector edintr

pccard.conf snippet:

io	0x240-0x360
irq	3 5 10 11 13 15
memory	0xd0000 96k

card "EFA   " "EFA207"
	config	0x1 "ed0" 10
	ether	0x7f0
	insert	echo "EFA InfoExpress 207 inserted"
	insert	/etc/pccard_ether ed0
	remove	echo "EFA InfoEXpress 207 removed"
	remove	/sbin/ifconfig ed0 delete

pccardd output:

Jun 14 23:55:16 coda pccardd[269]: mem=0xd4000 
Jun 14 23:55:16 coda pccardd[269]: State same as before, continuing anyway
Jun 14 23:55:16 coda pccardd[269]: pccardd started
Jun 14 23:55:20 coda /kernel: Card inserted, slot 0
Jun 14 23:55:26 coda pccardd[269]: Ether=00:20:e0:0e:5c:20 
Jun 14 23:55:26 coda pccardd[269]: Resource allocation failure for EFA   
Jun 14 23:55:31 coda /kernel: Card removed, slot 0

pccardc dumpcis:

Code 240 not found
Code 240 not found
code Unknown ignored
Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 3
    000:  dc 03 ff
	Common memory device information:
		Device number 1, type Function specific, WPS = ON
		Speed = 100nS, Memory block size = 32Kb, 1 units
Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3
    000:  53 01 ff
	Attribute memory device information:
		Device number 1, type FLASH EEPROM, WPS = OFF
		Speed = 150nS, Memory block size = 2Kb, 1 units
Tuple #3, code = 0x21 (Functional ID), length = 2
    000:  06 03
	Network/LAN adapter - POST initialize - Card has ROM
Tuple #4, code = 0x15 (Version 1 info), length = 30
    000:  04 01 45 46 41 20 20 20 00 45 46 41 32 30 37 00
    010:  45 54 48 45 52 4e 45 54 00 52 30 31 00 ff
	Version = 4.1, Manuf = [EFA   ],card vers = [EFA207]
	Addit. info = [ETHERNET],[R01]
Tuple #5, code = 0x1a (Configuration map), length = 5
    000:  01 01 00 01 01
	Reg len = 2, config register addr = 0x100, last config = 0x1
	Registers: X------- 
Tuple #6, code = 0x1b (Configuration entry), length = 25
    000:  c1 81 78 ca 61 00 03 0f 10 03 0f 30 fc be c9 04
    010:  00 00 40 0d 40 40 00 40 0d
	Config index = 0x1(default)
	Interface byte = 0x81 (I/O)  wait signal supported
	Card decodes 10 address lines, limited 8/16 Bit I/O
		I/O address # 1: block start = 0x300 block length = 0x10
		I/O address # 2: block start = 0x310 block length = 0x10
		IRQ modes: Level
		IRQs:  4 5 10 11 12 13 14 15
	Memory descriptor 1
		 blk length = 0x400 card addr = 0x000 host addr = 0xd4000
	Memory descriptor 2
		 blk length = 0x4000 card addr = 0x4000 host addr = 0xd4000
Tuple #7, code = 0x0 (Null tuple), length = 9
    000:  57 42 20 4c 41 4e 20 20 ff
Tuple #8, code = 0x14 (No link), length = 0
Tuple #9, code = 0xff (Terminator), length = 0
1 slots found


Mike Andrews (MA12) icq 6602506  --------------  mandrews@dcr.net
Senior Systems/Network Administrator  ---  mandrews@termfrost.org
Digital Crescent, Frankfort, KY  -----  http://www.termfrost.org/
"Eagles may soar, but weasels don't get sucked into jet engines."


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980615204132.11953A-100000>