From owner-freebsd-questions@FreeBSD.ORG Tue Jun 17 19:36:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A98431065672 for ; Tue, 17 Jun 2008 19:36:08 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id 68CD18FC0A for ; Tue, 17 Jun 2008 19:36:07 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from casasponti.net ([201.155.7.3]) by ns2.bafirst.com with esmtp; Tue, 17 Jun 2008 14:36:00 -0500 id 000D5325.48581221.00002501 Received: from localhost (localhost [127.0.0.1]) (uid 80) by casasponti.net with local; Tue, 17 Jun 2008 14:35:54 -0500 id 00130C91.4858121A.00000E93 Received: from dsl-189-190-8-164.prod-infinitum.com.mx (dsl-189-190-8-164.prod-infinitum.com.mx [189.190.8.164]) by intranet.casasponti.net (Horde Framework) with HTTP; Tue, 17 Jun 2008 14:35:54 -0500 Message-ID: <20080617143554.1808562gg94i8ikg@intranet.casasponti.net> Date: Tue, 17 Jun 2008 14:35:54 -0500 From: "Edwin L. Culp" To: freebsd-questions@freebsd.org References: <3c0b01820806170757v5565b59ne0e9d5db06f26761@mail.gmail.com> <4857D8BB.1080901@gmail.com> <3c0b01820806170852t39a6346doa6d77a655469eed9@mail.gmail.com> <20080617135900.18654t73s6d7sfqc@intranet.casasponti.net> <48580EB9.7090701@gmail.com> In-Reply-To: <48580EB9.7090701@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.14) Gecko/20080608 Firefox/2.0.0.14 X-IMP-Server: 201.155.7.3 X-Originating-IP: 189.190.8.164 X-Originating-User: eculp@casasponti.net Subject: Re: Atheros (ath) MSI wireless embedded chipset fails to attach on 7.0-STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2008 19:36:08 -0000 "Manolis Kiagias" escribi=F3: > Edwin L. Culp wrote: >> "Alexander Sack" escribi=F3: >> >>> On Tue, Jun 17, 2008 at 11:31 AM, Manolis Kiagias =20 >>> wrote: >>>> Alexander Sack wrote: >>>>> >>>>> Hello: >>>>> >>>>> I have installed FreeBSD-7.0-amd64 stable on my new AMD X2 Turon based >>>>> notebook, a MSI-1710A (GX710Ax) which has a generic embedded >>>>> controller. During boot up I notice that ATH complains with: >>>>> >>>>> ath_rate: version 1.2 >>>>> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, =20 >>>>> RF2413, RF5413) >>>>> ath0: mem 0xfd7f0000-0xfd7fffff irq 16 at device 0= .0 >>>>> on pci2 >>>>> ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xfd7f0000 >>>>> ath0: [MPSAFE] >>>>> ath0: [ITHREAD] >>>>> ath0: unable to attach hardware; HAL status 13 >>>>> device_attach: ath0 attach returned 6 >>>>> >>>>> HAL status 13 from the header file seems to indicate that the >>>>> 7.0-STABLE driver doesn't support my hardware revision. Here is my >>>>> pciconf -l output: >>>>> >>>> >>>> Maybe you could try compiling a kernel with a newer hal. This is =20 >>>> the kind of >>>> hack we use on the eeepc. Have a look at this: >>>> >>>> http://nighthack.org/wiki/EeeBSD >>> >>> Thank you SO much for this link. That's EXACTLY what I want to do >>> because I realize that this is a HAL problem. I've been searching >>> like MAD where I could get an updated binary HAL for this chipset >>> (PCIe based). >> >> That makes two of us ;) >> >> My dmesg is very, very similar to yours and hoped that this would work. >> >> ath0: mem 0xf2200000-0xf220ffff irq 19 at =20 >> device 0.0 on pci5 >> ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xf2200000 >> ioapic0: routing intpin 19 (PCI IRQ 19) to vector 64 >> ath0: [MPSAFE] >> ath0: [ITHREAD] >> ath0: unable to attach hardware; HAL status 13 >> device_attach: ath0 attach returned 6 >> >> I followed the instructions from the web page, recompiled and it =20 >> made no difference which really worries me that I must have done =20 >> something wrong. >> >> cd madwifi-ng-r2756+ar5007/hal >> cp -R * /usr/src/sys/contrib/dev/ath/ >> >> I did not erase it previously but am going to try that. I made no =20 >> kern configuration changes to find that the hal is from contrib. =20 >> Is there nothing else I should do? >> >> Thanks, >> > > Well, I have only tested this on the eeepc and can confirm it works. > Maybe different atheros chipset have other problems not directly =20 > related to the hal version. > You do not need to do anything more that what is shown in the page: =20 > untar, replace the existing files, recompile / install kernel, =20 > reboot. If you got no errors during the kernel compilation phase, =20 > you can safely assume you did everything correctly, and the problem =20 > lies elsewhere. At least there was a ray of hope for the time it took to compile the kernel. Thanks, ed