hey guys/girls
I have a problem, probly small, maybe be known and that i've overlooked.
However I've been googling about it since last saturday and give up hope.
I have a Atheros Wifi card on my laptop and I'm using gentoo 2.6.25 kernel.
For the Atheros card it is best to use madwifi-ng, even if there is a kernel support for the device.
I've been emerging and adjusting, unmerge, emerge adjust, unmerge all a whole long time just to try every bit but still fails.
Once I emerge i get redicilious amount of warnings like;
WARNING: "ath_hal_getwirelessmodes" [/var/tmp/portage/net-wireless/madwifi-ng-0.9.4/work/madwifi-0.9.4/ath/ath_pci.ko] undefined!
WARNING: "ieee80211_find_txnode" [/var/tmp/portage/net-wireless/madwifi-ng-0.9.4/work/madwifi-0.9.4/ath/ath_pci.ko] undefined!
WARNING: "ieee80211_getrssi" [/var/tmp/portage/net-wireless/madwifi-ng-0.9.4/work/madwifi-0.9.4/ath/ath_pci.ko] undefined!
WARNING: "ieee80211_chan2mode" [/var/tmp/portage/net-wireless/madwifi-ng-0.9.4/work/madwifi-0.9.4/ath/ath_pci.ko] undefined!
WARNING: "ieee80211_crypto_encap" [/var/tmp/portage/net-wireless/madwifi-ng-0.9.4/work/madwifi-0.9.4/ath/ath_pci.ko] undefined!
WARNING: "ieee80211_dturbo_switch" [/var/tmp/portage/net-wireless/madwifi-ng-0.9.4/work/madwifi-0.9.4/ath/ath_pci.ko] undefined!
WARNING: "ath_hal_init_channels" [/var/tmp/portage/net-wireless/madwifi-ng-0.9.4/work/madwifi-0.9.4/ath/ath_pci.ko] undefined!
WARNING: "ieee80211_state_name" [/var/tmp/portage/net-wireless/madwifi-ng-0.9.4/work/madwifi-0.9.4/ath/ath_pci.ko] undefined!
Even that emerge wont exit with an error, but will just say ok it's installed
after Modprobe I get:
Cursed ~ # modprobe ath_pci
WARNING: Error inserting wlan (/lib/modules/2.6.25-gentoo-r8/net/wlan.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting ath_pci (/lib/modules/2.6.25-gentoo-r8/net/ath_pci.ko): Unknown symbol in module, or unknown parameter (see dmesg)
Cursed ~ # dmesg
(cutted up to the first error message about this)
wlan: Unknown symbol request_module
wlan: Unknown symbol wireless_send_event
ath_pci: Unknown symbol ieee80211_check_mic
ath_pci: Unknown symbol ieee80211_encap
ath_pci: Unknown symbol ieee80211_input
and goes on.
Most common it would be with ... disagrees with version or version mismatch.
Mostly this is due to a wrong option in the kernel.
However, this option is not enabled in my kernel.
I've been on madwifi's irc but I think most of the people are sleeping. because hardly anyone replied, there was one person who replyed but he said it has to do with wrong versions between ath_pci and ath_hal.
However, there has been only 1 version at all the time, which is 0.9.4 of madwifi.
lateron I've tried the SVN version, as advice from madwifi, also with that one I get the same problem, not with the compiling but only when modprobe.
All the details are located at:
http://pastebin.com/m612f4c4b
and my kernel config is:
http://pastebin.com/m64dccf95
some other, might be, useful information:
Cursed ~ # uname -a
Linux Cursed 2.6.25-gentoo-r8 #1 SMP Sat Oct 25 19:59:09 CEST 2008 i686 Intel(R) Pentium(R) Dual CPU T2370 @ 1.73GHz GenuineIntel GNU/Linux
Cursed ~ # lspci | grep Ethernet
02:00.0 Ethernet controller: Marvell Technology Group Ltd. Device 4353 (rev 15)
06:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
Cursed ~ # emerge --info
Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r8 i686)
=================================================================
System uname: 2.6.25-gentoo-r8 i686 Intel(R) Pentium(R) Dual CPU T2370 @ 1.73GHz
Timestamp of tree: Tue, 28 Oct 2008 21:35:01 +0000
app-shells/bash: 3.2_p33
dev-lang/python: 2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r2
sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm gtk iconv ipv6 isdnlog madwifi midi mp3 mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Note on pastebin: any edits that will be made are not from me, just incase someone makes a correction.
Hope you can help me out with this stressy problem.
Thanks