Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2008 10:18:49 -0400
From:      "Edward Harvey" <freebsd-hardware@nedharvey.com>
To:        <freebsd-hardware@freebsd.org>
Subject:   Strange cardbus problem
Message-ID:  <006901c8b828$ecdda350$c698e9f0$@com>

next in thread | raw e-mail | index | archive | help
I am running 
	FreeBSD pfSense.local 6.2-RELEASE-p11 FreeBSD 6.2-RELEASE-p11
On a laptop, with pcmcia network card.

During bootup, the card fails to initialize (details below).  But if I wait
till it finishes booting, and then I yank it out and shove it back in ...
then it works.

Maybe there's a simple way for me to solve this problem, like some command
that will disable and re-enable the cardbus?

Anyway, here are the full gory details:

Compaq nc6120
In BIOS:  disable as much as I can, which ain't much.  Usb legacy, pointing
device, WLAN.
In BIOS:  parallel port set to "standard" which is as close to "disable" as
I can get.

Cardbus: D-Link 10/100 DFE-690TXD

During boot, I get this:
    cbb0: <PCI-CardBus Bridge> mem 0xd0001000-0xd0001fff irq 10 at device
6.0 on pci2
    cardbus0: <CardBus bus> on cbb0
    pccard0: <16-bit PCCard bus> on cbb0
    cbb1: <PCI-CardBus Bridge> mem 0xd0002000-0xd0002fff irq 10 at device
6.1 on pci2
    cardbus1: <CardBus bus> on cbb1
    pccard1: <16-bit PCCard bus> on cbb1
    cbb alloc res fail
    cardbus0: Can't get memory for IO ports
    cbb alloc res fail
    rl0: couldn't map ports/memory
    cbb alloc res fail
    rl0: couldn't map ports/memory
    cardbus0: <network, ethernet> at device 0.0 (no driver attached)
Obviously, if I attempt to do anything with the network card, it is not
present.

If I simply yank out the card and shove it back in, I get this:
    rl0: <D-Link DFE-690TXD 10/100BaseTX> port 0x4000-0x40ff mem
0xd0011000-0xd00111ff 
         irq 10 at device 0.0 on cardbus0
    miibus1: <MII bus> on rl0
    rlphy0: <RealTek internal media interface on miibus1
    rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
    rl0: Ethernet address: 00:1c:40:eb:2c:0a
Now the adapter works perfectly.

I'm trying to make this adapter function correctly at bootup, without me
physically touching it.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006901c8b828$ecdda350$c698e9f0$>