LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 09-17-2003, 06:32 AM   #1
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 30
nVidia Help. kernel-source?


Okay I know this is a common problem but I was unable to find a post with a problem like mine (that i could understand :P)
so the deal is, I got a new graphics card (nVidia GeForce FX 5200) installing with Windoze was a
breeze (i was surprised, i thought i would have some more trouble) but I came into some problems
when installing the drivers on Linux (RH9 to be exact). So heres mah problem. I downloaded the
IA32 driver and did sh blah_blah_blah.run and the little menus and whatnot began popping up
and i started answering the questions (this is after rebooting my comp in runlevel 3). It has some
issues with my kernel so it tried to download something off of the ftp. Apparently there was no match
so it tried to change my kernel by itself (i know this probably isn't exactly what it said, if i need to get
more specific just say so but i think this should be enough information), then it said it couldn't find my
kernerl and to get it to work i would have to point it towards my kernel-source rpm with some commands.
I didn't know what it meant by kernel-source, so i did
$ locate kernel-source
and i came up with nothing. so either i can't find it or i need to install it or something. i feel very n00bish ^_^
so if someone could point me in the right direction i would be very happy (although windoze is running a lot nicer... :P)
 
Old 09-17-2003, 02:06 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

There's an RPM on disc one of the redhat installation discs with a name that starts with kernel_source

Install that - it's the source code for the kernel, and it's needed by some programs and drivers in order to get information about the kernel so that they can be compiled for your specific machine.

I had the same problem trying to install drivers for a Kyro card.

Hit me back if that doesn't sort it.
 
Old 09-17-2003, 02:15 PM   #3
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
Type uname -r in a console to see what kernel you are using. You need to install the kernel-source package of that name eg kernel-source-2.4.22mdk (I use Mandrake). I don't know how RH names it's packages.
The kernel source will be on your install CD's
 
Old 09-17-2003, 03:51 PM   #4
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Original Poster
Rep: Reputation: 30
okay i understand but the kernel on my install CDs (at least when i installed it so im assuming here) is older than my current one (RHN updated it for me, is it safe to use the kernel on my CDs even though its old or is there another way? also if taking the cd approach is what i want, how do i go about installing it? because atm, my computer wont boot x (i have the runtime level set to 3 so it boots into CLI) due to my driver problem. im "okay" at running things in the command line but installing is another deal. would i just boot for the first CD and start from there? thanks appreciate the help

EDIT: a side note, i installed RH 9 from a book/CD package thing (Red Hat Linux 9 For Dummies) which is probably why it has an older kernel than i have now after updates. would it be a good idea to download the first CD of a RH9 install? or another option i just downloaded the file i need kernel-source-2.4.20-20.9.i386.rpm (i think this is it) but its on windoze, is it okay to burn it onto a CD and then either copy it to Linux or point the nVidia driver thing to the CD? im having a surprising amount of fun doing this ^_^. if any of these will work please respond and thanks.

Last edited by GT_Onizuka; 09-17-2003 at 04:01 PM.
 
Old 09-17-2003, 08:32 PM   #5
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Original Poster
Rep: Reputation: 30
okay well i did my plan (with putting the kernel-source rpm on a cd, copying to linux and installing it) and i managed to get the driver installed! however i ran into another big problem. under root when i did startx, GNOME loaded fine (even though i want and normally use icewm). so i figured everything was good and i just needed to change my inittab file to boot into runlevel 5 instead of 3. this was a bad idea a suppose because it completes all the boot-up stuff fine but freezes at the very end (i left it for about 15 minutes before i gave up and booted into windoze to write this) when it would normally load my login screen. the only guess i have is i recently added hdparm stuff (to make my hd go in 32-bit mode and stuff, i got the link from here). but i was able to reboot with that on many many times before i installed my new gfx card, so i don't see why its a problem now. any ideas?

EDIT: okay this is odd.... it just... started working again. w00t i guess i can't complain thanks everyone!

Last edited by GT_Onizuka; 09-17-2003 at 09:01 PM.
 
Old 09-17-2003, 09:10 PM   #6
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
It sounds like it's the video card drivers playing up if your system freezes when the GUI is about to come up.

I would check your /etc/XF86Config file to make sure X is using the gfx drivers, and is trying to use sensible resolutions and monitor refresh rates. I don't know anything about the gfx drivers particularly, but I was given a sample XF86Config file with my Kyro drivers, which was to replace the original (some editing was required to set up for my monitor) - check the gfx driver package to see if you got one too.

Dave.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Nvidia and kernel source uday Slackware 24 08-12-2005 04:04 AM
Nvidia kernel source problem. mooreted Mandriva 22 02-22-2005 08:28 PM
NVIDIA and kernel source frangos Mandriva 4 11-09-2003 07:23 PM
nVidia Drivers needs kernel source eats85 Linux - Software 6 08-28-2003 01:56 PM
nvidia and redhat kernel source yowwww Linux - Software 4 06-21-2003 11:36 PM

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

All times are GMT -5. The time now is 05:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration