Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2001 00:37:49 +0000
From:      Scott Mitchell <scott.mitchell@mail.com>
To:        Oscar Ricardo Silva <oscars@mail.utexas.edu>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Xircom CEM56 with FreeBSD 4.4
Message-ID:  <20011105003749.A462@localhost>
In-Reply-To: <5.1.0.14.2.20011104174808.00a2ab80@mail.utexas.edu>; from oscars@mail.utexas.edu on Sun, Nov 04, 2001 at 06:07:49PM -0600
References:  <5.1.0.14.2.20011104174808.00a2ab80@mail.utexas.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 04, 2001 at 06:07:49PM -0600, Oscar Ricardo Silva wrote:
> I'm attempting to load FreeBSD 4.4 on my Compaq Armada 6500 with a built-in 
> Xircom 10/100 + 56K modem CEM56 card.  Just want to make clear that this 
> card is built-in so I can't pull it out and look at any information that 
> may be written on it.  I found a site with drivers for the Xircom cards 
> under FreeBSD:
> 
> <http://ukug.uk.freebsd.org/~scott/xe_drv/>;

And as it says on that page, the driver has been part of the standard
FreeBSD distribution for a while now, so you don't need to recompile
anything.  The xe driver is built into the GENERIC kernel (on the 4.2 and
4.3 machines I have here; I believe the same is true for 4.4) so if the
rest of your PCCARD system is working the card should at least be probed.

> But I'm having some problems compiling it into the kernel.  For one, 
> if_xe.c has a reference to bpfilter.h which I believe is something from the 
> FreeBSD 3.x days.

Correct.  You need to go back to the 4.4 GENERIC kernel or re-install the
4.4 kernel source and build a new one...

> I do have pccard services being loaded at startup and it does try to load 
> the driver.  Here is what I see:
> 
> Nov  4 13:49:53 drfate pccardd[85]: Card "Xircom"("CreditCard Ethernet 
> 10/100 + Modem 56") [CEM56] [1.00] matched "Xircom" ("CreditCard Ethernet 
> 10/100 + Modem 56") [(null)] [(null)]
> Nov  4 13:49:53 drfate pccardd[85]: Using I/O addr 0x2e8, size 8
> Nov  4 13:49:53 drfate pccardd[85]: Setting config reg at offs 0xff80 to 
> 0x67, Reset time = 50 ms
> Nov  4 13:49:58 drfate pccardd[85]: Assigning I/O window 0, start 0x2e8, 
> size 0x8 flags 0x7
> Nov  4 13:49:58 drfate pccardd[85]: Assign xe0, io 0x2e8-0x2ef, mem 0x0, 0 
> bytes, irq 11, flags 0
> Nov  4 13:49:58 drfate pccardd[85]: driver allocation failed for 
> Xircom(CreditCard Ethernet 10/100 + Modem 56): Device not configured
> Nov  4 13:49:58 drfate pccardd[85]: pccardd started

It seems to be trying to do the right thing (should work just fine on IRQ
11, so I'd change the 3 back to '?' in your config line).  It's not
immediately clear why it's not working... if you get the same behaviour
with the 4.4 GENERIC kernel it might be worth posting the output of
'pccardc dumpcis' in case there's anything odd about this particular card.
The CEM56/REM56 are usually pretty good, but I've never encountered a
built-in one before.

Cheers,

	Scott

-- 
===========================================================================
Scott Mitchell          | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England      | 0x54B171B9 |  don't get sucked into jet engines"
scott.mitchell@mail.com | 0xAA775B8B |      -- Anon

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011105003749.A462>