LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-07-2004, 12:10 PM   #1
JustOl'Bob
Member
 
Registered: Apr 2004
Location: upstate New York
Distribution: SuSE 9.0, Fedora Core 2
Posts: 117

Rep: Reputation: 19
New Nvidia Drivers - Fedora Core 2


Help for a noob, please. I'm running the 2.3.3-1.435.2.3 kernel, which doesn't have a precompiled kernel interface, so I have to download the kernel-source package (kernel-sourcecode-2.6.6-1.435.2.3.noarch.rpm) from download.fedora.redhat.com. The question is - should I use the rpm install on this package, and if so, what directory? Anything I should watch out for? Don't want to hose my system after 2 weeks of tweaking it.
 
Old 07-07-2004, 03:17 PM   #2
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
why not just update your kernel? the standard procedure is here - every step is laid out:

http://www.linuxquestions.org/questi...threadid=73436

if you read and follow steps carefully, you should be fine - but of course it is possible to hose the system - so be sure to backup important stuff, and leave the old kernel (and lilo/grub entry) intact as a backup in case it doesn't work your first time thru (as outlined in that thread)

Last edited by Genesee; 07-07-2004 at 03:20 PM.
 
Old 07-07-2004, 03:20 PM   #3
JustOl'Bob
Member
 
Registered: Apr 2004
Location: upstate New York
Distribution: SuSE 9.0, Fedora Core 2
Posts: 117

Original Poster
Rep: Reputation: 19
Unhappy update

Did a file search and found that my recent yum-update had placed 'kernel-sourcecode-0.2.6.6-1.435.2.3.noarch.hdr in /var/cache/yum/updates-released/headers, so I beleived that I might be all set to go on the Nvidia drivers install. Again, exited X-server, logged in as root and ran sh NVIDIA-Linux-x86-1.0-6106-pkg1.run, but here's the result:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Jul 7 15:56:18 2004

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel source path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Kernel source path: '/lib/modules/2.6.6-1.435.2.3/build'
-> Performing cc_version_check with CC="cc".
-> gcc-version-check failed:

./usr/src/nv/conftest.sh: line 1: cc: command not found
Could not compile gcc-version-check.c

If you know what you are doing and want to ignore the gcc version check, sel
ect "No" to continue installation. Otherwise, select "Yes" to abort install
ation, set the CC environment variable to the name of the compiler used to c
ompile your kernel, and restart installation. Abort now? (Answer: No)
ERROR: ./usr/src/nv/conftest.sh: line 1: cc: command not found

If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.


Well, I have checked /usr/src and there are NO files in it at all - completely empty. So, can anyone get me to the next base on this one?
 
Old 07-07-2004, 03:30 PM   #4
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Quote:
I'm running the 2.3.3-1.435.2.3 kernel, which doesn't have a precompiled kernel interface, so I have to download the kernel-source package (kernel-sourcecode-2.6.6-1.435.2.3.noarch.rpm) from download.fedora.redhat.com.
Are those numbers right ???

Because if they are, then the kernel and kernel-sources don't match. And from memory, that's what the error is telling you. I seem to recall getting a similar one when I was meddling with mandrake 10 community - for reason's that I don't follow, I was being really dilligent about installing any updates (the community designator is like a beta/testing version). What I didn't notice is that the kernel sources versions would appear in the update listing, whereas the actually updated kernel would appear in the "install" listing, hence I carried on doing updates and it took me a while to work out I had different kernel and sources.

As soon as I had matching kernel and sources the nvidia installer worked a treat.

Maybe that'll help a little

regards

John

p.s. having re-read my post, I was trying to say that if you're numbers (from the quote and your first post) are correct, then you either need the 2.3.3-1.435.2.3 kernel-sources or you need the 2.6.6-1.435.2.3 kernel

Last edited by bigjohn; 07-07-2004 at 03:33 PM.
 
Old 07-07-2004, 05:28 PM   #5
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
I've just had to upgrade my kernel and kernel sources in the way I mentioned above. And yes I tried to see what would happen with different kernel and sources.

I got a similar error, but after I upgraded the kernel sources as well as the kernel, I just "su'd" to root told my system to "init 3" and then logged in and ran the sh NVIDIA-Linux-x86............and so on.

You'll know if you've got it right, because the first thing it does is offer you the licence agreement.

regards

John
 
Old 07-07-2004, 06:52 PM   #6
JustOl'Bob
Member
 
Registered: Apr 2004
Location: upstate New York
Distribution: SuSE 9.0, Fedora Core 2
Posts: 117

Original Poster
Rep: Reputation: 19
Bigjohn - sorry - that's my typo; I am running the 2.6.6-1-435.2.3 kernel. It would seem that the kernel source is right for my kernel, then, which I updated the other day with yum as an 'all package' update. Apparently, something's wrong, though, so I downloaded the kernel source directly from Fedora..... but I've only been working in command line for less than 2 weeks and needed some reassurance before I tried to rpm-install the thing. Wonder why the yum update didn't take care of the problem? Wonder why I have no usr/src files? Thanks for taking the time to answer.
 
Old 07-07-2004, 07:02 PM   #7
JustOl'Bob
Member
 
Registered: Apr 2004
Location: upstate New York
Distribution: SuSE 9.0, Fedora Core 2
Posts: 117

Original Poster
Rep: Reputation: 19
Genesee, thanks for the suggestion, and I may end up going through that, but you have to understand that my first two months of Linux was with SuSE 9.0, which is about as 'point and click' as Windose. Heck, two weeks ago, I couldn't even FIND the terminal to do Command Line, and I'm not QUITE ready to tackle what has been described as a 'rite of passage'. On the other hand, I have installed browsers, mail clients, programs, messed with Grub and I'm still up and running, so give me another week and........
 
Old 07-08-2004, 05:48 AM   #8
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Quote:
Wonder why I have no usr/src files?
Weird.

All of my recent (last 6 months) kernel upgrade's in mandrake have gone through a "funny stage".

Mandrakes package manager URPMI, would tell me that everything was installed OK, but when I tried to do the re-install of the nvidia driver, it would give me an error similar to your's.

The only way I've managed to cure it was to re-install the kernel, once, twice and on one occasion 3 times. Kernel first, then kernel-sources.

I'd have to look at /usr/src to see if it was there. On more than one occasion, it wasn't, or if it was, I'd then check my /boot to make sure that it's got a copy of the kernel bit's and pieces, and the initrd and so on.

Quote:
bash-2.05b$ ls -l /boot
total 3439 -rw-r--r-- 1 root root 512 Jul 7 22:54 boot.0300
lrwxrwxrwx 1 root root 18 Jul 7 22:59 config -> config-2.6.3-15mdk
-rw-r--r-- 1 root root 56478 Jul 3 05:13 config-2.6.3-15mdk
-rw-r--r-- 1 root root 144509 Jul 7 21:46 initrd-2.6.3-15mdk.img
lrwxrwxrwx 1 root root 22 Jul 7 21:46 initrd.img -> initrd-2.6.3-15mdk.img
lrwxrwxrwx 1 root root 26 Jul 7 23:00 kernel.h -> /boot/kernel.h-2.6.3-15mdk
-rw-r--r-- 1 root root 537 Jun 26 19:15 kernel.h-2.6.3-14mdk
-rw-r--r-- 1 root root 537 Jul 7 22:42 kernel.h-2.6.3-15mdk
-rw------- 1 root root 516096 Jul 7 22:54 map
lrwxrwxrwx 1 root root 15 Jul 7 22:54 message -> message-graphic
-rw-r--r-- 1 root root 442273 Jun 26 19:07 message-graphic
lrwxrwxrwx 1 root root 22 Jul 7 22:42 System.map -> System.map-2.6.3-15mdk
-rw-r--r-- 1 root root 898796 Jul 3 05:13 System.map-2.6.3-15mdk
lrwxrwxrwx 1 root root 19 Jul 7 21:46 vmlinuz -> vmlinuz-2.6.3-15mdk
-rw-r--r-- 1 root root 1441446 Jul 3 05:13 vmlinuz-2.6.3-15mdk
bash-2.05b$
Above is the latest view of my /boot showing all the config's, img's, initrd, symlinks, map's, vmlinuz etc etc. When the package manager had done something strange it would invariably have not put all the bit's and bob's there (actually in one case it didn't even show the basic kernel that i'd installed).

Nothing's perfect I suppose, because even now when the only kernel that I'm running is the 2.6.3-15 version, you can still see a "kernel.h" file for 2.6.3-14 which is the earlier revision, which for reason's that I don't follow, weren't uninstalled with the rest of the stuff???

Probably irrelevant, but it may give you something to look into?

regards

John
 
Old 07-08-2004, 08:00 AM   #9
JustOl'Bob
Member
 
Registered: Apr 2004
Location: upstate New York
Distribution: SuSE 9.0, Fedora Core 2
Posts: 117

Original Poster
Rep: Reputation: 19
John, thanks for the info. In my case, however, the problem turns out to be my stupidity. I neglected to install the developer's package for Fedora Core 2. Unfortunately, when I tried to install it, I was 'missing' xorg-x11-libs. Couldn't find it on the CD, Yum couldn't come up with it, so I did a google search and installed it from a 3rd party. BAD MISTAKE - now the developer package won't install and I can't un-install the 3rd party program due to 20 dependencies it has created. Looks like slash & burn time! Oh well, it's all a learning experience....
 
Old 07-08-2004, 12:28 PM   #10
JustOl'Bob
Member
 
Registered: Apr 2004
Location: upstate New York
Distribution: SuSE 9.0, Fedora Core 2
Posts: 117

Original Poster
Rep: Reputation: 19
UPDATE: Well, back up and running after format & fresh start . CAREFULLY checked all the programs to be loaded to prevent this foolishness again. New drivers installed and 3D works like a charm! Thanks to all that helped this poor, foolish noob.
 
Old 07-08-2004, 05:28 PM   #11
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Well done Bob,

But it wasn't entirely useless. Ha Ha, I don't care where I get the info from!

My reasoning? Well, I'd completely forgotten that Fedora has now gone for the Xorg "thing". But, I read recently (maybe last week, don't recall) that mandrake have joined the exodus from Xfree as well.

Which mean's that the next mandrake upgrade will probably have the Xorg Xserver, instead of the current Xfree (currently 4.3, I think!).

So again, well done on getting it sorted.

regards

John
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Fedora Core 4 beta 1 and NVIDIA drivers MunCH Fedora 2 03-29-2005 04:13 PM
nvidia drivers on fedora core 3 srasiroslayer Linux - Software 2 12-31-2004 11:17 AM
fedora core 3 nvidia drivers doralsoral Linux - Software 4 12-03-2004 08:58 PM
fedora core 2 nvidia drivers cprogrck Linux - Hardware 21 06-16-2004 11:50 AM
Nvidia drivers with Fedora core 1 doralsoral Linux - Software 5 12-24-2003 05:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:33 PM.

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