I just tested something in a 2.5 kernel and after that I wanted to go back to my favorite 2.5.70 kernel, but after I emerged nvidia-kernel my main screen (the nvidia one) didn't came up and my savage4 second screen did come up. Just what happens if I forget to emerge nvidia-kernel again after a kernelswitch. (and I didn't forget to relink the /usr/src/linux symlink) I tried it again and saw that there was a patch applied for 2.5.74mm2 kernels just because I use a 2.5 kernel .. shouldn't there be another test for that? I commented the patch in the ebuild remerged and problem solved. Reproducible: Always Steps to Reproduce: 1. see details Actual Results: nvidia module gets loaded but doesn't do anything Expected Results: nvidia module loaded and my nvidia 'monitor' should work ws root # emerge info Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.5.70 i686 AMD Athlon(tm) XP 2000+ GENTOO_MIRRORS="ftp://sunsite.dk/mirrors/gentoo/ http://gentoo.linux.no/ ht tp://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.snt.utwente.nl/pub/o s/linux/gentoo/ " CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/ share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/te xmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/conf ig" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 dvd xinerama -gtk2 pic acpi acpi4linux 3dnow aalib alsa avi crypt dga encode gif gtk imlib ipv6 java jpeg kde lcms mikmod mmx motif mozilla m peg ncurses oggvorbis opengl pam pdflib perl png python qt qtmt quicktime r eadline sdl spell sse ssl svga tcltk tcpd tiff truetype wmf X xml xml2 xmms xv" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -mmmx -m3dnow -msse" CXXFLAGS="-march=athlon-xp -O3 -pipe -mmmx -m3dnow -msse" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" FEATURES="sandbox ccache fixpackages"
Created attachment 14384 [details, diff] Not really a patch, just the 2.5.74mm2-specific patch commented. The 2.5.74 patch also b0rks the build on 2.5.75 kernels - the odule compiles fine, but the X-Server refuses to start with the nvidia-module complaining about DMA-related probs. The module builds and works fine without that patch,though. So I'd also like to see that specific patch excluded from everything but the kernel-version it was written for.
Created attachment 14385 [details] Not really a patch, just the 2.5.74mm2-specific patch commented. The 2.5.74 patch also b0rks the build on 2.5.75 kernels - the odule compiles fine, but the X-Server refuses to start with the nvidia-module complaining about DMA-related probs. The module builds and works fine without that patch,though. So I'd also like to see that specific patch excluded from everything but the kernel-version it was written for.
Created attachment 14386 [details] Not really a patch, just the 2.5.74mm2-specific patch commented. The 2.5.74 patch also b0rks the build on 2.5.75 kernels - the odule compiles fine, but the X-Server refuses to start with the nvidia-module complaining about DMA-related probs. The module builds and works fine without that patch,though. So I'd also like to see that specific patch excluded from everything but the kernel-version it was written for.
there is a fix for the 2.5.75 problem on the forums: http://forums.gentoo.org/viewtopic.php?t=66558&highlight=xfree
I reversed stuff in the first rev of the patch. The second version fixed that, and the latest with 2.6 support should also work: ------------------------------------ 14 Jul 2003; Martin Schlemmer <azarah@gentoo.org> nvidia-kernel-1.0.4363-r3.ebuild, files/1.0.4363/NVIDIA_kernel-1.0-4363-2.5-20030714.diff: Update 2.5 patch once again for 2.6.0 kernel. *nvidia-kernel-1.0.4363-r3 (14 Jul 2003) 14 Jul 2003; Martin Schlemmer <azarah@gentoo.org> nvidia-kernel-1.0.4363-r3.ebuild, files/1.0.4363/NVIDIA_kernel-1.0-4363-2.5-20030713.diff, files/1.0.4363/NVIDIA_kernel-1.0-4363-highpmd-20030713.diff: Update the 2.5 patch. Fixup highpmd stuff, as it could be a problem in the way the patch does it (according to AKPM); currently it maps an offset, copy the struct over, then unmap it again, and then try to use it ?!?! 12 Jul 2003; Martin Schlemmer <azarah@gentoo.org> files/1.0.4363/NVIDIA_kernel-1.0-4363-highpmd.diff: Cleanup patch a bit more, and fix a type-o that caused the driver to fail initializing DMA.