kern/122749: cardbus problem on IBM Thinkpad T60P

Oliver w00d00 at gmail.com
Mon Apr 14 16:20:04 UTC 2008


>Number:         122749
>Category:       kern
>Synopsis:       cardbus problem on IBM Thinkpad T60P
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 14 16:20:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Oliver
>Release:        6.3 and 7.0 Current
>Organization:
none
>Environment:
FreeBSD testbsd 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
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 0, 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 0, 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
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list