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

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-21-03, 01:55 AM   #1
jeffwsi
Registered User
 
Join Date: May 2003
Location: San Diego, CA
Posts: 1
Send a message via AIM to jeffwsi
Question 1.0-4363 installer can't compile kernel mod in RH8.0's new 2.4.20-13 kernel

Good Morning,

I just installed Redhat 8.0's new 2.4.20-13.8.0 kernel update. I uninstalled the nividia rpm's I was using and downloaded the NVIDIA-Linux-1.0-4363.run installer and tried installing it.

The install process claims it lacks the appropriate kernel mod and that the nvidia ftp site does not have an appropriate one either. It tries to compile it's own but the compile process comes up with some nasty errors and exits.

I verified I have the 2.4.20-13.8.0 kernel source rpm installed and the tree is located in /usr/src.

Has anyone successfully compiled an nvidia kernel module or installed Nvidia h/w accelerated drivers on the 2.4.20-13.8.0 kernel yet?

Thanks,

Jeff
jeffwsi is offline   Reply With Quote
Old 05-21-03, 05:07 PM   #2
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Define "nasty errors", please.

A copy and paste of the first few would be helpful. You can pass the --extract-only option to the installer, then cd into NVIDIA-<whatever>/usr/src/nv directory, then do a make >log.txt 2>&1 and attach the resulting log.txt file here; it'll have the full output of make.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 05-21-03, 09:19 PM   #3
Cigarman
Registered User
 
Join Date: Apr 2003
Location: Maine!!!
Posts: 37
Default same here

Hell I've tried it with both red hat 9 and suse 8.2 and it tells me different answers but with the same result - S-O-L. I wish nvidia the distro maintainers would have a little better communication or something because this situation is unacceptable.
Cigarman is offline   Reply With Quote
Old 05-21-03, 09:26 PM   #4
rangerFan
Registered User
 
Join Date: Aug 2002
Posts: 7
Default

I haven't been able to get the video driver installed yet but i have managed to grab the output of the errors. I have tried using the 'make SYSINCLUDE' command to see if that worked which it didn't. I am attaching the file that has the errors in it. If anyone can make sense of it please let me know
Attached Files
File Type: txt error.txt (8.7 KB, 171 views)
rangerFan is offline   Reply With Quote
Old 05-22-03, 05:58 PM   #5
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

rangerFan -- you're getting this:

Quote:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
Notice the path the header file is in, here? /usr/include/linux?

That's the wrong header file. You need to be getting the autoconf header file that's inside the kernel sources, not the one in /usr/include/linux.

To do this, you need to configure your kernel -- make sure it's at the right version (check the toplevel Makefile, and upgrade the package if necessary), then run make clean oldconfig dep in the source directory (usually /usr/src/linux-<version>).
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 05-22-03, 06:54 PM   #6
rangerFan
Registered User
 
Join Date: Aug 2002
Posts: 7
Default

thanks for the help. you helped me get rid of over 3/4 of my errors. To create rpms for another non-working piece of hard ware I created a soft link to my linux kernel ie 'ln -s /usr/src/linux /usr/src/linux-2.4.20-13.9' I am not sure if this soft link is the reason for the the remaining erros. I am attaching the remaining errors. I am going to see if removing that link fixes my problem
Attached Files
File Type: txt error.txt (1.5 KB, 152 views)
rangerFan is offline   Reply With Quote
Old 05-23-03, 05:23 PM   #7
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

OK... umm... that is VERY strange. What does ls -ld /lib/modules/2.4.20-13.9/build say? What about ls -ld /lib/modules/2.4.20-13.9/build/include?

Open the file that's complaining in an editor (that is, /lib/modules/2.4.20-13.9/build/include/linux/modversions.h), and post the first 20 or 30 lines or so (actually, you might want to just attach the whole file -- rename it to .txt first, though).
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 05-23-03, 06:02 PM   #8
rangerFan
Registered User
 
Join Date: Aug 2002
Posts: 7
Default

The first ls outputs a symbolic link to ../../../usr/src/linux-2.4.20-13.9

and the second one is just a directory.

I think there is something wrong with my modversions.h file. it is attached
Attached Files
File Type: txt modversions.txt (289 Bytes, 147 views)
rangerFan is offline   Reply With Quote

Old 05-23-03, 08:28 PM   #9
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

There most definitely is something wrong with it.

It's not from the kernel-source package. It's from glibc-devel (I think).

My modversions.h is attached as well, so you can see what it's supposed to look like (approximately). This file very likely won't work if you just try to copy it into your kernel source tree, because of configuration differences, but it works in mine (because it was generated by make menuconfig). You may have issues with other files, too, though.

Have you run a "make oldconfig" at all?

What happens if you query the RPM database on the integrity of the installed kernel-source package? (I don't remember the option to use, perhaps "rpm -qv kernel-source"?)
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 05-23-03, 08:30 PM   #10
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

OK, apparently I forgot to attach it. Take 2:
Attached Files
File Type: txt modversions.txt (10.6 KB, 162 views)
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 05-23-03, 09:01 PM   #11
rangerFan
Registered User
 
Join Date: Aug 2002
Posts: 7
Default

hey thanks running make oldconfig did the trick. when i queried the kernel-source it showed that the kernel-source was installed
rangerFan is offline   Reply With Quote
Old 05-24-03, 08:37 AM   #12
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Glad it ended up working for you.

But I didn't mean query it to see if it was installed. I meant to say "make sure it's still in the condition it was in when it got installed".

The rpm database keeps md5sums (actually, I'm not sure what kind of checksum it is, might just be CRCs, but it's something) for each file that gets installed. You can have rpm check the integrity of all the files in any one package at any time, I think with rpm -qv <packagename>. But I don't know about the v part, v might need to be something else instead.

If files get changed, this verification will fail.

Of course, it's working now, so it's a moot point anyway.
__________________
Registered Linux User #219692
bwkaz 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
Random crashes, NVRM Xid messages Iesos NVIDIA Linux 90 10-04-12 03:27 AM
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 10:24 AM
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
Crash when logout from X TGL NVIDIA Linux 10 09-13-02 08:22 PM

All times are GMT -5. The time now is 05:22 AM.


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