ath: unable to attach hardware; HAL status 3; attach returned 6

Ian <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Goal:
to have Wireless Atheros based NIC run on my Sony Vaio

Background:

The computer in question is a Sony Vaio PCG R505-JL w/ slimdock. The CD-ROM
is broken.
I used a second computer and installed it on the second computer, then
transfered the
hard drive to the vaio.

This problem is not present on the computer I installed it on. The card
works Out-of box.

dmesg output:
Copyright (c) 1992-2008 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 7.0-STABLE #3: Sun Aug 10 23:59:57 EDT 2008
    root@:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (745.25-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10

Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 401080320 (382 MB)
avail memory = 378433536 (360 MB)
kbd1 at kbdmux0
ath_hal: 0.10.5.6 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413,
RF5413, RF2133, RF2425, RF2417)
acpi0: <SONY U1> on motherboard
acpi0: [ITHREAD]
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x1c> port 0x62,0x66 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> mem
0xf8000000-0xfbffffff,0xf4000000-0xf407ffff irq 9 at device 2.0 on pci0
agp0: <Intel 82815 (i815 GMCH) SVGA controller> on vgapci0
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib1
fwohci0: <Texas Instruments TSB43AA22> mem
0xf4105000-0xf41057ff,0xf4100000-0xf4103fff irq 9 at device 0.0 on pci1
fwohci0: [FILTER]
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 08:00:46:03:00:c5:c2:17
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0x17d1c000
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 0a:00:46:c5:c2:17
fwe0: Ethernet address: 0a:00:46:c5:c2:17
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 08:00:46:03:00:c5:c2:17 @ 0xfffe00000000, S400,
maxrec 2048
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
cbb0: <RF5C475 PCI-CardBus Bridge> at device 2.0 on pci1
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb0: [ITHREAD]
fxp0: <Intel 82801BA/CAM (ICH2/3) Pro/100 Ethernet> port 0x3000-0x303f mem
0xf4104000-0xf4104fff irq 9 at device 8.0 on pci1
miibus0: <MII bus> on fxp0
inphy0: <i82562ET 10/100 media interface> PHY 1 on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 08:00:46:41:96:8d
fxp0: [ITHREAD]
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1800-0x180f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0x1820-0x183f
irq 9 at device 31.2 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0x1840-0x185f
irq 9 at device 31.4 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
pci0: <multimedia, audio> at device 31.5 (no driver attached)
pci0: <simple comms, generic modem> at device 31.6 (no driver attached)
cpu0: <ACPI CPU> on acpi0
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_tz0: <Thermal Zone> 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
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem
0xc0000-0xcbfff,0xd8000-0xdbfff,0xdc000-0xdffff pnpid ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio0: [FILTER]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
umass0: <Sony USB Memory Stick Slot, class 0/0, rev 1.10/1.83, addr 2> on
uhub1
Timecounter "TSC" frequency 745245771 Hz quality 800
Timecounters tick every 1.000 msec
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
ad0: 14403MB <TOSHIBA MK1517GAP A1.03 H> at ata0-master UDMA100
cardbus0: Expecting link target, got 0xff
ath0: <Atheros 2413> mem 0xf4110000-0xf411ffff irq 9 at device 0.0 on
cardbus0
ath0: [ITHREAD]
ath0: unable to attach hardware; HAL status 3
device_attach: ath0 attach returned 6
(probe7:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0
(probe7:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(probe7:umass-sim0:0:0:0): SCSI Status: Check Condition
(probe7:umass-sim0:0:0:0): UNIT ATTENTION asc:29,0
(probe7:umass-sim0:0:0:0): Power on, reset, or bus device reset occurred
(probe7:umass-sim0:0:0:0): Retrying Command (per Sense Data)
(probe7:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0
(probe7:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(probe7:umass-sim0:0:0:0): SCSI Status: Check Condition
(probe7:umass-sim0:0:0:0): NOT READY asc:3a,0
(probe7:umass-sim0:0:0:0): Medium not present
(probe7:umass-sim0:0:0:0): Unretryable error
Trying to mount root from ufs:/dev/ad0s1a
umass1: <Memorex TRAVELDRIVE 005B, class 0/0, rev 2.00/1.10, addr 2> on
uhub0
da0 at umass-sim1 bus 1 target 0 lun 0
da0: <Memorex TRAVELDRIVE 005B PMAP> Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 7871MB (16119808 512 byte sectors: 255H 63S/T 1003C)

pciconf -lv:

hostb0@pci0:0:0:0:    class=0x060000 card=0x80e0104d chip=0x11308086
rev=0x11 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82815/EM/EP/P 815/EM/EP/P (Solano) Host to I/O Hub Bridge'
    class      = bridge
    subclass   = HOST-PCI
vgapci0@pci0:0:2:0:    class=0x030000 card=0x80e0104d chip=0x11328086
rev=0x11 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82815/EM/EP/P 815/EM/EP/P (Solano) Interal GUI
Accelerator'
    class      = display
    subclass   = VGA
pcib1@pci0:0:30:0:    class=0x060400 card=0x00000000 chip=0x24488086
rev=0x03 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI
Bridge'
    class      = bridge
    subclass   = PCI-PCI
isab0@pci0:0:31:0:    class=0x060100 card=0x00000000 chip=0x244c8086
rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801BAM (ICH2-M) LPC Interface Controller'
    class      = bridge
    subclass   = PCI-ISA
atapci0@pci0:0:31:1:    class=0x010180 card=0x80e0104d chip=0x244a8086
rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801BAM (ICH2-M) UltraATA/100 IDE Controller'
    class      = mass storage
    subclass   = ATA
uhci0@pci0:0:31:2:    class=0x0c0300 card=0x80e0104d chip=0x24428086
rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801BA/BAM (ICH2/ICH2-M) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
none0@pci0:0:31:3:    class=0x0c0500 card=0x80e0104d chip=0x24438086
rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801BA/BAM (ICH2/ICH2-M) SMBus Controller'
    class      = serial bus
    subclass   = SMBus
uhci1@pci0:0:31:4:    class=0x0c0300 card=0x80e0104d chip=0x24448086
rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801BA/BAM (ICH2/ICH2-M) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
none1@pci0:0:31:5:    class=0x040100 card=0x80e0104d chip=0x24458086
rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801BA/BAM (ICH2/ICH2-M) AC'97 Audio Controller'
    class      = multimedia
    subclass   = audio
none2@pci0:0:31:6:    class=0x070300 card=0x80e0104d chip=0x24468086
rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801BA/BAM (ICH2/ICH2-M) AC'97 Modem Controller'
    class      = simple comms
    subclass   = generic modem
fwohci0@pci0:1:0:0:    class=0x0c0010 card=0x80e0104d chip=0x8021104c
rev=0x02 hdr=0x00
    vendor     = 'Texas Instruments (TI)'
    device     = 'TSB43AA22xxx 1394a-2000 OHCI PHY/Link Layer Ctrlr xxx'
    class      = serial bus
    subclass   = FireWire
cbb0@pci0:1:2:0:    class=0x060700 card=0x80e0104d chip=0x04751180 rev=0x80
hdr=0x02
    vendor     = 'Ricoh Company, Ltd.'
    device     = 'RL5c475 Cardbus Controller'
    class      = bridge
    subclass   = PCI-CardBus
fxp0@pci0:1:8:0:    class=0x020000 card=0x30138086 chip=0x24498086 rev=0x03
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82559ER 82559ER Integrated 10Base-T/100Base-TX Ethernet
Controller'
    class      = network
    subclass   = ethernet
ath0@pci0:2:0:0:    class=0x000000 card=0x000817f9 chip=0x001a168c rev=0x01
hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = 'Atheros AR5005G Atheros AR5005G 802.11abg NIC Chipset /
TP-Link (TL-WN551G)'
    class      = old
    subclass   = non-VGA display device


According to ah.h (line 84)  HAL status 3 is "hardware didn't respond as
expected.

Any more output/logs that are needed can be provided.

Thank you very much for your attention.

Ian Glenn
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.