NVIDIA driver problem

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". 5. Finally I get: ERROR: unable to build NVIDIA kernel module. Any suggestions? :)Bogi

Do you have the source code for the kernel downloaded on to your system? If not, I believe you might also find the suse nvidia page on their portal will help you through this. On Sunday 30 January 2005 10: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: 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". 5. Finally I get: ERROR: unable to build NVIDIA kernel module.
Any suggestions?
:)Bogi

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
I've found that coping the kernel header over to where nvidia expect it works for me I've used this trick on both 9.1 & 9.2 Jonothan

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: 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". 5. Finally I get: ERROR: unable to build NVIDIA kernel module.
Any suggestions?
:)Bogi

Just one more thing, that may or may not be obvious to you: after you install the kernel source rpm, make sure you run YOU to update it the same rpm version as your kernel's. HTH On Sunday 30 January 2005 08:31, Adalberto Castelo wrote:
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.

Thanks that brought me a bit further. Unfortunantly I'm not quite there yet. I removed kernel sources, installed them again, ran YOU and rebooted. I then followed the instructions stated below (make cloneconfig, make prepare-all, init 3 and ran the nvidia-installer again) which brought me to a position where the installer warned me that "rivafb" was included as a loadable module and that that might cause conflicts. I proceeded and the installer terminated cleanly. I ran Sax2 which detected me NVidia 0x0281 card. I started X and proceeded to Sax2 in graphical mode to enable 3D acceleration. I ran the "test" which gave the following: X Server test failed NVIDIA(0): *** aborting *** Screen(s) found, but none have usable configuration What's next? I really appreciate your efforts by the way. :)Bogi Adalberto Castelo wrote:
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: 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". 5. Finally I get: ERROR: unable to build NVIDIA kernel module.
Any suggestions?
:)Bogi

I have had problems with the nvidia kernel as well. Are you booting directly into X11 ? If so that will not probably work. My machine boots into console mode - then I run X11 (KDE) with 'startx'. My kernel update scenario works like this. As root user in console mode: ^^^^^^^^^^ Update kernel to k_deflt using 'fou4s --auto'. Install kernel update using 'fou4s -i --interactive'. double check kernel update installation with 'rpm -qv k_deflt'. If OK - Run mk_initrd. Reboot machine to activate latest kernel upgrade. Again from the console command line, as root user; ^^^^^^^^^^^^^^^^^^^^ Compile the nvidia driver with /path/to/nvidia-driver/NVIDIA-Linux-x86-1.0-5336-pkg1/nvidia-installer. cd to: /path/to/nvidia-driver/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/ run 'make install' then 'depmod -a' That should build the new nvidia driver, for the latest kernel update. Next - check your mouse is working OK, if so start the X11 Window system! HTH - Keith Roberts PS I'm running an older version of SuSE Linux 8.x pro and using an earlier version of the nvidia driver. On Sun, 30 Jan 2005, Bogi Mouritsen wrote:
To: suse-multimedia-e@suse.com From: Bogi Mouritsen <bogi@bogi.org> Subject: [suse-multimedia-e] NVIDIA driver problem
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". 5. Finally I get: ERROR: unable to build NVIDIA kernel module.
Any suggestions?
:)Bogi
-- To unsubscribe send e-mail to suse-multimedia-e-unsubscribe@suse.com For additional commands send e-mail to suse-multimedia-e-help@suse.com
participants (5)
-
Adalberto Castelo
-
Bogi Mouritsen
-
Gerry Gavigan
-
j.harbourne@ntlworld.com
-
suse@karsites.net