Date: Wed, 31 Oct 2012 20:20:43 +0100 From: husyh@hush.com To: freebsd-wireless@freebsd.org Subject: ath0: unable to attach hardware Message-ID: <20121031192043.30F7C10E2D5@smtp.hushmail.com>
next in thread | raw e-mail | index | archive | help
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: <owner-freebsd-wireless@FreeBSD.ORG> 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 <freebsd-wireless@freebsd.org>; 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 <freebsd-wireless@freebsd.org>; Wed, 31 Oct 2012 21:13:37 +0000 (UTC) Received: by mail-da0-f54.google.com with SMTP id z9so887190dad.13 for <freebsd-wireless@freebsd.org>; 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: <CAJ-Vmom44uOqEnGdL=U-2xt99K_d=sG9JPNqZ_jCh1ryPAuVhQ@mail.gmail.com> Subject: Re: ath0: unable to attach hardware From: Adrian Chadd <adrian@freebsd.org> 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." <freebsd-wireless.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-wireless>, <mailto:freebsd-wireless-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-wireless> List-Post: <mailto:freebsd-wireless@freebsd.org> List-Help: <mailto:freebsd-wireless-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-wireless>, <mailto:freebsd-wireless-request@freebsd.org?subject=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, <husyh@hush.com> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121031192043.30F7C10E2D5>