Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2008 10:59:51 -0700
From:      Sam Leffler <sam@errno.com>
To:        Petr Holub <hopet@ics.muni.cz>
Cc:        freebsd-hardware@freebsd.org
Subject:   Re: support for Proxim Silver wifi card
Message-ID:  <47E15497.7060900@errno.com>
In-Reply-To: <018401c8899e$206076d0$61216470$@muni.cz>
References:  <003201c87aba$1ecdd210$5c697630$@muni.cz> <47C86BF5.8010306@errno.com> <018401c8899e$206076d0$61216470$@muni.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Hal status 13 (HAL_ENOTSUPP from ah.h) means the info read from the card 
at attach indicated a device that's not supported.  Given the pci device 
id I am guessing the card really is supported though vendors sometimes 
re-use old pci device id's with newer parts (0x13 is a generate 5212 
identified).  If the hal simply couldn't read the necessary registers 
you could also get this error.  If you can plug this card into another 
system and it works then you know it's an issue w/ support on your 
laptop.  I happen to have a t61p and just tried a bunch of different 
cards (including one w/ this device id) and all the cards I expected to 
work so the best I can suggest is you try the card in another laptop.

I don't have one of these cards to test but I do have cards w/ just 
about every Atheros part (except for the newest 11n parts).

     Sam

Petr Holub wrote:
> Sam,
>
> any clues about the problem below? I'm starting to suspect the
> problem might actually be something around CardBus, as others
> have reported similar problems:
> http://www.mail-archive.com/freebsd-stable@freebsd.org/msg91307.html
> I'm also using T61p laptop. Maybe something that prevents the cards
> from being init'd properly?
>
> Petr
>
> ================================================================
>                             Petr Holub
> CESNET z.s.p.o.                       Supercomputing Center Brno
> Zikova 4                             Institute of Compt. Science
> 162 00 Praha 6, CZ                            Masaryk University
> Czech Republic                     Botanicka 68a, 60200 Brno, CZ 
> e-mail: Petr.Holub@cesnet.cz               phone: +420-549493944
>                                              fax: +420-541212747
>                                        e-mail: hopet@ics.muni.cz
>
>
>   
>> -----Original Message-----
>> From: Petr Holub [mailto:hopet@ics.muni.cz]
>> Sent: Thursday, March 06, 2008 1:52 PM
>> To: 'Sam Leffler'
>> Cc: 'freebsd-hardware@freebsd.org'
>> Subject: RE: support for Proxim Silver wifi card
>>
>>     
>>> It should work (devid 0x13 is supported by the hal in cvs).  You can try
>>> the test hal at http://www.freebsd.org/~sam.  If that works please let
>>> me know what it identifies the mac+phy as.
>>>       
>> It took as long as till today for me to get my hands back on that
>> HW. What I did I took HAL from your website, replaced
>> /usr/src/sys/contrib/dev/ath
>> directory and did
>> make buildkernel && make install kernel
>> (the machine is normal 7.0-RELEASE so I've build standard GENERIC
>> kernel with only HAL changed)
>>
>> The cards (this time I did the test with both SILVER and GOLD
>> version of that Proxim card) obviously don't work even with this HAL.
>> I've tried to gather as much information as possible - see below.
>> Let me know if you need something more.
>>
>> Thanks a lot,
>> Petr
>>
>> ============================================================
>> PROXIM Gold:
>> ============================================================
>>
>> info:
>>
>> Proxim GOLD 802.11a/b/g ComboCard
>> Model: 8480-WD
>> MAC-Address: 0020A64C5F02
>> SN: 03MT20004729
>> P/N: 64730/A
>>
>> dmesg (verbose):
>>
>> pcib7: requested memory range 0x88000000-0xffffffff: good
>> cbb0: Opening memory:
>> cbb0: Normal: 0xbfeb0000-0xbfebffff
>> unknown: Lazy allocation of 0x10000 bytes rid 0x10 type 3 at 0xbfeb0000
>> cardbus0: Expecting link target, got 0x0
>> cbb0: Opening memory:
>>         map[10]: type Memory, range 32, base 0, size 16, enabled
>> pcib7: 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 0xbfeb0000-0xbfebffff irq 16 at device 0.0 on
>> cardbus0
>> ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xbfeb0000
>> cbb0: Opening memory:
>> cbb0: Normal: 0xbfeb0000-0xbfebffff
>> ath0: [MPSAFE]
>> ath0: [ITHREAD]
>> ath0: unable to attach hardware; HAL status 13
>> cbb0: Opening memory:
>> device_attach: ath0 attach returned 6
>>
>>
>> pciconf -lvc:
>>
>> ath0@pci0:22:0:0:       class=0x020000 card=0x0a1014b7 chip=0x0013168c
>> rev=0x01 hdr=0x00
>>     vendor     = 'Atheros Communications Inc.'
>>     device     = 'AR5212, AR5213 802.11a/b/g Wireless Adapter'
>>     class      = network
>>     subclass   = ethernet
>>
>> ============================================================
>> PROXIM Silver:
>> ============================================================
>>
>> info:
>>
>> Proxim SILVER 802.11a/b/g ComboCard
>> Model: 8481-WD
>> MAC-Address: 0020A64C713A
>> SN: 03MT21000304
>> P/N: 64738/A
>>
>> dmesg (verbose):
>>
>> pcib7: requested memory range 0x88000000-0xffffffff: good
>> cbb0: Opening memory:
>> cbb0: Normal: 0xbfeb0000-0xbfebffff
>> unknown: Lazy allocation of 0x10000 bytes rid 0x10 type 3 at 0xbfeb0000
>> cardbus0: Expecting link target, got 0x0
>> cbb0: Opening memory:
>>         map[10]: type Memory, range 32, base 0, size 16, enabled
>> pcib7: 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 0xbfeb0000-0xbfebffff irq 16 at device 0.0 on
>> cardbus0
>> ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xbfeb0000
>> cbb0: Opening memory:
>> cbb0: Normal: 0xbfeb0000-0xbfebffff
>> ath0: [MPSAFE]
>> ath0: [ITHREAD]
>> ath0: unable to attach hardware; HAL status 13
>> cbb0: Opening memory:
>> device_attach: ath0 attach returned 6
>>
>> pciconf -lvc:
>>
>> ath0@pci0:22:0:0:       class=0x020000 card=0xaa1014b7 chip=0x0013168c
>> rev=0x01 hdr=0x00
>>     vendor     = 'Atheros Communications Inc.'
>>     device     = 'AR5212, AR5213 802.11a/b/g Wireless Adapter'
>>     class      = network
>>     subclass   = ethernet
>>     
>
>
>   




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