LinuxQuestions.org
Register a domain and help support LQ
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 08-21-2003, 09:15 AM   #1
Rivitir
Member
 
Registered: Feb 2003
Location: /home
Distribution: Gentoo, Slackware, Debian, & CentOS
Posts: 69

Rep: Reputation: 15
Exclamation Source for Slack


I've been looking for a while now for the source code for slackware, I've found several files that have source off of ftp.slackware.com, but I have yet to find the kernel. Could someone point me in the right direction? Thanks, I've never compiled my own kernel before so I'm not sure what I'm looking for in the way of the kernel source.

Rivitir
 
Old 08-21-2003, 09:28 AM   #2
infurn
LQ Newbie
 
Registered: Aug 2003
Location: Ontario, Canada
Distribution: Slackware 9.0-current
Posts: 24

Rep: Reputation: 15
slackware doesn't have it's own special kernel sources or patched kernel, just its own config

download the standard kernel from anywhere (www.kernel.org for example) and then use one of the config files found on your first slackware CD.

Use the 2.4.20 or 2.4.21 kernels
 
Old 08-21-2003, 09:50 AM   #3
Rivitir
Member
 
Registered: Feb 2003
Location: /home
Distribution: Gentoo, Slackware, Debian, & CentOS
Posts: 69

Original Poster
Rep: Reputation: 15
Thanks, I have the kernel 2.4.21.tar.gz now.
I know I'm suppost to do a $tar zxvf 2.4.21.blah blah
will this put the source into my /usr/src/linux directory? or will I need to do something else to it. This is my first kernel compile so I'm not exactly sure on what to do, I've read through the kernel compile in the first thread so I have an idea of what to do, but any suggessions you have would be great, thanks.

Rivitir
 
Old 08-21-2003, 09:55 AM   #4
infurn
LQ Newbie
 
Registered: Aug 2003
Location: Ontario, Canada
Distribution: Slackware 9.0-current
Posts: 24

Rep: Reputation: 15
place the tar.gz file in /usr/src

then do the tar xvzf and it will be in something like linux-2.4.21 dir

now you want to link the /usr/src/linux folder to this:
ln -s /usr/src/linux-2.4.21 /usr/src/linux

now find the config file on the cd rom (you'll probably want bare.i) and copy it to /usr/src/linux/.config

and then follow any kernel compiling guide to finish the process and setup your kernel
 
Old 08-21-2003, 10:01 AM   #5
LSD
Member
 
Registered: Jan 2003
Location: Northam, W.A., Australia
Distribution: Gentoo ~x86
Posts: 321

Rep: Reputation: 30
Quote:
Originally posted by infurn
slackware doesn't have it's own special kernel sources or patched kernel, just its own config

download the standard kernel from anywhere (www.kernel.org for example) and then use one of the config files found on your first slackware CD.

Use the 2.4.20 or 2.4.21 kernels
Slackware still put the kernel source on the mirrors though:

ftp://ftp.planetmirror.com/pub/slack...-9.0/source/k/
 
Old 08-21-2003, 11:31 AM   #6
Rivitir
Member
 
Registered: Feb 2003
Location: /home
Distribution: Gentoo, Slackware, Debian, & CentOS
Posts: 69

Original Poster
Rep: Reputation: 15
Thanks for all the help, I'll let you know how it goes.

Rivitir
 
Old 08-21-2003, 12:41 PM   #7
hecresper
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & FreeBSD
Posts: 169

Rep: Reputation: 30
Yep, you have to download the whole 'k' folder from a mirror FTP site, then cd into the k folder, and run pkgtool. Then again, by downloading a kernel from www.kernel.org, you'll end up with an optimized kernel for your machine after all is said and done.
 
  


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
digikam source install on Slack 10.0 rhb327 Slackware 4 08-20-2005 04:06 PM
What is the exact way to compile 2.6.7 kernel source on Slack 10? sennasan Slackware 2 06-28-2004 11:58 PM
Hmm. I don't think my Slack has the kernel source code Brakki Slackware 8 07-06-2003 07:04 PM
kernel Source of Slack 9 x-stars Slackware 7 06-29-2003 06:49 AM
Unable To Find Slack 9.0 Kernel Source shannonharvey Slackware 5 04-01-2003 01:24 PM


All times are GMT -5. The time now is 07:44 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration