Wireless problems

Christian Hauser c.hauser at active.ch
Mon Dec 6 22:44:04 UTC 2004


I've just read about wireless (post by Terry) and thought that I might
set up WiFi on my ThinkPad T40p running Fedora Core 3.

I checked (using lspci) that I have a Atheros chip and downloaded
madwifi from CVS.

Running make worked (although with lots of "undefined" warnings).

But when I used insmod to load the modules I could only load wlan and
ath_hal, but not ath_pci:

[root at localhost madwifi]# insmod ./ath/ath_pci.ko
insmod: error inserting './ath/ath_pci.ko': -1 Unknown symbol in module

The 'Hardware Browser' tool still does not see my wireless PCI card
after running insmod. And iwconfig doesn't seem to find any wireless
extensions.

Thanks in advance for any help on that.

Christian



Here's the output of lspci, make, insmod, lsmod, iwconfig:

[root at localhost madwifi]# lspci
...
02:01.0 Ethernet controller: Intel Corp. 82540EP Gigabit Ethernet
Controller (Mobile) (rev 03)
02:02.0 Ethernet controller: Atheros Communications, Inc. AR5211
802.11ab NIC (rev 01)


[root at localhost madwifi]# make
for i in ./ath_hal ath_rate/onoe ./net80211 ./ath; do \
	(cd $i; make) || exit 1; \
done
make[1]: Entering directory `/root/madwifi/ath_hal'
cp ./../hal/linux/ah_osdep.c ah_osdep.c
uudecode ./../hal/linux/i386-elf.hal.o.uu
cp ./../hal/linux/i386-elf.opt_ah.h opt_ah.h
make -C /lib/modules/2.6.9-1.681_FC3/build SUBDIRS=/root/madwifi/ath_hal
modules
make[2]: Entering directory `/lib/modules/2.6.9-1.681_FC3/build'
   CC [M]  /root/madwifi/ath_hal/ah_osdep.o
   LD [M]  /root/madwifi/ath_hal/ath_hal.o
   Building modules, stage 2.
   MODPOST
   CC      /root/madwifi/ath_hal/ath_hal.mod.o
   LD [M]  /root/madwifi/ath_hal/ath_hal.ko
make[2]: Leaving directory `/lib/modules/2.6.9-1.681_FC3/build'
make[1]: Leaving directory `/root/madwifi/ath_hal'
make[1]: Entering directory `/root/madwifi/ath_rate/onoe'
make -C /lib/modules/2.6.9-1.681_FC3/build
SUBDIRS=/root/madwifi/ath_rate/onoe modules
make[2]: Entering directory `/lib/modules/2.6.9-1.681_FC3/build'
   CC [M]  /root/madwifi/ath_rate/onoe/onoe.o
   LD [M]  /root/madwifi/ath_rate/onoe/ath_rate_onoe.o
   Building modules, stage 2.
   MODPOST
*** Warning: "ieee80211_iterate_nodes"
[/root/madwifi/ath_rate/onoe/ath_rate_onoe.ko] undefined!
*** Warning: "ether_sprintf"
[/root/madwifi/ath_rate/onoe/ath_rate_onoe.ko] undefined!
   CC      /root/madwifi/ath_rate/onoe/ath_rate_onoe.mod.o
   LD [M]  /root/madwifi/ath_rate/onoe/ath_rate_onoe.ko
make[2]: Leaving directory `/lib/modules/2.6.9-1.681_FC3/build'
make[1]: Leaving directory `/root/madwifi/ath_rate/onoe'
make[1]: Entering directory `/root/madwifi/net80211'
make -C /lib/modules/2.6.9-1.681_FC3/build
SUBDIRS=/root/madwifi/net80211 modules
make[2]: Entering directory `/lib/modules/2.6.9-1.681_FC3/build'
   CC [M]  /root/madwifi/net80211/if_media.o
   CC [M]  /root/madwifi/net80211/rc4.o
   CC [M]  /root/madwifi/net80211/ieee80211.o
   CC [M]  /root/madwifi/net80211/ieee80211_crypto.o
   CC [M]  /root/madwifi/net80211/ieee80211_input.o
   CC [M]  /root/madwifi/net80211/ieee80211_node.o
   CC [M]  /root/madwifi/net80211/ieee80211_output.o
   CC [M]  /root/madwifi/net80211/ieee80211_proto.o
   CC [M]  /root/madwifi/net80211/ieee80211_wireless.o
   CC [M]  /root/madwifi/net80211/ieee80211_linux.o
   CC [M]  /root/madwifi/net80211/ieee80211_crypto_none.o
   CC [M]  /root/madwifi/net80211/ieee80211_acl.o
   CC [M]  /root/madwifi/net80211/ieee80211_crypto_ccmp.o
   CC [M]  /root/madwifi/net80211/ieee80211_crypto_tkip.o
   CC [M]  /root/madwifi/net80211/ieee80211_crypto_wep.o
   CC [M]  /root/madwifi/net80211/ieee80211_xauth.o
   LD [M]  /root/madwifi/net80211/wlan.o
   LD [M]  /root/madwifi/net80211/wlan_wep.o
   LD [M]  /root/madwifi/net80211/wlan_tkip.o
   LD [M]  /root/madwifi/net80211/wlan_ccmp.o
   LD [M]  /root/madwifi/net80211/wlan_acl.o
   LD [M]  /root/madwifi/net80211/wlan_xauth.o
   Building modules, stage 2.
   MODPOST
   CC      /root/madwifi/net80211/wlan.mod.o
   LD [M]  /root/madwifi/net80211/wlan.ko
   CC      /root/madwifi/net80211/wlan_acl.mod.o
   LD [M]  /root/madwifi/net80211/wlan_acl.ko
   CC      /root/madwifi/net80211/wlan_ccmp.mod.o
   LD [M]  /root/madwifi/net80211/wlan_ccmp.ko
   CC      /root/madwifi/net80211/wlan_tkip.mod.o
   LD [M]  /root/madwifi/net80211/wlan_tkip.ko
   CC      /root/madwifi/net80211/wlan_wep.mod.o
   LD [M]  /root/madwifi/net80211/wlan_wep.ko
   CC      /root/madwifi/net80211/wlan_xauth.mod.o
   LD [M]  /root/madwifi/net80211/wlan_xauth.ko
make[2]: Leaving directory `/lib/modules/2.6.9-1.681_FC3/build'
make[1]: Leaving directory `/root/madwifi/net80211'
make[1]: Entering directory `/root/madwifi/ath'
make -C /lib/modules/2.6.9-1.681_FC3/build SUBDIRS=/root/madwifi/ath modules
make[2]: Entering directory `/lib/modules/2.6.9-1.681_FC3/build'
   CC [M]  /root/madwifi/ath/if_ath.o
   CC [M]  /root/madwifi/ath/if_ath_pci.o
   LD [M]  /root/madwifi/ath/ath_pci.o
   Building modules, stage 2.
   MODPOST
*** Warning: "ath_hal_getwirelessmodes" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_giwtxpow" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ath_rate_setupxtxdesc" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ath_rate_newstate" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_chan2mode" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwessid" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_vlan_register" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_crypto_encap" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_giwscan" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ath_hal_init_channels" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_giwessid" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ath_rate_findrate" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_getoptie" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_siwmode" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_siwscan" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ath_rate_node_init" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_state_name" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_siwnickn" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_siwretry" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_chan2ieee" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwtxpow" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_delkey" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_iwaplist" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_setkey" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_announce" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_media_status" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_delmac" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_iwsetup" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_media_init" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_next_scan" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwencode" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_vlan_kill_vid" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_giwfrag" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ath_rate_detach" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_node_cleanup" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_addmac" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_iw_getstats" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_giwrts" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_giwnickn" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_giwretry" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_giwrange" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ath_hal_probe" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_mhz2ieee" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_find_node" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwpower" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_giwap" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_siwfreq" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_siwfrag" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_beacon_alloc" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_giwfreq" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_media_change" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_giwsens" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_siwpower" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_setparam" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ath_rate_node_copy" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_hal_detach" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwname" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_siwrts" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ath_hal_mhz2ieee" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwrate" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_dump_pkt" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_getparam" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_chanlist" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_notify_michael_failure"
[/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_hal_computetxtime" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ath_rate_newassoc" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwsens" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_free_node" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ifdetach" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ether_sprintf" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_attach" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_giwmode" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_setoptie" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_setmlme" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_beacon_update" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_siwencode" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_sysctl_register" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "_ath_hal_attach" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ifattach" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_ioctl_siwap" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_input" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ieee80211_encap" [/root/madwifi/ath/ath_pci.ko] undefined!
*** Warning: "ath_rate_tx_complete" [/root/madwifi/ath/ath_pci.ko]
undefined!
*** Warning: "ieee80211_ioctl_siwrate" [/root/madwifi/ath/ath_pci.ko]
undefined!
   CC      /root/madwifi/ath/ath_pci.mod.o
   LD [M]  /root/madwifi/ath/ath_pci.ko
make[2]: Leaving directory `/lib/modules/2.6.9-1.681_FC3/build'
make[1]: Leaving directory `/root/madwifi/ath'


[root at localhost madwifi]# find . -name "*.ko"
./net80211/wlan_tkip.ko
./net80211/wlan_wep.ko
./net80211/wlan.ko
./net80211/wlan_xauth.ko
./net80211/wlan_ccmp.ko
./net80211/wlan_acl.ko
./ath/ath_pci.ko
./ath_hal/ath_hal.ko
./ath_rate/onoe/ath_rate_onoe.ko


[root at localhost madwifi]# insmod ./ath/ath_pci.ko
insmod: error inserting './ath/ath_pci.ko': -1 Unknown symbol in module


[root at localhost madwifi]# lsmod
Module                  Size  Used by
ath_hal               133328  0
wlan                  100956  0
...


[root at localhost madwifi]# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.





More information about the fedora-list mailing list