From owner-freebsd-wireless@FreeBSD.ORG Thu Nov 1 00:12:27 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 27EE0F95 for ; Thu, 1 Nov 2012 00:12:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id EAB368FC15 for ; Thu, 1 Nov 2012 00:12:26 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so1434829pbb.13 for ; Wed, 31 Oct 2012 17:12:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=adhGYcmxfiRN0N3T7WuFHQ2wN/kFB3/7oQrq11t+glk=; b=eJvtVTMkVENW5W1VZ3P/v/JOzPX6E6RDXXtGr+KPo+6Kn4Yra+/le6X9fsgoa/w5Kq o0H+r4OrghYj16hLCimmc8GZ3a2cISVbYzYs6ypILQqoeljRdkKBCpPWSsyvgWXPlzus hAMDy+BZoz4MrKUtwRbgS+LQwHRlfw1CK3o8wpjvLHq0p4oPUbCCEk8MaDnrtVAMG3Ah dyCqhUva8ZgF4PyqSLryBc8QmRwsBWDokpqleziYobf9yi0Aak3dQvb2uOZ610eMteME CUWay/eBXzPavpiylNS/b3pBR5uBnx1EXnmGcW2iba0qrqhfcxR1dA/3vMzE8P2FOsQZ lWnA== MIME-Version: 1.0 Received: by 10.68.232.131 with SMTP id to3mr118198614pbc.58.1351728746261; Wed, 31 Oct 2012 17:12:26 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.124.130 with HTTP; Wed, 31 Oct 2012 17:12:26 -0700 (PDT) In-Reply-To: <20121031233345.5659910E2D6@smtp.hushmail.com> References: <20121031233345.5659910E2D6@smtp.hushmail.com> Date: Wed, 31 Oct 2012 17:12:26 -0700 X-Google-Sender-Auth: Abbr4LBJHam6mGNyTFZvMFKSyRM Message-ID: Subject: Re: ath0: unable to attach hardware From: Adrian Chadd To: husyh@hush.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 01 Nov 2012 00:12:27 -0000 Hi, Thanks for this. Can you grab teh same information from Linux somehow? I'd like to see what address space the ath NIC is allocated. Thanks, Adrian On 31 October 2012 16:33, wrote: > Hello, > > I had a look at the PCI card. It looks like the manufacturer/OEM is "Anat= el". The following two strings are printed on the board: > WN5301A-H1-V02 > KN160562*7 > > There's a sticker on the card as well, showing > HP P/N: 5188-3742 > Vendor P/N: WN5301A-H1 > > I tried to search for these strings to see whether I could get more infor= mation about the chips used, but I didn't find anything that looked helpful= to me (but I don't know much about wireless hardware.) > > I tried to do a verbose boot of my 9.0-RELEASE amd64 install by adding th= e lines > boot_verbose=3D"YES" > kern.msgbufsize=3D"655360" > to /boot/loader.conf - the latter line because it seemed like /var/run/dm= esg.boot and the output of the dmesg program were incomplete, but even with= this line, I assume the output still does not contain the whole boot proce= ss. > > Also, I booted the 8.3-RELEASE i386 DVD, selected verbose boot, and once = the installed showed up, started a shell, saw that ath0 still was not attac= hed properly, and saved the output of dmesg (I hope this is what you wanted= when you told be to use a live CD. If not, please give me more detailed in= structions.) Booting 7.4-RELEASE i386 repeatedly results in a kernel segfau= lt. If you want, I can try other versions and/or install FreeBSD instead of= just working from the fixit shell, or try to re-download and burn 7.4-RELE= ASE i386. > > I attached the two dmesg outputs to this mail, since they are rather larg= e and I assume people don't want that lengthy e-mails on the mailing list (= please let me know if I'm wrong.) Additionally, in case the attachments get= stripped, they are accessible via the following URLs: > http://nopaste.info/fde038484e.html (/var/run/dmesg.boot of 9.0-RELEASE a= md64) > http://nopaste.info/93e73796cc.html (dmesg output of 8.3-RELEASE i386) > > Your help is very much apprechiated. > > > On 31 October 2012 at 10:18 PM, "Adrian Chadd" wrote= : >> >>On 31 October 2012 14:14, wrote: >> >>> ath0: mem 0xfdee0000-0xfdeeffff irq 16 at device >>4.0 on pci2 >>> ar5212ChipTest: address test failed addr: 0x00008000 - >>wr:0x00000000 !=3D rd:0xffffffff >>> ar5212Attach: hardware self-test failed >>> ath0: unable to attach hardware; HAL status 14 >>> device_attach: ath0 attach returned 6 >> >>Right, I wonder if that PCI address is actually valid. >> >>Are you able to do a verbose boot and record the dmesg to a file, >>and >>attach it here? >> >>Can you try an i386 live disk, see if it is any different? >> >>Maybe try 8.0 and 7.0-REL, see if it probe/attaches? The AR5413 >>support should have been there in 7.0. >> >>This is very likely a PCI bus reset/enumeration issue, rather than >>an >>ath(4) device issue. >> >>Thanks, >> >> >> >>Adrian