Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-13-02, 11:08 AM   #1
NetSpec
Registered User
 
Join Date: Nov 2002
Location: Ohio
Posts: 8
Post NVidia on RH7.2 kernel 2.4.18-17.x

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
NetSpec is offline   Reply With Quote
Old 11-13-02, 12:23 PM   #2
Anthaus
Registered User
 
Join Date: Jul 2002
Posts: 197
Default

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.
__________________
Use the source, Tux.
Anthaus is offline   Reply With Quote
Old 11-13-02, 03:24 PM   #3
NetSpec
Registered User
 
Join Date: Nov 2002
Location: Ohio
Posts: 8
Default Tried tars

Tried tars and got errors durring make install on the NVIDIA_kernel-1.0-3123
NetSpec is offline   Reply With Quote
Old 11-13-02, 05:35 PM   #4
Anthaus
Registered User
 
Join Date: Jul 2002
Posts: 197
Default

Do you have the kernel-source installed?
The very same version of your current kernel?
__________________
Use the source, Tux.
Anthaus is offline   Reply With Quote
Old 11-13-02, 05:56 PM   #5
NetSpec
Registered User
 
Join Date: Nov 2002
Location: Ohio
Posts: 8
Default Kernel source

Yes it is installed.

But during the make install on NVIDIA_kernel-1.0-3123 it gets 5 errors. I have tried and retried.

Last edited by NetSpec; 11-13-02 at 06:27 PM.
NetSpec is offline   Reply With Quote
Old 11-13-02, 10:40 PM   #6
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default Re: Kernel source

Quote:
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.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 11-14-02, 11:52 AM   #7
NetSpec
Registered User
 
Join Date: Nov 2002
Location: Ohio
Posts: 8
Default Kernel source

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.

Last edited by NetSpec; 11-14-02 at 12:23 PM.
NetSpec is offline   Reply With Quote
Old 11-14-02, 12:41 PM   #8
Anthaus
Registered User
 
Join Date: Jul 2002
Posts: 197
Default

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
__________________
Use the source, Tux.

Last edited by Anthaus; 11-14-02 at 02:12 PM.
Anthaus is offline   Reply With Quote

Old 11-14-02, 12:52 PM   #9
NetSpec
Registered User
 
Join Date: Nov 2002
Location: Ohio
Posts: 8
Smile Yes

Thanks again. I'm only a few days into this so I hope to get better.
NetSpec is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
[BUG] nvidia crashes kernel with 'Xid 13' and attempted to yield the CPU while atomic rockob NVIDIA Linux 36 09-26-12 07:48 AM
upgrade to xorg server 1.13 damaged Geforce 7300 GT KDE NVIDIA Linux 2 09-07-12 08:04 AM
Fatal upgrade: from bad (8800 GTS) to worse 9GTX 560 Ti) ssnyder NVIDIA Linux 1 07-01-12 08:14 PM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM

All times are GMT -5. The time now is 05:26 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.