ath(4) fails to attach

Adrian Chadd adrian at freebsd.org
Sat Apr 7 15:37:17 UTC 2012


Hi,

Not waking the chip up tends to be that the wrong resources were allocated.

Can you please post a verbose boot log from -HEAD and from a working
kernel version (likely something like FreeBSD-7?)


Adrian

On 7 April 2012 07:44, Sevan / Venture37 <venture37 at gmail.com> wrote:
> Hello,
> I tried a atheros chipset pcmcia NEC Aterm WL54AG card in my ThinkPad
> running head & found the driver doesn't attach, I built a new kernel with
> ATH_DEBUG, AH_DEBUG & ATH_DIAGAPI options set & set hw.ath.hal.debug to
> 0xffffffff in /boot/loader.conf (based on advice found in the archive of
> this list to other people experiencing issues).
> src was updated earlier today before kernel was rebuilt.
>
> output from pciconf
> none2 at pci0:6:0:0:       class=0x020000 card=0x8139821f chip=0x0013168c
> rev=0x01
> hdr=0x00
>    vendor     = 'Atheros Communications Inc.'
>    device     = 'Atheros AR5001X+ Wireless Network Adapter'
>    class      = network
>    subclass   = ethernet
>
>
> on inserting card, kernel reports:
>
> unknown: Lazy allocation of 0x10000 bytes rid 0x10 type 3 at 0xd4000000
> cbb0: Opening memory:
> cbb0: Normal: 0xd4000000-0xd400ffff
> cardbus0: Expecting link target, got 0xff
> cbb0: Opening memory:
> pcib3: allocated memory range (0xd4000000-0xd400ffff) for rid 10 of
> pci0:6:0:0
> unknown: Lazy allocation of 0x10000 bytes rid 0x10 type 3 at 0xd4000000
> cbb0: Opening memory:
> cbb0: Normal: 0xd4000000-0xd400ffff
> cardbus0: Expecting link target, got 0xff
> cbb0: Opening memory:
> cardbus0: Warning: Bogus CIS ignored
> found-> vendor=0x168c, dev=0x0013, revid=0x01
>        domain=0, bus=6, slot=0, func=0
>        class=02-00-00, hdrtype=0x00, mfdev=0
>        cmdreg=0x0002, statreg=0x8210, 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> irq 16 at device 0.0 on cardbus0
> pcib3: allocated memory range (0xd4000000-0xd400ffff) for rid 10 of ath0
> ath0: Lazy allocation of 0x10000 bytes rid 0x10 type 3 at 0xd4000000
> cbb0: Opening memory:
> cbb0: Normal: 0xd4000000-0xd400ffff
> ar5212Attach: sc 0xffffff80053f9000 st 0x1 sh 0xfffffe00d4000000
> ar5212SetPowerMode: AWAKE -> AWAKE (set chip )
> ar5212SetPowerMode: AWAKE -> AWAKE (set chip )
> ar5212SetPowerMode: AWAKE -> AWAKE (set chip )
> ar5212SetPowerMode: AWAKE -> AWAKE (set chip )
> ar5212ChipTest: address test failed addr: 0x00008000 - wr:0x00000000 !=
> rd:0xffffffff
> ar5212Attach: hardware self-test failed
> ar5212Detach:
> Detaching Ani
> ar5212SetPowerMode: AWAKE -> AWAKE (set chip )
> ar5212SetPowerMode: AWAKE -> AWAKE (set chip )
> ar5212MacStop:Failed to stop the MAC state 0x6
> ar5212SetPowerMode: AWAKE -> FULL-SLEEP (set chip )
> ath0: unable to attach hardware; HAL status 14
> cbb0: Opening memory:
> device_attach: ath0 attach returned 6
>
>
> Sevan
> _______________________________________________
> freebsd-wireless at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe at freebsd.org"


More information about the freebsd-wireless mailing list