freebsd 9 rc2 and Atheros ar5413

Adrian Chadd adrian.chadd at gmail.com
Mon Dec 12 14:52:36 UTC 2011


CAn you please add in:

options ATH_DEBUG
options AH_DEBUG
options ATH_DIAGAPI

then add this to /boot/loader.conf:

hw.ath.hal.debug=0xffffffff

and then email me the resultant kernel messages from bootup?

Please ensure you compile this into your kernel rather than having it
loaded as a module. I think PCBSD 9.0 compiles this as a module, and
the kernel options won't appear in the module build.

Thanks,


Adrian

On 12 December 2011 06:20, Francesco Rossi <francesco.rossi0 at alice.it> wrote:
> On 12.12.2011 15:19, Francesco Rossi wrote:
>>
>> Hello and thanks in advance for your attention.
>> I am new to FreeBSD, but I must say that I love it. I am in Florence and I
>> apologize if my English is not quite correct, but I ask your help please. I
>> have a problem with my wireless card atheros ar5413.
>> I'm using FreeBSD 9 RC2, I tried PC-BSD RC2, very convenient to quickly
>> get a working desktop, but the kernel at boot gives me this error:
>>
>> ath0: mem <Atheros 5413> 0xfdee0000 0xfdeeffff irq 16 at device-4.0 on
>> pci2
>> ath0: unable to attach hardware; HAL status 14
>> device_attach: ath0 attach returned 6
>>
>> The result of pciconf-lbcv on the wireless card is as follows:
>>
>> ath0 @ pci0: 2:4:0: class = 0x020000 card = 0x500111ad chip rev = 0x01 hdr
>> = 0x001b168c = 0x00
>>     vendor = 'Atheros Communications Inc.'
>>     device = 'AR5413 802.11abg NIC'
>>     class = network
>>     subclass = ethernet
>>     bar [10] = type Memory, range 32, base 0xfdee0000, size 65536, enabled
>>     Chapter 01 [44] = D0 D3 current powerspec 2 Supports D0
>>
>>
>>
>> I went and checked the file GENERIC kernel configuration parameters:
>>
>>           device ath
>>           device ath_hal
>>           options AH_SUPPORT_AR5416
>>           device ath_rate_sample
>>           device wlan
>> I added
>>
>>           device wlan
>>
>> It was not there and instead I removed this line:
>>
>>           device ath_pci
>>
>> Then I recompiled the kernel and the warning no longer appears at startup:
>>
>> ath0: mem <Atheros 5413> 0xfdee0000 0xfdeeffff irq 16 at device-4.0 on
>> pci2
>> ath0: unable to attach hardware; HAL status 14
>> device_attach: ath0 attach returned 6
>> But the wireless interface is still not recognized.
>>
>> If I add back the following line:
>>  device ath_pci
>>
>> and recompile the kernel, then start the message
>>
>> ath0 attach returned 6.
>>
>> After this attempt, I tried removing and adding the following lines in
>> loader.conf:
>>
>> if_ath_load = "YES"
>> if_alc_load = "YES"
>> if_ath_pci_load = "YES"
>>
>>
>> but it does not solve the problem.
>> Help me please
>>
>
> _______________________________________________
> 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