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

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-22-03, 02:11 PM   #13
XoD
Registered User
 
XoD's Avatar
 
Join Date: Aug 2003
Location: Paris - France
Posts: 101
Default reAhem

Nope.

You must first install the kernel source RPM. Installing the source RPM(does not mean downloading) will set up a directory where you will have the kernel source files. It is not the location where the RPM was downloaded.

For instance:
/usr/src/linux is a common place as the kernel source top dir, be it may be different for your distro.

You need to find out the right top dir for your distro. For that you need to locate where the kernel source RPM installation will put the files.
XoD is offline   Reply With Quote
Old 08-22-03, 02:27 PM   #14
Albert
Registered User
 
Join Date: May 2003
Location: Antwerp, BELGIUM
Posts: 19
Default

Thanks for the really swift reply.

I tried to install the source rpm. But I got stuck. Here's what I got now:

# rpm -ivh kernel-2.4.20-20.9.src.rpm
error: cannot create %sourcedir /usr/src/redhat/SOURCES

I checked: directory /usr/src does exist, but it's almost empty. Weird.
__________________
Albert
Albert is offline   Reply With Quote
Old 08-22-03, 04:05 PM   #15
LoOoD
Registered User
 
Join Date: May 2003
Posts: 14
Default

no not the src.rpm.. you need the rpm called

kernel-source


do this...

rpm -ivh http://mirrors.kernel.org/redhat/redhat/linux/updates/9/en/os/i386/kernel-source-2.4.20-20.9.i386.rpm

Last edited by LoOoD; 08-22-03 at 04:12 PM.
LoOoD is offline   Reply With Quote
Old 08-22-03, 04:11 PM   #16
LoOoD
Registered User
 
Join Date: May 2003
Posts: 14
Default

Quote:
Originally posted by massimo
Do you mean one of these?

Red Hat Linux 9:

SRPMS:
ftp://updates.redhat.com/9/en/os/SRP...0-20.9.src.rpm

athlon:
ftp://updates.redhat.com/9/en/os/ath...0.9.athlon.rpm
ftp://updates.redhat.com/9/en/os/ath...0.9.athlon.rpm

And what before?

Thank you so much!
I am new to linux and maybe I keep doing silly questions...
you want this:

http://mirrors.kernel.org/redhat/redhat/linux/updates/9/en/os/i386/kernel-source-2.4.20-20.9.i386.rpm

and not the src.rpm
LoOoD is offline   Reply With Quote
Old 08-22-03, 07:59 PM   #17
massimo
Registered User
 
Join Date: Aug 2003
Location: Bassano del Grappa - Italy
Posts: 7
Thumbs up



Finally it works!!!!

Thank you to all of you for your help, if I could I would offer a beer to everyone...

Massimo
massimo is offline   Reply With Quote
Old 08-23-03, 03:48 AM   #18
Albert
Registered User
 
Join Date: May 2003
Location: Antwerp, BELGIUM
Posts: 19
Default

I am the worst pupil in the class, I guess

I installed the kernel source rpm (followed the link in this thread) and located the file: /usr/inlude/linux/kernel.h

I run the nVidia installer again:
sh NVIDIA-Linux-x86-1.0-4496-pkg2.run --kernel-include-path /usr/include

The installer took off. Great!

Then it said:
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed.

I opened the log. I wouldn't mind to post it here, but it's in Dutch, so that may be rather difficult for you guys to read.

Any suggestions please?
__________________
Albert
Albert is offline   Reply With Quote
Old 08-23-03, 04:29 AM   #19
Albert
Registered User
 
Join Date: May 2003
Location: Antwerp, BELGIUM
Posts: 19
Default

Ok, guys. I found the solution. Now, it works.

It seems this file kernel.h was sitting in severel different places. I also found it (well hidden) in:
/usr/src/linux-2.4.20-20.9/include/linux

So, when I adapted the option --kernel-include-path, it went just fine.

Thank you all for your kind support. I would never have been able to fix this without it.

BTW the Belgian beer brands are world famous.
__________________
Albert
Albert is offline   Reply With Quote
Old 08-24-03, 12:26 PM   #20
dkaplowitz
Registered User
 
Join Date: Jun 2003
Posts: 5
Send a message via ICQ to dkaplowitz Send a message via AIM to dkaplowitz
Default

Thanks for the thread, people. I knew I was missing something simple. Getting the kernel-source RPM from the link above was what I needed.
dkaplowitz is offline   Reply With Quote

Old 08-24-03, 11:18 PM   #21
sphincter
Registered User
 
sphincter's Avatar
 
Join Date: Mar 2003
Posts: 154
Default

One interesting thing I've found is that if you patch RH's kernel source with the nvgart for the nforce2, you can't build the module, even if you reverse the patch. The patch says it succeeded, but obviously it does something very bad.
__________________
It never gets easier, you just go faster. - Greg Lemond
sphincter 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
Redhat 8.0 NVIDIA works - INSTRUCTIONS STEEL1 NVIDIA Linux 267 04-15-03 06:48 PM

All times are GMT -5. The time now is 07:53 AM.


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