Gnome Report post Posted October 25, 2004 OK another question. For the drivers it says IA32 and IA64, both linux. Theres an AMD64 to so I'm thinking this has something to do with my processor or is that for the chipset? Quote Share this post Link to post Share on other sites
Placid Report post Posted October 25, 2004 Yes, those drivers are refuring to the processor chipset. If you have an intel 32 bit or 64 bit, use those (i suggest IA32, unless you have a 64bit intel processor) Quote Share this post Link to post Share on other sites
Gnome Report post Posted October 25, 2004 I downloaded the IA32 one. When I installed I get: ERROR Unable to find the kernel source tree for currently running kernel. Please make sure you have installed the kernel source files for your kernel; on Red Hat Linux systems, for example, be sure you have the kernel-source rpm installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' commandline option. Quote Share this post Link to post Share on other sites
Umrion Report post Posted October 25, 2004 The kernel source is usually installed at /usr/src/linux. What distribution are you using and what do you have in /usr/src now? Quote Share this post Link to post Share on other sites
Gnome Report post Posted October 25, 2004 theres /usr/src/rpm/rpms which contains the dirs athlon, i386, i486, i586, i686, k6, and noarch When I open any of these they are empty. I'm using Mandrakelinux 10.1 Quote Share this post Link to post Share on other sites
Grum Report post Posted October 25, 2004 Install the kernel source rpm. You'll want it some time anyway. urpmi kernel-source should do the trick Quote Share this post Link to post Share on other sites
Placid Report post Posted October 25, 2004 ahaa! Your having the same problems i was, you need to install the kernel-sources i.e. at a shell type (as root): urpmi kernel-source You might get dependancy errors, they could be something like ncurses-devel and ncurses. if they are the above, type (as root): urpmi ncurses urpmi ncurses-devel then re-do: urpmi kernel-source Hope that helps. Quote Share this post Link to post Share on other sites
Gnome Report post Posted October 25, 2004 Seems to have worked..no dependency errors so I am going to try this install again. Thanks everyone also Quote Share this post Link to post Share on other sites
Guest Zeplin Report post Posted October 25, 2004 (edited) ftp://mandrake.mirrors.pair.com/Mandrakel...-1-1mdk.src.rpm I belive prefixed the url with with rpm -ivh It "should" automaticly, download and extract to the correct location. *edit ekk sorry late reply lol Edited October 25, 2004 by Zeplin Quote Share this post Link to post Share on other sites
Placid Report post Posted October 25, 2004 fyi: You'll need to run this outside of X. So at a command prompt, and as root, type: telinit 3. You will end up at a black screen (basically, the console, but in fullscreen)/ run the driver installation program. once it has finished, you might need to restart your machine, just to be on the safe side, unless it says otherwise. to do this, type, as root: telinit 6 You should end up back in X Quote Share this post Link to post Share on other sites
Placid Report post Posted October 25, 2004 ftp://mandrake.mirrors.pair.com/Mandrakel...-1-1mdk.src.rpm I belive prefixed the url with with rpm -ivh It "should" automaticly, download and extract to the correct location. *edit ekk sorry late reply lol That should be, wget <the above url> then rpm -ivh name.of.rpm.arch.rpm Never tried rpm with a url, it might work. Quote Share this post Link to post Share on other sites
Gnome Report post Posted October 25, 2004 YAY more errors!!! I don't get this one though, heres the error log. nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Mon Oct 25 09:20:13 2004 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 : /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-10mdk/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-10mdk/b uild SYSOUT=/lib/modules/2.6.8.1-10mdk/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-10mdk/build \ KBUILD_SRC=/usr/src/linux-2.6.8.1-10mdk KBUILD_VERBOSE=1 \ KBUILD_CHECK= KBUILD_EXTMOD="/tmp/selfgz5147/NVIDIA-Linux-x86-1.0-6111-pkg1/ usr/src/nv" \ -f /usr/src/linux-2.6.8.1-10mdk/Makefile modules mkdir -p /tmp/selfgz5147/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp_vers ions make -f /usr/src/linux-2.6.8.1-10mdk/scripts/Makefile.build obj=/tmp/selfgz5 147/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz5147/NVI DIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv_compiler.h cc -Wp,-MD,/tmp/selfgz5147/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.nv.o .d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/s rc/linux-2.6.8.1-10mdk/include -I/tmp/selfgz5147/NVIDIA-Linux-x86-1.0-6111- pkg1/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasin g -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a -time -march=i686 -I/usr/src/linux-2.6.8.1-10mdk/include/asm-i386/mach-defau lt -Iinclude/asm-i386/mach-default -O2 -Wdeclaration-after-statement -I/tmp /selfgz5147/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv -Wall -Wimplicit -Wret urn-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_NAME S -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCH LEVEL=6111 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG - DNDEBUG -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_CLASS_SIMPLE_PRESENT -DMODULE -DK BUILD_B ASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz5147/NVIDIA-Linux-x86-1. 0-6111-pkg1/usr/src/nv/nv.o /tmp/selfgz5147/NVIDIA-Linux-x86-1.0-6111-pkg1/u sr/src/nv/nv.c /tmp/selfgz5147/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function `nv_acpi_event': /tmp/selfgz5147/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: error: `PM_SAVE_STATE' undeclared (first use in this function) /tmp/selfgz5147/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: error: (Each undeclared identifier is reported only once /tmp/selfgz5147/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: error: for each function it appears in.) make[4]: *** [/tmp/selfgz5147/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.o ] Error 1 make[3]: *** [_module_/tmp/selfgz5147/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/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. Quote Share this post Link to post Share on other sites
Guest Zeplin Report post Posted October 25, 2004 Never tried rpm with a url, it might work. http://www.rpm.org/RPM-HOWTO/use.html Quote Share this post Link to post Share on other sites
Placid Report post Posted October 25, 2004 As i said zeplin, i've never used rpm like that. If it works (which it obviously does), i didnt know. As for your error messages gnome.....one word. NASTY! It looks as though it failed with compiling the nvidia driver, and that your kernel is configured to use a module that the nvidia drivers cannot operate with if loaded. That could cause problems. Are you sure you have kbuild installed? urpmi kbuild if you havent. Quote Share this post Link to post Share on other sites
Gnome Report post Posted October 25, 2004 Yea I checked that before I started the install... Quote Share this post Link to post Share on other sites
Guest Zeplin Report post Posted October 25, 2004 Firstly, Try this package instead of the pkg1, http://download.nvidia.com/XFree86/Linux-x...0-6111-pkg0.run Then, try installing it again Quote Share this post Link to post Share on other sites
Gnome Report post Posted October 25, 2004 At least I think I did..when i type that command it says "no package named kbuild" Quote Share this post Link to post Share on other sites
Guest Zeplin Report post Posted October 25, 2004 Are you sure you have kbuild installed? urpmi kbuild if you havent. http://kbuild.sourceforge.net/ Its for creating makefiles for projects, Not for end user use really. And not the issue here, And gnu make is obviously installed. I belive it has to do with the package he is useing for the nvidia driver. Quote Share this post Link to post Share on other sites
Placid Report post Posted October 25, 2004 no that just means there isnt a package in the urpmi databse called kbuild. its within a comman package, that of which i dont know. Zeplin, it already looks as though he has done that. Make sure (using the mandrake control center, mcc at the shell) you have all the development packages installed. ALthough it looks as though that isnt a problem, its the compilation itself that has failed.....running out of ideas. Quote Share this post Link to post Share on other sites
Guest Zeplin Report post Posted October 25, 2004 Zeplin, it already looks as though he has done that. Yes, he did download the nvidia package, But pkg1 not pkg0 Ive seen similar problems on other forums, useing package 1, 99% of the time, useing pkg0 instead solves this issue. Thats why i suggested useing pkg0. Quote Share this post Link to post Share on other sites
Guest Zeplin Report post Posted October 25, 2004 (edited) Also note the issue here, And a post by zander half way down or so, With a patch to fix http://www.nvnews.net/vbulletin/showthread.php?t=37912 And similar note here, http://www.nvnews.net/vbulletin/showthread.php?t=37579 edit, Opps forgot the link to the patch http://www.nvnews.net/vbulletin/attachment...tachmentid=8095 Edited October 25, 2004 by Zeplin Quote Share this post Link to post Share on other sites
Gnome Report post Posted October 25, 2004 Well I got pkg0 and got the same result..installed the rest of the misc dev packages, gonna try again now. Quote Share this post Link to post Share on other sites
Gnome Report post Posted October 25, 2004 That patch worked (for the install at least) and now I'm going to make the changes to x that i need to..thanks again guys Quote Share this post Link to post Share on other sites
Guest Zeplin Report post Posted October 25, 2004 Glad it worked, After pkg0 died, Google is my friend I also remembered reading about nvidia issues with 2.6.9 on the lkmls, The patch to fix it was rejected, As really it should be fixed by nvidia. the ck patchset added it for now. Probably be seeing it in other distros also for a little, unless they add the kernel fix or Nvidia release a new version shortly. Quote Share this post Link to post Share on other sites
Gnome Report post Posted October 25, 2004 I rebooted my comp with windows and am going to re-install linux on a diff. partition...I don't have time to constantly work on linux until I get to know it a little better. Then I might make the total switch to linux. Quote Share this post Link to post Share on other sites