Today when I was updating my laptop, ipw2100-1.2.1-r2 failed with the following error: <See attachment, bugreport was too large> I've ran the 'make oldconfig' and 'make prepare' commands in my kernel source tree as suggested, but the error remains. My emerge --info: ##################################################################### Portage 2.1.2_rc3-r6 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo i686) ================================================================= System uname: 2.6.18-gentoo i686 Intel(R) Pentium(R) M processor 1.60GHz Gentoo Base System version 1.12.7 Last Sync: Mon, 18 Dec 2006 09:30:01 +0000 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X a52 alsa audacious berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus divx djvu dlloader dri dv dvd dvdr eds elibc_glibc emboss encode esd fam ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ieee1394 input_devices_keyboard input_devices_mouse input_devices_wacom ipv6 isdnlog jpeg kernel_linux ldap libg++ mad matroska mikmod mmx mp3 mpeg nautilus ncurses nls nptl nptlonly nvidia ogg opengl oss pam pcre pdf perl png ppds pppd python quicktime readline real reflection samba sdl session spl sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU vcd video_cards_i810 video_cards_vesa vorbis win32codecs wmf wmp wxwindows x264 xml xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS #####################################################################
Created attachment 104264 [details] ipw2100 build error
(In reply to comment #0) > Today when I was updating my laptop, ipw2100-1.2.1-r2 failed with the following > error: > > <See attachment, bugreport was too large> > > I've ran the 'make oldconfig' and 'make prepare' commands in my kernel source > tree as suggested, but the error remains. Please sync up, and try to remerge net-wireless/ipw2100-1.2.1-r2. The old version was applying a patch that wasn't backwards compatible (and since the config.h is still present in 2.6.18). I fixed that yesterday, by making the patch conditional on 2.6.19 or greater.
(In reply to comment #2) > (In reply to comment #0) > > Today when I was updating my laptop, ipw2100-1.2.1-r2 failed with the following > > error: > > > > <See attachment, bugreport was too large> > > > > I've ran the 'make oldconfig' and 'make prepare' commands in my kernel source > > tree as suggested, but the error remains. > > Please sync up, and try to remerge net-wireless/ipw2100-1.2.1-r2. The old > version was applying a patch that wasn't backwards compatible (and since the > config.h is still present in 2.6.18). I fixed that yesterday, by making the > patch conditional on 2.6.19 or greater. Thanks for looking into this. Unfortunately I still get the same error after syncing just now, the error was essentially the same (it does seem it didn't apply the patch as expected): >>> Emerging (1 of 1) net-wireless/ipw2100-1.2.1-r2 to / * ipw2100-1.2.1.tgz MD5 ;-) ... [ ok ] * ipw2100-1.2.1.tgz RMD160 ;-) ... [ ok ] * ipw2100-1.2.1.tgz SHA1 ;-) ... [ ok ] * ipw2100-1.2.1.tgz SHA256 ;-) ... [ ok ] * ipw2100-1.2.1.tgz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking ipw2100-1.2.1.tgz ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.18-gentoo/build * Found sources for kernel version: * 2.6.18-gentoo * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking ipw2100-1.2.1.tgz to /var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work * Applying ipw2100-1.2.1-cflags.patch ... [ ok ] * Applying ipw2100-1.2.1-double-parentheses.patch ... [ ok ] * Applying ipw2100-1.2.1-essid.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1 ... * Preparing ipw2100 module mkdir -p /var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1/tmp/.tmp_versions cp /usr/include/*.mod /var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1/tmp/.tmp_versions cp: cannot stat `/usr/include/*.mod': No such file or directory make: [modules] Error 1 (ignored) mkdir -p /var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1/tmp cp /lib/modules/2.6.18-gentoo/build/.config /var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1/tmp make -C /usr/src/linux M=/var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1 MODVERDIR=/var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1/tmp/.tmp_versions O=/var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1/tmp modules make[1]: Entering directory `/usr/src/linux-2.6.18-gentoo' ERROR: Kernel configuration is invalid. include/linux/autoconf.h or include/config/auto.conf are missing. Run 'make oldconfig && make prepare' on kernel src to fix it. WARNING: Symbol version dump /var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1/tmp/Module.symvers is missing; modules will have no dependencies and modversions. CC [M] /var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1/ipw2100.o cc1: error: include/linux/autoconf.h: No such file or directory make[3]: *** [/var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1/ipw2100.o] Error 1 make[2]: *** [_module_/var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1] Error 2 make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.18-gentoo' make: *** [modules] Error 2 !!! ERROR: net-wireless/ipw2100-1.2.1-r2 failed. Call stack: ebuild.sh, line 1580: Called dyn_compile ebuild.sh, line 945: Called src_compile ipw2100-1.2.1-r2.ebuild, line 77: Called linux-mod_src_compile linux-mod.eclass, line 510: Called die !!! Unable to make KSRC=/usr/src/linux KSRC_OUTPUT=/lib/modules/2.6.18-gentoo/build IEEE80211_INC=/usr/include all. !!! If you need support, post the topmost build error, and the call stack if relevant.
(In reply to comment #3) > >>> Compiling source in /var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1 ... > * Preparing ipw2100 module > mkdir -p > /var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1/tmp/.tmp_versions > cp /usr/include/*.mod > /var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1/tmp/.tmp_versions > cp: cannot stat `/usr/include/*.mod': No such file or directory > make: [modules] Error 1 (ignored) > mkdir -p /var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1/tmp > cp /lib/modules/2.6.18-gentoo/build/.config > /var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1/tmp > make -C /usr/src/linux > M=/var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1 > MODVERDIR=/var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1/tmp/.tmp_versions > O=/var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1/tmp modules > make[1]: Entering directory `/usr/src/linux-2.6.18-gentoo' > > ERROR: Kernel configuration is invalid. > include/linux/autoconf.h or include/config/auto.conf are missing. > Run 'make oldconfig && make prepare' on kernel src to fix it. > > > WARNING: Symbol version dump > /var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1/tmp/Module.symvers > is missing; modules will have no dependencies and modversions. > > CC [M] > /var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1/ipw2100.o > cc1: error: include/linux/autoconf.h: No such file or directory > make[3]: *** > [/var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1/ipw2100.o] > Error 1 > make[2]: *** > [_module_/var/tmp/portage/net-wireless/ipw2100-1.2.1-r2/work/ipw2100-1.2.1] > Error 2 > make[1]: *** [modules] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.6.18-gentoo' > make: *** [modules] Error 2 > > !!! ERROR: net-wireless/ipw2100-1.2.1-r2 failed. > Call stack: > ebuild.sh, line 1580: Called dyn_compile > ebuild.sh, line 945: Called src_compile > ipw2100-1.2.1-r2.ebuild, line 77: Called linux-mod_src_compile > linux-mod.eclass, line 510: Called die Can't reproduce this here, I should try gentoo-sources-2.6.18 .. In the meantime, could you please try gentoo-sources-2.6.18-r4 (that's what I tried just now) ?
(In reply to comment #4) > Can't reproduce this here, I should try gentoo-sources-2.6.18 .. In the > meantime, could you please try gentoo-sources-2.6.18-r4 (that's what I tried > just now) ? And it even works for me with the gentoo-sources-2.6.18 merged .. You're sure, you prepared your kernel before emerging the module ?
The error is also happening on the ck-sources-2.6.18-ck1-r2 kernel version as well... A re-sync and re-download of the source files today around 4:30PM EST did not fix the problem for me unfortunately... To avoid a long string of code, my details are here: http://forums.gentoo.org/viewtopic-t-525445.html
(In reply to comment #5) > (In reply to comment #4) > > Can't reproduce this here, I should try gentoo-sources-2.6.18 .. In the > > meantime, could you please try gentoo-sources-2.6.18-r4 (that's what I tried > > just now) ? > > And it even works for me with the gentoo-sources-2.6.18 merged .. You're sure, > you prepared your kernel before emerging the module ? > Today I tried to see if it would work with linux-2.6.18-gentoo-r3, unfortunately as module-rebuild tried to remerge ipw2100, the same error appeared (I also ran the 'make oldconfig && make prepare' if that's what you mean with preparing the kernel).
(In reply to comment #6) > The error is also happening on the ck-sources-2.6.18-ck1-r2 kernel version as > well... A re-sync and re-download of the source files today around 4:30PM EST > did not fix the problem for me unfortunately... > > To avoid a long string of code, my details are here: > http://forums.gentoo.org/viewtopic-t-525445.html > > Ah, I just read that topic and I see that net-wireless/ipw2100 is now the same as what's in the kernel and net-wireless/ipw2100 will be removed from portage. In that case, I'll try the in-kernel driver and report back if I encounter any additional problems. Thanks for the link!
*** Bug 159364 has been marked as a duplicate of this bug. ***
As announced on the mailing-list, the forums and this bug report, ipw2100 will fade away pretty soon.
Please ask upstream to FIX the documentation to make it really clear that say 2.6.20 contain updated driver. They refer to 2.6.13+ as having OLDER version of the driver, compared to what they do present at sourceforge. For example, the INSTALL file.