Ticket #713 (closed defect: fixed)

Opened 6 years ago

Last modified 5 months ago

HAL status 13 on 168c/001c device

Reported by: ayer@handhelds.org Assigned to:
Priority: major Milestone: version 0.9.3
Component: madwifi: other Version: trunk
Keywords: hal status 13 068c 001c Cc:
Patch is attached: 0 Pending:

Description

hi,

this atheros device is in the new samsung umpc. kernel is 2.6.16.9, madwifi-ng-r1648 drivers.

i get the well-known 'unsupported hardware' kernel message after ath_pci tries to attach.

anything that i can do to help?

-steve ayer

Attachments

Change History

06/23/06 06:06:55 changed by mrenzmann

  • version set to trunk.

Can you please post a dump of lspci -v? It would be interesting to know about the PCI ID of that card. Do you have informations about what chipset is used in the umpc?

06/23/06 14:18:19 changed by ayer@handhelds.org

from lspci -vv, which is basically all i know about what's here: 03:00.0 Ethernet controller: Atheros Communications, Inc.: Unknown device 001c (rev 01)

Subsystem: Askey Computer Corp.: Unknown device 7116 Control: I/O+ Mem+ BusMaster?- SpecCycle?- MemWINV- VGASnoop- ParErr?- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr?- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- Interrupt: pin A routed to IRQ 16 Region 0: Memory at b8000000 (64-bit, non-prefetchable) [size=64K] Capabilities: [40] Power Management version 2

Flags: PMEClk- DSI- D1- D2- AuxCurrent?=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Capabilities: [50] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

Address: 00000000 Data: 0000

Capabilities: [60] #10 [0011] Capabilities: [90] #11 [0000]

07/17/06 15:34:42 changed by foka@debian.org

I have the same problem here, on a BenQ Joybook T31E:

0000:08:00.0 Ethernet controller: Atheros Communications, Inc.: Unknown device 001c (rev 01)
        Subsystem: Unknown device 1a32:0100
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0, Cache Line Size: 0x08 (32 bytes)
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at d0300000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [50] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
                Address: 00000000  Data: 0000
        Capabilities: [60] #10 [0011]
        Capabilities: [90] #11 [0000]

as well as on a BenQ Joybook P41E: 168c:001c (Atheros:001c), subsystem ID 144f:7108 (Askey:7108).

I see that madwifi/hal/ah_devid.h has this defined:

#define AR5212_AR5424          0x001c          /* Condor (PCI express) */

But when trying to use ath_pci and ath_hal (as of 0.9.17.2), we see the same error:

wifi%d: unable to attach hardware: 'Hardware revision not supported' (HAL status 13)

This appear to be different from Ticket #370, and the WiFi is indeed turned on when I attempted to load the driver. My friend was able to load ndiswrapper with the Windows driver and get it to work, but of course, getting the native Linux driver to work is best. :-)

Is it a known issue in the 0.9.17.2 binary Atheros HAL code? Is there any other information I could provide?

Thanks in advance!

Yours sincerely,

Anthony

07/19/06 05:08:20 changed by normulmer@comcast.net

If it helps, I'm getting the same "HAL status 13" error on a Toshiba Satellite A105-2101 using kernel 2.6.17 and madwifi-0.9.1. lspci -v says: 02:00.0 Ethernet controller: Atheros Communications, Inc. Unknown device 001c (rev 01)

Subsystem: Askey Computer Corp. Unknown device 7106 Flags: fast devsel, IRQ 201 Memory at d0100000 (64-bit, non-prefetchable) [size=64K] Capabilities: [40] Power Management version 2 Capabilities: [50] Message Signalled Interrupts: 64bit- Queue=0/0 Enable- Capabilities: [60] Express Legacy Endpoint IRQ 0 Capabilities: [90] MSI-X: Enable- Mask- TabSize?=1 Capabilities: [100] Advanced Error Reporting Capabilities: [140] Virtual Channel

Let me know if I can provide more info and many thanks.

Norm

07/22/06 02:37:44 changed by daniel@amristar.com.au

My experience is the same on a Toshiba Satellite M100 (model PSMA0A-03F002). I'm using the Windows driver with ndiswrapper but this is causing me hassles with hibernation.

lspci shows:

0000:03:00.0 Ethernet controller: Atheros Communications, Inc.: Unknown device 001c (rev 01)
        Subsystem: Askey Computer Corp.: Unknown device 7106
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0, Cache Line Size: 0x10 (64 bytes)
        Interrupt: pin A routed to IRQ 169
        Region 0: Memory at d0000000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [50] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
                Address: 00000000  Data: 0000
        Capabilities: [60] #10 [0011]
        Capabilities: [90] #11 [0000]

If you want any more info, or testing done, I'm happy to help.

Cheers, Daniel.

08/14/06 16:01:10 changed by anonymous

It seems the card in question is an Atheros AR5006EG mini pci card.

Atheros has a marketing PDF file regarding this card here: www.atheros.com/pt/bulletins/AR5006EGBulletin.pdf

It seems it uses the AR2423 chipset. I've not been able to find any real information on this card.

08/24/06 18:45:23 changed by marcus

Hi Guys, It seems I got the same problem as the original poster:

linux-2.6.17.9, madwifi source from subversion (r-1686) lspci -vn for this card shows:

06:00.0 0200: 168c:001c (rev 01)
  Subsystem: 168c:3065
  Flags: fast devsel, IRQ 18
  Memory at 54100000 (64-bit, non-prefetchable) [size=64K]
  Capabilities: [40] Power Management version 2
  Capabilities: [50] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
  Capabilities: [60] Express Legacy Endpoint IRQ 0
  Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
  Capabilities: [100] Advanced Error Reporting
  Capabilities: [140] Virtual Channel

The errors from syslog are:

Aug 24 18:29:24 shark kernel: ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
Aug 24 18:29:24 shark kernel: wlan: 0.8.4.2 (svn r1705)
Aug 24 18:29:24 shark kernel: ath_rate_sample: 1.2 (svn r1705)
Aug 24 18:29:24 shark kernel: ath_pci: 0.9.4.5 (svn r1705)
Aug 24 18:29:24 shark kernel: ACPI: PCI Interrupt 0000:06:00.0[A] -> GSI 19 (level, low) -> IRQ 18
Aug 24 18:29:24 shark kernel: PCI: Setting latency timer of device 0000:06:00.0 to 64
Aug 24 18:29:24 shark kernel: wifi%%d: unable to attach hardware: 'Hardware revision not supported' (HAL status 13)

09/18/06 12:36:45 changed by daniel@amristar.com.au

Hi all,

Several people have e-mailed to ask me about using ndiswrapper for this device; a copy of my e-mail to help anyone else interested:


I used the Atheros Windows drivers that I received with the laptop, and simply pointed ndiswrapper at the file

Atheros/Driver/net5211.inf

This seems to work OK.

However, note that hibernate does work out of the box for me with the wireless adapter enabled (hangs during, needs to be hard rebooted). I find that I need to "rmmod ndiswrapper" before attempting to suspend.

Cheers, Daniel.

09/18/06 12:50:22 changed by mrenzmann

AR5006EG support has been fixed in HAL 0.9.18.0, which has been committed in r1711. See also #859. Please give a current revision a try, it should solve the reported issue.

09/19/06 20:43:17 changed by ayer@handhelds.org

i had trouble with ndiswrapper associating with wep-enabled a.p.'s, so i was anxious to try out the current version. i'm delighted to say that (i'm running r1717) this version works with the ar5006 in the samsung q1. thank you very much.

09/20/06 06:24:37 changed by mrenzmann

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone set to version 0.9.3.

Thanks for the feedback. As I understand, the originally reported issue is now fixed, so I close this ticket.

12/09/06 04:58:22 changed by vkonovalov

thank you so much for resolving the problem with wireless card on Q1!

12/19/06 02:07:03 changed by kudlaty@g.pl

hi i have ASUS a3hf 5A009 laptop with Atheros module ar5bxb61 (pci:168c/001)

HAL version 0.9.18 works fine for me. thank you!!!

04/25/07 10:54:35 changed by ron.lange@uni-bielefeld.de

I have a Fujitsu-Siemens Li1718 which wifi-builtin has the same vendor and device id. Afaik this id is used by atheros for a couple of pcie devices with different chip/chipset combinations. The mentioned ar2324 with ar5006 on it is just one. Unfortunately mine's the ar5007eg on ar2325 but has the same vendor/device id...ndiswrapper failed to initialize the device and there is only a vista driver shipped with, thus I am not able to get it working on my notebook.

I tried the current madwifi-release and the current svn-version without success (HAL not supported). Are you able to extract the HAL from a vista driver, then I'll try to make it available to you. Regards Ron

07/10/07 20:42:19 changed by balder.theglorious@googlemail.com

I am reciving the same error with a Fujitsu-Siemens Li1718

dmesg

ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
wlan: 0.8.4.2 (0.9.3.1)
ath_pci: 0.9.4.5 (0.9.3.1)
PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:02:00.0 to 64
wifi%d: unable to attach hardware: 'Hardware revision not supported' (HAL status 13)
ACPI: PCI interrupt for device 0000:02:00.0 disabled

lspci -vvnn

02:00.0 Ethernet controller [0200]: Atheros Communications, Inc. Unknown device [168c:001c] (rev 01)
	Subsystem: Atheros Communications, Inc. Unknown device [168c:3067]
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at c0000000 (64-bit, non-prefetchable) [disabled] [size=64K]
	Capabilities: [40] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
		Address: 00000000  Data: 0000
	Capabilities: [60] Express Legacy Endpoint IRQ 0
		Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
		Device: Latency L0s <512ns, L1 <64us
		Device: AtnBtn- AtnInd- PwrInd-
		Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
		Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
		Device: MaxPayload 128 bytes, MaxReadReq 512 bytes
		Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s L1, Port 0
		Link: Latency L0s <512ns, L1 <64us
		Link: ASPM Disabled RCB 128 bytes CommClk- ExtSynch-
		Link: Speed 2.5Gb/s, Width x1
	Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
		Vector table: BAR=0 offset=00000000
		PBA: BAR=0 offset=00000000
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Virtual Channel

Any help you can offer would be much appriciated and let me know if i can provide any more info

07/10/07 20:52:39 changed by balder.theglorious@googlemail.com

forgot uname -a

Linux balder-laptop 2.6.21-ARCH #1 SMP PREEMPT Sun May 6 18:33:47 CEST 2007 i686 Genuine Intel(R) CPU           T2080  @ 1.73GHz GenuineIntel GNU/Linux

09/07/07 18:20:54 changed by michael.mather@sympatico.ca

I am also getting 'Hardware revision not supported' from HAL 0.9.18.0 (Ubuntu 7.0.4) on an Acer Aspire 3050 with 168c:001c.

Any help ... appreciated ... more info.

12/28/07 18:27:14 changed by hoderlump

Same problem here with a Fujutsu-Siemens Amilo Pa 2510

02/21/08 04:34:12 changed by perles@gmail.com

I got the same problem using Gentoo-sources-2.6.24-r2 (compiled for AMD64) on a Toshiba Satelite A215 and with the latest stable madwifi code 0.9.4. See what I got from dmesg just after the load of module:

[ 2100.194275] ath_hal: module license 'Proprietary' taints kernel.
[ 2100.195090] ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
[ 2100.213555] wlan: 0.9.4
[ 2100.218641] ath_pci: 0.9.4
[ 2100.218838] ACPI: PCI Interrupt 0000:0e:00.0[A] -> GSI 18 (level, low) -> IRQ 18
[ 2100.218847] PCI: Setting latency timer of device 0000:0e:00.0 to 64
[ 2100.228741] wifi%d: unable to attach hardware: 'Hardware revision not supported' (HAL status 13)
[ 2100.228757] ACPI: PCI interrupt for device 0000:0e:00.0 disabled

My lspci -vv:

0e:00.0 Ethernet controller: Atheros Communications, Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
        Subsystem: Askey Computer Corp. Unknown device 7128
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 18
        Region 0: Memory at f8200000 (64-bit, non-prefetchable) [disabled] [size=64K]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
                Address: 00000000  Data: 0000
        Capabilities: [60] Express (v1) Legacy Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <512ns, L1 <64us
                        ClockPM- Suprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
        Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
                Vector table: BAR=0 offset=00000000
                PBA: BAR=0 offset=00000000
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel

and output of pci-tweak:

PCI: 0e:00:0: chip 168c,001c card 144f,7128 rev 01 class 02,00,00 hdr 00

04/10/08 09:18:44 changed by Cliff

Looks like I'm in about the same boat as perles here. I have a Toshiba Satelite A200-JA1, and I'm running Mandriva 2008.1 x86-64. It uses the 0.9.3 release of MadWifi.

My dmesg:

ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.30.13 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133)
wlan: svn r3114
ath_pci: svn r3114
ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:05:00.0 to 64
MadWifi: unable to attach hardware: 'Hardware revision not supported' (HAL status 13)
ACPI: PCI interrupt for device 0000:05:00.0 disabled

My lspci -vvnn:

05:00.0 Ethernet controller [0200]: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter [168c:001c] (rev 01)
	Subsystem: AMBIT Microsystem Corp. Unknown device [1468:042a]
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 18
	Region 0: Memory at f8000000 (64-bit, non-prefetchable) [disabled] [size=64K]
	Capabilities: [40] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
		Address: 00000000  Data: 0000
	Capabilities: [60] Express (v1) Legacy Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <128ns, L1 <2us
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <512ns, L1 <64us
			ClockPM- Suprise- LLActRep- BwNot-
		LnkCtl:	ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk-
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
	Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
		Vector table: BAR=0 offset=00000000
		PBA: BAR=0 offset=00000000
	Capabilities: [100] Advanced Error Reporting <?>
	Capabilities: [140] Virtual Channel <?>
	Kernel modules: ath_pci

And my pcitweak:

PCI: 05:00:0: chip 168c,001c card 1468,042a rev 01 class 02,00,00 hdr 00

09/04/11 11:06:21 changed by Noryauthort

why not...


Add/Change #713 (HAL status 13 on 168c/001c device)