View Full Version : NVidia on RH7.2 kernel 2.4.18-17.x
NetSpec
11-13-02, 11:08 AM
I have the X windows working with kernel 2.4.7-10 but I'm having trouble with kernel 2.4.18-17.x
I was wondering if you know of a way to get it to work with kernel 2.4.18-17.7.x
Anthaus
11-13-02, 12:23 PM
First things first.
After upgrading your kernel you have to reinstall the nvidia driver.
There are no rpms for kernel 2.4.18-17, so you have to use either the source rpm or the tarballs. (I prefer the later).
Another possibility is that the nvidia driver is not loading at startup. You can either modprobe it or check out the release notes to edit the config file where X stores the modules.
If the XF86Config-4 file already worked for you, there's no reason to suspect anything is wrong with it. Just take a look to be sure.
NetSpec
11-13-02, 03:24 PM
Tried tars and got errors durring make install on the NVIDIA_kernel-1.0-3123
Anthaus
11-13-02, 05:35 PM
Do you have the kernel-source installed?
The very same version of your current kernel?
NetSpec
11-13-02, 05:56 PM
Yes it is installed.
But during the make install on NVIDIA_kernel-1.0-3123 it gets 5 errors. I have tried and retried.
Originally posted by NetSpec
But during the make install on NVIDIA_kernel-1.0-3123 it gets 5 errors. And, pray tell, what are these errors? Post them exactly. ;)
At a guess, you probably have kernel-source installed, but not configured. Check that /usr/src/linux exists and points to /usr/src/linux-2.4.18-17.x. Also check that /lib/modules/2.4.18-17.x/build points to /usr/src/linux-2.4.18-17.x (ls -l both of them to find out where they point). If /usr/src/linux doesn't exist, then you haven't installed kernel-source. If it does, then we can start to look at configuring it.
NetSpec
11-14-02, 11:52 AM
I checked and /lib/modules/2.4.18-17.x/build points to /usr/src/linux-2.4.18-17.x , however /usr/src/linux does not exist. /usr/src/redhat/BUILD/kernel-2.4.18/linux does exists.
I thought by running rpm -ivh kernel-2.4.18-17.7.x.src.rpm it would install the new kernel-source.
The errors I get during make install are:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers
/usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package.
usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include
usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.
make: *** [nv.o] Error 1
I'm new to linux and I am tring to work through this.
I found my mistake. I got the kernel-source installed and then the make install for the NVIDIA worked. I now have xwindows working. Sorry for being cloudy on this issue. Will continue to learn this as I go.
Thanks for all the help.
Anthaus
11-14-02, 12:41 PM
Just to clear things up, you rebuilt the kernel source, but you didn't actually install it. It happened to me more times than I care to remember :D
NetSpec
11-14-02, 12:52 PM
Thanks again. I'm only a few days into this so I hope to get better.
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.