Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110069 - nvidia-kernel needs patch for bug in kernels >= 2.6.11
Summary: nvidia-kernel needs patch for bug in kernels >= 2.6.11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: X11 External Driver Maintainers
URL: http://www.nvnews.net/vbulletin/showt...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-21 14:39 UTC by Lee Trager
Modified: 2005-10-28 00:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Zanders patch (NVIDIA_kernel-1.0-7676-1386866.diff,2.43 KB, patch)
2005-10-21 14:39 UTC, Lee Trager
Details | Diff
Ebuild that uses the patch (nvidia-kernel-1.0.7676-r1.ebuild,4.78 KB, text/plain)
2005-10-21 14:41 UTC, Lee Trager
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lee Trager 2005-10-21 14:39:05 UTC
Zander released a patch a few days ago to a fix a problem with kernel versions
2.6.11 and above to fix a problem with the implementation of the
global_flush_tlb() kernel interface on x86_64. Apparently it should be fixed in
kernel 2.6.14 but until then we need this patch. You can read his post about it
here http://www.nvnews.net/vbulletin/showthread.php?t=57990

Reproducible: Always
Steps to Reproduce:




Portage 2.0.53_rc6 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.1
3-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre9
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -ffast-math -msse3 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share
/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kd
e/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defau
lts/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O3 -pipe -ffast-math -msse3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/
distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib aim alsa amd64 arts avi bash-completion berkdb bitmap-fonts
 browserplugin bzlib cdb cdr crypt cups curl dedicated dvb dvd dvdr dvdread eds 
emboss emul-linux-x86 encode esd ethereal examples fam ffmpeg flac font-server f
oomaticdb fortran ftp gcj gdbm gif gimpprint glut gnome gpm gstreamer gtk gtk2 g
tkhtml imagemagick imlib ipv6 java javascript jpeg junit kde ldap lm_sensors lzw
 lzw-tiff mad mikmod mmap mng motif mozilla mp3 mpeg ncurses nls nocd nptl nvidi
a offensive ogg oggvorbis openal opengl oscar oss pam pda pdflib perl png python
 qt quicktime readline sdl slang spell ssl svg tcpd theora tiff truetype-fonts t
ype1-fonts udev usb userlocales videos vorbis xine xml xml2 xmms xpm xprint xv x
vid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Lee Trager 2005-10-21 14:39:54 UTC
Created attachment 71138 [details, diff]
Zanders patch
Comment 2 Lee Trager 2005-10-21 14:41:26 UTC
Created attachment 71139 [details]
Ebuild that uses the patch

This is just an ebuild I made that applies the patch. It seems to work fine but
a developer might want to look at how I did it to make sure I did it
correctly(lines 100-107).
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2005-10-28 00:44:55 UTC
This should be fixed in 7676-r1.  Please repoen if that is not the case.