flarefox Posted September 29, 2004 Report Share Posted September 29, 2004 Ok, I have stopped trying to use the .run file for nvidia and use an extracted file with make install. When I do that after installing 10.1, here's what I get: cd usr/src/nv; make install make[1]: Entering directory `/home/dee/root/graphicsdriver/usr/src/nv' Your kernel was configured to include rivafb support as a loadable kernel module. The rivafb driver conflicts with the NVIDIA driver; the NVIDIA kernel module will still be built and installed, but be aware that the NVIDIA driver will not be able to function properly if the rivafb module is loaded! *** Failed rivafb module sanity check, but continuing! *** NVIDIA: calling KBUILD... mkdir -p /home/dee/root/graphicsdriver/usr/src/nv/.tmp_versions make -f scripts/Makefile.build obj=/home/dee/root/graphicsdriver/usr/src/nv cc -Wp,-MD,/home/dee/root/graphicsdriver/usr/src/nv/.nv.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclude/asm-i386/mach-default -O2 -Wdeclaration-after-statement -I/home/dee/root/graphicsdriver/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6111 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_CLASS_SIMPLE_PRESENT -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /home/dee/root/graphicsdriver/usr/src/nv/nv.o /home/dee/root/graphicsdriver/usr/src/nv/nv.c /home/dee/root/graphicsdriver/usr/src/nv/nv.c: In function `nv_acpi_event': /home/dee/root/graphicsdriver/usr/src/nv/nv.c:3697: error: `PM_SAVE_STATE' undeclared (first use in this function) /home/dee/root/graphicsdriver/usr/src/nv/nv.c:3697: error: (Each undeclared identifier is reported only once /home/dee/root/graphicsdriver/usr/src/nv/nv.c:3697: error: for each function it appears in.) make[4]: *** [/home/dee/root/graphicsdriver/usr/src/nv/nv.o] Error 1 make[3]: *** [_module_/home/dee/root/graphicsdriver/usr/src/nv] Error 2 NVIDIA: left KBUILD. nvidia.ko failed to build! make[2]: *** [module] Error 1 make[1]: *** [install] Error 2 make[1]: Leaving directory `/home/dee/root/graphicsdriver/usr/src/nv' make: *** [kernel_module_install] Error 2 I'd love to say that I know exactly what to do but I have no earthly idea. Do I need to download something or install something else? I'm trying to get maya to render and work well and I need the nvidia graphics driveer up and running to be able to do that, but it's not working at all. The specs of the system are: video card: Quadro FX 1000 Mandrake 10.1 2 x Intel Xeon 3.06 GHz Anything you can tell me would be helpful. I also tried the .run file and it failed to build it at the last second also. here is what the nvidia installer log file says (basicly the same thing as above I think): option status: license pre-accepted : false update : false force update : false expert : false uninstall : false driver info : false no precompiled interface: false no ncurses color : false query latest driver ver : false OpenGL header files : false no questions : false silent : false X install prefix : /usr/X11R6 OpenGL install prefix : /usr Installer install prefix: /usr kernel source path : (not specified) kernel install path : (not specified) proc mount point : /proc ui : (not specified) tmpdir : /root/tmp ftp site : ftp://download.nvidia.com Using: nvidia-installer ncurses user interface -> License accepted. -> No precompiled kernel interface was found to match your kernel; would you li ke the installer to attempt to download a kernel interface for your kernel f rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes) -> No matching precompiled kernel interface was found on the NVIDIA ftp site; this means that the installer will need to compile a kernel interface for your kernel. -> Kernel source path: '/lib/modules/2.6.8.1-10mdksmp/build' -> Performing cc_version_check with CC="cc". -> Performing rivafb check. -> Performing rivafb module check. WARNING: Your kernel was configured to include rivafb support as a loadable kernel module. The rivafb driver conflicts with the NVIDIA driver; the NVIDIA kernel module will still be built and installed, but be aware that the NVIDIA driver will not be able to function properly if the rivafb module is loaded! -> Cleaning kernel module build directory. executing: 'cd ./usr/src/nv; make clean'... rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa ce.o os-registry.o nvidia.mod.o rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags} rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~ -> Building kernel module: executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.8.1-10mdksm p/build SYSOUT=/lib/modules/2.6.8.1-10mdksmp/build'... Your kernel was configured to include rivafb support as a loadable kernel module. The rivafb driver conflicts with the NVIDIA driver; the NVIDIA kernel module will still be built and installed, but be aware that the NVIDIA driver will not be able to function properly if the rivafb module is loaded! *** Failed rivafb module sanity check, but continuing! *** NVIDIA: calling KBUILD... make -C /lib/modules/2.6.8.1-10mdksmp/build \ KBUILD_SRC=/usr/src/linux-2.6.8.1-10mdk KBUILD_VERBOSE=1 \ KBUILD_CHECK= KBUILD_EXTMOD="/root/tmp/selfgz10721/NVIDIA-Linux-x86-1.0-6111 -pkg1/usr/src/nv" \ -f /usr/src/linux-2.6.8.1-10mdk/Makefile modules mkdir -p /root/tmp/selfgz10721/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tm p_versions make -f /usr/src/linux-2.6.8.1-10mdk/scripts/Makefile.build obj=/root/tmp/se lfgz10721/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/tmp/selfgz107 21/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv_compiler.h cc -Wp,-MD,/root/tmp/selfgz10721/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv /.nv.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I /usr/src/linux-2.6.8.1-10mdk/include -I/root/tmp/selfgz10721/NVIDIA-Linux-x 86-1.0-6111-pkg1/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-st rict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -f no-unit-at-a-time -march=i686 -I/usr/src/linux-2.6.8.1-10mdk/include/asm-i38 6/mach-default -Iinclude/asm-i386/mach-default -O2 -Wdeclaration-after-state ment -I/root/tmp/selfgz10721/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv -Wal l -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wn o-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_ LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VER SION=0 -DNV_PATCHLEVEL=6111 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 - UDEBUG -U_DEBUG -DNDEBUG -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_CLASS_SIMPLE_PRESENT -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvi dia -c -o /root/tmp/selfgz10721/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv .o /root/tmp/selfgz10721/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c /root/tmp/selfgz10721/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In fun ction `nv_acpi_event': /root/tmp/selfgz10721/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: e rror: `PM_SAVE_STATE' undeclared (first use in this function) /root/tmp/selfgz10721/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: e rror: (Each undeclared identifier is reported only once /root/tmp/selfgz10721/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: e rror: for each function it appears in.) make[4]: *** [/root/tmp/selfgz10721/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/n v/nv.o] Error 1 make[3]: *** [_module_/root/tmp/selfgz10721/NVIDIA-Linux-x86-1.0-6111-pkg1/u sr/src/nv] Error 2 make[2]: *** [modules] Error 2 NVIDIA: left KBUILD. nvidia.ko failed to build! make[1]: *** [module] Error 1 make: *** [module] Error 2 -> Error. ERROR: Unable to build the NVIDIA kernel module. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com. [moved from Installing Mandrake by spinynorman] Quote Link to comment Share on other sites More sharing options...
Ixthusdan Posted September 29, 2004 Report Share Posted September 29, 2004 Go to this thread and follow the instructions. Mandrake has a c header file problem. Replace it, and nvidia will build. Quote Link to comment Share on other sites More sharing options...
adamw Posted September 29, 2004 Report Share Posted September 29, 2004 it's not actually a mandrake problem, it's a general kernel problem, but it only shows up in very recent kernels with the mm patchset, which is why many systems won't manifest the problem. it's not a mandrake patch that causes it, though. Quote Link to comment Share on other sites More sharing options...
flarefox Posted September 30, 2004 Author Report Share Posted September 30, 2004 thank you very much for that! ~Dee Quote Link to comment Share on other sites More sharing options...
flarefox Posted September 30, 2004 Author Report Share Posted September 30, 2004 It still fails. Even after replacing the file. I don't understand. It is failing while it is building the nvidia.ko file I think. It's exactly the same as was in my original post...maybe I'm doing something wrong or not expaining it as well as I could... Quote Link to comment Share on other sites More sharing options...
SpikeyKlitske Posted September 30, 2004 Report Share Posted September 30, 2004 Eventhough i might be a noob, perhaps my battle with nvidia drivers helps you to overcome the c header problem. Ie i had to cope a c header file i recieved from someone else before i ran the nvidia driver .run file and it worked fine for me (in the end). Its a wild guess but who knows: http://mandrakeusers.org/index.php?showtopic=19143 Quote Link to comment Share on other sites More sharing options...
Ixthusdan Posted September 30, 2004 Report Share Posted September 30, 2004 Please make sure that your kernel-sources match your runnig kernel EXACTLY. Quote Link to comment Share on other sites More sharing options...
Guest hawkeyeIX Posted October 2, 2004 Report Share Posted October 2, 2004 Here is a good explaining how to fix the nvidia kernel problem and get the graphics driver successfully installed (it works for me, too): nvidia Linux Support Forum Thomas Quote Link to comment Share on other sites More sharing options...
Ixthusdan Posted October 2, 2004 Report Share Posted October 2, 2004 Concerning the above link, it is not necessary to make a script in order for the driver to run every time. Add the listed line into /etc/modules .conf and also add "nvidia" to /etc/modprobe.preload. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.