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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-09-2002, 07:08 PM
|
#1
|
Member
Registered: Dec 2002
Location: Kitchener, ontario , can
Distribution: RedHat 8.0
Posts: 44
Rep:
|
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 01:13 PM.
|
|
|
12-09-2002, 07:20 PM
|
#2
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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 07:28 PM.
|
|
|
12-09-2002, 07:26 PM
|
#3
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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
|
|
|
12-09-2002, 10:19 PM
|
#4
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
cut option??
|
|
|
12-10-2002, 08:21 AM
|
#5
|
Member
Registered: Dec 2002
Location: Kitchener, ontario , can
Distribution: RedHat 8.0
Posts: 44
Original Poster
Rep:
|
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 01:20 PM.
|
|
|
12-10-2002, 06:04 PM
|
#6
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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 06:06 PM.
|
|
|
12-10-2002, 06:08 PM
|
#7
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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
|
|
|
12-10-2002, 11:06 PM
|
#8
|
Member
Registered: Dec 2002
Location: Kitchener, ontario , can
Distribution: RedHat 8.0
Posts: 44
Original Poster
Rep:
|
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
|
|
|
12-11-2002, 12:27 AM
|
#9
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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
|
|
|
12-11-2002, 07:27 AM
|
#10
|
Member
Registered: Dec 2002
Location: Kitchener, ontario , can
Distribution: RedHat 8.0
Posts: 44
Original Poster
Rep:
|
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
|
|
|
12-11-2002, 07:54 AM
|
#11
|
Member
Registered: Dec 2002
Location: Kitchener, ontario , can
Distribution: RedHat 8.0
Posts: 44
Original Poster
Rep:
|
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 09:21 AM.
|
|
|
12-11-2002, 04:28 PM
|
#12
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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
|
|
|
12-11-2002, 05:42 PM
|
#13
|
Member
Registered: Dec 2002
Location: Kitchener, ontario , can
Distribution: RedHat 8.0
Posts: 44
Original Poster
Rep:
|
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!
|
|
|
12-11-2002, 08:24 PM
|
#14
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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 08:28 PM.
|
|
|
All times are GMT -5. The time now is 12:35 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|