madwifi fails to load: ath_pci: Unknown symbol _ath_hal_attach

Bug #130665 reported by Martin-Éric Racine
32
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned
Nominated for Gutsy by Anders Wallenquist
linux-restricted-modules-2.6.22 (Ubuntu)
Won't Fix
Undecided
Unassigned
Nominated for Gutsy by Anders Wallenquist
linux-restricted-modules-2.6.24 (Ubuntu)
Won't Fix
Undecided
Unassigned
Nominated for Gutsy by Anders Wallenquist

Bug Description

I was trying the new default -generic kernel and matching restricted modules for Gutsy on this P3 laptop, to ensure that there would not be any ACPI or APM regressions in Gutsy, but found that the restricted modules fail to load Atheros support completely, reporting a bunch of Unknown symbols all along the way.

Revision history for this message
digger vermont (digver) wrote :
Download full text (5.8 KiB)

I can confirm this on a powerpc with an up to date installation of gutsy.
The modules do load properly with a 2.6.20 kernel.

This is from a recent /var/log/kern.log

Aug 8 13:08:38 myrna kernel: [ 64.397733] ttyS0 at MMIO 0x80013020 (irq = 22) is a Z85c30 ESCC - Serial port
Aug 8 13:08:38 myrna kernel: [ 64.404714] ttyS1 at MMIO 0x80013000 (irq = 29) is a Z85c30 ESCC - Serial port
Aug 8 13:08:38 myrna kernel: [ 65.108081] wlan: 0.8.4.2 (0.9.3.1)
Aug 8 13:08:38 myrna kernel: [ 65.123284] ath_pci: Unknown symbol _ath_hal_attach
Aug 8 13:08:38 myrna kernel: [ 65.124338] ath_pci: Unknown symbol ath_hal_process_noisefloor
Aug 8 13:08:38 myrna kernel: [ 65.126078] ath_pci: Unknown symbol ath_hal_computetxtime
Aug 8 13:08:38 myrna kernel: [ 65.127740] ath_pci: Unknown symbol ath_hal_mhz2ieee
Aug 8 13:08:38 myrna kernel: [ 65.128823] ath_pci: Unknown symbol ath_hal_detach
Aug 8 13:08:38 myrna kernel: [ 65.130976] ath_pci: Unknown symbol ath_hal_probe
Aug 8 13:08:38 myrna kernel: [ 65.133564] ath_pci: Unknown symbol ath_hal_init_channels
Aug 8 13:08:38 myrna kernel: [ 65.134958] ath_pci: Unknown symbol ath_hal_reg_write
Aug 8 13:08:38 myrna kernel: [ 65.135834] ath_pci: Unknown symbol ath_hal_reg_read
Aug 8 13:08:38 myrna kernel: [ 65.136792] ath_pci: Unknown symbol ath_hal_getwirelessmodes
Aug 8 13:08:38 myrna kernel: [ 67.261811] apm_emu: PMU APM Emulation initialized.
Aug 8 13:08:38 myrna kernel: [ 68.265613] input: PowerMac Beep as /class/input/input5
Aug 8 13:08:38 myrna kernel: [ 68.471690] usbcore: registered new interface driver wacom
Aug 8 13:08:38 myrna kernel: [ 68.472491] /build/buildd/linux-source-2.6.22-2.6.22/drivers/input/tablet/wacom_sys.c: v1.46:USB Wacom Graphire and Wacom Intuos tablet driver
Aug 8 13:08:38 myrna kernel: [ 68.633492] SCSI subsystem initialized
Aug 8 13:08:38 myrna kernel: [ 69.050107] Bluetooth: Core ver 2.11
Aug 8 13:08:38 myrna kernel: [ 69.051023] NET: Registered protocol family 31
Aug 8 13:08:38 myrna kernel: [ 69.051746] Bluetooth: HCI device and connection manager initialized
Aug 8 13:08:38 myrna kernel: [ 69.052525] Bluetooth: HCI socket layer initialized
Aug 8 13:08:38 myrna kernel: [ 69.101175] Bluetooth: HCI UART driver ver 2.2
Aug 8 13:08:38 myrna kernel: [ 69.101932] Bluetooth: HCI H4 protocol initialized
Aug 8 13:08:38 myrna kernel: [ 69.102683] Bluetooth: HCI BCSP protocol initialized
Aug 8 13:08:38 myrna kernel: [ 69.132550] ath_pci: Unknown symbol _ath_hal_attach
Aug 8 13:08:38 myrna kernel: [ 69.133638] ath_pci: Unknown symbol ath_hal_process_noisefloor
Aug 8 13:08:38 myrna kernel: [ 69.135526] ath_pci: Unknown symbol ath_hal_computetxtime
Aug 8 13:08:38 myrna kernel: [ 69.137253] ath_pci: Unknown symbol ath_hal_mhz2ieee
Aug 8 13:08:38 myrna kernel: [ 69.138392] ath_pci: Unknown symbol ath_hal_detach
Aug 8 13:08:38 myrna kernel: [ 69.140698] ath_pci: Unknown symbol ath_hal_probe
Aug 8 13:08:38 myrna kernel: [ 69.143493] ath_pci: Unknown symbol ath_hal_init_channels
Aug 8 13:08:38 myrna kernel: [ 69.144974] ath_pci: Unknown symbol ath_hal_reg_write
Aug 8 13:08:38 myrna kernel: [ 69.145862] ath_pci:...

Read more...

Revision history for this message
Gustavo A. Díaz (gdiaz) wrote :

I can confirm this, since today upgrade i cant use anymore my Atheros Wireless card...

gustavo@MysT:~$ dmesg | grep ath
[ 20.392000] ath_pci: Unknown symbol _ath_hal_attach
[ 20.392000] ath_pci: Unknown symbol ath_hal_process_noisefloor
[ 20.392000] ath_pci: Unknown symbol ath_hal_computetxtime
[ 20.392000] ath_pci: Unknown symbol ath_hal_mhz2ieee
[ 20.392000] ath_pci: Unknown symbol ath_hal_detach
[ 20.392000] ath_pci: Unknown symbol ath_hal_probe
[ 20.392000] ath_pci: Unknown symbol ath_hal_init_channels
[ 20.392000] ath_pci: Unknown symbol ath_hal_getwirelessmodes/

PS: Using Kubuntu Gutsy of course.

Revision history for this message
Giovanni Cucca (spawnhcs-deactivatedaccount) wrote :

I can confirm this error on the latest -rt kernel version 2.6.22-10:

spawn@sincity:~$ dmesg | grep ath
[ 31.169241] ath_pci: Unknown symbol _ath_hal_attach
[ 31.169330] ath_pci: Unknown symbol ath_hal_process_noisefloor
[ 31.169612] ath_pci: Unknown symbol ath_hal_computetxtime
[ 31.169861] ath_pci: Unknown symbol ath_hal_mhz2ieee
[ 31.169955] ath_pci: Unknown symbol ath_hal_detach
[ 31.170370] ath_pci: Unknown symbol ath_hal_probe
[ 31.170903] ath_pci: Unknown symbol ath_hal_init_channels
[ 31.171107] ath_pci: Unknown symbol ath_hal_getwirelessmodes

Modules are loaded normally on -generic kernel

Revision history for this message
Nicola Mattei (jahmax) wrote :

I can confirm the exact issue as reported by Giovanni, madwifi is ok on -generic kernel but fails with -rt. Attached dmesg, lspci -vv and lspci -vvn output.
I'm on Ubuntu Gutsy x86_64, 2.6.22-10 kernels, of course

Revision history for this message
Nicola Mattei (jahmax) wrote :
Revision history for this message
Nicola Mattei (jahmax) wrote :
Revision history for this message
J. Pablo González (disablez) wrote :

2.6.22.11-rt also fails to load ath_pci, reporting that the module wasn't found. generic kernel works ok.

Changed in linux-restricted-modules-2.6.22:
status: New → Confirmed
Revision history for this message
Martin-Éric Racine (q-funk) wrote :

Here, this has been fixed for me a few kernels ago on -generic.

Revision history for this message
Gustavo A. Díaz (gdiaz) wrote : Re: [Bug 130665] Re: madwifi fails to load: ath_pci: Unknown symbol _ath_hal_attach

For me too.

2007/9/11, Martin-Éric Racine <email address hidden>:
>
> Here, this has been fixed for me a few kernels ago on -generic.
>
> --
> madwifi fails to load: ath_pci: Unknown symbol _ath_hal_attach
> https://bugs.launchpad.net/bugs/130665
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Gustavo A. Díaz
GDNet Projects
www.gdnet.com.ar

Revision history for this message
J. Pablo González (disablez) wrote :

Forgot to say... if you need it to work, just download madwifi from their page and build it manually.

# make
and
# make install (hit r to remove the old one)
... as long as kernel headers and build tools are installed.

Seems to work with no problem.

Revision history for this message
Giovanni Cucca (spawnhcs-deactivatedaccount) wrote :

This has been fixed for me with the latest -rt kernel version 2.6.22-12 (it always worked on -generic kernels)

Revision history for this message
Nicola Mattei (jahmax) wrote :

This has been fixed for me too with the latest -rt kernel version 2.6.22-12

Revision history for this message
coubi64 (frederic-valentin) wrote :

Not solved for me with the last updates of Gutsy (today)

lshw gives me:

*-network:0
             description: Wireless interface
             product: AR5212/AR5213 Multiprotocol MAC/baseband processor
             vendor: Atheros Communications, Inc.
             physical id: 6
             bus info: pci@0000:00:06.0
             logical name: wifi0
             version: 01
             serial: 00:16:e3:35:24:a9
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master cap_list logical ethernet physical wireless

Revision history for this message
Victor Ashik (vashik+) wrote :

I met the problem yesterday after updating linux-restricted-modules:

linux-restricted-modules-2.6.22-14-generic 2.6.22.4-14.9 -> 2.6.22.4-14.10
linux-restricted-modules-common 2.6.22.4-14.9 -> 2.6.22.4-14.10

Revision history for this message
Victor Ashik (vashik+) wrote :

Just remembered that I built madwifi modules myself - I think I just have to rebuild. Sorry.

Revision history for this message
Anders Wallenquist (aw) wrote :

I can confirm this problem on an Intel Mac Mini:
root@macken:~# uname -a
Linux macken 2.6.22-14-generic #1 SMP Tue Dec 18 08:02:57 UTC 2007 i686 GNU/Linux

root@macken:~# dmesg | grep ath
[ 3.224000] md: multipath personality registered for level -4
[ 17.440000] ath_pci: Unknown symbol _ath_hal_attach
[ 17.440000] ath_pci: Unknown symbol ath_hal_process_noisefloor
[ 17.440000] ath_pci: Unknown symbol ath_hal_computetxtime
[ 17.440000] ath_pci: Unknown symbol ath_hal_mhz2ieee
[ 17.440000] ath_pci: Unknown symbol ath_hal_detach
[ 17.444000] ath_pci: Unknown symbol ath_hal_probe
[ 17.444000] ath_pci: Unknown symbol ath_hal_init_channels
[ 17.444000] ath_pci: Unknown symbol ath_hal_getwirelessmodes
[24461.912000] ath_pci: Unknown symbol _ath_hal_attach
[24461.912000] ath_pci: Unknown symbol ath_hal_process_noisefloor
[24461.912000] ath_pci: Unknown symbol ath_hal_computetxtime
[24461.912000] ath_pci: Unknown symbol ath_hal_mhz2ieee
[24461.912000] ath_pci: Unknown symbol ath_hal_detach
[24461.912000] ath_pci: Unknown symbol ath_hal_probe
[24461.912000] ath_pci: Unknown symbol ath_hal_init_channels
[24461.916000] ath_pci: Unknown symbol ath_hal_getwirelessmodes
root@macken:~#
root@macken:~# dpkg -l linux-restricted-modules-2.6.22\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Namn Version Beskrivning
+++-==============-==============-============================================
ii linux-restrict 2.6.22.4-14.10 Non-free Linux 2.6.22 modules on x86/x86_64
ii linux-restrict 2.6.22.4-14.10 Non-free Linux 2.6.22 modules on Xen

Revision history for this message
Anders Wallenquist (aw) wrote :

I can also confirm that a downgrade of linux-restricted-modules-2.6.22-14-generic 2.6.22.4-14.10 to 2.6.22.4-14.9 made Atheros-drivers work again:

dmesg:
....
[25370.152000] ath_rate_sample: 1.2 (0.9.3.2)
[25370.156000] wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[25370.156000] wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[25370.156000] wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[25370.156000] wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[25370.156000] wifi0: H/W encryption support: WEP AES AES_CCM TKIP
[25370.156000] wifi0: mac 10.3 phy 6.1 radio 10.2
[25370.156000] wifi0: Use hw queue 1 for WME_AC_BE traffic
[25370.156000] wifi0: Use hw queue 0 for WME_AC_BK traffic
[25370.156000] wifi0: Use hw queue 2 for WME_AC_VI traffic
[25370.156000] wifi0: Use hw queue 3 for WME_AC_VO traffic
[25370.156000] wifi0: Use hw queue 8 for CAB traffic
[25370.156000] wifi0: Use hw queue 9 for beacons
[25370.160000] wifi0: Atheros 5424/2424: mem=0x90100000, irq=16

Revision history for this message
bcmpinc (bcmpinc) wrote :

I'm having the same problem with linux-restricted-modules-2.6.24-19-generic.

I have to add that there's something weird going on. In the network manager applet I only see the ppp0 and eth0 device (ath0 is missing). I decide to reboot hoping that would fix the problem, but after reboot I only see ppp0. eth0 has also went missing.

A soft reboot of my laptop didn't make eth0 return.
Also a soft reboot with kernel 2.6.24-16-generic, did not make my eth0 return, however my wifi does work.

A hard reboot did make eth0 return.

Revision history for this message
Patrick Curran (pjcurran) wrote :

I had a similar problem (but possibly different) and typing `sudo depmod` fixed it.

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

The 18 month support period for Gutsy Gibbon 7.10 has reached its end of life -
http://www.ubuntu.com/news/ubuntu-7.10-eol . As a result, we are closing the
linux-restricted-modules-2.6.22 task. It would be helpful if you could test the
new Jaunty Jackalope 9.04 release and confirm if this issue remains -
http://www.ubuntu.com/getubuntu/releasenotes/904overview. If the issue still exists with the Jaunty
release, please update this report by changing the Status of the "linux (Ubuntu)"
task from "Incomplete" to "New". Thanks in advance.

Changed in linux-restricted-modules-2.6.22 (Ubuntu):
status: Confirmed → Won't Fix
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Przemek K. (azrael) wrote :

I'm closing this bug because:
1) there have been no comments since a 1.5 year
2) Gutsy is EOL now
3) Madwifi is deprecated.
Please use the ath5k or ath9k driver now and report separate bugs if you encounter any problems.

Changed in linux (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
bugbot (bugbot) wrote : linux-restricted-modules-2.6.24 is obsolete

Thank you for reporting this issue about a driver from the
linux-restricted-modules package. lrm-2.4.24 was shipped with Ubuntu
8.04 which reached end-of-life for desktop support on May 12th, 2011.

For that reason, this bug report is being closed at this time. I'm
marking it wontfix because what you describe is probably a valid issue,
but there are no plans to work on lrm 2.4.24 bugs further.

The issue may be resolved in a newer version. If not, aside from filing
a new bug report, another angle may be to file it directly with the
driver vendor.

Changed in linux-restricted-modules-2.6.24 (Ubuntu):
status: New → Won't Fix
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.