LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-11-2004, 07:20 AM   #1
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Rep: Reputation: 30
Which kernel source?


Hi,

which kernel source would be better to use, the full source from kernel.org or the kernel package included with Slackware-current?
 
Old 03-11-2004, 07:41 AM   #2
lone_nut
Member
 
Registered: Dec 2003
Location: Denmark
Distribution: Mandrake
Posts: 179

Rep: Reputation: 30
Well i would go for the latest from kernel.org as all the other ones have security issues.
 
Old 03-11-2004, 07:52 AM   #3
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
No, I disagree.

First of all, what are you trying to do? Upgrade your kernel or compile closed-source drivers against your current kernel?

If you're trying to upgrade your kernel, then you can go either way. If you're trying to compile something against your current kernel, then I would strongly suggest that the kernel-source provided by the distro is a better way to go, because then you know it's exactly the source of your actual running kernel, with the same compiler, the same tweaks/settings optimized for slack (insofar as Slackware optimizes anything for you ahead of time ), etc, and all you have to do is install it and you can proceed with compiling the drivers, without having to recompile the kernel and reboot to it, etc.

I'd be interested to know what "security issues" the 2.6.3 kernel-source in slackware-current would have that the 2.6.3 kernel-source on kernel-org would not. They're the same kernel, just that the one is slackpacked, and has a slack-optimized config, afaik.
 
Old 03-11-2004, 08:22 AM   #4
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Original Poster
Rep: Reputation: 30
I'm upgrading to the 2.4.25 kernel.
 
Old 03-11-2004, 09:46 AM   #5
nvn
Member
 
Registered: Apr 2003
Location: Sweden
Distribution: Slackware
Posts: 242

Rep: Reputation: 30
The main difference between getting the source from kernel.org and getting it in the form of a Slackware package from a Slackware mirror, is that the latter is easier to handle. Just installpkg and it will be placed in /usr/src/linux-version, and a symlink will created as well. You'll have to do that by yourself if you get the source from kernel.org, so it's a matter of convenience. It's easier and faster to get the Slackware package.

Another thing is that, as far as I know, if there are crucial patches (i.e., file system patches), Pat usually applies these to the kernel source packages he makes available. This ought to make these a possibly safer bet than going pure vanilla.

Other than that, as motub said, it's exactly the same source.



edit: typo ¤("&¤"#

Last edited by nvn; 03-11-2004 at 10:22 AM.
 
Old 03-11-2004, 09:53 AM   #6
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Original Poster
Rep: Reputation: 30
pure vanilla, must remember that one!! Thanks for the info. I think I'll give the slack-kernel source a bash.
 
  


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
Debain kernel source or Linux kernel source? kushalkoolwal Debian 4 11-28-2005 01:56 PM
how to integrate driver source into kernel source tree zhchang Linux - Software 5 11-23-2005 12:34 AM
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM
difference between "pure" kernel source, and .deb packaged kernel source microsoft/linux Debian 1 06-19-2005 10:28 PM
where is linux source build directory/kernel source tree? webazoid Linux - Software 2 07-01-2004 08:37 PM

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

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

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