Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 2003 23:00:14 +0100
From:      Michael Lestinsky <michael@lestinsky.de>
To:        freebsd-current@freebsd.org
Subject:   [RELENG_5_2] Cardbus trouble
Message-ID:  <20031222220014.GA659@mobi.lestinsky.de>

next in thread | raw e-mail | index | archive | help
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



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