[RELENG_5_2] Cardbus trouble

From: Michael Lestinsky <michael_at_lestinsky.de>
Date: Mon, 22 Dec 2003 23:00:14 +0100
Hi,

I just managed to bring my cardbus to life. Well sort of. There is one
Problem left: Cards are not properly detected. When booting with an
inserted card, they are gone from dmesg:

cbb0: <RF5C476 PCI-CardBus Bridge> at device 3.0 on pci2
start (88000000) < sc->membase (e0200000)
end (ffffffff) > sc->memlimit (e02fffff)
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pcib1: slot 3 INTA is routed to irq 10
cbb0: [MPSAFE]
cbb1: <RF5C476 PCI-CardBus Bridge> at device 3.1 on pci2
start (88000000) < sc->membase (e0200000)
end (ffffffff) > sc->memlimit (e02fffff)
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
pcib1: slot 3 INTB is routed to irq 10
cbb1: [MPSAFE]
...
cbb1: CardBus card activation failed

pullig out the card (a Netgear WG511T, but the behavior is the same for
other cards) and plugging it back:

start (88000000) < sc->membase (e0200000)
end (ffffffff) > sc->memlimit (e02fffff)
start (88000000) < sc->membase (e0200000)
end (ffffffff) > sc->memlimit (e02fffff)
ath0: <Atheros 5212> mem 0x88010000-0x8801ffff irq 10 at device 0.0 on cardbus1
start (88010000) < sc->membase (e0200000)
ath0: mac 5.6 phy 4.1 5ghz radio 4.5
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 802.11 address: 00:09:5b:89:f9:37

from now on I can pull the card and replug it as often as I want, it
always works. Only the first time after booting it doesn't. The system is
booting with "hw.pci.allow_unsupported_io_range=1" in /boot/loader.conf
otherwise it wouldn't work at all.

Thanks,
Michael
Received on Mon Dec 22 2003 - 14:29:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:35 UTC