Cannot load ath_pci from madwifi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-restricted-modules-2.6.15 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: linux-restricte
With linux-image-
alexander@
Password:
insmod /lib/modules/
WARNING: Error inserting ath_rate_sample (/lib/modules/
insmod /lib/modules/
FATAL: Error inserting ath_pci (/lib/modules/
In dmesg, there's:
[17179725.368000] ath_rate_sample: Unknown symbol ath_hal_
[17179725.368000] ath_pci: Unknown symbol ath_rate_
[17179725.368000] ath_pci: Unknown symbol _ath_hal_attach
[17179725.368000] ath_pci: Unknown symbol ath_rate_attach
[17179725.372000] ath_pci: Unknown symbol ath_rate_newassoc
[17179725.372000] ath_pci: Unknown symbol ath_hal_
[17179725.372000] ath_pci: Unknown symbol ath_rate_
[17179725.372000] ath_pci: Unknown symbol ath_hal_mhz2ieee
[17179725.372000] ath_pci: Unknown symbol ath_hal_detach
[17179725.372000] ath_pci: Unknown symbol ath_hal_probe
[17179725.372000] ath_pci: Unknown symbol ath_rate_
[17179725.372000] ath_pci: Unknown symbol ath_rate_detach
[17179725.372000] ath_pci: Unknown symbol ath_rate_node_init
[17179725.372000] ath_pci: Unknown symbol ath_rate_findrate
[17179725.372000] ath_pci: Unknown symbol ath_hal_
[17179725.388000] ath_pci: Unknown symbol ath_rate_newstate
[17179725.388000] ath_pci: Unknown symbol ath_rate_
[17179725.388000] ath_pci: Unknown symbol ath_hal_
The problem is, that the ath_hal module isn't loaded. In 2.6.15-25, doing "modprobe ath_pci" would load ath_hal as well and all was fine. Not so with the current kernel.
alexander@knospe:~$ sudo modprobe -v ath_hal
FATAL: Module ath_hal not found.
Hm, why's that?
alexander@knospe:~$ ls -la /lib/modules/`uname -r`/volatile/
insgesamt 18317
drwxr-xr-x 2 root root 400 2006-07-23 00:21 .
drwxr-xr-x 7 root root 568 2006-07-22 15:50 ..
-rw-r--r-- 1 root root 165272 2006-07-23 00:20 ath_hal.ko
-rw-r--r-- 1 root root 815000 2006-07-23 00:20 fcdsl2.ko
-rw-r--r-- 1 root root 890384 2006-07-23 00:20 fcdsl.ko
-rw-r--r-- 1 root root 815081 2006-07-23 00:21 fcdslsl.ko
-rw-r--r-- 1 root root 808538 2006-07-23 00:21 fcdslslusb.ko
-rw-r--r-- 1 root root 809293 2006-07-23 00:21 fcdslusb2.ko
-rw-r--r-- 1 root root 808569 2006-07-23 00:21 fcdslusba.ko
-rw-r--r-- 1 root root 709490 2006-07-23 00:21 fcdslusb.ko
-rw-r--r-- 1 root root 614555 2006-07-23 00:21 fcpci.ko
-rw-r--r-- 1 root root 8779 2006-07-23 00:21 fcpcmcia_cs.ko
-rw-r--r-- 1 root root 606863 2006-07-23 00:21 fcpcmcia.ko
-rw-r--r-- 1 root root 607657 2006-07-23 00:21 fcusb.ko
-rw-r--r-- 1 root root 471141 2006-07-23 00:21 fglrx.ko
-rw-r--r-- 1 root root 654348 2006-07-23 00:21 fxusb.ko
-rw-r--r-- 1 root root 0 2006-07-23 00:20 .mounted
-rw-r--r-- 1 root root 208279 2006-07-23 00:21 new_ath_hal.ko
-rw-r--r-- 1 root root 5176266 2006-07-23 00:21 nvidia.ko
-rw-r--r-- 1 root root 4410619 2006-07-23 00:21 nvidia_legacy.ko
It seems, modprobe doesn't look into this volatile directory?
alexander@knospe:~$ sudo insmod /lib/modules/ 2.6.15- 26-686/ volatile/ ath_hal. ko 2.6.15- 26-686/ madwifi/ ath_rate_ sample. ko 2.6.15- 26-686/ madwifi/ ath_pci. ko
alexander@knospe:~$ sudo modprobe -v ath_pci
insmod /lib/modules/
insmod /lib/modules/
So, when I manually load the module, I can then modprobe ath_pci and thus access the WLAN just fine.
Thus I asume, that the real problem is, that modprobe doesn't check the volatile directory. Why does it not do this?