Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
05-28-2004, 11:40 AM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 22
Rep:
|
slackware kernel source install (kernel 2.6.6) ?
Hello,
i have installed the new kernel 2.6.6 from here: ftp://ftp.slackware.com/pub/slackwar...s/linux-2.6.6/
the kernel works great
now, i want to install the kernel source, because i want to install the nvidia driver...
i have downloaded this file "linux-2.6.6.tar.bz2" from www.kernel.org, but i dont now how i install the kernel-source.
how can i install the kernel source. iam using slackware-current
thx
greets
linuxog
|
|
|
05-28-2004, 11:46 AM
|
#2
|
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577
Rep:
|
just untar the package and........
move the directory to /usr/src/ and.......
change the symlink to point to the new kernel directory.......
and then update your lilo or grub............
|
|
|
05-28-2004, 11:56 AM
|
#3
|
LQ Newbie
Registered: Aug 2003
Posts: 22
Original Poster
Rep:
|
Quote:
Originally posted by 320mb
change the symlink to point to the new kernel directory.......
|
thx for reply, but how can i set a symlink ?
greets
|
|
|
05-28-2004, 12:24 PM
|
#4
|
Member
Registered: Aug 2003
Location: Columbus, OH
Distribution: Slackware
Posts: 32
Rep:
|
Check out the kernel compiling for newbies guide at the top of the forum. It'll give you everything you need to know about compiling a kernel from source.
|
|
|
05-28-2004, 12:27 PM
|
#5
|
Member
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334
Rep:
|
if not then login as root and chnage to /usr/src/
now frist remove the old link like this: rm linux
now make the new link like so: ln -s linux-2.6.6 linux
and bingo we have a link to the kernel source
|
|
|
05-28-2004, 12:38 PM
|
#6
|
LQ Newbie
Registered: Aug 2003
Posts: 22
Original Poster
Rep:
|
thx@all. the symlink works.
now i want to install the nvidia driver but i get this error:
Code:
ERROR:Unable to determine the NVIDIA kernel module filename
i have try it in the "normal" way and with --kernel-source-path.... but it doesnt work.
any suggestions ?
greets
|
|
|
05-28-2004, 01:58 PM
|
#7
|
LQ Newbie
Registered: Aug 2003
Posts: 22
Original Poster
Rep:
|
can anybody help me ?
|
|
|
05-28-2004, 02:05 PM
|
#8
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,608
|
./Your_NVIDIA_INSTALLER --kernel-name=2.6.6
Last edited by keefaz; 05-28-2004 at 02:07 PM.
|
|
|
05-28-2004, 02:12 PM
|
#9
|
LQ Newbie
Registered: Aug 2003
Posts: 22
Original Poster
Rep:
|
Quote:
Originally posted by keefaz
./Your_NVIDIA_INSTALLER --kernel-name=2.6.6
|
hello,
that dosnt help. same error.
greets
|
|
|
05-28-2004, 02:55 PM
|
#10
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,608
|
what is the output in your
ls /lib/modules/
?
|
|
|
05-28-2004, 02:59 PM
|
#11
|
LQ Newbie
Registered: Aug 2003
Posts: 22
Original Poster
Rep:
|
Quote:
Originally posted by keefaz
what is the output in your
ls /lib/modules/
?
|
Code:
ogu@night:~$ ls /lib/modules/
2.4.22/ 2.4.26/ 2.6/ 2.6.6/
ogu@night:~$
EDIT: with the kernel 2.4.22 the nvidia driver works great
Last edited by LinuxOG; 05-28-2004 at 03:00 PM.
|
|
|
05-28-2004, 03:04 PM
|
#12
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,608
|
Assuming you tar xjvf linux-2.6.6.tar.bz2 in /usr/src
and then ln -s linux-2.6.6 linux
does it work :
./Your_NVIDIA_INSTALLER -k=2.6.6 --kernel-source-path=/usr/src/linux
[ edit ]
Also to be sure, what is the output for uname -r ?
If it still does not work, I think it is time to learn how to configure, compile and install a new kernel (you end with a good kernel adapted to your system)
Last edited by keefaz; 05-28-2004 at 03:08 PM.
|
|
|
05-28-2004, 03:26 PM
|
#13
|
LQ Newbie
Registered: Aug 2003
Posts: 22
Original Poster
Rep:
|
Quote:
Originally posted by keefaz
Also to be sure, what is the output for uname -r ?
|
Code:
ogu@night:~$ uname -r
2.6.6
ogu@night:~$
|
|
|
05-28-2004, 03:37 PM
|
#14
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,608
|
What is the full name of your nvidia installer package please ?
Does the directory /lib/modules/2.6.6/kernel/drivers/video/ exist ?
And Does it work :
./Your_NVIDIA_INSTALLER -k=2.6.6 --kernel-source-path=/lib/modules/2.6.6/build
|
|
|
05-28-2004, 03:51 PM
|
#15
|
LQ Newbie
Registered: Aug 2003
Posts: 22
Original Poster
Rep:
|
Quote:
Originally posted by keefaz
What is the full name of your nvidia installer package please ?
|
NVIDIA-Linux-x86-1.0-5336-pkg1.run
Quote:
Does the directory /lib/modules/2.6.6/kernel/drivers/video/ exist ?
|
yes
Quote:
And Does it work :
./Your_NVIDIA_INSTALLER -k=2.6.6 --kernel-source-path=/lib/modules/2.6.6/build
|
no, same error
i think i need to compile the kernel or have you more ideas?
big thx!
|
|
|
All times are GMT -5. The time now is 09:53 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|