Hi, here is a new nvidia-kernel ebuild with 2 patches that adds support for kernel 2.5 (it will still work on 2.4) and fixes a bug in page_alloc related to both kernel versions.
Created attachment 5038 [details] nvidia-kernel ebuild
Created attachment 5039 [details, diff] kernel 2.5 support patch
Created attachment 5040 [details, diff] page_alloc bugfix patch
Any reference to the page_alloc bug ... is there an official post from nvidia or a kernel developer on that ?
I found the patches on #nvidia on irc.freenode.net. I don't know if that channel is run by nvidia employees or if they get their patches from them, but bugfixes and kernel 2.5 support patches can always be found there. For more info on the patches go here: http://www.minion.de/nvidia/ There is a new patch there now as well, seems you have to chose either " Linux 2.5 Compatibility (workqueue)" or "Linux 2.5 Compatibility (tasklet)". The one I uploaded is "workqueue".
Mailed the guy at minion.de for his opinion about the patches. If He takes too long ... maybe you can test which one works the best for you ?
I see the tasklet one have some 2.4 fixes as well btw.
Fixed in media-video/nvidia-kernel-1.0.3123-r1, thanks.
One problem with the -r1 release.. nvidia-glx dependa on ~media-video/nvidia-kernel-${PV}" You should probably add a ....-r*" at the end..
nosferatu root # emerge -ep nvidia-glx These are the packages that I would merge, in order. Calculating dependencies ...done! [ebuild N ] sys-apps/bzip2-1.0.2-r2 [ebuild N ] sys-libs/ncurses-5.2.20020511-r3 [ebuild N ] sys-apps/texinfo-4.2b [ebuild N ] sys-libs/zlib-1.1.4 [ebuild N ] sys-devel/gcc-3.2-r2 [ebuild N ] dev-python/python-fchksum-1.6.1 [ebuild N ] sys-devel/libtool-1.4.1-r10 [ebuild N ] sys-devel/m4-1.4p [ebuild N ] sys-apps/groff-1.17.2-r3 [ebuild N ] sys-libs/db-1.85-r1 [ebuild N ] sys-libs/db-3.2.9-r1 [ebuild N ] sys-libs/gdbm-1.8.0-r5 [ebuild N ] sys-devel/perl-5.6.1-r7 [ebuild N ] sys-devel/autoconf-2.54 [ebuild N ] sys-apps/bash-2.05b-r3 [ebuild N ] sys-devel/patch-2.5.4-r4 [ebuild N ] sys-libs/readline-4.3-r3 [ebuild N ] dev-lang/tcl-8.3.3-r3 [ebuild N ] sys-devel/flex-2.5.22 [ebuild N ] sys-kernel/linux-headers-2.4.19 [ebuild N ] sys-apps/gawk-3.1.1 [ebuild N ] sys-apps/baselayout-1.8.4.1 [ebuild N ] media-libs/freetype-2.1.2-r1 [ebuild N ] x11-misc/ttmkfdir-2.0 [ebuild N ] sys-apps/miscfiles-1.3 [ebuild N ] sys-libs/cracklib-2.7-r6 [ebuild N ] dev-libs/glib-1.2.10-r5 [ebuild N ] sys-libs/pwdb-0.61-r4 [ebuild N ] sys-devel/automake-1.6.3 [ebuild N ] sys-libs/pam-0.75-r10 [ebuild N ] app-arch/cabextract-0.6 [ebuild N ] x11-base/xfree-4.2.1-r2 [ebuild N ] dev-lang/tk-8.3.3-r2 [ebuild N ] dev-libs/expat-1.95.4 [ebuild N ] dev-lang/python-2.2.2 [ebuild N ] sys-apps/debianutils-1.16.3 [ebuild N ] sys-apps/fileutils-4.1.11 [ebuild N ] sys-apps/portage-2.0.43 [ebuild N ] sys-devel/binutils-2.13.90.0.10 [ebuild N ] sys-libs/glibc-2.3.1-r1 [ebuild N ] x11-base/opengl-update-1.4 [ebuild N ] sys-apps/sed-4.0 [ebuild N ] sys-devel/make-3.80 [ebuild N ] app-admin/addpatches-0.2 [ebuild N ] sys-apps/modutils-2.4.20 [ebuild N ] sys-kernel/gentoo-sources-2.4.19-r10 [ebuild N ] media-video/nvidia-kernel-1.0.3123-r1 [ebuild N ] media-video/nvidia-glx-1.0.3123 nosferatu root # ---- Seems fine to me. It will pull in the latest version of -kernel.
(from the ebuild.5 manpage) PV Contains the version number without the revision. 'xfree-4.2.1-r2.ebuild' $PV=='4.2.1' PR Contains the revision number or 'r0' if no revision number exists. 'xfree-4.2.1-r2.ebuild' $PV=='r2' PF Contains the full package name [PN]-[PV]_r[PR] 'xfree-4.2.1-r2.ebuild' $P=='xfree-4.2.1-r2'