#327: modprobe problem
----------------------------------+-----------------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: defect | Status: reopened
Priority: major | Milestone:
Component: madwifi: driver | Version: trunk
Resolution: | Keywords: modprobe
Patch_attached: 0 |
----------------------------------+-----------------------------------------
Comment (by anonymous):
yes, ath_hal was being loaded first.
It remains loaded after the failure, so I unloaded that and wlan.
{{{
# modprobe -r ath_hal
# modprobe -r wlan
# lsmod | grep 'ath\|wlan'
# cd /lib/modules/2.6.12-10-686/net
# insmod ath_hal.ko
# insmod ath_rate_sample.ko
insmod: error inserting 'ath_rate_sample.ko': -1 Unknown symbol in module
# lsmod | grep 'ath\|wlan'
ath_hal 188816 0
#
}}}
Just for the hell of it, I tried it all over again with modprobe after
removing ath_hal:
{{{
# modprobe -r ath_hal
# modprobe ath_pci
# dmesg
...unrelated...
[4299062.037000] ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111,
RF5112, RF2413, RF5413)
[4299073.739000] ath_rate_sample: Unknown symbol ether_sprintf
[4299073.739000] ath_rate_sample: Unknown symbol ieee80211_iterate_nodes
[4299447.640000] ath_hal: driver unloaded
[4299454.008000] eth0: New link status: Disconnected (0002)
[4299455.407000] eth0: New link status: Connected (0001)
[4299458.585000] ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111,
RF5112, RF2413, RF5413)
[4299458.594000] wlan: 0.8.4.2 (svn 1473)
[4299458.599000] ath_rate_sample: 1.2 (svn 1473)
[4299458.611000] ath_pci: 0.9.4.5 (svn 1473)
[4299458.619000] PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
[4299458.619000] ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [LNKA] -> GSI
11 (level, low) -> IRQ 11
[4299459.204000] wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[4299459.204000] wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps
12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[4299459.204000] wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps
48Mbps 54Mbps
[4299459.204000] wifi0: H/W encryption support: WEP AES AES_CCM TKIP
[4299459.204000] wifi0: mac 7.9 phy 4.5 radio 5.6
[4299459.204000] wifi0: Use hw queue 1 for WME_AC_BE traffic
[4299459.204000] wifi0: Use hw queue 0 for WME_AC_BK traffic
[4299459.204000] wifi0: Use hw queue 2 for WME_AC_VI traffic
[4299459.204000] wifi0: Use hw queue 3 for WME_AC_VO traffic
[4299459.204000] wifi0: Use hw queue 8 for CAB traffic
[4299459.204000] wifi0: Use hw queue 9 for beacons
[4299459.229000] wifi0: Atheros 5212: mem=0x20800000, irq=11
#
}}}
So, wow. Let me do more testing. It seems like removing the wlan module
before modprobing ath_pci did the trick. The thing is though, I have
another wifi card in this laptop, a Prism 2.5, and I bet it is loading the
wlan module for that device. Unfortunately, I am unaware of a way to
completely disable the Prism 2.5 device, from the BIOS or otherwise.
I will post back with more information after further testing...
--
Ticket URL: <http://madwifi.org/ticket/327>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity