LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-10-2008, 08:48 AM   #1
jukebox55
Member
 
Registered: Aug 2007
Distribution: slackware 11
Posts: 101

Rep: Reputation: 15
nvidia driver installation problem


hello,

firstly may i say i am aware that i have an unresolved post on this forum already, but ive had a crazy few days in the 'real world', and ill get to it as soon as i possibly can. thanks to those involved for their patience.

now on to the immediate problem.

im trying to install the nvidia driver for linux 'nvidia-linux-x86-169.09-pkg1.run', however, the installer states that it needs to compile a kernel interface to match my systems current kernel (which is the 'kernel-generic-smp-2.6.17.13-i686-3' from the extras folder on the slackware 11 dvd).

the nvidia installer is asking for an installed 'kernel source tree'.

i know there is an /extras/source/linux-smp-2.6.17.13' folder, but there doesnt seem to be a kernel in there, can anyone help locate the correct source, and instruct on how to install it, so that the nvidia installer can see it.

Last edited by jukebox55; 02-10-2008 at 08:55 AM.
 
Old 02-10-2008, 09:01 AM   #2
TSquaredF
Member
 
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 564

Rep: Reputation: Disabled
You don't have the kernel source package installed. Install it from your source tree slackware/k/linux.2.XXX.YYY...tgz.
Regards,
Bill
 
Old 02-10-2008, 09:15 AM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
You should run 'installpkg' on '/extra/linux-2.6.17.13/kernel-source-2.6.17.13-noarch-1.tgz' on install DVD or CD. That's the kernel source which is needed in order to compile kernel modules such as the one for nvidia.
 
Old 02-10-2008, 10:55 AM   #4
jukebox55
Member
 
Registered: Aug 2007
Distribution: slackware 11
Posts: 101

Original Poster
Rep: Reputation: 15
thanks, i installed the kernel source and finally the nvdia driver installed too
 
Old 02-10-2008, 12:13 PM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
that's good to hear
 
Old 02-10-2008, 04:12 PM   #6
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Just a reminder that if you upgrade your kernel, you will need to recompile the nVidia driver.
When doing a kernel upgrade, a standard procedure for me is to first set my system to boot to run level 3 by editing '/etc/inittab', then do the kernel upgrade, reboot, recompile nVidia driver, and then change back to run level 4.
If I neglect to change run levels, the system hangs during boot. The solution is to set the "single' kernel option when booting, to boot to run level 1, then 'telinit 3' to switch to run level 3. Then the nVidia driver can be recompiled.
 
Old 02-12-2008, 06:11 PM   #7
jukebox55
Member
 
Registered: Aug 2007
Distribution: slackware 11
Posts: 101

Original Poster
Rep: Reputation: 15
thanks for that info allend
 
Old 02-12-2008, 06:18 PM   #8
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
if you don't want to start in init 3, you can build a nvidia kernel from the graphical mode using this command.

If a previous driver is installed:

NVIDIA-Linux-*-pkg1.run -a --no-x-check --no-runlevel-check --kernel-module-only

If no drive installed:

NVIDIA-Linux-*-pkg1.run -a --no-x-check --no-runlevel-check
 
  


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
Problem with Nvidia driver Installation mihalisla Linux - Newbie 5 07-06-2006 12:35 PM
Nvidia nforce driver installation problem Wozl SUSE / openSUSE 1 07-25-2005 07:58 AM
yet another nvidia driver installation problem sbboy Linux - General 4 10-30-2004 12:28 AM
Yet another nvidia driver installation problem sbboy Mandriva 1 10-24-2004 08:12 AM
NVIDIA nForce driver installation problem on RedHat 8.0 alphajoe Linux - General 10 11-08-2002 07:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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