LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-09-2002, 06:08 PM   #1
JoC
Member
 
Registered: Dec 2002
Location: Kitchener, ontario , can
Distribution: RedHat 8.0
Posts: 44

Rep: Reputation: 15
installing nvidia driver??????????


um....... i got this when i did :


make install in the dir that i un zip the .tar.gz to


In file included from nv-linux.h.24,
from nv..c:14:
/usr/include/linux/mondeversions.h:1:2: # moudules should never use headers system headers but rather headers from an appropriate kernel-source package. change -I/usr/src/linux/include (or simalar) to -I/lib/modules/$9uname -r0/build/include to build against the currently-running kernel
make: *** [nv.o] Error 1

and is there a "cut" option from a console?

Last edited by JoC; 12-10-2002 at 12:13 PM.
 
Old 12-09-2002, 06:20 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
you need the source for your currently running kernel
and it needs to be in /usr/src/linux


Code:
david@slacker:~$ uname -r
2.4.19-lq4
david@slacker:~$ ls -l /usr/src
total 32424
-rw-r--r--    1 root     root        33409 Dec  6 23:35 config
drwxr-xr-x   14 root     root         4096 May 31  2002 linux/
drwxr-xr-x   16 503      root         4096 Dec  9 13:50 linux-2.4.19-lq/
-rw-------    1 david    users    33113918 Dec  6 23:34 linux-2.4.19-lq4.tar.gz
drwxr-xr-x    7 root     root         4096 Feb 23  2002 rpm/

david@slacker:/usr/src$ su -
Password: 

And so it was, later,
As the miller told his tale,
That her face, at first just ghostly,
Turned a whiter shade of pale.
                -- Procol Harum

root@slacker:/usr/src# mv /usr/src/linux /usr/src/linux.old
root@slacker:/usr/src# ln -s /usr/src/linux-2.4.19-lq /usr/src/linux
root@slacker:/usr/src# ls -l linux
lrwxrwxrwx    1 root     root           24 Dec  9 18:17 linux -> /usr/src/linux-2.4.19-lq/

Last edited by DavidPhillips; 12-09-2002 at 06:28 PM.
 
Old 12-09-2002, 06:26 PM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
It is my recomendation that after building this kernel module you put the other source back to /usr/src/linux

for other programs it is advisable to use the source that your libs were built on, but not too many people pay much attention to that anymore


root@slacker:/usr/src# rm linux
root@slacker:/usr/src# mv linux.old linux
 
Old 12-09-2002, 09:19 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
cut option??
 
Old 12-10-2002, 07:21 AM   #5
JoC
Member
 
Registered: Dec 2002
Location: Kitchener, ontario , can
Distribution: RedHat 8.0
Posts: 44

Original Poster
Rep: Reputation: 15
Sorry and i do this how? is it just a matter of me finding the source for my kernel and moving it to that location above? sorry for being such a noob in the general fourm!!

as for the "CUT" option i was refering to like a "cut and paste" or "copy and paste"


Update 12-10-02

The GLX nvidia file installed fine from what i can see! now i just have to figure out how to extract my source for the kernel and put it /over/there and...... sorry i am still abit lost as to sources and the like! i have found where i need to put it!! (/usr/src/redhat) now i just need to find it!

thanks again

Last edited by JoC; 12-10-2002 at 12:20 PM.
 
Old 12-10-2002, 05:04 PM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
don't put it in /usr/src/redhat

look at the post above, it's /usr/src/linux

download the kernel-source rpm for your kernel version that is shown by this

uname -r

when you install the kernel-source rpm you will have /usr/src/linux-2.4???

and a link /usr/src/linux > /usr/src/linux-2.4???


then it will work ok

Last edited by DavidPhillips; 12-10-2002 at 05:06 PM.
 
Old 12-10-2002, 05:08 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Copy is select, which is done with the left mouse button

paste is done with the center mouse button

I don't think cut is needed in a console
 
Old 12-10-2002, 10:06 PM   #8
JoC
Member
 
Registered: Dec 2002
Location: Kitchener, ontario , can
Distribution: RedHat 8.0
Posts: 44

Original Poster
Rep: Reputation: 15
sorry i t was the closest folder i seen to matching linux i thought that you might be refering to distro there. um i was able to install the GLX driver but since then my box has been restarted by someone and now when i boot all i get is a screen that is just about to load my opening screen with your mouse pointer in the middle ( before your login ) and it keeps looping at the point!


any ideas?

thanks
 
Old 12-10-2002, 11:27 PM   #9
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
did you already edit the XF86Config-4 file as it shows in the instructions?

If you did you need to get the driver installed or change the driver back to nv


did you get the kernel-source rpm yet

if you post your output of

uname -r

I can get you a link to it


or you can just go to google.com


type this in for a search
put in the output of uname -r instead of 2.4.18-14

kernel-source-2.4.18-14.rpm


or look at rpmfind.net

for kernel-source-2.4.18-14.rpm
 
Old 12-11-2002, 06:27 AM   #10
JoC
Member
 
Registered: Dec 2002
Location: Kitchener, ontario , can
Distribution: RedHat 8.0
Posts: 44

Original Poster
Rep: Reputation: 15
NO i have not got the Rpm yet i was planning on doing that. I went out for a bit and came back home to my computer booted up in windows. You see my brother is very computer iliterit and the only thing he knows how to do is play Counter Strike. he does not understand when i leave notes at my computer telling him not to reboot.

so basically i installed the NVIDIA GLX part went out planing to come back and finish up and now i can't
 
Old 12-11-2002, 06:54 AM   #11
JoC
Member
 
Registered: Dec 2002
Location: Kitchener, ontario , can
Distribution: RedHat 8.0
Posts: 44

Original Poster
Rep: Reputation: 15
if installing RH again is the quickest and easyiest way to fix this i could care less!! i have only set up e-mail and d/l the nvidia drivers it is not like i would be losing anything! and it takes like 15 mins to install so.....

Last edited by JoC; 12-11-2002 at 08:21 AM.
 
Old 12-11-2002, 03:28 PM   #12
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
It will be exactly as it was before if you install it again the same way

All you need to do is put the cd in if you have it and install the kernel-source

or download it
 
Old 12-11-2002, 04:42 PM   #13
JoC
Member
 
Registered: Dec 2002
Location: Kitchener, ontario , can
Distribution: RedHat 8.0
Posts: 44

Original Poster
Rep: Reputation: 15
And i would do that by? upgrading the kernel-source from the cd or is there just an option to install?

on my way to try!

thanks again!
 
Old 12-11-2002, 07:24 PM   #14
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
no you don't have the kernel source installed or you would have /usr/src/linux > /usr/src/linux-2.4???

it on the cdrom in RPMS

just run the command

rpm -iv filename

this will install the file filename

of cource filename will be the rpm on the cd

which is going to be the output of uname -r appended to kernel-source- prepending .rpm



As I said before if your output of uname -r must match the kernel-source version or you will need to download it

Last edited by DavidPhillips; 12-11-2002 at 07:28 PM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
help editing xf86config for nvidia geforce mx440 after installing nvidia driver linguist Linux - Newbie 11 06-13-2006 06:31 AM
nvidia legacy driver and nvidia-glx questions darkleaf Linux - Software 6 06-27-2005 02:42 PM
Trouble with new nVidia driver installation...no nvidia logo and KDE no start up mdb Linux - Software 8 08-18-2004 09:45 AM
nvidia fx5600 loads vesa driver instead of nvidia driver saburo62 Linux - Hardware 3 05-04-2004 03:59 PM
kernel 2.6.3--bk8 and NVIDIA-Linux-x86-1.0-5336 video driver from Nvidia zdenkod Linux - Hardware 2 03-09-2004 05:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration