kern/140796: [ath] [panic] Cannot attach (unable to attach hardware; HAL status 3) under 8, panic in 7.x

Dalibor Gudzic dalibor.gudzic at gmail.com
Thu May 26 06:15:44 UTC 2011


Hi Adrian,

On Thu, May 26, 2011 at 3:46 AM, Adrian Chadd <adrian at 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


More information about the freebsd-wireless mailing list