driver for atheros ar5212 is missing from kernel 2.6.20-16

Bug #117861 reported by Stan
18
Affects Status Importance Assigned to Milestone
linux-source-2.6.20 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: linux-source-2.6.20

After upgrading to the latest kernel 2.6.20-16 the wireless adapter no longer works. It was working fine with kernel 2.6.20-15.

Driver for atheros AR5212 is missing from kernel 2.6.20-16.

In 2.6.20-15 I can find it in /lib/modules/2.6.20-15-386/madwifi, however this directory is missing in /lib/modules/2.6.20-16-386

My wireless card is Cisco Aironet 802.11a/b/g AIR-CB21AG-A-K9

lspci gives the following:

02:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)

Revision history for this message
berg (berg-foss) wrote :

my atheros wireless dont work in 2.6.20- 6 . the modules for ath_pci.ko was not found

my lspci -vv (in 2.6.20-15 is working) of this device

09:02.0 Ethernet controller: Atheros Communications, Inc. AR5005G 802.11abg NIC (rev 01)
Subsystem: AMBIT Microsystem Corp. Unknown device 0418
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 168 (2500ns min, 7000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 20
Region 0: Memory at d0100000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-

dmesg parts on 2.6.20-15 working kernel

[ 25.496000] ath_hal: module license 'Proprietary' taints kernel.
[ 25.496000] ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
[ 25.604000] wlan: 0.8.4.2 (0.9.3)
[ 25.680000] ath_pci: 0.9.4.5 (0.9.3)
[ 25.680000] ACPI: PCI Interrupt 0000:09:02.0[A] -> GSI 21 (level, low) -> IRQ 20

[ 26.628000] ath_rate_sample: 1.2 (0.9.3)
[ 26.652000] wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[ 26.652000] wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[ 26.652000] wifi0: H/W encryption support: WEP AES AES_CCM TKIP
[ 26.652000] wifi0: mac 7.8 phy 4.5 radio 5.6
[ 26.652000] wifi0: Use hw queue 1 for WME_AC_BE traffic
[ 26.652000] wifi0: Use hw queue 0 for WME_AC_BK traffic
[ 26.652000] wifi0: Use hw queue 2 for WME_AC_VI traffic
[ 26.652000] wifi0: Use hw queue 3 for WME_AC_VO traffic
[ 26.652000] wifi0: Use hw queue 8 for CAB traffic
[ 26.652000] wifi0: Use hw queue 9 for beacons
[ 26.684000] wifi0: Atheros 5212: mem=0xd0100000, irq=20
__________________

Revision history for this message
berg (berg-foss) wrote :

* correction : my atheros wireless dont work in 2.6.20-16 and not 2.6.20- 6 as I typed

Revision history for this message
berg (berg-foss) wrote :
Download full text (4.3 KiB)

Is missing a linux-restricted-modules-2.6.20-16-386 ?? needs to be created ???

root@desktop-laptop:/home/desktop/bugs/wireless# apt-cache search linux-restric
linux-restricted-modules-2.6.20-15-386 - Non-free Linux 2.6.20 modules on 386
linux-restricted-modules-2.6.20-15-generic - Non-free Linux 2.6.20 modules on x86/x86_64
linux-restricted-modules-386 - Restricted Linux modules on 386.
linux-restricted-modules-686 - Obsoleted by: linux-restricted-modules-generic
linux-restricted-modules-common - Non-free Linux 2.6.20 modules helper script
linux-restricted-modules-generic - Restricted Linux modules for generic kernels
linux-restricted-modules-k7 - Obsoleted by: linux-restricted-modules-generic
nvidia-new-kernel-source - NVIDIA binary 'new' kernel module source
linux-restricted-modules-2.6.20-15-lowlatency - Non-free Linux 2.6.20 modules on x86/x86_64
avm-fritz-kernel-source - AVM Fritz! binary kernel module source
fglrx-kernel-source - ATI binary kernel module source
linux-restricted-modules-2.6.20-16-lowlatency - Non-free Linux 2.6.20 modules on x86/x86_64
linux-restricted-modules-lowlatency - Restricted Linux modules for low latency kernels
nvidia-kernel-source - NVIDIA binary kernel module source
nvidia-legacy-kernel-source - NVIDIA binary 'legacy' kernel module source
linux-restricted-modules-2.6.15-23-386 - Non-free Linux 2.6.15 modules on 386
root@desktop-laptop:/home/desktop/bugs/wireless#

 dpkg -l linux-*
Desejado=U=Desconhecido/Instalar/Remover/aPagar/H=Manter
| status=Não/Instalado/arquiv.-Config./U=Descomp./Falhou-config/H=semi-inst.
|/ Erro?=(nenhum)/H=Mantido/precisa-Reinst./X=os dois problemas (status,Erro: maiúsculas=ruim)
||/ Nome Versão Descrição
+++-======================================-======================================-============================================================================================
pn linux-386 <nenhuma> (nenhuma descrição disponível)
un linux-boot-loader <nenhuma> (nenhuma descrição disponível)
un linux-doc-2.6.15 <nenhuma> (nenhuma descrição disponível)
un linux-doc-2.6.20 <nenhuma> (nenhuma descrição disponível)
un linux-image <nenhuma> (nenhuma descrição disponível)
un linux-image-2.6 <nenhuma> (nenhuma descrição disponível)
ii linux-image-2.6.15-23-386 2.6.15-23.39 Linux kernel image for version 2.6.15 on 386.
ii linux-image-2.6.20-15-386 2.6.20-15.27 Linux kernel image for version 2.6.20 on i386
ii linux-image-2.6.20-16-386 2.6.20-16.29 Linux kernel image for version 2.6.20 on i386
ii linux-image-386 2.6.20.16.28.1 Linux kernel image on 386.
un linux-initramfs-tool <nenhuma> (nenhuma...

Read more...

Revision history for this message
berg (berg-foss) wrote :
Download full text (5.0 KiB)

there is a madwif folder in kernel 2.6.20-15 that dont exist in 2.6.20-16.
that ath_pci.ko was that works

root@desktop-laptop:/home/desktop# ls -l /lib/modules/
total 12
drwxr-xr-x 7 root root 4096 2007-04-20 23:42 2.6.15-23-386
drwxr-xr-x 6 root root 4096 2007-04-20 23:42 2.6.20-15-386
drwxr-xr-x 4 root root 4096 2007-06-12 02:03 2.6.20-16-386

root@desktop-laptop:/home/desktop# ls -l /lib/modules/2.6.20-15-386/
total 1648
drwxr-xr-x 2 root root 4096 2007-04-16 16:35 initrd
drwxr-xr-x 11 root root 4096 2007-04-16 16:35 kernel
drwxr-xr-x 2 root root 4096 2007-04-16 16:35 madwifi
-rw-r--r-- 1 root root 356589 2007-04-20 23:42 modules.alias
-rw-r--r-- 1 root root 69 2007-04-20 23:42 modules.ccwmap
-rw-r--r-- 1 root root 366415 2007-04-20 23:42 modules.dep
-rw-r--r-- 1 root root 813 2007-04-20 23:42 modules.ieee1394map
-rw-r--r-- 1 root root 806 2007-04-20 23:42 modules.inputmap
-rw-r--r-- 1 root root 22147 2007-04-20 23:42 modules.isapnpmap
-rw-r--r-- 1 root root 74 2007-04-20 23:42 modules.ofmap
-rw-r--r-- 1 root root 272644 2007-04-20 23:42 modules.pcimap
-rw-r--r-- 1 root root 1303 2007-04-20 23:42 modules.seriomap
-rw-r--r-- 1 root root 158301 2007-04-20 23:42 modules.symbols
-rw-r--r-- 1 root root 444182 2007-04-20 23:42 modules.usbmap
drwxr-xr-x 2 root root 400 2007-06-12 16:11 volatile

root@desktop-laptop:/home/desktop# ls -l /lib/modules/2.6.20-16-386/
total 1620
drwxr-xr-x 2 root root 4096 2007-06-12 02:03 initrd
drwxr-xr-x 11 root root 4096 2007-06-12 02:03 kernel
-rw-r--r-- 1 root root 351476 2007-06-12 02:03 modules.alias
-rw-r--r-- 1 root root 69 2007-06-12 02:03 modules.ccwmap
-rw-r--r-- 1 root root 362919 2007-06-12 02:03 modules.dep
-rw-r--r-- 1 root root 813 2007-06-12 02:03 modules.ieee1394map
-rw-r--r-- 1 root root 806 2007-06-12 02:03 modules.inputmap
-rw-r--r-- 1 root root 22147 2007-06-12 02:03 modules.isapnpmap
-rw-r--r-- 1 root root 74 2007-06-12 02:03 modules.ofmap
-rw-r--r-- 1 root root 263999 2007-06-12 02:03 modules.pcimap
-rw-r--r-- 1 root root 1303 2007-06-12 02:03 modules.seriomap
-rw-r--r-- 1 root root 153388 2007-06-12 02:03 modules.symbols
-rw-r--r-- 1 root root 443820 2007-06-12 02:03 modules.usbmap

root@desktop-laptop:/home/desktop# ls -l /lib/modules/2.6.20-15-386/madwifi/
total 4688
-rw-r--r-- 1 root root 576764 2007-04-13 14:34 ath_pci.ko
-rw-r--r-- 1 root root 197392 2007-04-13 14:34 ath_rate_amrr.ko
-rw-r--r-- 1 root root 194132 2007-04-13 14:34 ath_rate_onoe.ko
-rw-r--r-- 1 root root 218660 2007-04-13 14:34 ath_rate_sample.ko
-rw-r--r-- 1 root root 161788 2007-04-13 14:34 wlan_acl.ko
-rw-r--r-- 1 root root 184552 2007-04-13 14:34 wlan_ccmp.ko
-rw-r--r-- 1 root root 2311484 2007-04-13 14:34 wlan.ko
-rw-r--r-- 1 root root 165164 2007-04-13 14:34 wlan_scan_ap.ko
-rw-r--r-- 1 root root 196064 2007-04-13 14:34 wlan_scan_sta.ko
-rw-r--r-- 1 root root 193724 2007-04-13 14:34 wlan_tkip.ko
-rw-r--r-- 1 root root 170964 2007-04-13 14:34 wlan_wep.ko
-rw-r--r-- 1 root root 153196 2007-04-13 14:34 wlan_xauth.ko
root@desktop-laptop:/home/desktop#

root@desktop-laptop:/home/desktop# cd /lib/modules/2.6.20-15-386/madwifi/
roo...

Read more...

Revision history for this message
Stefan Sieber (stesieber) wrote :

I can confirm this bug.

I have the same wireless card (AR5212 802.11abg).

As berg commented, other people report, that they got the card working again after installing linux-restriced-modules-2.6.20-16 (http://ubuntuforums.org/showthread.php?t=457328&page=3). My problem is, that i can't find those modules neither.

Revision history for this message
Stefan Sieber (stesieber) wrote :

The package _should_ be available:
http://packages.ubuntu.com/feisty/misc/linux-restricted-modules-2.6.20-16-386

but apt can't find it...

Revision history for this message
berg (berg-foss) wrote :

thank you stefan for found the LOST package :)
this pachage is restricted and not hided . then I think that forgot upload it to repository.
the description for this lost package:

This package provides restricted modules for Linux version 2.6.20 on 386. Currently the following modules are included:

 - madwifi (Atheros)
 - fglrx (ATI)
 - nvidia
 - fcdsl, fcdsl2, fcdslsl, fcdslslusb, fcdslusb, fcdslusb2, fcdslusba,
   fcpci, fcusb, fxusb (AVM ISDN)
 - ltmodem (Winmodem)

These modules are "restricted" because they are not available under a completely Free licence.

there are many many and many users of this package and seems there is not solution this time ( update was maded in may 23) .

See this topic at ubuntu forum and see how many problems happened

http://ubuntuforums.org/showthread.php?t=456662

I see changelog this lost package and put Phillip Lougher in subscribers for this bug to try help us
http://changelogs.ubuntu.com/changelogs/pool/restricted/l/linux-restricted-modules-2.6.20/linux-restricted-modules-2.6.20_2.6.20.5-16.28/changelog

Revision history for this message
berg (berg-foss) wrote :

looking for cause for this problem, I noted some errors on my apt-get update output . is this errors can cause this problem ?? if yes , I think there is many people having this problem and "hating" ubuntu :( . Could be a problem in pt-br repository ?? I know that download direct from site showed by Stefan will resolve my problem , but I think that should be automatic to many user that dont know how to do it.

root@desktop-laptop:/home/desktop# apt-get update
Obtendo:1 http://br.archive.ubuntu.com feisty Release.gpg [191B]
Atingido http://br.archive.ubuntu.com feisty/main Translation-pt_BR
Atingido http://br.archive.ubuntu.com feisty/restricted Translation-pt_BR
Atingido http://br.archive.ubuntu.com feisty/universe Translation-pt_BR
Atingido http://br.archive.ubuntu.com feisty/multiverse Translation-pt_BR
Obtendo:2 http://br.archive.ubuntu.com feisty-updates Release.gpg [191B]
Obtendo:3 http://security.ubuntu.com feisty-security Release.gpg [191B]
Ign http://security.ubuntu.com feisty-security/main Translation-pt_BR
Ign http://security.ubuntu.com feisty-security/universe Translation-pt_BR
Ign http://security.ubuntu.com feisty-security/multiverse Translation-pt_BR
Atingido http://security.ubuntu.com feisty-security Release
Ign http://br.archive.ubuntu.com feisty-updates/main Translation-pt_BR
Ign http://br.archive.ubuntu.com feisty-updates/restricted Translation-pt_BR
Atingido http://br.archive.ubuntu.com feisty Release
Atingido http://br.archive.ubuntu.com feisty-updates Release
Atingido http://br.archive.ubuntu.com feisty/main Packages
Atingido http://br.archive.ubuntu.com feisty/restricted Packages
Atingido http://br.archive.ubuntu.com feisty/main Sources
Atingido http://br.archive.ubuntu.com feisty/restricted Sources
Atingido http://security.ubuntu.com feisty-security/main Packages
Atingido http://br.archive.ubuntu.com feisty/universe Packages
Atingido http://br.archive.ubuntu.com feisty/multiverse Packages
Atingido http://security.ubuntu.com feisty-security/main Sources
Atingido http://br.archive.ubuntu.com feisty/universe Sources
Atingido http://br.archive.ubuntu.com feisty/multiverse Sources
Atingido http://security.ubuntu.com feisty-security/universe Packages
Atingido http://security.ubuntu.com feisty-security/multiverse Packages
Atingido http://security.ubuntu.com feisty-security/universe Sources
Atingido http://br.archive.ubuntu.com feisty-updates/main Packages
Atingido http://br.archive.ubuntu.com feisty-updates/restricted Packages
Atingido http://br.archive.ubuntu.com feisty-updates/main Sources
Atingido http://br.archive.ubuntu.com feisty-updates/restricted Sources
Atingido http://security.ubuntu.com feisty-security/multiverse Sources
Baixados 3B em 19s (0B/s)
Lendo Lista de Pacotes... Pronto
root@desktop-laptop:/home/desktop#

Revision history for this message
berg (berg-foss) wrote :
Download full text (4.9 KiB)

I put restricted option in security repository my source.list came from a kubuntu 6.06 upgrade to 7.10.

in the bug https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules-2.6.20/+bug/120288
one user installed fresh 7.10 and have the same problem. I think there is some update that remove or dont put restricted repository.

in web page https://launchpad.net/ubuntu/+source/linux-restricted-modules-2.6.20/+bugs?field.searchtext=&orderby=-datecreated&search=Search&field.status%3Alist=Unconfirmed&field.status%3Alist=Confirmed&field.status%3Alist=In+Progress&field.status%3Alist=Needs+Info&field.status%3Alist=Fix+Committed&field.assignee=&field.bug_reporter=&field.omit_dupes=on&field.has_patch=&field.has_no_package=
we cab see many reports for tramatic upgrade from 2.6.20-15 to 2.6.20-16

and all , I think , because a restricted missing option.

deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted
deb http://security.ubuntu.com/ubuntu feisty-security universe multiverse restricted

and after a apt-get update , showed to me a restricted modules for 2.6.20-16 kernel version

root@desktop-laptop:/home/desktop# apt-cache search linux-restr*
linux-restricted-modules-2.6.20-15-386 - Non-free Linux 2.6.20 modules on 386
linux-restricted-modules-2.6.20-15-generic - Non-free Linux 2.6.20 modules on x86/x86_64
linux-restricted-modules-2.6.20-15-lowlatency - Non-free Linux 2.6.20 modules on x86/x86_64
avm-fritz-kernel-source - AVM Fritz! binary kernel module source
fglrx-kernel-source - ATI binary kernel module source
linux-restricted-modules-2.6.20-16-lowlatency - Non-free Linux 2.6.20 modules on x86/x86_64
linux-restricted-modules-lowlatency - Restricted Linux modules for low latency kernels
nvidia-kernel-source - NVIDIA binary kernel module source
nvidia-legacy-kernel-source - NVIDIA binary 'legacy' kernel module source
linux-restricted-modules-2.6.20-16-386 - Non-free Linux 2.6.20 modules on 386
linux-restricted-modules-2.6.20-16-generic - Non-free Linux 2.6.20 modules on x86/x86_64
linux-restricted-modules-386 - Restricted Linux modules on 386.
linux-restricted-modules-686 - Obsoleted by: linux-restricted-modules-generic
linux-restricted-modules-common - Non-free Linux 2.6.20 modules helper script
linux-restricted-modules-generic - Restricted Linux modules for generic kernels
linux-restricted-modules-k7 - Obsoleted by: linux-restricted-modules-generic
nvidia-new-kernel-source - NVIDIA binary 'new' kernel module source
linux-restricted-modules-2.6.15-23-386 - Non-free Linux 2.6.15 modules on 386
root@desktop-laptop:/home/desktop#

using apt-get upgrade command , upgraded only linux-restricted-modules-common 2.6.20.5-15.20 2.6.20.5-16.28.
 Dont upgraded the linux-restricted-modules-2.6.20-16-386. I needed install manually with :

root@desktop-laptop:/home/desktop# apt-get upgrade
Lendo Lista de Pacotes... Pronto
Construindo Árvore de Dependências
Reading state information... Pronto
Os pacotes a seguir serão mantidos em suas versões atuais :
  linux-restricted-modules-386
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 1 não atualizados.

root@desktop-laptop:/home/desktop# dpkg -l linux-res...

Read more...

Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

Ok, I mark this as confirmed as it happens with a lot of people.

Changed in linux-source-2.6.20:
importance: Undecided → High
status: Unconfirmed → Confirmed
Revision history for this message
Stefan Sieber (stesieber) wrote :

I can confirm berg's notes.

after adding 'restricted' option in the /etc/apt/sources.list to these two lines:

deb-src http://security.ubuntu.com/ubuntu feisty-security main
deb http://security.ubuntu.com/ubuntu feisty-security universe multiverse

the restricted modules package is found. And I was able to install it.

I'm using Kubuntu 7.04, too (I upgraded from 6.10). It's funny, that in Adept Manager, the 'Proprietary drivers for devices' - switch was enabled in the 'Managed Repositories window, obviously without effect.

Changed in linux-source-2.6.20:
assignee: nobody → ubuntu-kernel-team
Revision history for this message
Phillip Lougher (phillip-lougher) wrote :

No activity for six months, marking it as fixed.

Changed in linux-source-2.6.20:
status: Confirmed → Fix Released
Revision history for this message
doc_471 (the-analist-3d) wrote :

I have a similar problem, but in this case, the system is Ubuntu 8.04 (The Kernel is 2.6.24.16.18 and I have installed the linux-restricted-modules-2.6.24-16-generic, including the packages "linux-restricted-modules-generic" and "linux-restricted-modules-common")

Problem: When I'm trying to configure my connection (In ath0) via the Network Monitor Applet (This happens when I click the button "configure"), I receive the following message box:

(Warning Symbol) The Interface does not exist.
Check that it is correctly typed and that it is correctly supported by your system

But, in an impossible and strange case, ifconfig confirms that I HAVE THE CORRECT INTERFACE:
ath0 Link encap:Ethernet HWaddr 00:20:e0:1a:2a:ad
          inet addr:148.206.75.7 Bcast:148.206.75.255 Mask:255.255.255.0
          inet6 addr: fe80::220:e0ff:fe1a:2aad/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:1372 errors:0 dropped:0 overruns:0 frame:0
          TX packets:53 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:148105 (144.6 KB) TX bytes:5816 (5.6 KB)

This is the info from lspci -vv about AR5212:

05:04.0 Ethernet controller: Atheros Communications Inc. AR5212/AR5213 Multiprotocol MAC/baseband processor (rev 01)
 Subsystem: Actiontec Electronics Inc Unknown device 1042
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 168 (2500ns min, 7000ns max), Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 22
 Region 0: Memory at f0500000 (32-bit, non-prefetchable) [size=64K]
 Capabilities: [44] Power Management version 2
  Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=2 PME-

In other words, I'm online, but I can't download the packages from Synaptic and, obviously, I can't navigate with Firefox. I'm including the report of Hardware Testing for best info. Can someone confirm this? Thanks! (and sorry for my bad english)

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.

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.