Re: [suse-multimedia-e] NVIDIA driver problem
Thanks for the quick reply. I need to use the --kernel-source parameter since my system has the kernel-source placed outside the path and the nvidia-installer does not find it. I did not state the 'include' directory. I was writing from memory. Anyway, I did the following now: 1. init 3 2. "sh NVIDIA.... --extract-only" 3. cd <that-directory> 4. make install This is the output I get: If you are using Linux kernel 2.4 .... If you are using Linux kernel 2.6, please make sure you have configured kernel sources matching your kernel installed on your system. If you specified a separate output directory using either "KBUILD_OUTPUT ..... *** Unable to determine the target kernel version *** make[1]: *** [select_makefile] Error 1 make[1]: Leaving directory `/usr/local/NVIDIA....` make: *** [kernel_module_install] Error 2 That is it! Any suggestions please? :)Bogi Carsten Koch wrote:
Bogi Mouritsen wrote:
Hi,
I have an NVIVIA Geforce 4000 (as far as I remember), and I have had trouble with it through several SuSE installations. However I have always managed to get it to work and it works just peachy when I need to use Windows.
I just installed 9.2 and to no surprise YOU couldn't install the driver so I tried to install it using the .run file from nvidia-com. After going into "init 3" this is what I get: 1. My system does not find a precompiled kernel interface, so it tries to download one from nvidia.com. There is no one there either. 2. When trying to make a kernel interface I get an error stating that the kernel header file /lib/modules/2.6.8-24.11-default/build/include/linux/kernel.h was not found. This could be due to kernel-src not being installed, so I installed the additional package. 3. Tried again and after additional errors I found that kernel.h was in another directory. 4. ran "sh NVIDIA-Linux-x86-1.0-6629-pkg1.run --kernel-source-path /usr/src/linux-2.6.8-24/include".
That is definitely wrong. You should not need the --kernel-source-path parameter at all, but if you specify it, it should point to your kernel source tree, not to its "include" subdirectory. If all is installed right, the script should find your kernel sources in /usr/src/linux by default, which is a symbolic link to the right directory (/usr/src/linux-2.6.8-24.10) in my case.
5. Finally I get: ERROR: unable to build NVIDIA kernel module.
Any suggestions?
Try running sh NVIDIA-Linux-x86-1.0-6629-pkg1.run without additional parameters and write down the exact error message you get. If the script does not come up with something useful and only gives you a generic statement "nable to build NVIDIA kernel module.", extract the contents of the archive to a directory using sh NVIDIA-Linux-x86-1.0-6629-pkg1.run --extract-only make that directory your current working dierctory using cd NVIDIA-Linux-x86-1.0-6629-pkg1 and build the module manually using make install as super-user.
That should at least give you a useful error message.
Carsten.
participants (1)
-
Bogi Mouritsen