Date: Thu, 26 May 2011 08:15:43 +0200 From: Dalibor Gudzic <dalibor.gudzic@gmail.com> To: freebsd-wireless@freebsd.org Subject: Re: kern/140796: [ath] [panic] Cannot attach (unable to attach hardware; HAL status 3) under 8, panic in 7.x Message-ID: <BANLkTi=d_q-cJ%2BDCG0=Q59rW3FUfMSJxiw@mail.gmail.com> In-Reply-To: <BANLkTin1i3SkDW8oRT8TFjN9GO1fMZR7Wg@mail.gmail.com> References: <201105241220.p4OCKEZc074668@freefall.freebsd.org> <BANLkTi==UJNKhFYq5rmDZWv=sSG0UutkvQ@mail.gmail.com> <BANLkTinrFnDGwSCjyRc0WTXbNXkU1-isjQ@mail.gmail.com> <BANLkTimNs376HxdyoP7z0Z8bAyE-O2HpWQ@mail.gmail.com> <BANLkTimGEUs%2BdhnsCikr4Qy=kDwr-zBWGQ@mail.gmail.com> <BANLkTimB3gSRx%2BQ2S9yOgKrK3gTAvJEErg@mail.gmail.com> <BANLkTin1i3SkDW8oRT8TFjN9GO1fMZR7Wg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Adrian, On Thu, May 26, 2011 at 3:46 AM, Adrian Chadd <adrian@freebsd.org> wrote: > That's odd: > > ar5212SetPowerModeAwake: Failed to wakeup in 40ms > > That means there's something off with the RTC in the card (that > controls power on/power off.) > > Can you try booting a -HEAD kernel ? It may be related to cardbus related stuff. > > > Adrian > I had some problem burning the media, but will try later for sure. In the mean time, here is the relevant section of dmesg with hw.ath.hal.debug in loader.conf (forgot to include it in previous message): ... pcib5: <ACPI PCI-PCI bridge> at device 19.1 on pci0 pci5: <ACPI PCI bus> on pcib5 ath0: <Atheros 2413> mem 0xc9000000-0xc900ffff irq 18 at device 1.0 on pci5 ath0: [ITHREAD] ar5212Attach: sc 0xc49a6000 st 0x1 sh 0xe4ee7000 ar5212SetPowerMode: AWAKE -> AWAKE (set chip ) ar5212SetPowerModeAwake: bogus SCR 0xffffffff, PCICFG 0xffffffff ar5212SetPowerModeAwake: Failed to wakeup in 40ms ar5212Attach: couldn't wakeup chip ar5212Detach: Detaching Ani ar5212SetPowerMode: AWAKE -> AWAKE (set chip ) ar5212SetPowerModeAwake: bogus SCR 0xffffffff, PCICFG 0xffffffff ar5212SetPowerModeAwake: Failed to wakeup in 40ms ar5212SetPowerMode: AWAKE -> FULL-SLEEP (set chip ) ath0: unable to attach hardware; HAL status 3 device_attach: ath0 attach returned 6 acpi_acad0: <AC Adapter> on acpi0 ... Card works without problem in Windows XP/Ubuntu 10.10. On NetBSD I get the same messages (unable to attach bla bla). It was the same on OpenBSD before 4.8, now there are no messages in dmesg. It spits something like device timeout when I 'ifconfig up' it though, but I think card is working (haven't thoroughly tested it). I don't know how similar code for ath(4) is between *BSD's. All best Dalibor
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTi=d_q-cJ%2BDCG0=Q59rW3FUfMSJxiw>