From owner-freebsd-wireless@FreeBSD.ORG Mon Dec 12 14:52:35 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 D5EB4106566B for ; Mon, 12 Dec 2011 14:52:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 954BC8FC18 for ; Mon, 12 Dec 2011 14:52:35 +0000 (UTC) Received: by vbbfr13 with SMTP id fr13so6510540vbb.13 for ; Mon, 12 Dec 2011 06:52:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=iRl4E76gvvo47i1MlLctDPIGlYQO4y1qw1wUb+X/jNQ=; b=G51DOkP7TxFF+qyoKvnUuqmEcgUUOwdvNcKIcsmgYU6Osf3gfsXHtyfQKo9VrpMpQa etgGZ88XSIl7YgEW8utYxzTAh9u1wGlf7GBf5bKsQSqIYxo6TdXaumyCC96dcFOXD147 5m1jx8IUtyXmYom+dbJYxz7aCEK2pITCMMyVk= MIME-Version: 1.0 Received: by 10.52.67.111 with SMTP id m15mr9823230vdt.96.1323701554787; Mon, 12 Dec 2011 06:52:34 -0800 (PST) Received: by 10.52.26.50 with HTTP; Mon, 12 Dec 2011 06:52:34 -0800 (PST) In-Reply-To: <4EE60DC1.8090806@alice.it> References: <4EE60B0B.7000106@alice.it> <4EE60D64.50307@alice.it> <4EE60DC1.8090806@alice.it> Date: Mon, 12 Dec 2011 06:52:34 -0800 Message-ID: From: Adrian Chadd To: Francesco Rossi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org 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:52:36 -0000 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 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 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 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"