Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117996 - media-video/nvidia-kernel-1.0.8178 + linux-2.6.15 VM changes patch
Summary: media-video/nvidia-kernel-1.0.8178 + linux-2.6.15 VM changes patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 115417
  Show dependency tree
 
Reported: 2006-01-06 00:26 UTC by Rick Harris
Modified: 2006-01-22 13:45 UTC (History)
4 users (show)

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


Attachments
nvidia-kernel-1.0.8178 merge log (7005-nvidia-kernel-1.0.8178.log,32.00 KB, text/plain)
2006-01-06 15:37 UTC, FieldySnuts
Details
nvidia-kernel-1.0.8178-r1.ebuild (nvidia-kernel-1.0.8178-r1.ebuild,3.56 KB, text/plain)
2006-01-07 08:16 UTC, Kris Kersey (RETIRED)
Details
files/1.0.8174/NVIDIA_kernel-1.0-8174-1427453.diff (NVIDIA_kernel-1.0-8174-1427453.diff,4.64 KB, patch)
2006-01-07 08:16 UTC, Kris Kersey (RETIRED)
Details | Diff
nvidia-kernel-1.0.8178-r1 merge log, using attachments (7008-nvidia-kernel-1.0.8178-r1.log,10.72 KB, text/plain)
2006-01-07 08:37 UTC, FieldySnuts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Harris 2006-01-06 00:26:45 UTC
Since linux-2.6.15 has gone stable, nvidia-kernel-1.0.8178 & nvidia-kernel-1.0.8174 require a small patch to be up to date with 2.6.15's new VM changes.

Read here -> http://www.nvnews.net/vbulletin/showpost.php?p=765888&postcount=3

The patch is written for 8174, but also applies cleanly against 8178.

This stops the error similar to this:

X does an incomplete pfn remapping<0> [<b0155369>] incomplete_pfn_remap+0xf9/0x110
 [<e173dd12>] nv_kern_mmap+0x4f1/0x522 [nvidia]
 [<b01587db>] do_mmap_pgoff+0x47b/0x7e0
 [<b0108f77>] sys_mmap2+0x87/0xd0
 [<b0102e4b>] sysenter_past_esp+0x54/0x75

Not hugely critical, X still works fine, just 3D performance is affected.

Thanks :)
Comment 1 FieldySnuts 2006-01-06 15:35:59 UTC
media-video/nvidia-kernel-1.0.8178 fails to compile for me at all on 2.6.15-mm1. Attaching portage log.

Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-rc5-mm3 i686)
=================================================================
System uname: 2.6.15-rc5-mm3 i686 AMD Athlon(TM) XP 1800+
Gentoo Base System version 1.12.0_pre13
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks notitles sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib alsa apm audiofile avi berkdb bitmap-fonts bzip2 cdr chroot crypt curl dv dvd dvdr eds emboss encode ethereal exif expat fam ffmpeg flac foomaticdb fortran gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 guile hal idn imagemagick imlib java jpeg kde kdeenablefinal lcms ldap libg++ libwww lua mad mikmod mmx mng motif mozilla mp3 mpeg ncurses nls nptl ogg oggvorbis openal opengl oss pam pcre pdflib perl png pwdb python qt quicktime readline recode samba sdl slang snmp spell sqlite sse ssl svga tcltk tiff truetype truetype-fonts type1-fonts udev usb vorbis xine xml xml2 xmms xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 2 FieldySnuts 2006-01-06 15:37:05 UTC
Created attachment 76408 [details]
nvidia-kernel-1.0.8178 merge log
Comment 3 Kris Kersey (RETIRED) gentoo-dev 2006-01-07 08:14:55 UTC
Why is Comment #1 attached to this bug?
Comment 4 Kris Kersey (RETIRED) gentoo-dev 2006-01-07 08:15:34 UTC
Please try out the attached ebuild.
Comment 5 Kris Kersey (RETIRED) gentoo-dev 2006-01-07 08:16:19 UTC
Created attachment 76449 [details]
nvidia-kernel-1.0.8178-r1.ebuild
Comment 6 Kris Kersey (RETIRED) gentoo-dev 2006-01-07 08:16:50 UTC
Created attachment 76450 [details, diff]
files/1.0.8174/NVIDIA_kernel-1.0-8174-1427453.diff
Comment 7 FieldySnuts 2006-01-07 08:36:35 UTC
Thanks for the attachments. I tried it, I still get errors on 2.6.15-mm1 . I am not able to try vanilla 2.6.15, because I have reiser4 filesystems and reiser4 is not in the vanilla tree yet. Attaching portage log....
Comment 8 FieldySnuts 2006-01-07 08:37:34 UTC
Created attachment 76453 [details]
nvidia-kernel-1.0.8178-r1 merge log, using attachments
Comment 9 FieldySnuts 2006-01-07 16:56:06 UTC
Same issue with 2.6.15-mm2, fyi.
Comment 10 Rick Harris 2006-01-07 17:29:58 UTC
FieldySnuts, you're bug has nothing to do with this bug.

Please open a new bug so that your posts may have some relevance, thanks.
Comment 11 Rick Harris 2006-01-07 17:52:58 UTC
Ebuild & patch test fine, using x11-base/xorg-x11-6.8.2-r6 + sys-kernel/vanilla-sources-2.6.15

This also fixes bug #115417
Comment 12 Kris Kersey (RETIRED) gentoo-dev 2006-01-10 12:03:09 UTC
Ebuild 1.0.8178-r1 committed with cumulative 8178 patch NVIDIA_kernel-1.0-8178-U122205.diff.
Comment 13 Peter Hyman 2006-01-22 05:01:30 UTC
Have you seen this?

WARNING: //lib/modules/2.6.15-gentoo-r1/video/nvidia.ko needs unknown symbol agp_bind_memory
WARNING: //lib/modules/2.6.15-gentoo-r1/video/nvidia.ko needs unknown symbol agp_enable
WARNING: //lib/modules/2.6.15-gentoo-r1/video/nvidia.ko needs unknown symbol agp_backend_acquire
WARNING: //lib/modules/2.6.15-gentoo-r1/video/nvidia.ko needs unknown symbol agp_bridges
WARNING: //lib/modules/2.6.15-gentoo-r1/video/nvidia.ko needs unknown symbol agp_free_memory
WARNING: //lib/modules/2.6.15-gentoo-r1/video/nvidia.ko needs unknown symbol agp_allocate_memory
WARNING: //lib/modules/2.6.15-gentoo-r1/video/nvidia.ko needs unknown symbol agp_unbind_memory
WARNING: //lib/modules/2.6.15-gentoo-r1/video/nvidia.ko needs unknown symbol agp_copy_info
WARNING: //lib/modules/2.6.15-gentoo-r1/video/nvidia.ko needs unknown symbol agp_backend_release                   
Comment 14 Peter Hyman 2006-01-22 05:03:04 UTC
http://www.nvnews.net/vbulletin/showthread.php?s=830ed89feac1748541e9f29b73b80e92&t=62021

The bugs just keep on coming. 011806 is now the latest patch
Comment 15 Peter Hyman 2006-01-22 05:36:08 UTC
(In reply to comment #13)
> Have you seen this?
> 
> WARNING: //lib/modules/2.6.15-gentoo-r1/video/nvidia.ko needs unknown symbol
> agp_bind_memory

my stupidity. It would have helped if I installed modules properly :(
Comment 16 Kris Kersey (RETIRED) gentoo-dev 2006-01-22 13:45:05 UTC
Added new Zander patch.  Submit new bug next time. :-)  Thanks.