LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-20-2007, 03:17 PM   #1
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
One more time: what are the differences between 2.4 and 2.6 kernels?


Hi all,

I've done a lot of searching, but I still haven't found a clear-cut description of the major differences between the 2.4 and 2.6 kernel series.

From what I've read, 2.4 uses Hotplug to find things like USB drives and PCMCIA cards while 2.6 uses UDEV. What's the difference and is UDEV really better than Hotplug?

After I tweaked my fstab, I was able to manually mount my USB drive, CD-ROM burning drive, and DVD-ROM drive with the 2.4 kernel from the default Slackware 11 installation.

What other differences are there between the two, and what advantages does the 2.6 kernel have over the 2.4?

Thanks,

-Drew
 
Old 06-20-2007, 03:45 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Quote:
Originally Posted by Lufbery
Hi all,

I've done a lot of searching, but I still haven't found a clear-cut description of the major differences between the 2.4 and 2.6 kernel series.

From what I've read, 2.4 uses Hotplug to find things like USB drives and PCMCIA cards while 2.6 uses UDEV. What's the difference and is UDEV really better than Hotplug?

After I tweaked my fstab, I was able to manually mount my USB drive, CD-ROM burning drive, and DVD-ROM drive with the 2.4 kernel from the default Slackware 11 installation.

What other differences are there between the two, and what advantages does the 2.6 kernel have over the 2.4?

Thanks,

-Drew
Hi,

Maybe you should read the Slackware 11 RELEASE_NOTES.

You will get PV's statement on the issue of 2.4 vs 2.6 for Slackware 11.

You could read the Slackware 12 UPGRADE.TXT to get a understanding for the upgrade from 11 to 12. I would suggest a fresh install from cdrom fro 12 vs upgrade. My reason for this is suggestion is if you plan on doing a change in your system or wish to use the new 2.6 kernel. Then use the 12 RC1.

Look at my post 'Slackware LQ Suggestions!' to get some good links for 12 RC1.
 
Old 06-20-2007, 05:20 PM   #3
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
you really are a traditionalist, eh?

there are literally thousands manyears put into 2.6...

maybe http://kernelnewbies.org/LinuxChanges is helpful


.
udev vs. hotplug: yes
performance: it depends. i heard under some database loads 2.4 features better results

new features/drivers are only added to 2.6
 
Old 06-20-2007, 10:02 PM   #4
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180

Original Poster
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Thanks for the responses, guys.

I read the release notes when I first installed Slackware 11 after it was released last year. However, beyond Pat V's opinions on the stability of the 2.4 kernel versus the 2.6 kernel, there's not a lot of information there.

I'm not a traditionalist, I just started using Linux last year! But the 2.4 kernel is the default for Slackware 11, Pat V says it's very stable, so that's what I chose.

Perhaps if I phrase my question differently it will help:

What does the 2.6 kernel do that the 2.4 kernel can't? Or, how is the 2.6 kernel an improvement?

I think I get the Udev versus Hotplug issue, but what else is there?

Thanks,

-Drew
 
Old 06-20-2007, 10:23 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
Well, it has much better support for a lot of stuff ... especially all things SCSI. (mostly USB, etc.)
 
Old 06-20-2007, 11:28 PM   #6
theoffset
Member
 
Registered: Aug 2005
Location: Guadalajara, Jal, Mexico
Distribution: Slackware Linux
Posts: 211

Rep: Reputation: 31
Quote:
Originally Posted by Lufbery
Perhaps if I phrase my question differently it will help:

What does the 2.6 kernel do that the 2.4 kernel can't? Or, how is the 2.6 kernel an improvement?

I think I get the Udev versus Hotplug issue, but what else is there?

Thanks,

-Drew
There are many changes at many layers: Many new drivers (but a few which aren't there anymore). Much improved power-management. Many changes to improve and ease support of non-386+-based architectures. Much more revised SMT, SMP and NUMA support. Support for REAL Threads (NPTL). Many brand-new syscalls. The famous O(1) scheduler. And so on...

As for the hotplug-vs-udev thing, Linus on his recent rant about the status of suspend/resume seemed to prefer how hotplug worked.

The main problem some people (and I) have with the 2.6 kernel is that there are usually too many (>1) major changes merged between releases, which tends to cause stability issues (as has been acknowledged by the 2.6 mantainer, Andrew Morton) and also reintroduces old bugs. Linus has taken measures against this, and since the .20 release there's been a lot of tracking on regressions and bugs before the release, so the situation seems to be improving over time (I've found .21 to be very stable, for example).

Last edited by theoffset; 06-20-2007 at 11:30 PM.
 
Old 06-21-2007, 09:03 AM   #7
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180

Original Poster
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Theoffset,

Thanks for the very informative response and for the links!

From what I understand, if I were using relatively modern hardware (I'm not), then I would definitely want a 2.6 kernel. Otherwise, it's a toss-up with laptop users seeming to prefer a 2.6 kernel.

I'll likely keep the 2.4 kernel on my seven-year-old desktop, but probably install a 2.6 kernel on my five to six-year-old laptop. I've got OpenSUSE 10.2 on it now, but I'm thinking of installing Slackware 11 -- or waiting until 12 comes out and installing that instead.

Regards,

-Drew
 
  


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
Time Differences between linux & windows in my Java App MRMadhav Programming 4 05-09-2006 03:21 AM
time differences between windows and linux twantrd Linux - General 3 04-25-2006 07:49 AM
Differences between RTOS and non real time operating system like LINU ramkumarv Linux - General 2 03-20-2006 07:10 AM
Differences between default, smp, and bigsmp kernels ? reg3ter Linux - Newbie 8 03-30-2005 06:06 PM
What are the differences between kernels? bad_andy Linux - Newbie 4 08-25-2004 11:50 AM

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

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