Upgrading from version 1.0.4496-r3 to 1.0.5336-r4 always fails with the error message "nvidia.ko failed to build!" (see below). Kernel module support is enabled. /usr/src/linux points to the kernel version in use. Reproducible: Always Steps to Reproduce: Actual Results: Building modules, stage 2. make -rR -f /usr/src/linux-2.6.4-mm1/scripts/Makefile.modpost scripts/modpost vmlinux net/ipv4/netfilter/arptable_filter.o net/ipv4/netfilter/arp_tables.o net/ipv4/netfilter/arpt_mangle.o fs/cifs/cifs.o drivers/usb/host/ehci-hcd.o drivers/i2c/algos/i2c-algo-bit.o drivers/i2c/algos/i2c-algo-pcf.o drivers/i2c/i2c-core.o drivers/i2c/i2c-dev.o drivers/i2c/busses/i2c-isa.o drivers/i2c/i2c-sensor.o drivers/i2c/busses/i2c-via.o drivers/i2c/busses/i2c-viapro.o net/ipv4/netfilter/ip_conntrack_amanda.o net/ipv4/netfilter/ip_conntrack_ftp.o net/ipv4/netfilter/ip_conntrack_irc.o net/ipv4/netfilter/ip_conntrack.o net/ipv4/netfilter/ip_conntrack_tftp.o net/ipv4/netfilter/ip_nat_amanda.o net/ipv4/netfilter/ip_nat_ftp.o net/ipv4/netfilter/ip_nat_irc.o net/ipv4/netfilter/ip_nat_tftp.o net/ipv4/netfilter/ip_queue.o net/ipv4/netfilter/iptable_filter.o net/ipv4/netfilter/iptable_mangle.o net/ipv4/netfilter/iptable_nat.o net/ipv4/netfilter/ip_tables.o net/ipv4/netfilter/ipt_ah.o net/ipv4/netfilter/ipt_CLASSIFY.o net/ipv4/netfilter/ipt_conntrack.o net/ipv4/netfilter/ipt_dscp.o net/ipv4/netfilter/ipt_DSCP.o net/ipv4/netfilter/ipt_ecn.o net/ipv4/netfilter/ipt_ECN.o net/ipv4/netfilter/ipt_esp.o net/ipv4/netfilter/ipt_helper.o net/ipv4/netfilter/ipt_iprange.o net/ipv4/netfilter/ipt_length.o net/ipv4/netfilter/ipt_limit.o net/ipv4/netfilter/ipt_LOG.o net/ipv4/netfilter/ipt_mac.o net/ipv4/netfilter/ipt_mark.o net/ipv4/netfilter/ipt_MARK.o net/ipv4/netfilter/ipt_MASQUERADE.o net/ipv4/netfilter/ipt_multiport.o net/ipv4/netfilter/ipt_NETMAP.o net/ipv4/netfilter/ipt_owner.o net/ipv4/netfilter/ipt_pkttype.o net/ipv4/netfilter/ipt_recent.o net/ipv4/netfilter/ipt_REDIRECT.o net/ipv4/netfilter/ipt_REJECT.o net/ipv4/netfilter/ipt_SAME.o net/ipv4/netfilter/ipt_state.o net/ipv4/netfilter/ipt_tcpmss.o net/ipv4/netfilter/ipt_tos.o net/ipv4/netfilter/ipt_TOS.o net/ipv4/netfilter/ipt_ttl.o net/ipv4/netfilter/ipt_ULOG.o drivers/i2c/chips/lm75.o drivers/i2c/chips/lm78.o drivers/i2c/chips/lm83.o drivers/i2c/chips/lm85.o fs/ntfs/ntfs.o drivers/scsi/sg.o drivers/usb/host/uhci-hcd.o drivers/i2c/chips/via686a.o drivers/i2c/chips/w83781d.o nvidia.ko failed to build! make[1]: *** [module] Error 1 make: *** [module] Error 2 Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.6.4-mm1) ================================================================= System uname: 2.6.4-mm1 i686 AMD Athlon(tm) XP 2100+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon -mmmx -m3dnow -msse -mno-sse2 -fomit-frame-pointer -pipe -fPIC" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon -mmmx -m3dnow -msse -mno-sse2 -fomit-frame-pointer -pipe -fPIC" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X apm arts avi berkdb cdr crypt cups datastrings encode esd foomaticdb gdbm gif gpm gtk2 histograms imlib java jpeg kde libg++ libwww linguas_de mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline sdl slang spell sse ssl tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
hmmm *looks very puzzled* Can you please log the ENTIRE build process and attach it as a plain text file.
Created attachment 37655 [details] output of emerge The requested log is in the file attached. Thanks for your quick response.
Why is it trying to compile a whole pile of kernel modules? Are you certain your kernel source is fully compiled?
Are you certain your kernel source is fully compiled? Well yes, because I'm running this kernel. However it might be that in the mean time I ran make menuconfig and changed one option or two without reinstalling the kernel. Therefore I tried: a) /usr/src/linux> make followed by an emerge -u world -> same result as before. b) /usr/src/linux> make clean; make followed by an emerge -u world -> still the same result as before.
I just upgraded to kernel 2.6.5-mm6 and the upgrade went flawlessly.
Hmm... OK there must be something in 2.6.4-mm1 that caused this, but as its no longer in portage im not going to explore any futher, a newer kernel works so im doubly happy.