From owner-freebsd-questions@FreeBSD.ORG Fri Dec 10 07:52:41 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE40216A4CE for ; Fri, 10 Dec 2004 07:52:41 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4045443D48 for ; Fri, 10 Dec 2004 07:52:40 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id iBA7qWYs014150 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 9 Dec 2004 23:52:32 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id iBA7qVQE014147; Thu, 9 Dec 2004 23:52:31 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Thu, 9 Dec 2004 23:52:31 -0800 From: "Loren M. Lang" To: Jorn Argelo Message-ID: <20041210075231.GD32126@alzatex.com> References: <20041209074943.GA32126@alzatex.com> <20041209090252.M75753@wcborstel.nl> <20041209145821.GC32126@alzatex.com> <20041209204912.M55795@wcborstel.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20041209204912.M55795@wcborstel.nl> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: "Loren M. Lang" cc: questions@freebsd.org Subject: Re: RTL8139 Carbus Card fails to activate X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 07:52:42 -0000 On Thu, Dec 09, 2004 at 09:51:09PM +0100, Jorn Argelo wrote: > On Thu, 9 Dec 2004 06:58:21 -0800, Loren M. Lang wrote > > On Thu, Dec 09, 2004 at 10:05:30AM +0100, Jorn Argelo wrote: > > > On Wed, 8 Dec 2004 23:49:43 -0800, Loren M. Lang wrote > > > > I sent a request for help on this problem earlier, but with no luck= =20 > > > > in solving it. Now that I have some more information about it and = a=20 > > > > better understanding I hope this problem can be fixed. I have a=20 > > > > 10/100 fast ethernet carbus card that uses the realtek 8139 chipset= =20 > > > > that I'd like to use with FreeBSD. I have 5.3-RELEASE installed on= =20 > > > > a PIII Celeron in a Compaq Presario Laptop. The card is reconized= =20 > > > > and the rl driver seems to load, but fails to map the card's memory= =20 > > > > or i/o ports. Here is the appropriate kernel messages: > > > >=20 > > > > cbb alloc res fail > > > > cardbus0: Can't get memory for IO ports > > > > cbb alloc res fail > > > > re0: couldn't map ports/memory > > > > cbb alloc res fail > > > > rl0: couldn't map ports/memory > > > > cardbus0: at device 0.0 (no driver attached) > > > > cbb0: CardBus card activation failed > > >=20 > > > Well, if you ask me, your card is simply not supported by the rl or t= he=20 > re=20 > > > driver (Correct me if I'm wrong). Or your card is broken. Can you con= firm=20 > that=20 > > > the card is still 100% functional? > >=20 > > A few months ago I tried getting this card working and couldn't, before > > then and after then it's been used in a linux laptop just fine with the > > rtl8139 and 8130too drivers. Now I just traded it with the linux laptop > > again and it still doesn't work with freebsd. >=20 > I don't think that the Linux and FreeBSD drivers for the realtek cards ar= e=20 > quite the same :) After all, they have to talk to different kernels. So I= =20 > still think that your card is simply not supported by the drivers FreeBSD= =20 > provides. >=20 I wasn't saying that since Linux supports it, FreeBSD should too, but I was just confirming that the card is 100% functional. The annoying part is that they're both open source oses, but I can't just copy code or model it after the other without violating a license or two. If I didn't have that to worry about, I could probably get the card to work pretty easily. > >=20 > > >=20 > > > Cheers, > > >=20 > > > Jorn > > >=20 > > > >=20 > > > > Intrestingly, it looks like two different realtek drivers are tryin= g=20 > > > > to access it, re and rl. Can this cause a problem and is there a= =20 > > > > way to determine the correct driver for it? I think rl is the one = I=20 > > > > need. Here's pciconf -vl for the card: > > > >=20 > > > > none3@pci2:0:0: class=3D0x020000 card=3D0x813910ec chip=3D0x813910e= c rev=3D0x10 > > > > hdr=3D0x00 > > > > vendor =3D 'Realtek Semiconductor' > > > > device =3D 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter' > > > > class =3D network > > > > subclass =3D ethernet > > > >=20 > > > > Also, /dev/card0 does not exist, is this a legacy item from 4.x and > > > > earlier. If so, then pccardd and pccardc are also no longer needed? > > > >=20 > > > > It seems like somewhere I saw a similar problem with another cardbus > > > > card and the solution was to set some sysctl like allow_unsupported > > > > something or another in the loader at boot. > > > >=20 > > > > --=20 > > > > I sense much NT in you. > > > > NT leads to Bluescreen. > > > > Bluescreen leads to downtime. > > > > Downtime leads to suffering. > > > > NT is the path to the darkside. > > > > Powerful Unix is. > > > >=20 > > > > Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc > > > > Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C > > > >=20 > > > > _______________________________________________ > > > > freebsd-questions@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" > >=20 > > --=20 > > I sense much NT in you. > > NT leads to Bluescreen. > > Bluescreen leads to downtime. > > Downtime leads to suffering. > > NT is the path to the darkside. > > Powerful Unix is. > >=20 > > Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc > > Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C > >=20 > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= .org" --=20 I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C =20