Bug#469885: madwifi-source: Atheros AR5212 unable to attach to hardware since upgrade to 0.9.4

Shawn Willden shawn at willden.org
Fri Mar 7 18:53:19 UTC 2008


Package: madwifi-source
Version: 1:0.9.4~rc2-1
Severity: important


I upgraded my system this morning, to kernel 2.6.24, bringing it
current with Sid.  In the process, I updated madwifi-tools and
built the 0.9.4 module from madwifi-source.  The build had no 
errors, though I did get an error message during the 
installation:

"FATAL: Could not rename /lib/modules/2.6.24-1-686/modules.dep.temp into
/lib/modules/2.6.24-1-686/modules.dep: No such file or directory"

However, my modules.dep file appears to have the correct dependency
lines for ath_pci, etc., and dpkg believes that installation succeeded.

Upon loading the ath_pci module, I see (in syslog):

Mar  7 11:31:14 zedd kernel: ath_hal: module license 'Proprietary' taints kernel.
Mar  7 11:31:14 zedd kernel: ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
Mar  7 11:31:14 zedd kernel: wlan: 0.9.4
Mar  7 11:31:14 zedd kernel: ath_pci: 0.9.4
Mar  7 11:31:14 zedd kernel: ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IRQ 21
Mar  7 11:31:14 zedd kernel: PCI: Setting latency timer of device 0000:03:00.0 to 64
Mar  7 11:31:14 zedd kernel: wifi%d: unable to attach hardware: 'Hardware didn't respond as expected' (HAL status 3)
Mar  7 11:31:14 zedd kernel: ACPI: PCI interrupt for device 0000:03:00.0 disabled

iwconfig doesn't report any wireless devices available (previously
the device showed up as ath1).

Here's the full lspci -v output describing my wifi card:

03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212
802.11abg NIC (rev 01)
        Subsystem: IBM ThinkPad 11a/b/g Wireless LAN Mini Express
	Adapter (AR5BXB6)
	Flags: fast devsel, IRQ 21
	Memory at edf00000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [40] Power Management version 2
        Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
        Capabilities: [60] Express Legacy Endpoint, MSI 00
        Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
       	Capabilities: [100] Advanced Error Reporting <?>
        Capabilities: [140] Virtual Channel <?>
        Kernel modules: ath_pci, ath5k

Although it says that either ath_pci or ath5k should work, neither do.

In case it might be of some use, what happens when I try to load ath5k
is:

Mar  7 11:48:00 zedd kernel: ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IRQ 21
Mar  7 11:48:00 zedd kernel: PCI: Setting latency timer of device 0000:03:00.0 to 64
Mar  7 11:48:00 zedd kernel: ath5k_pci 0000:03:00.0: registered as 'phy0'
Mar  7 11:48:01 zedd kernel: ath5k phy0: failed to wakeup the MAC Chip
Mar  7 11:48:01 zedd kernel: ACPI: PCI interrupt for device 0000:03:00.0 disabled
Mar  7 11:48:01 zedd kernel: ath5k_pci: probe of 0000:03:00.0 failed with error -5

I was careful to make sure that I didn't have both drivers loaded.  I
also tried using ath5k after removing all madwifi packages and
rebooting.  Same error.

I notice that ACPI tweaks the settings of the PCI device just before
loading the driver in both cases, and acpid was another package that was
upgraded this morning.  Could it be an acpid bug?  Or a kernel ACPI bug?

Thanks for your help.  Let me know if there's anything else you need.

	Shawn.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages madwifi-source depends on:
ii  bzip2                         1.0.4-3    high-quality block-sorting file co
ii  debhelper                     6.0.7      helper programs for debian/rules
ii  module-assistant              0.10.11.0  tool to make module package creati

madwifi-source recommends no packages.

-- no debconf information





More information about the Pkg-madwifi-maintainers mailing list