I cannot emerge the latest madwifi-driver in portage, 0.1_pre20040906. I have been successfully using the older one, 0.1_pre20040726. Reproducible: Always Steps to Reproduce: Actual Results: I get the following error from portage: >>> emerge (1 of 1) net-wireless/madwifi-driver-0.1_pre20040906 to / >>> md5 src_uri ;-) madwifi-driver-0.1_pre20040906.tar.bz2 >>> md5 src_uri ;-) madwifi-driver-0.1_pre20040906-gentoo.patch.bz2 /usr/sbin/ebuild.sh: line 31: ./scripts/mod/modpost: No such file or directory >>> Unpacking source... >>> Unpacking madwifi-driver-0.1_pre20040906.tar.bz2 to /var/tmp/portage/ madwifi-driver-0.1_pre20040906/work >>> Unpacking madwifi-driver-0.1_pre20040906-gentoo.patch.bz2 to /var/tmp/ portage/madwifi-driver-0.1_pre20040906/work * Applying madwifi-driver-0.1_pre20040906-gentoo.patch.bz2... [ ok ] * /usr/src/linux is a symbolic link * Determining the real directory of the Linux kernel source code * Building for Linux 2.6.8-rc2-love3 found in /usr/src/linux >>> Source unpacked. for i in ./ath_hal ./net80211 ./ath; do \ (cd $i; make clean); \ done make[1]: Entering directory `/var/tmp/portage/madwifi-driver-0.1_pre20040906/ work/ath_hal' rm -f *~ *.o *.ko *.mod.c rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd rm -f ah_osdep.c opt_ah.h hal.o make[1]: Leaving directory `/var/tmp/portage/madwifi-driver-0.1_pre20040906/ work/ath_hal' make[1]: Entering directory `/var/tmp/portage/madwifi-driver-0.1_pre20040906/ work/net80211' rm -f *~ *.o *.ko *.mod.c rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd make[1]: Leaving directory `/var/tmp/portage/madwifi-driver-0.1_pre20040906/ work/net80211' make[1]: Entering directory `/var/tmp/portage/madwifi-driver-0.1_pre20040906/ work/ath' rm -f *~ *.o *.ko *.mod.c rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd make[1]: Leaving directory `/var/tmp/portage/madwifi-driver-0.1_pre20040906/ work/ath' for i in ./ath_hal ./net80211 ./ath; do \ (cd $i; make) || exit 1; \ done make[1]: Entering directory `/var/tmp/portage/madwifi-driver-0.1_pre20040906/ work/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 //usr/src/linux M=/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ ath_hal modules make[2]: Entering directory `/usr/src/linux-2.6.8-rc2-love3' CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ath_hal/ah_osdep. o In file included from /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/hal/ ah.h:49, from /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ ath_hal/ah_osdep.c:58: /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/hal/linux/ah_osdep.h:102:1: warning: "abs" redefined In file included from include/asm/system.h:5, from include/asm/processor.h:18, from include/asm/thread_info.h:16, from include/linux/thread_info.h:21, from include/linux/spinlock.h:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ ath_hal/ah_osdep.c:46: include/linux/kernel.h:57:1: warning: this is the location of the previous definition LD [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ath_hal/ath_hal.o Building modules, stage 2. MODPOST CC /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ath_hal/ath_hal. mod.o LD [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ath_hal/ath_hal. ko make[2]: Leaving directory `/usr/src/linux-2.6.8-rc2-love3' make[1]: Leaving directory `/var/tmp/portage/madwifi-driver-0.1_pre20040906/ work/ath_hal' make[1]: Entering directory `/var/tmp/portage/madwifi-driver-0.1_pre20040906/ work/net80211' make -C //usr/src/linux M=/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ net80211 modules make[2]: Entering directory `/usr/src/linux-2.6.8-rc2-love3' CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ if_media.o CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/rc4.o CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ ieee80211.o CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ ieee80211_crypto.o CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ ieee80211_input.o CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ ieee80211_node.o CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ ieee80211_output.o CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ ieee80211_proto.o CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ ieee80211_wireless.o CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ ieee80211_linux.o /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_linux.c: In function `ieee80211_sysctl_debug': /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_linux.c: 382: error: too many arguments to function `proc_dointvec' /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_linux.c: 391: error: too many arguments to function `proc_dointvec' /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_linux.c: At top level: /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_linux.c: 404: warning: initialization from incompatible pointer type /var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ieee80211_linux.c: 409: warning: initialization from incompatible pointer type make[3]: *** [/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/net80211/ ieee80211_linux.o] Error 1 make[2]: *** [_module_/var/tmp/portage/madwifi-driver-0.1_pre20040906/work/ net80211] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.8-rc2-love3' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/madwifi-driver-0.1_pre20040906/ work/net80211' make: *** [all] Error 1 !!! ERROR: net-wireless/madwifi-driver-0.1_pre20040906 failed. !!! Function src_compile, Line 55, Exitcode 2 !!! (no error message) Expected Results: The driver should compile and install. Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6. 8-rc2-love3) ================================================================= System uname: 2.6.8-rc2-love3 i686 Intel(R) Pentium(R) 4 CPU 1300MHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/ share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo ftp://ftp.ndlug.nd. edu/pub/gentoo/ ftp://mirrors.tds.net/gentoo ftp://ibiblio.org/pub/Linux/ distributions/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/fluidportage/trunk" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa apm avi berkdb bitmap-fonts bzlib cdr crypt directfb dvd encode esd fbcon gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mmx motif mpeg ncurses nls opengl pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd truetype x86 xml2 xmms xosd xprint xv zlib"
All bugs for love-sources are closed as INVALID. Please use a known good set of kernel sources and headers.
OK, thank you.
Just as a note. -mm sources are another set of sources that the madwifi-driver does not appear to work with correctly either. So you might want to avoid that set as well.
Are the mm sources "known good", and if so, could the bug be generalised to cover them? Note: I think the problem *may* be with the 2.6.8 kernel in general, so I'm going to upgrade to 2.6.9 to see if that rectifies the problem.
No the mm is not known as good. It's a testing series. IE not ment for production use. Search bugzilla for open bugs with the keyword madwifi in it for more details. gentoo-dev-sources are a known working/supported kernel. And yes there was some changes that happened from 2.6.7->2.6.8* but I've added patches to address these. again search bugzilla for more details.