Strange cardbus problem

Edward Harvey freebsd-hardware at nedharvey.com
Sat May 17 14:47:44 UTC 2008


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.



More information about the freebsd-hardware mailing list