Bogi,
Here's what you need:
1) install the kernel source rpm from SuSE. 2) go to /usr/src/linux (where the source should be when you use the suse rpms) and type $ make cloneconfig This will make sure that the config file used by make to create dependencies will match your current kernel's config. 3) type $ make prepare-all 4) make sure your system is in init 3 (go to a terminal and type init 3 as root, or type '3' on the suse splash screen that shows the boot menu (kernel, safe mode, etc.) 5) go back to where you have the .run pkg, type $ sh NVIDIA-etc-etc.run --kernel-source-path=/usr/src/linux
I assume you can set up the XConfig file or have one already working.
Now, do not mess with what is in /lib, unless you know what you're doing. And do not use kernel sources that do not match you kernel perfectly.
That should get you going. Good luck.
On Sunday 30 January 2005 05:59, 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:
- 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". 5. Finally I get: ERROR: unable to build NVIDIA kernel module.
Any suggestions?
:)Bogi