From owner-freebsd-wireless@FreeBSD.ORG Mon Dec 12 14:20:52 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 111C8106564A for ; Mon, 12 Dec 2011 14:20:52 +0000 (UTC) (envelope-from francesco.rossi0@alice.it) Received: from smtp209.alice.it (smtp209.alice.it [82.57.200.105]) by mx1.freebsd.org (Postfix) with ESMTP id 947B98FC0C for ; Mon, 12 Dec 2011 14:20:51 +0000 (UTC) Received: from [192.168.0.3] (79.7.187.209) by smtp209.alice.it (8.6.023.02) (authenticated as francesco.rossi0) id 4ECA624F02A82A34 for freebsd-wireless@freebsd.org; Mon, 12 Dec 2011 15:20:50 +0100 Message-ID: <4EE60DC1.8090806@alice.it> Date: Mon, 12 Dec 2011 15:20:49 +0100 From: Francesco Rossi User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:8.0) Gecko/20111123 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-wireless@freebsd.org References: <4EE60B0B.7000106@alice.it> <4EE60D64.50307@alice.it> In-Reply-To: <4EE60D64.50307@alice.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: freebsd 9 rc2 and Atheros ar5413 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2011 14:20:52 -0000 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 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 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 >