Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Apr 2012 15:44:59 +0100
From:      Sevan / Venture37 <venture37@gmail.com>
To:        freebsd-wireless@freebsd.org
Subject:   ath(4) fails to attach
Message-ID:  <4F8052EB.5090007@gmail.com>

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



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