this patch corrects this bump (tested both on 180 and 185 drivers series): gp.o /var/tmp/portage/x11-drivers/nvidia-drivers-180.60/work/NVIDIA-Linux-x86_64-180.60-pkg2/usr/src/nv/os-agp.c /var/tmp/portage/x11-drivers/nvidia-drivers-180.60/work/NVIDIA-Linux-x86_64-180.60-pkg2/usr/src/nv/os-agp.c: In function ‘KernLoadAGPPages’: /var/tmp/portage/x11-drivers/nvidia-drivers-180.60/work/NVIDIA-Linux-x86_64-180.60-pkg2/usr/src/nv/os-agp.c:296: error: ‘agp_memory’ has no member named ‘memory’ make[4]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-180.60/work/NVIDIA-Linux-x86_64-180.60-pkg2/usr/src/nv/os-agp.o] Error 1 make[3]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-180.60/work/NVIDIA-Linux-x86_64-180.60-pkg2/usr/src/nv] Error 2 make[2]: *** [sub-make] Error 2 NVIDIA: left KBUILD. nvidia.ko failed to build! make[1]: *** [module] Error 1 make: *** [module] Error 2
Created attachment 198528 [details, diff] memory patch patch to allow nvidia drivers to compile against 2.6.31-rc3 kernel
Created attachment 198532 [details] ebuild for the new 185.18.14-pkg1 nvidia drivers this allows to compile the new set of nvidia drivers
Created attachment 198534 [details, diff] nvidia ebuild patch diff -u patch between nvidia-drivers-180.60.ebuild and nvidia-drivers-185.18.14.ebuild
emerge --info Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.4.0, glibc-2.10.1-r0, 2.6.31-rc3 x86_64) ================================================================= System uname: Linux-2.6.31-rc3-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1 Timestamp of tree: Mon, 20 Jul 2009 05:25:01 +0000 app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r2, 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="it_IT.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="it no en nb" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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" PORTDIR_OVERLAY="/usr/local/portage/layman" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="2dnow 3dnowext 7zip X Xaw3d a52 aac aalib abyss accessibility acl acpi ada addbookmarks akode akonadi alias alsa amd64 amr amrb applet aqua_theme archive ares artworkextra assistant athena audiofile autoipd automount autoreplace avahi avantgo bash-completion beagle belagle berkdb bidi bittorrent bl bluetooth bookmarks branding bzip2 cairo captury carbone_theme cdda cddb cdio cdparanoia cdr cdrkit chm cisco ck clamavfontconfig cli connection-sharing connectionstatus consolekit contactnotes coverage cpudetection cracklib crypt cscope cups cupsddk curl dbus debug designer-plugin device-mapper dga dhcpcd digitalradio directfb disk-partition diskio djvu dmx dnd doc dri dts dv dvb dvd dvdr dvi editor eds elf emacs emacx enca encode eolconv epiphany esd exchange exif expat extensible fam fasttrack fax fbcon fbcondecor ffmpeg filepicker firefox fits flac fltk foomaticdb fortran freetts freewnn ftp fuse gadu galago games garmin gcj gd gdbm gedit geoip ggi gif gimp glib glitz gmp gnokii gnome gnome-keyring gnomecd gnutella gnutls google-gadgets gpg gphoto2 gpm graphwiz groupwise gsf gsm gstreamer gtk gtkhtml guile gz gzip-el hal hdri hesiod hfs highlight history hotplug howl-compat hybrid-auth i18n iceweasel iconv idn ieee1394 imagemagick imlib inotify inquisitio ioctl iproute2 ipv6 irc irda irmc isdnlog jack jadetex jai java java5 javamail javascript jbig jce jingle jmf jms jmx joystick jpeg jpeg2k kde kdrive kerberos kig-scripting kipi kolab kqemu kvm ladspa lame laptop latex lcms ldap legacyssl libcaca libgda libnotify libsamplerate libssh2 libv4l2 lilo lirc live lm_sensors logitech-mouse lua lzma lzo mad mbrola md5sum mdnsresponder-compat mfd-rewrites midi mmap mmx mng mono motif mozdevelop mp2 mp3 mpeg mudflap mule multilib musepack musicbrainz mysql mythtv nas nautilus ncurses neXt nemesi netmeeting network network-cron networking networkmanager new-login nis nls nntp nowlistening npp nptl nptlonly nsplugin nss ntp ocean odbc odk offensive ogg old-daemons openal openexr openft opengl openmp openssl opensslcrypt oracle pam pango passwordsave pch pcre pda pdf perl perl-geoipupdate phonon php pink pkcs11 plasma plotutils plugins png pnm pop portage povray ppds pppd pulseaudio python python-bindings q32 q8 qa qt-webkit qt3 qt3support qt4 quicktime radio rar raster rdesktop readline redland reflection remote resolvconf rpm rss rtc ruby ruby-bindings run-as-root samba sametime sasl savedconfig scanner schedule script sdl seamonkey semantic-desktop sendmail session slang slp smartcard smp sms smux sndfile snmp socks5 solver sound soup speech speex spell spl sql srt srtp sse sse2 ssl ssse3 startup-notification statistics stats suid svg swat sysfs syslog t1lib taglib tcl tcpd teletext test test-programs tetex texteffect tga theora threads tidy tiff tk tntc toolbar toolkit-scroll-bars tools tracker translator truetype tseng tunepimp unicode upnp usb v4l v4l2 vcd vde vdr vim-pager vim-syntax vim-with-x visibility vnc vorbis wavpack webinterface webkit webpresence wifi winpopup wlm wmf x264 xanim xattr xcb xcomposite xemacs xext xface xforms xft xim xine xinerama xinetd xml xorg xscreensaver xulrunner xv xvid xvmc yahoo zeroconf zlib zoran zsh-completion zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="unique_id actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_iduserdir usertrack vhost_alias" APACHE2_MPMS="event" CAMERAS="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba_pdrm11" DVB_CARDS="tda1004x" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse acecad aiptek digitaledge elographics fpit hyperpen jamstudio joystick magellan mutouch palmax spaceorb summa synaptics tek4957 ur98 vmmouse void wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it no en nb" LIRC_DEVICES="mceusb2 mceusb devinput" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Thanks for submitting your version bump and patch for running with the latest kernel! Assigning to maintainers.
it is an honour an a pleasure :D (In reply to comment #5) > Thanks for submitting your version bump and patch for running with the latest > kernel! Assigning to maintainers. >
it seems that the devs have forgotten to look after my patch in the latest ebuild /var/tmp/portage/x11-drivers/nvidia-drivers-185.18.14/work/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv/os-agp.c: In function ‘KernLoadAGPPages’: /var/tmp/portage/x11-drivers/nvidia-drivers-185.18.14/work/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv/os-agp.c:296: error: ‘agp_memory’ has no member named ‘memory’ make[4]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-185.18.14/work/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv/os-agp.o] Error 1 make[3]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-185.18.14/work/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv] Error 2 make[2]: *** [sub-make] Error 2 NVIDIA: left KBUILD. nvidia.ko failed to build! make[1]: *** [module] Error 1 make: *** [module] Error 2 (In reply to comment #5) > Thanks for submitting your version bump and patch for running with the latest > kernel! Assigning to maintainers. >
--- nvidia-drivers-185.18.14.old 2009-07-25 08:11:53.000000000 +0200 +++ nvidia-drivers-185.18.14.ebuild 2009-07-28 13:32:22.000000000 +0200 @@ -247,6 +247,8 @@ epatch "${FILESDIR}"/NVIDIA_glx-defines.patch # Use some more sensible gl headers and make way for new glext.h epatch "${FILESDIR}"/NVIDIA_glx-glheader.patch + # https://bugs.gentoo.org/show_bug.cgi?id=278380 + epatch "${FILESDIR}"/memory.patch if use kernel_linux; then # Quiet down warnings the user does not need to see
It has always been the policy of NVIDIA and Gentoo's nvidia-driver maintainers to not support release candidate kernels. When an incompatible kernel version is released, there is a newer nvidia-drivers release made once the kernel API solidifies for that version.