Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2011 06:52:34 -0800
From:      Adrian Chadd <adrian.chadd@gmail.com>
To:        Francesco Rossi <francesco.rossi0@alice.it>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: freebsd 9 rc2 and Atheros ar5413
Message-ID:  <CAJ-Vmomi4_ciZLs3BmxnQmOa4Ur4BHsC1H6bbLAmNdZZ0RVQFw@mail.gmail.com>
In-Reply-To: <4EE60DC1.8090806@alice.it>
References:  <4EE60B0B.7000106@alice.it> <4EE60D64.50307@alice.it> <4EE60DC1.8090806@alice.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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=3D0xffffffff

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@alice.it> wrot=
e:
> 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 =3D 0x020000 card =3D 0x500111ad chip rev =3D =
0x01 hdr
>> =3D 0x001b168c =3D 0x00
>> =A0 =A0 vendor =3D 'Atheros Communications Inc.'
>> =A0 =A0 device =3D 'AR5413 802.11abg NIC'
>> =A0 =A0 class =3D network
>> =A0 =A0 subclass =3D ethernet
>> =A0 =A0 bar [10] =3D type Memory, range 32, base 0xfdee0000, size 65536,=
 enabled
>> =A0 =A0 Chapter 01 [44] =3D D0 D3 current powerspec 2 Supports D0
>>
>>
>>
>> I went and checked the file GENERIC kernel configuration parameters:
>>
>> =A0 =A0 =A0 =A0 =A0 device ath
>> =A0 =A0 =A0 =A0 =A0 device ath_hal
>> =A0 =A0 =A0 =A0 =A0 options AH_SUPPORT_AR5416
>> =A0 =A0 =A0 =A0 =A0 device ath_rate_sample
>> =A0 =A0 =A0 =A0 =A0 device wlan
>> I added
>>
>> =A0 =A0 =A0 =A0 =A0 device wlan
>>
>> It was not there and instead I removed this line:
>>
>> =A0 =A0 =A0 =A0 =A0 device ath_pci
>>
>> Then I recompiled the kernel and the warning no longer appears at startu=
p:
>>
>> 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:
>> =A0device 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 =3D "YES"
>> if_alc_load =3D "YES"
>> if_ath_pci_load =3D "YES"
>>
>>
>> but it does not solve the problem.
>> Help me please
>>
>
> _______________________________________________
> freebsd-wireless@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or=
g"



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