[hardy] kernel 2.6.24-12 breaks wireless (Atheros AR242x)

Bug #201180 reported by TDB
40
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Recent update to kernel 2.6.24-12-generic from 2.6.24-11-generic breaks wireless (atheros chipset). No ath0 interface. Works flawlessly with 2.6.24-11. there seems to be related dmesg output:

[ 38.052449] ath_pci: Unknown symbol _ath_hal_attach
[ 38.052582] ath_pci: Unknown symbol ath_hal_process_noisefloor
[ 38.053071] ath_pci: Unknown symbol ath_hal_computetxtime
[ 38.053451] ath_pci: Unknown symbol ath_hal_mhz2ieee
[ 38.053623] ath_pci: Unknown symbol ath_hal_detach
[ 38.054255] ath_pci: Unknown symbol ath_hal_probe
[ 38.055088] ath_pci: Unknown symbol ath_hal_init_channels
[ 38.055385] ath_pci: Unknown symbol ath_hal_getwirelessmodes

lspci | grep Wireless
04:00.0 Ethernet controller: Atheros Communications, Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)

Revision history for this message
TDB (michael-baranov) wrote :
Revision history for this message
TDB (michael-baranov) wrote :
TDB (michael-baranov)
Changed in linux:
assignee: nobody → canonical-kernel-team
Revision history for this message
thompa (thom-tendata) wrote :

confirmed here on acer 5520 running this atheros. I have tried also the source madwifi driver and it doesn't work. Is this related related to the addition of acer_acpi in the latest kernel? at least earlier I could manually install, but no longer

Revision history for this message
TDB (michael-baranov) wrote : Re: [Bug 201180] Re: [hardy] kernel 2.6.24-12 breaks wireless (atheros)

@thompa: can you please grep your dmesg for the same error messages as I
posted earlier? Thanks.
> confirmed here on acer 5520 running this atheros. I have tried also the
> source madwifi driver and it doesn't work. Is this related related to
> the addition of acer_acpi in the latest kernel? at least earlier I could
> manually install, but no longer
>
>

Changed in linux:
assignee: canonical-kernel-team → ubuntu-kernel-team
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
thompa (thom-tendata) wrote : Re: [hardy] kernel 2.6.24-12 breaks wireless (atheros)
Revision history for this message
thompa (thom-tendata) wrote :

above my full output.
I noticed though this:
[ 38.476767] ACPI: AC Adapter [ACAD] (off-line)
[ 38.519541] ACPI: PCI Interrupt Link [LGPU] enabled at IRQ 17
[ 38.519553] ACPI: PCI Interrupt 0000:00:12.0[A] -> Link [LGPU] -> GSI 17 (level, low) -> IRQ 20
[ 38.519561] PCI: Setting latency timer of device 0000:00:12.0 to 64
[ 38.519782] NVRM: loading NVIDIA UNIX x86 Kernel Module 169.12 Thu Feb 14 17:53:07 PST 2008
[ 38.897201] ath_hal: 0.9.30.13 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133)
[ 38.908551] ACPI: Battery Slot [BAT1] (battery present)
[ 39.059992] wlan: svn r3367
[ 39.164789] ath_pci: svn r3367
[ 39.165202] ACPI: PCI Interrupt Link [LK4E] enabled at IRQ 19
[ 39.165211] ACPI: PCI Interrupt 0000:05:00.0[A] -> Link [LK4E] -> GSI 19 (level, low) -> IRQ 21
[ 39.165221] PCI: Setting latency timer of device 0000:05:00.0 to 64
[ 39.193033] MadWifi: unable to attach hardware: 'Hardware revision not supported' (HAL status 13)
[ 39.193057] ACPI: PCI interrupt for device 0000:05:00.0 disabled
[ 39.272145] Linux video capture interface: v2.00
[ 39.298196] ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 21
[ 39.298202] ACPI: PCI Interrupt 0000:00:07.0[A] -> Link [LAZA] -> GSI 21 (level, low) -> IRQ 18

The ath-pci seems to be the one I compiled if i am not mistaken. i had to do this when I was in 2.6.24-11 to get it working. I'm wondering since the kernel change if I need to start from scratch. I may try a new build since the acpi change if any....

Revision history for this message
thompa (thom-tendata) wrote :

attached is my dmesg from 2.6.12-11 which works.
relevant is maybe:

[ 32.561753] ath_pci: trunk
[ 32.591275] Linux video capture interface: v2.00
[ 32.608754] ACPI: PCI Interrupt Link [LK4E] enabled at IRQ 19
[ 32.608765] ACPI: PCI Interrupt 0000:05:00.0[A] -> Link [LK4E] -> GSI 19 (level, low) -> IRQ 21
[ 32.608775] PCI: Setting latency timer of device 0000:05:00.0 to 64
[ 33.163762] uvcvideo: Found UVC 1.00 device Acer CrystalEye webcam (064e:a101)
[ 33.165352] usbcore: registered new interface driver uvcvideo
[ 33.165357] USB Video Class driver (v0.1.0)
[ 33.183233] MadWifi: ath_attach: Switching rfkill capability off
[ 33.220328] ath_rate_sample: 1.2 (trunk)
[ 33.220520] MadWifi: ath_attach: Switching per-packet transmit power control off
[ 33.220847] wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[ 33.220851] wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[ 33.220860] wifi0: H/W encryption support: WEP AES AES_CCM TKIP
[ 33.220867] wifi0: ath_announce: Use hw queue 1 for WME_AC_BE traffic
[ 33.220869] wifi0: ath_announce: Use hw queue 0 for WME_AC_BK traffic
[ 33.220872] wifi0: ath_announce: Use hw queue 2 for WME_AC_VI traffic
[ 33.220874] wifi0: ath_announce: Use hw queue 3 for WME_AC_VO traffic
[ 33.220876] wifi0: ath_announce: Use hw queue 8 for CAB traffic
[ 33.220879] wifi0: ath_announce: Use hw queue 9 for beacons
[ 33.258875] ath_pci: wifi0: Atheros 5424/2424: mem=0xf2200000, irq=21

Revision history for this message
Juan Pedro Paredes (juampe) wrote :

modprobe ath_pci

[ 5049.616829] ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
[ 5049.743283] wlan: 0.8.4.2 (0.9.3.3)
[ 5049.799963] ath_pci: 0.9.4.5 (0.9.3.3)
[ 5049.806602] ACPI: PCI Interrupt 0000:03:04.0[A] -> GSI 17 (level, low) -> IRQ 22
[ 5050.487652] ath_rate_sample: 1.2 (0.9.3.3)
[ 5050.494521] wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[ 5050.494536] wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[ 5050.494552] wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[ 5050.494622] wifi0: H/W encryption support: WEP AES AES_CCM TKIP
[ 5050.494630] wifi0: mac 7.9 phy 4.5 radio 5.6
[ 5050.494640] wifi0: Use hw queue 1 for WME_AC_BE traffic
[ 5050.494643] wifi0: Use hw queue 0 for WME_AC_BK traffic
[ 5050.494646] wifi0: Use hw queue 2 for WME_AC_VI traffic
[ 5050.494649] wifi0: Use hw queue 3 for WME_AC_VO traffic
[ 5050.494652] wifi0: Use hw queue 8 for CAB traffic
[ 5050.494654] wifi0: Use hw queue 9 for beacons
[ 5050.576952] wifi0: Atheros 5212: mem=0xfeaf0000, irq=22
[ 5050.777500] ACPI: PCI interrupt for device 0000:03:04.0 disabled
[ 5050.777648] ath_pci: driver unloaded
[ 5050.786263] ath_rate_sample: unloaded
[ 5050.791549] ath_hal: driver unloaded
[ 5050.803629] wlan: driver unloaded

Revision history for this message
Juan Pedro Paredes (juampe) wrote :

This fix the issue an make load the module
/sbin/rmmod ath_pci ath_rate_sample ath_hal wlan_scan_sta wlan_scan_ap wlan 2>/dev/null
/sbin/insmod /lib/modules/2.6.24-12-generic/madwifi/wlan.ko
/sbin/insmod /lib/modules/2.6.24-12-generic/volatile/ath_hal.ko
/sbin/insmod /lib/modules/2.6.24-12-generic/madwifi/ath_pci.ko autocreate=ap

this a work to modprobe blacklist?

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

Is this bug still valid in Hardy with 2.6.24-17 ?

Revision history for this message
Fabián Rodríguez (magicfab) wrote :

I can confirm this still happens in 2.6.24-17. I am marking other duplicate bugs, editing descriptions to match and cleaning up.

Revision history for this message
Fabián Rodríguez (magicfab) wrote :

Sorry, I mean -18.

Revision history for this message
Fabián Rodríguez (magicfab) wrote :

Please disregard my last 2 comments. I had this issue confused with another similar one.

I am now going through all bugs I marked as duplicates and unmarking/keeping marked as appropriate.

I was a bit fast with my gun on this one, apologies to all involved.

Revision history for this message
Simon Jagoe (azriphale) wrote :

I am experiencing this problem with the 2.6.24-19 kernel and restricted modules. I have found that post-install, running depmed fixes the issue, but I was wondering if there is a way to get around the problem during install. I am performing an unattended installation (using debconf preseed), and need to have a working system without any manual intervention (as I need to deploy multiple systems in this way).

dmesg output is below (but not very exciting -- it is the same as has been posted above before)

$ dmesg | grep ath_pci
[ 30.085096] ath_pci: Unknown symbol _ath_hal_attach
[ 30.085316] ath_pci: Unknown symbol ath_hal_process_noisefloor
[ 30.086045] ath_pci: Unknown symbol ath_hal_computetxtime
[ 30.086676] ath_pci: Unknown symbol ath_hal_mhz2ieee
[ 30.086958] ath_pci: Unknown symbol ath_hal_detach
[ 30.088095] ath_pci: Unknown symbol ath_hal_probe
[ 30.089480] ath_pci: Unknown symbol ath_hal_init_channels
[ 30.089985] ath_pci: Unknown symbol ath_hal_getwirelessmodes

$ lspci | grep Wireless
03:00.0 Ethernet controller: Atheros Communications Inc. AR5212 802.11abg NIC (rev 01)

Does anybody know if this works with the 2.6.24-18 kernel and restricted modules?

Revision history for this message
Simon Jagoe (azriphale) wrote :

I think I can now confirm that -18 does not have this problem.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
Brad Figg (brad-figg) wrote :

This bug was reported a while ago but there hasn't been any recent comments or updates. Is this still an issue with the latest pre-release of Jaunty 9.04? Refer to http://www.ubuntu.com/testing/jaunty/beta . Please let us know.

tags: added: ct-rev
Changed in linux (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.