From owner-freebsd-mobile Mon Dec 9 02:38:37 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id CAA27388 for mobile-outgoing; Mon, 9 Dec 1996 02:38:37 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id CAA27382 for ; Mon, 9 Dec 1996 02:38:34 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.2/8.7.3) id VAA09371; Mon, 9 Dec 1996 21:08:22 +1030 (CST) From: Michael Smith Message-Id: <199612091038.VAA09371@genesis.atrad.adelaide.edu.au> Subject: Re: need help with a PC CARD NE2000 clone... In-Reply-To: <199612090927.BAA00316@precipice.shockwave.com> from Paul Traina at "Dec 9, 96 01:27:36 am" To: pst@shockwave.com (Paul Traina) Date: Mon, 9 Dec 1996 21:08:21 +1030 (CST) Cc: mobile@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Paul Traina stands accused of saying: > I'm at IETF and I've just brought up -current on my laptop and am > running into a bit of a jam. pccardd is recognising my card and > configuration, but then giving me an allocation error. Are you using stock -current. or have you added the PAO patches over the top? > Sigh. 2 days getting FreeBSD installed and now my brain is totally fried. > Can you/anyone shed some light? > > My .conf files reads: > > card "PMX " "PE-200" > config 0x1 "ed0" 11 > ether 0xff0 Try removing the "ether" line if you are running stock -current. This tells the PAO code to look in the CIS for the hardware address, while my modifications to the 'ed' driver dig it out from the normal location hung off the 8390 as per the NE-2000. > When I insert the card: > > Code 240 not found I've never seen this message before. Try paring your /etc/pccardd.conf file right down to the bone, in case this is a syntax error there. > I've set up ed0 and ed1 in my kernel config as follows (just in case the > card wanted to be at fixed places or have fixed irq's): As long as you have a message coming up after the 'ed0' signon saying "pccard driver ed0 added", there's a free 'ed' device for the card probe to attach to. > Version = 4.1, Manuf = [PMX ],card vers = [PE-200] That's the only really critical bit at this point, and it looks OK. You could also look at the ed_probe_pccard() function in /sys/i386/isa/if_ed.c, and add a few quick debugging printfs to see whether the NE2000 probe is being called and whether it is finding the card. Also check that the resources you advertise at the top of /etc/pccardd.cond actually match those available in your system. Keep in touch 8) -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[