#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 [EMAIL PROTECTED]):

 I reinstalled the ubuntu restricted modules package to get the old driver
 back.
 The madwifi-old driver is functioning again.
 I unloaded it manually:
 {{{
 # modprobe -r ath_pci
 # lsmod | grep ath
 #
 }}}
 It definitely is unloaded.
 I then proceeded to perform the build:
 {{{
 # mv madwifi-ng/ madwifi-ng-r1472
 # svn checkout http://svn.madwifi.org/trunk madwifi-ng
 ...pulls down r1473 successfully...
 # cd madwifi-ng
 # make clean   KERNELPATH=/usr/src/linux-headers-$(uname -r)
 CC=/usr/bin/gcc-3.4...success...
 # make         KERNELPATH=/usr/src/linux-headers-$(uname -r)
 CC=/usr/bin/gcc-3.4
 ...compiles successfully...
 # make install KERNELPATH=/usr/src/linux-headers-$(uname -r)
 CC=/usr/bin/gcc-3.4sh scripts/find-madwifi-modules.sh /lib/modules/2.6.12-
 10-686

 WARNING:
 It seems that there are modules left from previous MadWifi installations.
 If you are unistalling the MadWifi modules please press "r" to remove
 them.
 If you are installing new MadWifi modules, you should consider removing
 those
 already installed, or else you may experience problems during operation.
 Remove old modules?

 [l]ist, [r]emove, [i]gnore or e[x]it (l,r,i,[x]) ?
 r
 for i in ./ath_hal ./net80211 ath_rate/sample ./ath; do \
         make -C $i install || exit 1; \
 done
 make[1]: Entering directory `/root/madwifi-ng/ath_hal'
 test -d //lib/modules/2.6.12-10-686/net || mkdir -p //lib/modules/2.6.12-
 10-686/net
 strip -S ath_hal.ko
 cp ath_hal.ko //lib/modules/2.6.12-10-686/net
 make[1]: Leaving directory `/root/madwifi-ng/ath_hal'
 make[1]: Entering directory `/root/madwifi-ng/net80211'
 test -d //lib/modules/2.6.12-10-686/net || mkdir -p //lib/modules/2.6.12-
 10-686/net
 for i in wlan.o wlan_wep.o wlan_tkip.o wlan_ccmp.o wlan_acl.o wlan_xauth.o
 wlan_scan_sta.o wlan_scan_ap.o; do \
         f=`basename $i .o`; \
         strip -S $f.ko; \
         cp $f.ko //lib/modules/2.6.12-10-686/net; \
 done
 make[1]: Leaving directory `/root/madwifi-ng/net80211'
 make[1]: Entering directory `/root/madwifi-ng/ath_rate/sample'
 test -d //lib/modules/2.6.12-10-686/net || mkdir -p //lib/modules/2.6.12-
 10-686/net
 strip -S ath_rate_sample.ko
 cp ath_rate_sample.ko //lib/modules/2.6.12-10-686/net
 make[1]: Leaving directory `/root/madwifi-ng/ath_rate/sample'
 make[1]: Entering directory `/root/madwifi-ng/ath'
 test -d //lib/modules/2.6.12-10-686/net || mkdir -p //lib/modules/2.6.12-
 10-686/net
 strip -S ath_pci.ko
 cp ath_pci.ko //lib/modules/2.6.12-10-686/net
 make[1]: Leaving directory `/root/madwifi-ng/ath'
 (export MODULEPATH=/lib/modules/2.6.12-10-686/net; /sbin/depmod -ae)
 make -C ./tools  install || exit 1
 make[1]: Entering directory `/root/madwifi-ng/tools'
 install -d /usr/local/bin
 for i in athstats 80211stats athkey athchans athctrl athdebug 80211debug
 wlanconfig; do \
         install $i /usr/local/bin/$i; \
         strip /usr/local/bin/$i; \
 done
 install -d /usr/local/man/man8
 install -m 0644 man/*.8 /usr/local/man/man8
 make[1]: Leaving directory `/root/madwifi-ng/tools'
 # depmod -a
 # modprobe ath_pci
 WARNING: Error inserting ath_rate_sample (/lib/modules/2.6.12-10-
 686/net/ath_rate_sample.ko): Unknown symbol in module, or unknown
 parameter (see dmesg)
 FATAL: Error inserting ath_pci (/lib/modules/2.6.12-10-
 686/net/ath_pci.ko): Unknown symbol in module, or unknown parameter (see
 dmesg)
 #
 }}}
 I rebooted with the PCMCIA card removed, just to be sure, and reinserted
 it.
 {{{
 # dmesg
 ...lots of other stuff...
 [4295596.252000] ath_hal: module license 'Proprietary' taints kernel.
 [4295596.261000] ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111,
 RF5112, RF2413)
 [4295596.276000] wlan: 0.8.4.2 (svn 1473)
 [4295596.278000] ath_rate_sample: disagrees about version of symbol
 ath_hal_computetxtime
 [4295596.278000] ath_rate_sample: Unknown symbol ath_hal_computetxtime
 [4295596.282000] ath_pci: Unknown symbol ath_rate_tx_complete
 [4295596.282000] ath_pci: disagrees about version of symbol
 _ath_hal_attach
 [4295596.282000] ath_pci: Unknown symbol _ath_hal_attach
 [4295596.283000] ath_pci: Unknown symbol ath_rate_attach
 [4295596.284000] ath_pci: Unknown symbol ath_rate_newassoc
 [4295596.284000] ath_pci: disagrees about version of symbol
 ath_hal_computetxtime
 [4295596.284000] ath_pci: Unknown symbol ath_hal_computetxtime
 [4295596.285000] ath_pci: disagrees about version of symbol
 ath_hal_mhz2ieee
 [4295596.285000] ath_pci: Unknown symbol ath_hal_mhz2ieee
 [4295596.285000] ath_pci: disagrees about version of symbol ath_hal_detach
 [4295596.285000] ath_pci: Unknown symbol ath_hal_detach
 [4295596.287000] ath_pci: Unknown symbol ath_rate_node_cleanup
 [4295596.287000] ath_pci: Unknown symbol ath_rate_detach
 [4295596.289000] ath_pci: Unknown symbol ath_rate_node_init
 [4295596.289000] ath_pci: Unknown symbol ath_rate_findrate
 [4295596.289000] ath_pci: disagrees about version of symbol
 ath_hal_init_channels
 [4295596.289000] ath_pci: Unknown symbol ath_hal_init_channels
 [4295596.290000] ath_pci: Unknown symbol ath_rate_newstate
 [4295596.290000] ath_pci: Unknown symbol ath_rate_setupxtxdesc
 [4295596.290000] ath_pci: disagrees about version of symbol
 ath_hal_getwirelessmodes
 [4295596.290000] ath_pci: Unknown symbol ath_hal_getwirelessmodes
 #
 }}}

 So, the issue persists.

-- 
Ticket URL: <http://madwifi.org/ticket/327>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity

Reply via email to