LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-17-2006, 03:26 PM   #1
DanTaylor
Member
 
Registered: Jan 2006
Distribution: Debian Sarge
Posts: 265

Rep: Reputation: 30
Installing NVIDA kernel


I downloaded the current nvidia kernel, and when I go to open it with kpackage, kpackage just freezes up. I even tried compressing the file as tar.gz and opening it that way, but when I open it that way it says that it can't find installpkg. I can install other packages, so I'm assuming I am doing something wrong.
 
Old 02-17-2006, 03:28 PM   #2
stealth_banana
Member
 
Registered: Mar 2004
Location: Scotland
Distribution: Debian Sid / Kubuntu
Posts: 170

Rep: Reputation: 30
would that be the .run file from the nvidia website?

or the modules for your distro?
 
Old 02-17-2006, 03:36 PM   #3
stealth_banana
Member
 
Registered: Mar 2004
Location: Scotland
Distribution: Debian Sid / Kubuntu
Posts: 170

Rep: Reputation: 30
Aaah, I just noticed, your using debian, so I will assume you have them from the nvidia website.


if it is, you will have to log out of X all together.

cd to where you downloaded the nvidia intaller to (I use /opt to give it some use) and run the installer type as root (su to root)

./NVIDIA-Linuxwhateveritscalledbiglongname.run

That should install the kernel packages, append your Xfree86.conf as needed to use them, reboot and that should be you.

I just bought an ATI card, biggest mistake ever, nvidia is a lot better under linux.
 
Old 02-17-2006, 04:58 PM   #4
DanTaylor
Member
 
Registered: Jan 2006
Distribution: Debian Sarge
Posts: 265

Original Poster
Rep: Reputation: 30
I'm not talking about the .run file, I'm talking about the kernel. The run file won't install until you install the kernel. I have the kernel and the .run file downloaded and transfered to my computer.
I know I have to log out of x to use the .run file but that is not my problem.
 
Old 02-17-2006, 08:12 PM   #5
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
As long as you have kernel headers or kernel source installed you don't need an nvidia enabled kernel, you can just let the .run script compile an nvidia kernel module for you...
 
Old 02-18-2006, 12:50 AM   #6
DanTaylor
Member
 
Registered: Jan 2006
Distribution: Debian Sarge
Posts: 265

Original Poster
Rep: Reputation: 30
It says that it can't find one, and as I am not connected to the Internet, there is a small problem there.
 
Old 02-18-2006, 01:06 AM   #7
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
Yeah, it won't be able to find one and ask if it can connect to the internet. That's where you say no and it'll tell you it needs to build the module and away it chugs. Easy stuff.
 
Old 02-18-2006, 02:15 PM   #8
DanTaylor
Member
 
Registered: Jan 2006
Distribution: Debian Sarge
Posts: 265

Original Poster
Rep: Reputation: 30
It won't build the module.
 
Old 02-18-2006, 02:26 PM   #9
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
More info please. Why won't it build? Do you have the siurce cod for the current kernel installed? Do you have build tools (make, gcc, etc) installed?
 
Old 02-18-2006, 02:36 PM   #10
DanTaylor
Member
 
Registered: Jan 2006
Distribution: Debian Sarge
Posts: 265

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by amosf
More info please. Why won't it build? Do you have the siurce cod for the current kernel installed? Do you have build tools (make, gcc, etc) installed?

When I try to run it it says that it can't find the source for the kernel, but the only kernel I can find anywhere is the one from nvidia.com When I go to install that, kpackage freezes up.

Yes I have make, and gcc installed, kpackage tells me when I try to install it from a tar.gz file that it can't find installpkg. That is
all the info I have.
 
Old 02-18-2006, 08:11 PM   #11
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
You need to install the source for the actual kernel you are running. It will be on the cd or dvd of the distro you are running, or from a package repository of the distro.

What kernel are you running (uname -a). That is the kernel source you want.
 
Old 02-18-2006, 08:14 PM   #12
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
The nvidia installer produces /var/log/nvidia-installer.log. If you can't provide any better info then maybe post that file so we aren't playing as many guessing games. All you need to do is install the source (or at least the headers) for the kernel you're running. Debian is stupid so I'm not sure exactly but try this, maybe you'll get lucky.
Code:
apt-get install kernel-source
I think that's supposed to work for Ubuntu...
 
Old 02-19-2006, 01:11 AM   #13
DanTaylor
Member
 
Registered: Jan 2006
Distribution: Debian Sarge
Posts: 265

Original Poster
Rep: Reputation: 30
I found someone to help me, but thanks for all your suggestions.
 
Old 02-19-2006, 01:31 AM   #14
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Everyone here is trying to help you.
 
Old 02-19-2006, 02:02 AM   #15
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
Quote:
Originally Posted by amosf
Everyone here is trying to help you.
Maybe we aren't good enough? Well that's okay, my nvidia driver is working great
 
  


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
Nvida install and kernel soucre bungle_42 Linux - Hardware 10 06-26-2005 03:59 PM
For all having trouble with kernel 2.6.7 and NVIDA drivers EdwardA Linux - General 0 06-28-2004 12:27 PM
HELP!!!!, i am installing a nvida geforce package frog-newbie Linux - Newbie 11 09-05-2003 02:34 AM
installing nvida driver on new gentoo kernel nouse66 Linux - Distributions 6 03-10-2003 09:59 AM
kernel 2.4.18-3 and NVida driver adenardo Linux - General 3 06-01-2002 12:25 PM


All times are GMT -5. The time now is 10:50 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