From owner-freebsd-wireless@FreeBSD.ORG Wed Oct 31 19:51:18 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 71C012FA for ; Wed, 31 Oct 2012 19:51:18 +0000 (UTC) (envelope-from husyh@hush.com) Received: from smtp10.hushmail.com (smtp10a.hushmail.com [65.39.178.239]) by mx1.freebsd.org (Postfix) with ESMTP id 49DE58FC0A for ; Wed, 31 Oct 2012 19:51:17 +0000 (UTC) Received: from smtp10.hushmail.com (smtp10a.hushmail.com [65.39.178.239]) by smtp10.hushmail.com (Postfix) with SMTP id 85D171B50C6 for ; Wed, 31 Oct 2012 19:20:43 +0000 (UTC) Received: from smtp.hushmail.com (w4.hushmail.com [65.39.178.50]) by smtp10.hushmail.com (Postfix) with ESMTP for ; Wed, 31 Oct 2012 19:20:43 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id 30F7C10E2D5; Wed, 31 Oct 2012 19:20:43 +0000 (UTC) MIME-Version: 1.0 Date: Wed, 31 Oct 2012 20:20:43 +0100 To: freebsd-wireless@freebsd.org Subject: ath0: unable to attach hardware From: husyh@hush.com Message-Id: <20121031192043.30F7C10E2D5@smtp.hushmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Wed, 31 Oct 2012 19:51:18 -0000 Hello, I'm new to FreeBSD. I decided to install 9.0-RELEASE (amd64) on a machine I have been given, which has a PCI WLAN card installed.After booting the newly installed system, I ran ifconfig, which however only shows fxp0, plip0 and lo0.I tried to google for users with similar problems and follow suggestions made by others in hopes to fix the problem. In the process, I compiled a new kernel with AH_DEBUG and ATH_DEBUG and created /boot/loader.conf with the two following lines:hw.ath.debug=1hw.ath.hal.debug=1 Since I do not have a network connection of the affected machine, I will only type in the part of the dmesg output which I guess could be relevant. If you want, I could try to find a USB drive or something similar to post the whole dmesg output. ath0: mem 0xfdee0000-0xfdeeffff irq 16 at device 4.0 on pci2ar5212ChipTest: address test failed addr: 0x00008000 - wr:0x00000000 != rd:0xffffffffar5212Attach: hardware self-test failedath0: unable to attach hardware; HAL status 14device_attach: ath0 attach returned 6 I tried a Ubuntu live-CD, which recognised the WLAN card and allowed me to connect to my network and browse the web. I don't know what I could do to solve this issue. I'm willing to try various things, especially since this machine is not in any way in productive use right now (and there is no valuable data stored either.) Being quite proficient in C and C++, I wouldn't mind if your suggestions involved me looking at some code and modifying it in some places. However, please keep in mind that, since I'm a new FreeBSD user, I'm have no idea about the inner workings of the FreeBSD code (although I had brief look at the ath sources prior to writing this mail.) Also, I don't know anything about programming hardware, and I don't know much about IEEE 802.11 either. I would be very thankful for all kinds of input. Please let me know if you need further information. From owner-freebsd-wireless@FreeBSD.ORG Wed Oct 31 21:13:37 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 7C9828C6 for ; Wed, 31 Oct 2012 21:13:37 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-da0-f54.google.com (mail-da0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4CDD48FC12 for ; Wed, 31 Oct 2012 21:13:37 +0000 (UTC) Received: by mail-da0-f54.google.com with SMTP id z9so887190dad.13 for ; Wed, 31 Oct 2012 14:13:36 -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; bh=uxjRyWwcZZgMs7tVAvMGLFnMQAcxCAyj+fIMlGUX3Fo=; b=cgNBi1vgeG+FpJmpCMEgJPpR5HwZW/+l9URAwP12AKGd/BT2Uc7x/BH5y6mzhChj1e FKQqUa80QfLO0EiXnUrlSzLHDQYXoWMGxz2iCGt5BRcv94qc/gzNUnL0I1MHX+HuEm00 +m21zs8Obd8un5HRb0ro2Kk5PQcTWcHjSE6HCz3I8KmsZeg2UPr13P1HCoeuN0Yx9qOY eCry9u19DkGyGryCrluW4KbuUy5Gb0m4s+CuoSVREbVFo5x+ZvP588NmYMtGGW+lRt0O UzMZaYjXNDWfd/e4GLAP7dhuL3zTDwRbn3fhJfrrIh5qI+xwVULDoUom4xDx3r8Lfdd0 Ucnw== MIME-Version: 1.0 Received: by 10.66.76.162 with SMTP id l2mr75484441paw.36.1351718016587; Wed, 31 Oct 2012 14:13:36 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.124.130 with HTTP; Wed, 31 Oct 2012 14:13:36 -0700 (PDT) In-Reply-To: <20121031192043.30F7C10E2D5@smtp.hushmail.com> References: <20121031192043.30F7C10E2D5@smtp.hushmail.com> Date: Wed, 31 Oct 2012 14:13:36 -0700 X-Google-Sender-Auth: tOuGKyOAgjBY45761f1tvXV6xSw Message-ID: Subject: Re: ath0: unable to attach hardware From: Adrian Chadd To: husyh@hush.com Content-Type: text/plain; charset=ISO-8859-1 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: Wed, 31 Oct 2012 21:13:37 -0000 Hi, Which chip is it? Chances are if there's issues like this, it's to do with PCI bus enumeration than the actual driver. Would you try booting 8.0 on it to see if that worked? Or 7.0? Thanks, adrian On 31 October 2012 12:20, wrote: > Hello, > > I'm new to FreeBSD. I decided to install 9.0-RELEASE (amd64) on a > machine I have been given, which has a PCI WLAN card installed.After > booting the newly installed system, I ran ifconfig, which however only > shows fxp0, plip0 and lo0.I tried to google for users with similar > problems and follow suggestions made by others in hopes to fix the > problem. In the process, I compiled a new kernel with AH_DEBUG and > ATH_DEBUG and created /boot/loader.conf with the two following > lines:hw.ath.debug=1hw.ath.hal.debug=1 > Since I do not have a network connection of the affected machine, I > will only type in the part of the dmesg output which I guess could be > relevant. If you want, I could try to find a USB drive or something > similar to post the whole dmesg output. > ath0: mem 0xfdee0000-0xfdeeffff irq 16 at device 4.0 on > pci2ar5212ChipTest: address test failed addr: 0x00008000 - > wr:0x00000000 != rd:0xffffffffar5212Attach: hardware self-test > failedath0: unable to attach hardware; HAL status 14device_attach: > ath0 attach returned 6 > I tried a Ubuntu live-CD, which recognised the WLAN card and allowed > me to connect to my network and browse the web. > I don't know what I could do to solve this issue. I'm willing to try > various things, especially since this machine is not in any way in > productive use right now (and there is no valuable data stored > either.) > Being quite proficient in C and C++, I wouldn't mind if your > suggestions involved me looking at some code and modifying it in some > places. However, please keep in mind that, since I'm a new FreeBSD > user, I'm have no idea about the inner workings of the FreeBSD code > (although I had brief look at the ath sources prior to writing this > mail.) Also, I don't know anything about programming hardware, and I > don't know much about IEEE 802.11 either. > I would be very thankful for all kinds of input. Please let me know if > you need further information. > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"