From owner-freebsd-wireless@FreeBSD.ORG Wed Oct 31 21:15:53 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 CF90FAA1 for ; Wed, 31 Oct 2012 21:15:53 +0000 (UTC) (envelope-from husyh@hush.com) Received: from smtp5.hushmail.com (smtp5a.hushmail.com [65.39.178.235]) by mx1.freebsd.org (Postfix) with ESMTP id A97A38FC14 for ; Wed, 31 Oct 2012 21:15:52 +0000 (UTC) Received: from smtp5.hushmail.com (smtp5a.hushmail.com [65.39.178.235]) by smtp5.hushmail.com (Postfix) with SMTP id 3650958044 for ; Wed, 31 Oct 2012 21:14:44 +0000 (UTC) Received: from smtp.hushmail.com (w4.hushmail.com [65.39.178.50]) by smtp5.hushmail.com (Postfix) with ESMTP for ; Wed, 31 Oct 2012 21:14:43 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id E797010E2C8; Wed, 31 Oct 2012 21:14:43 +0000 (UTC) MIME-Version: 1.0 Date: Wed, 31 Oct 2012 22:14:43 +0100 To: freebsd-wireless@freebsd.org Subject: Re: ath0: unable to attach hardware From: husyh@hush.com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Message-Id: <20121031211443.E797010E2C8@smtp.hushmail.com> 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:15:54 -0000 Sorry, it seems like the newlines and paragraphs didn't work out as intended. I hope this is more readable now: 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=1 hw.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 pci2 ar5212ChipTest: address test failed addr: 0x00008000 - wr:0x00000000 != rd:0xffffffff ar5212Attach: hardware self-test failed ath0: unable to attach hardware; HAL status 14 device_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.