Bug 122749 - [cardbus] cardbus problem on IBM Thinkpad T60P
Summary: [cardbus] cardbus problem on IBM Thinkpad T60P
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-14 17:20 UTC by Oliver
Modified: 2017-08-27 04:27 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver 2008-04-14 17:20:03 UTC
I tested 2 pcmcia cards on 3 different laptops with the exact same default installation (minimal).

The cards are:
Ubiquiti SRC Atheros 5212 Wireless Adapter
Sierra Wireless, AC850, 3G Network Adapter

On a T61p and on a Fujitsu laptop after plugin the Ubiquiti Card following is printed:

pcib1: requested memory range 0xd0200000-0xd02fffff: good
cbb0: Opening memory:
cbb0: Normal: 0xd0220000-0xd022ffff
unknown: Lazy allocation of 0x10000 bytes rid 0x10 type 3 at 0xd0220000
cbb0: Opening memory:
	map[10]: type Memory, range 32, base r, size 16, enabled
pcib1: requested memory range 0xd0200000-0xd02fffff: good
found->	vendor=0x168c, dev=0x0013, revid=0x01
	domain=0, bus=2, slot=0, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0002, statreg=0x0290, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x0a (2500 ns), maxlat=0x1c (7000 ns)
	intpin=a, irq=11
	powerspec 2  supports D0 D3  current D0
ath0: <Atheros 5212> mem 0xd0220000-0xd022ffff irq 11 at device 0.0 on cardbus0
ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xd0220000
cbb0: Opening memory:
cbb0: Normal: 0xd0220000-0xd022ffff
ath0: [MPSAFE]
ath0: [ITHREAD]
ath0: hal channel 2412/a0 -> 1
ath0: hal channel 2412/c0 -> 1
ath0: hal channel 2417/a0 -> 2
ath0: hal channel 2417/c0 -> 2
ath0: hal channel 2422/a0 -> 3
ath0: hal channel 2422/c0 -> 3
ath0: hal channel 2427/a0 -> 4
ath0: hal channel 2427/c0 -> 4
ath0: hal channel 2432/a0 -> 5
ath0: hal channel 2432/c0 -> 5
ath0: hal channel 2437/a0 -> 6
ath0: hal channel 2437/c0 -> 6
ath0: hal channel 2437/d0 -> 6
ath0: hal channel 2442/a0 -> 7
ath0: hal channel 2442/c0 -> 7
ath0: hal channel 2447/a0 -> 8
ath0: hal channel 2447/c0 -> 8
ath0: hal channel 2452/a0 -> 9
ath0: hal channel 2452/c0 -> 9
ath0: hal channel 2457/a0 -> 10
ath0: hal channel 2457/c0 -> 10
ath0: hal channel 2462/a0 -> 11
ath0: hal channel 2462/c0 -> 11
ath0: hal channel 5180/140 -> 36
ath0: hal channel 5200/140 -> 40
ath0: hal channel 5200/150 -> 40
ath0: hal channel 5210/2150 -> 42
ath0: hal channel 5220/140 -> 44
ath0: hal channel 5240/140 -> 48
ath0: hal channel 5240/150 -> 48
ath0: hal channel 5250/2150 -> 50
ath0: hal channel 5260/140 -> 52
ath0: hal channel 5280/140 -> 56
ath0: hal channel 5280/150 -> 56
ath0: hal channel 5290/2150 -> 58
ath0: hal channel 5300/140 -> 60
ath0: hal channel 5320/140 -> 64
ath0: hal channel 5745/140 -> 149
ath0: hal channel 5760/2150 -> 152
ath0: hal channel 5765/140 -> 153
ath0: hal channel 5765/150 -> 153
ath0: hal channel 5785/140 -> 157
ath0: hal channel 5800/2150 -> 160
ath0: hal channel 5805/140 -> 161
ath0: hal channel 5805/150 -> 161
ath0: hal channel 5825/140 -> 165
ath0: using obsoleted if_watchdog interface
ath0: bpf attached
ath0: Ethernet address: 00:15:6d:53:f8:12
ath0: bpf attached
ath0: bpf attached
ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
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: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: sturboA rates: 
ath0: mac 5.9 phy 4.3 radio 3.6
ath0: Use hw queue 1 for WME_AC_BE traffic
ath0: Use hw queue 0 for WME_AC_BK traffic
ath0: Use hw queue 2 for WME_AC_VI traffic
ath0: Use hw queue 3 for WME_AC_VO traffic
ath0: Use hw queue 8 for CAB traffic
ath0: Use hw queue 9 for beacons

and with ifconfig we see it's ok

ath0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether 00:15:6d:53:f8:12
	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
	status: no carrier
	ssid "" channel 1 (2412 Mhz 11b)
	authmode OPEN privacy OFF txpower 50 bmiss 7 scanvalid 60 bgscan
	bgscanintvl 300 bgscanidle 250 roam:rssi11b 7 roam:rate11b 1 burst
	bintval 0

on the T60p the message is:

pcib6: requested memory range 0x88000000-0xffffffff: good
cbb0: Opening memory:
cbb0: Normal: 0xbfed0000-0xbfedffff
unknown: Lazy allocation of 0x10000 bytes rid 0x10 type 3 at 0xbfed0000
cardbus0: Expecting link target, got 0xa
cbb0: Opening memory:
	map[10]: type Memory, range 32, base r, size 16, enabled
pcib6: requested memory range 0x88000000-0xffffffff: good
found->	vendor=0x168c, dev=0x0013, revid=0x01
	domain=0, bus=22, slot=0, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0002, statreg=0x0290, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x0a (2500 ns), maxlat=0x1c (7000 ns)
	intpin=a, irq=16
	powerspec 2  supports D0 D3  current D0
ath0: <Atheros 5212> mem 0xbfed0000-0xbfedffff irq 16 at device 0.0 on cardbus0
ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xbfed0000
cbb0: Opening memory:
cbb0: Normal: 0xbfed0000-0xbfedffff
ath0: [MPSAFE]
ath0: [ITHREAD]
ath0: unable to attach hardware; HAL status 13


For the Sierra Wireless Adapter the Output on the two working laptops is:

pcib1: pccard0 requested memory range 0xd0200000-0xd02fffff: good
pccard0: using CIS quirks for Sierra Wireless, AC850, 3G Network Adapter, R1
pccard0: CIS version PC Card Standard 7.0
pccard0: CIS info: Sierra Wireless, AC850, 3G Network Adapter, R1
pccard0: Manufacturer code 0x192, product 0x710
pccard0: function 1: serial port, ccr addr 700 mask 73
pccard0: function 1, config table entry 34: I/O card; irq mask 3fbc; iomask 0, iospace 3e8-3ef; io8 irqlevel
pcib1: pccard0 requested memory range 0xd0200000-0xd02fffff: good
uart0: <Sierra Wireless AC850> at port 0x3e8-0x3ef irq 11 function 1 config 34 on pccard0
uart0: [FILTER]
uart0: fast interrupt
interrupt storm detected on "irq11:"; throttling interrupt source

and on the T60p it's:

pcib6: pccard0 requested memory range 0x88000000-0xffffffff: good
CIS is too long -- truncating
pccard0: Card has no functions!
cbb0: PC Card card activation failed
pcib6: pccard0 requested memory range 0x88000000-0xffffffff: good
CIS is too long -- truncating
pccard0: Card has no functions!
cbb0: PC Card card activation failed

Interesting is that this happens only on the T60p as well with a 6.3 minimal installation as well as a 7.0 minimal installation.
The same installation on other laptops works just like a charm.

How-To-Repeat: Just insert a pcmcia card.
I think it will be the same problem with other cards as well.

I found another bug description on a forum maybe it can help for more informations:
http://www.nabble.com/support-for-Proxim-Silver-wifi-card-td15755775.html
Comment 1 Josh Paetzel <josh@tcbug.org> 2008-04-14 17:36:37 UTC
I have a T60p, I've run 7.0-RC4, 7.0-RELEASE, and 6.3-RELEASE on it.  I use a 
pair of cardbus cards, one is a netgear atheros based wireless NIC and the 
other is a pantech px-500 EVDO card.  I've had some USB trouble with the 
pantech (it has a usb modem on it) but none whatsoever with the atheros 
wireless.

I can post dmesg or other output if needed.

-- 
Thanks,

Josh Paetzel

PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB
Comment 2 Oliver 2008-04-15 14:49:04 UTC
Hi Josh

I borrowed an Netgear card with the atheros 5212 chip to test.
on the two other laptops it's working on the T60p the output is the same as
for the other cards:

pcib6: requested memory range 0x88000000-0xffffffff: good
cbb0: Opening memory:
cbb0: Normal: 0xbfed0000-0xbfedffff
unknown: Lazy allocation of 0x10000 bytes rid 0x10 type 3 at 0xbfed0000
cardbus0: Expecting link target, got 0xa
cbb0: Opening memory:
        map[10]: type Memory, range 32, base r, size 16, enabled
pcib6: requested memory range 0x88000000-0xffffffff: good
found-> vendor=0x168c, dev=0x0013, revid=0x01
        domain=0, bus=22, slot=0, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0002, statreg=0x0290, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x0a (2500 ns), maxlat=0x1c (7000 ns)
        intpin=a, irq=16
        powerspec 2  supports D0 D3  current D0
ath0: <Atheros 5212> mem 0xbfed0000-0xbfedffff irq 16 at device 0.0 on
cardbus0
ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xbfed0000
cbb0: Opening memory:
cbb0: Normal: 0xbfed0000-0xbfedffff
ath0: [MPSAFE]
ath0: [ITHREAD]
ath0: unable to attach hardware; HAL status 13
cbb0: Opening memory:
device_attach: ath0 attach returned 6

and the pciconf output:

ath0@pci0:22:0:0:       class=0x020000 card=0x5b001385 chip=0x0013168c
rev=0x01 hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = 'AR5212, AR5213 802.11a/b/g Wireless Adapter'
    class      = network
    subclass   = ethernet

I really don't get it, today I installed again FreeBSD 7.0 CURRENT on a T61p
and it's working plug and play :/

What is interesting is also, that it was working once, I installed on my
t60p FreeBSD 6.1 and then just updated/upgraded till I ended up with 7.0
CURRENT, but I wanted to reinstall my system now to have again a clean
installation and since I installed it out of box the cardbus is not working
anymore. If I boot on the Windows partition everything is working. (so my
cardbus is not broken :) )

Do you have any special settings in loader.conf, or in any hints file ?

greets
Oliver

On Mon, Apr 14, 2008 at 4:36 PM, Josh Paetzel <josh@tcbug.org> wrote:

> I have a T60p, I've run 7.0-RC4, 7.0-RELEASE, and 6.3-RELEASE on it.  I
> use a
> pair of cardbus cards, one is a netgear atheros based wireless NIC and the
> other is a pantech px-500 EVDO card.  I've had some USB trouble with the
> pantech (it has a usb modem on it) but none whatsoever with the atheros
> wireless.
>
> I can post dmesg or other output if needed.
>
> --
> Thanks,
>
> Josh Paetzel
>
> PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB
>