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
Wed May 25 21:50:14 UTC 2011


The following reply was made to PR kern/140796; it has been noted by GNATS.

From: Dalibor Gudzic <dalibor.gudzic at gmail.com>
To: bug-followup at FreeBSD.org
Cc: freebsd-wireless at freebsd.org
Subject: Re: kern/140796: [ath] [panic] Cannot attach (unable to attach
 hardware; HAL status 3) under 8, panic in 7.x
Date: Wed, 25 May 2011 23:44:39 +0200

 > On Tue, May 24, 2011 at 2:29 PM, Adrian Chadd <adrian at freebsd.org> wrote:
 >
 > Please make sure you're compiling with:
 >
 > options         ATH_DEBUG
 > options         ATH_DIAGAPI
 > options         AH_DEBUG
 > device          ath_hal
 > option          AH_SUPPORT_AR5416
 >
 > and see if that works. If not, reboot with the sysctl
 > hw.ath.hal.debug=0xffffffff set in /boot/loader.conf appropriately, so
 > I can hopefully get some debugging as to why the hardware isn't waking
 > up as expected.
 
 Here's the dmesg from 8.2-R with recompiled kernel including above options:
 
 
 Copyright (c) 1992-2011 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 	The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 8.2-RELEASE #0: Tue May 24 23:41:58 CEST 2011
     root at fbsd8x.fbsd:/usr/obj/usr/src/sys/GENERIC i386
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Intel(R) Celeron(R) M CPU        430  @ 1.73GHz (1729.02-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x6e8  Family = 6  Model = e  Stepping = 8
   Features=0xafe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
   Features2=0xc109<SSE3,MON,TM2,xTPR,PDCM>
   TSC: P-state invariant
 real memory  = 1610612736 (1536 MB)
 avail memory = 1430380544 (1364 MB)
 ACPI APIC Table: <PTLTD  	 APIC  >
 MADT: Forcing active-low polarity and level trigger for SCI
 ioapic0 <Version 0.3> irqs 0-23 on motherboard
 ioapic1 <Version 0.3> irqs 24-47 on motherboard
 kbd1 at kbdmux0
 acpi0: <FSC PC> on motherboard
 acpi0: [ITHREAD]
 acpi0: Power Button (fixed)
 acpi0: reservation of f0013000, 1000 (3) failed
 acpi0: reservation of 0, a0000 (3) failed
 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
 cpu0: <ACPI CPU> on acpi0
 acpi_button0: <Power Button> on acpi0
 acpi_lid0: <Control Method Lid Switch> on acpi0
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 agp0: <VIA 3364 (P4M900) host to PCI bridge> on hostb0
 agp0: aperture size is 128M
 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
 pci1: <ACPI PCI bus> on pcib1
 vgapci0: <VGA-compatible display> mem
 0xa0000000-0xbfffffff,0xc8000000-0xc8ffffff irq 16 at device 0.0 on
 pci1
 pcib2: <ACPI PCI-PCI bridge> irq 27 at device 2.0 on pci0
 pci2: <ACPI PCI bus> on pcib2
 pcib3: <ACPI PCI-PCI bridge> irq 31 at device 3.0 on pci0
 pci3: <ACPI PCI bus> on pcib3
 atapci0: <VIA 8237A SATA150 controller> port
 0x60b8-0x60bf,0x60b0-0x60b3,0x6008-0x600f,0x6004-0x6007,0x6010-0x601f,0x6400-0x64ff
 irq 21 at device 15.0 on pci0
 atapci0: [ITHREAD]
 ata2: <ATA channel 0> on atapci0
 ata2: [ITHREAD]
 ata3: <ATA channel 1> on atapci0
 ata3: [ITHREAD]
 atapci1: <VIA 8237A UDMA133 controller> port
 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x60a0-0x60af at device 15.1 on
 pci0
 ata0: <ATA channel 0> on atapci1
 ata0: [ITHREAD]
 ata1: <ATA channel 1> on atapci1
 ata1: [ITHREAD]
 uhci0: <VIA 83C572 USB controller> port 0x6020-0x603f irq 20 at device
 16.0 on pci0
 uhci0: [ITHREAD]
 usbus0: <VIA 83C572 USB controller> on uhci0
 uhci1: <VIA 83C572 USB controller> port 0x6040-0x605f irq 22 at device
 16.1 on pci0
 uhci1: [ITHREAD]
 usbus1: <VIA 83C572 USB controller> on uhci1
 uhci2: <VIA 83C572 USB controller> port 0x6060-0x607f irq 21 at device
 16.2 on pci0
 uhci2: [ITHREAD]
 usbus2: <VIA 83C572 USB controller> on uhci2
 uhci3: <VIA 83C572 USB controller> port 0x6080-0x609f irq 23 at device
 16.3 on pci0
 uhci3: [ITHREAD]
 usbus3: <VIA 83C572 USB controller> on uhci3
 ehci0: <VIA VT6202 USB 2.0 controller> mem 0xc9400000-0xc94000ff irq
 21 at device 16.4 on pci0
 ehci0: [ITHREAD]
 usbus4: waiting for BIOS to give up control
 usbus4: timed out waiting for BIOS
 usbus4: EHCI version 1.0
 usbus4: <VIA VT6202 USB 2.0 controller> on ehci0
 isab0: <PCI-ISA bridge> at device 17.0 on pci0
 isa0: <ISA bus> on isab0
 vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0x6800-0x68ff mem
 0xc9400400-0xc94004ff irq 23 at device 18.0 on pci0
 vr0: Quirks: 0x0
 vr0: Revision: 0x7c
 miibus0: <MII bus> on vr0
 ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
 ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 vr0: Ethernet address: 00:14:0b:08:64:5b
 vr0: [ITHREAD]
 pcib4: <ACPI PCI-PCI bridge> at device 19.0 on pci0
 pci4: <ACPI PCI bus> on pcib4
 pci4: <multimedia, HDA> at device 1.0 (no driver attached)
 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]
 ar5212SetPowerModeAwake: Failed to wakeup in 40ms
 ar5212SetPowerModeAwake: Failed to wakeup in 40ms
 ath0: unable to attach hardware; HAL status 3
 device_attach: ath0 attach returned 6
 acpi_acad0: <AC Adapter> on acpi0
 battery0: <ACPI Control Method Battery> on acpi0
 acpi_tz0: <Thermal Zone> on acpi0
 atrtc0: <AT realtime clock> port 0x70-0x75 irq 8 on acpi0
 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 kbd0 at atkbd0
 atkbd0: [GIANT-LOCKED]
 atkbd0: [ITHREAD]
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: [GIANT-LOCKED]
 psm0: [ITHREAD]
 psm0: model GlidePoint, device ID 0
 pmtimer0 on isa0
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 p4tcc0: <CPU Frequency Thermal Control> on cpu0
 Timecounter "TSC" frequency 1729015093 Hz quality 800
 Timecounters tick every 1.000 msec
 usbus0: 12Mbps Full Speed USB v1.0
 usbus1: 12Mbps Full Speed USB v1.0
 usbus2: 12Mbps Full Speed USB v1.0
 usbus3: 12Mbps Full Speed USB v1.0
 usbus4: 480Mbps High Speed USB v2.0
 ugen0.1: <VIA> at usbus0
 uhub0: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
 ugen1.1: <VIA> at usbus1
 uhub1: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
 ugen2.1: <VIA> at usbus2
 uhub2: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
 ugen3.1: <VIA> at usbus3
 uhub3: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
 ugen4.1: <VIA> at usbus4
 uhub4: <VIA EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
 acd0: DVDR <HL-DT-ST DVDRAM GSA-T10N/PW02> at ata1-master UDMA33
 ad4: 57231MB <WDC WD600BEVS-07LAT0 01.06M01> at ata2-master UDMA100 SATA 1.5Gb/s
 uhub0: 2 ports with 2 removable, self powered
 uhub1: 2 ports with 2 removable, self powered
 uhub2: 2 ports with 2 removable, self powered
 uhub3: 2 ports with 2 removable, self powered
 GEOM: ad4s3: geometry does not match label (255h,63s != 16h,63s).
 Root mount waiting for: usbus4
 Root mount waiting for: usbus4
 Root mount waiting for: usbus4
 uhub4: 8 ports with 8 removable, self powered
 Root mount waiting for: usbus4
 ugen4.2: <Verbatim> at usbus4
 umass0: <Verbatim STORE N GO, class 0/0, rev 2.00/1.10, addr 2> on usbus4
 umass0:  SCSI over Bulk-Only; quirks = 0x0000
 Root mount waiting for: usbus4
 ugen0.2: <vendor 0x15d9> at usbus0
 ums0: <vendor 0x15d9 USB Mouse, class 0/0, rev 1.10/1.00, addr 2> on usbus0
 ums0: 3 buttons and [XYZ] coordinates ID=0
 umass0:0:0:-1: Attached to scbus0
 Trying to mount root from ufs:/dev/ad4s2a
 da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
 da0: <Verbatim STORE N GO 5.00> Removable Direct Access SCSI-0 device
 da0: 40.000MB/s transfers
 da0: 1910MB (3911680 512 byte sectors: 255H 63S/T 243C)
 GEOM: da0: partition 1 does not end on a track boundary.
 cryptosoft0: <software crypto> on motherboard
 GEOM_ELI: Device ad4s2f.eli created.
 GEOM_ELI: Encryption: AES-XTS 128
 GEOM_ELI:     Crypto: software
 GEOM_ELI: Device ad4s2b.eli created.
 GEOM_ELI: Encryption: AES-XTS 256
 GEOM_ELI:     Crypto: software
 
 
 I will now try the -CURRENT snapshot and let you know how it went.
 
 Thanks
 
 Dalibor


More information about the freebsd-wireless mailing list