LWN.net Logo

The embedded Linux nightmare - an epilogue

The embedded Linux nightmare - an epilogue

Posted May 2, 2007 0:10 UTC (Wed) by drag (subscriber, #31333)
In reply to: The embedded Linux nightmare - an epilogue by AdHoc
Parent article: The embedded Linux nightmare - an epilogue

Plus the kernel differences don't seem as huge.

Currently Debian Stable and Ubuntu are using 2.6.18 kernel variations. Redhat EL 5 uses 2.6.18 variation. All of them are released fairly recently.

Old Debian Stable shipped 2.6.8 and Redhat EL 4 used 2.6.9. Those systems are the longest supported distributions out of all mainline Linux versions and now they are basicly obsolete, except as legacy installations. Nobody would want to install either of those systems for new servers or workstations.

Adding new hardware support from backports would be exponentially easier from 2.6.21 to 2.6.18 then trying to go from 2.6.21 to 2.6.8

So in the author's example he was asked about backporting drivers to 2.6.10... probably that means that the device is not even into beta mode yet if they are still working out the details of hardware support. So that is a very odd kernel for anything still in relatively early stages of development.

That kernel is very old now. It will be ancient by the time it reaches market. So it seems very weird that you'd choose that version to work with.

I guess that a good approach would be that generally people will want to keep up with the latest stable releases for as long as they can, and 'freeze' the version as late into the development cycle as comfortably possible.


(Log in to post comments)

but ...

Posted May 2, 2007 1:45 UTC (Wed) by JoeBuck (subscriber, #2330) [Link]

Red Hat is still supporting RHEL 3 for their customers.

but ...

Posted May 2, 2007 20:01 UTC (Wed) by tglx (subscriber, #31301) [Link]

right, because it's a product and they have support contracts. But it is in maintainence mode. They won't add the new wireless stack or whatever big feature to it anymore.

but ...

Posted May 2, 2007 21:18 UTC (Wed) by riel (subscriber, #3142) [Link]

RHEL releases only get select new hardware and feature support for the first 2 to 3 years after release. The rest of the 7 year support cycle the product will only get fixes for security problems and other really severe bugs. RHEL 2.1 is in that latter stage of the support cycle and RHEL 3 will be there soon.

We also have a policy of making sure that bugs our customers find in RHEL also get fixed in the upstream kernel. Preferably, they get fixed in the upstream kernel before the fix is put in RHEL.

Not only do we get the benefit of upstream review of the code change, but the bug is also automatically fixed when we come out with our next RHEL release. We only need to fix each bug once, and the upstream community gets the benefits of our work.

When dealing with a long product cycle and the faster upstream Linux development cycle there are ways to ensure that both your product and the upstream Linux community benefit.

The embedded Linux nightmare - an epilogue

Posted May 2, 2007 3:48 UTC (Wed) by raven667 (subscriber, #5198) [Link]

Old Debian Stable shipped 2.6.8 and Redhat EL 4 used 2.6.9. Those systems are the longest supported distributions out of all mainline Linux versions and now they are basicly obsolete, except as legacy installations. Nobody would want to install either of those systems for new servers or workstations.

I disagree with this statement. I still install RHEL4 in my business and plan to do so for some time, heck I still install the occasional RHEL3 host. I'm not going to rebuild systems that currently work just to get the latest and greatest without some clear justification. It costs time to maintain another OS variant, re-checking our services and potentially porting them to the new release. Of course they are all similar (RHEL3-RHEL5) but each version has differences (or else it wouldn't be a new version) that I need to understand and account for. The long term support for RHEL, SLES and Ubuntu LTS exists for a reason, users which don't want a high rate of churn for their base OS.

The embedded Linux nightmare - an epilogue

Posted May 2, 2007 5:17 UTC (Wed) by dlang (✭ supporter ✭, #313) [Link]

however, you won't be trying to install that old version on brand new hardware, you will be installing it on the hardware that it supports.

as such you just need bugfixes, you don't need new drivers and other major improvements from the new kernel.

so you are just fine. the maintinance nightmare is when you try to backport larger chunks of things, and they drag in more stuff that they depend on.

even bugfixes aren't going to be complete, many bugs get fixed by replacing the code that is buggy (frequently without the person writing the new code recognising all the implications of the bug, sometimes without them noticing that there is a bug) with new code, useually to add new features, or as part of a cleanup effort.

bugs that are fixed like this are extremely hard to backport

The embedded Linux nightmare - an epilogue

Posted May 3, 2007 11:59 UTC (Thu) by raven667 (subscriber, #5198) [Link]

<blockquote><p>however, you won't be trying to install that old version on brand new hardware,
you will be installing it on the hardware that it supports.</p>

<p>as such you just need bugfixes, you don't need new drivers and other major improvements
from the new kernel.</p>
</blockquote>
<p>I hate to say it again but this is also not true. RHEL3 supports modern hardware, the have
backported newer versions of drivers and other compatability fixes. RHEL3 is supported on the
latest Dell PowerEdge 9th generation systems for example and even comes with the Dell hardware
management kernel drivers that were integrated with upstream.</p>

The embedded Linux nightmare - an epilogue

Posted May 2, 2007 4:47 UTC (Wed) by AJWM (guest, #15888) [Link]

> Redhat EL 4 used 2.6.9. [...] Nobody would want to install either of those systems for new servers or workstations.

Heh, I wish I could agree with you, but within the next couple of days I'll be doing a fresh Redhat 4 install. The (4x 3GHz Xeon) server is being repurposed, currently it's still running RHEL 2.1. Most of the servers in this particular environment are running RH 3, with just a handful at RH 4. (Mind, they do get updates). Once you've got an enterprise system stable (eg, a four-node Oracle cluster with 8 CPUs/node (16 virtual with hyperthreading) and a SAN backend) you don't want to mess with it very often. (When that's upgraded it'll also be to new boxes, 2 each 32-way IA-64s, and we can kiss hugemem goodbye - but it'll be to RH4, not RH5).

The embedded Linux nightmare - an epilogue

Posted May 2, 2007 11:51 UTC (Wed) by drag (subscriber, #31333) [Link]

I said _want_.

You don't want to use it, do you? I'd expect you'd rather just install the newest of what was aviable and leave it at that.

You use it because you _need_ to, right?

Also I suppose you'd like all new hardware, too.

:-)

The embedded Linux nightmare - an epilogue

Posted May 3, 2007 5:28 UTC (Thu) by msmeissn (subscriber, #13641) [Link]

SUSE is still supporting 2.4.21 kernels (SLES 8)...

And it really only sees security updates at this time... Very
small self contained fixes.

Ciao, Marcus

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds