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

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-21-03, 03:10 PM   #1
LUDWIG
Registered User
 
Join Date: Apr 2003
Posts: 10
Default Need advice about what to try next

Ok, I'm running RH8 with a kernel 2.4.20 that I compiled and built.

This is my first go at installing Nvidia drivers.
Here's where I've got to:

I've exited X and cd-ed to the directory where NVIDIA-Linux-x86-1.0-4349.run is

then I've
#sh NVIDIA-Linux-x86-1.0-4349.run --kerne-name=2.4.20

the installer installed the new drivers sucessfully and asked me to edit XF86Config,which I did (made the driver "nvidia", made sure load "GLX" was there in modules etc etc)
then I went to start X and got this message:


(EE) NVIDIA(0) failed to initialise nvidia kernel module
(EE) Screen(s) found but none have a usable configuration.


Anyway,at this point I had a look through the /var/log/XFree86.0.log file.
There were no EE's or WW's except right at the bottom where I found:

(EE) [GLX] failed to add GLX extention(nvidia XFree86 driver not found)

Do you have any idea what might be casuing these errors?
Any help much appreciated


cheers,
Ludwig
LUDWIG is offline   Reply With Quote
Old 04-21-03, 04:07 PM   #2
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Is the "nvidia" module loaded? Check with /sbin/lsmod, and do an /sbin/modprobe nvidia if it isn't. Then try again.

If it still does the same thing when the kernel module is loaded, then look in the kernel logs for the reason why. Usually it's a simple matter of turning PnP OS off in your BIOS, or turning Assign IRQ to VGA on. If you don't have these settings, then either they're named differently in your BIOS, or your BIOS writer is a fascist who is under the impression that any supposedly-major change like that has the capability to render a system non-functional; this is NOT the case. Or perhaps the BIOS writer only wants Windows to work on your machine.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 04-21-03, 05:45 PM   #3
LUDWIG
Registered User
 
Join Date: Apr 2003
Posts: 10
Default

Hi bwkaz

I tried what you suggested and /sbin/lsmod showed no nvidia module loaded.I did : /sbin/modprobe nvidia and got the message that the nvidia module could not be found

What do you think I could try?

cheers,
Ludwig
LUDWIG is offline   Reply With Quote
Old 04-21-03, 06:35 PM   #4
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default Re: Need advice about what to try next

Quote:
Originally posted by LUDWIG
--kernel-name=2.4.20
Are you actually running kernel 2.4.20? (uname -r) Were you running it when you ran through the installer?

What does find /lib/modules -name nvidia.o tell you?
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 04-22-03, 10:29 AM   #5
LUDWIG
Registered User
 
Join Date: Apr 2003
Posts: 10
Default

Hi m8

Yes,I am running 2.4.20.
I never boot to my old 2.4.18-14 kernel .

I did a find /lib/modules -name nvidia.o and got :
lib/modules/20.4.18-14/video/nvidia.o
which to my uneducated eye,suggests that for some reason, the installer has installed it for the 20.4.18-14 kernel.

Would it just be a case of moving the nvidia.o file to my lib/modules/20.4.20/video/ folder,making the changes to the XF86Config file and then restarting x?
Or is that too simpistic?


cheers for your help,
Ludwig
LUDWIG is offline   Reply With Quote
Old 04-22-03, 11:20 AM   #6
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

No, moving it probably won't work. I suppose you could try it, but the installer really picked the wrong directory, so I doubt that it used the right kernel interface. It may have, though.

Did it install to .../2.4.18-14, or did it install to .../20.4.18-14? If it did the latter, then I think you may have found an issue with the installer and the --kernel-name= option.

Anyway, if copying doesn't work (test it by trying to modprobe the nvidia module), then delete the copy, and rerun the installer. But this time, don't give it the --kernel-name option; it should be just fine without it.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 04-22-03, 11:33 AM   #7
LUDWIG
Registered User
 
Join Date: Apr 2003
Posts: 10
Default

Hi m8

Yes,it installed to .../20.4.18-14.

Quote:
Anyway, if copying doesn't work (test it by trying to modprobe the nvidia module), then delete the copy, and rerun the installer. But this time, don't give it the --kernel-name option; it should be just fine without it.
The problem is that if I don't use the kernel name thing,it won't install cos the installer picks up kernel headers from an old kernel I made nad tells me that there's a mis match between the kernel i'm currently running (2.4.20) and the headers from the old kernel (2.4.20V2) .Also,I don't know how to get rid of the old kernel headers.

This old kernel build was called 2.4.20V2 and it didn't work right,so I deleted it .Howerver,I made it from the same kernel source as the kernel I'm running now (2.4.20).I made it after the 2.4.20 I'm running now,so the headers from this V2 kernel still remain.

Would it be possible just to re-install the source for 2.4.20? Would that get rid of the unwanted kernel headers?

cheers,
Ludwig
LUDWIG is offline   Reply With Quote
Old 04-22-03, 11:55 AM   #8
LUDWIG
Registered User
 
Join Date: Apr 2003
Posts: 10
Default

or perhaps i should build another kernel from a new source?
A 2.4.19, say?
Maybe that would fix the confusion
LUDWIG is offline   Reply With Quote

Old 04-22-03, 02:04 PM   #9
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Delete /usr/src/linux-2.4.20 (but save the .config file in there first! ), and then reextract it from the 2.4.20 source tarball. Then you can recompile if you want, but it shouldn't be necessary -- just do a make mrproper, then copy the .config file back and run make oldconfig dep.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 04-22-03, 02:20 PM   #10
LUDWIG
Registered User
 
Join Date: Apr 2003
Posts: 10
Default

thanks m8, I'll give it a go .
Cheers,
Ludwig
LUDWIG is offline   Reply With Quote
Old 04-22-03, 04:44 PM   #11
LUDWIG
Registered User
 
Join Date: Apr 2003
Posts: 10
Default

m8: you will not believe this:

BUT IT WORKED!!!!!!

Yeeeeeeee haaaaaaaaa!!!!!!!!!!!!!!
I cannot believe it .This has taken me about 2 weeks to do.

Thanks for all your help,bwkaz
I would never have worked it out without your help.


Cheers,
Ludwig
LUDWIG 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
Need your guys advice with this build.. anything should be added or removed? hirantha CPUs, Motherboards And Memory 12 05-18-12 08:36 PM
Need advice on GeForce4 Ti 4200 cards marqmajere NVIDIA GeForce 7, 8, And 9 Series 40 09-26-02 01:01 AM
Suse 8.0 on Nforce - advice hastings NVIDIA Linux 3 08-25-02 04:27 AM
Advice on a CD-RW/DVD Player joltcola General Hardware 10 08-16-02 05:50 AM

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


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