Skip to contentSkip to conversation

Kernel Releases

DISCUSSION David Relson 14 participants 17 messages Nov 25, 2001 – Nov 27, 2001

lore
Share & tools
lore
#0 lore raw

Greetings to All,

Over the past few months, I've been listening in on LKML, with occasional, minor comments - mostly to help newbies. Now, I think it's time for a suggestion ...

As we all know, several of the recent releases have had defects that have __required__ patches before they could be built (or used safely). Problems with symlinks, loopbacks, and unmount come to mind as being like this. They are all show stoppers that required immediate fixes and the creation of a new release or of the next -pre1 version.

I have a tendency to tink that it's better to be running a released kernel, than a pre-release kernel. I'd much rather be running a kernel named 2.4.x than a kernel named 2.4.y-pre?. With the recent problems, the working versions tend to be the -pre1 or -pre2 releases, not the released one. With a bit of QA, I think we can have 2.4.x releases be the stable releases. Here's how...

When the kernel maintainer, now Marcelo for 2.4, is ready to release the next kernel, for example 2.4.16, I suggest he switch from "pre?" to "-rc1" (as in release candidate). A day or two with -rc1 will quickly show if it has a show stopper. If so, then the minor fixes (and nothing else) go into -rc2. A day or two ..., and either -rc3 appears or we have a stable release and 2.4.16 is ready to be released.

Let's go the extra distance and have the releases be usable, stable kernels! It's what users want and it's within the abilities of the developers to produce. Let's do it :-)

David

#1 lore raw

Development kernels are development kernels... nothing else. Look to distributors for high degrees of quality assurance testing. When you run a development kernel you have joined the development team, even if you don't know it. Finding and reporting bugs is your job...

john alvord

Quoted 40 lines · David Relson

Greetings to All,

Over the past few months, I've been listening in on LKML, with occasional, minor comments - mostly to help newbies. Now, I think it's time for a suggestion ...

As we all know, several of the recent releases have had defects that have __required__ patches before they could be built (or used safely). Problems with symlinks, loopbacks, and unmount come to mind as being like this. They are all show stoppers that required immediate fixes and the creation of a new release or of the next -pre1 version.

I have a tendency to tink that it's better to be running a released kernel, than a pre-release kernel. I'd much rather be running a kernel named 2.4.x than a kernel named 2.4.y-pre?. With the recent problems, the working versions tend to be the -pre1 or -pre2 releases, not the released one. With a bit of QA, I think we can have 2.4.x releases be the stable releases. Here's how...

When the kernel maintainer, now Marcelo for 2.4, is ready to release the next kernel, for example 2.4.16, I suggest he switch from "pre?" to "-rc1" (as in release candidate). A day or two with -rc1 will quickly show if it has a show stopper. If so, then the minor fixes (and nothing else) go into -rc2. A day or two ..., and either -rc3 appears or we have a stable release and 2.4.16 is ready to be released.

Let's go the extra distance and have the releases be usable, stable kernels! It's what users want and it's within the abilities of the developers to produce. Let's do it :-)

David

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#7 lore raw
In reply to David Relson
Quoted 4 lines · John Alvord

Development kernels are development kernels... nothing else. Look to distributors for high degrees of quality assurance testing. When you run a development kernel you have joined the development team, even if you don't know it. Finding and reporting bugs is your job...

2.x.y, where x is even, is not a development kernel. It's a release kernel. 2.x.y, where x is odd is a development kernel
2.x.yprez is a development kernel

I think his point is that recently, 2.x.y where x is even has been of the same quality as a development kernel. Blatantly nasty bugs are in it and they really shouldn't be. And so, in order to test things out better he effectively saying that putting a -rcz tag on it will help as it'll indicate a release candidate and as such might get more ppl to use it. Once no obvious issues show up with those, put it as a release.

No real extra work required. You just need to make a decision of 'enough stuffing about. I wanna make a release soon' and start labelling acordingly. This doesn't mean -rcz will be release quality. It just means that it's close to it. It still wont mean it's 100% bug free but it's an extra chance to catch the bad stuff.

All in all, it's not a bad idea[tm].

Signature · 4 lines
CaT        "As you can expect it's really affecting my sex life. I can't help
           it. Each time my wife initiates sex, these ejaculating hippos keep
           floating through my mind."
                - Mohd. Binatang bin Goncang, Singapore Zoological Gardens
#2 lore raw
In reply to John Alvord
Quoted 4 lines · John Alvord

Development kernels are development kernels... nothing else. Look to distributors for high degrees of quality assurance testing. When you run a development kernel you have joined the development team, even if you don't know it. Finding and reporting bugs is your job...

That's why you stay away from 2.5.x, or 2.4.x-pre, or 2.4.x-ac -- which are development kernels. 2.4.x kernels are released kernels.

--
-- John E. Jasen ([email protected])
-- In theory, theory and practise are the same. In practise, they aren't.

#3 lore raw
In reply to John Alvord
Quoted 4 lines · John Alvord

Development kernels are development kernels... nothing else. Look to distributors for high degrees of quality assurance testing. When you run a development kernel you have joined the development team, even if you don't know it. Finding and reporting bugs is your job...

Bah. Some of the worst kernels I have seen have been distributors kernels. Distributors seem to give in to the desire for more features, and don't address the deep bugs.

Now stability and correctness are two different (but related) things in code. I have seen stable programs and some even a few kernels that were rock solid reliable and stable but were extremely incorrect in places.

Correctness means you can write a proof showing how it meats it's specifications. Stability means something passes the test of time.

If you are correct it is relatively easy to pass the test of time. If you are incorrect it is still possible but harder.

What the developers produce primarily are correct kernels, especially Linus. I have never seen a distribution make a kernel more correct. Instead what I have seen is distributors testing on a wide variety of hardware and for those things that don't work they throw in the current best work around.

Also distributors during development don't have the same number of people testing a kernel as the global linux kernel project has. At the current point in time it appears that Linus Torvalds is finally satisfied with the basic correctness of 2.4.x. Enough so that he doesn't feel the need to keep fixing it. So even if 2.4.15 is slightly damaged it makes a good base for future stability.

To date Alan Cox has done a great job in maintaining the stable 2.2 series. Giving us all something we can use reliably without fear. And while I haven't watched it religiously Alan Cox has done the whole release candidate thing, which really does help to catch stupid typos.. And hopefully in his one way Marcello Tosatti will as well. I honestly expect future 2.4.x kernels to be much more stable.

I have the utmost respect for the work Linus, Alan, and now Marcello are doing. Taking on a position where you agree to be flooded with email. Being buried in so much management of patches that you hardly have time to develop yourself. Waiting in a pre patch, for someone else to catch your typos. Patience is a hard thing, as is believe that somehow you goofed and you need a second pair of eyes to look at it and fix it.

Now I agree that finding and reporting bugs is still the job of everyone who runs a Linux kernel in the stable series, but that is just the final stage of quality assurance. But this is part of a larger job that is really finding a way to get the best possible kernel. Giving up on that process and figuring it will always result in a buggy and flaky product looks like the wrong attitude to take.

Linus has admitted he really doesn't have the temperament for maintaining a long term stable release. But as we have all seen he does have the temperament to lead a development kernel. And his stepping down now from the stable branch now that the core of the kernel is correct is the best sign for stability for 2.4.x that I have seen. I have yet to see Marcello's work in action but if is anywhere near as good as Alan's 2.4.16+ should be more stable than anything the distributors release.

Eric

#5 lore raw
In reply to John Alvord
Quoted 2 lines

Correctness means you can write a proof showing how it meats it's specifications. Stability means something passes the test of time.

                                             ^^^^^^^^^^^^^^^^^^^^^^^

I think you hit the nail on the head here. 2.<even>.x kernels are not stable, they are presumably stable. Nothing is stable until it proves itself.

If you run a hours-old kernel on a production machine, you will get burned sooner or later. If you run an hours-old kernel on a production machine, and manage to reboot it so quickly, I start to wonder what kind of "production" you're running.

Nathan

#8 lore raw
In reply to David Relson

i know this is an old thread now, but i thought of something that might be a nice feature, though it means more work for kernel maintainers.

a bug patch seperate from the new kernel patch. so you could only upgrade from 2.4.0 with the bug fixes in 2.4.1. by the time you're at something like 2.4.15, 2.4.0 should be rock solid. but you wouldn't have any new funcionality.

say you wanted the new VM. you could upgrade to the first kernel with the new VM, then get the bug patch for the latest kernel.

not a simple straigt forward idea, and it could mean a lot of work. though maybe it is easier than i realize, or a few orders of magnitude harder than i realize, and thus not worth it.

i've noticed that the 'aa' patch series seems to be something along these lines.

Quoted 40 lines · David Relson

Greetings to All,

Over the past few months, I've been listening in on LKML, with occasional, minor comments - mostly to help newbies. Now, I think it's time for a suggestion ...

As we all know, several of the recent releases have had defects that have __required__ patches before they could be built (or used safely). Problems with symlinks, loopbacks, and unmount come to mind as being like this. They are all show stoppers that required immediate fixes and the creation of a new release or of the next -pre1 version.

I have a tendency to tink that it's better to be running a released kernel, than a pre-release kernel. I'd much rather be running a kernel named 2.4.x than a kernel named 2.4.y-pre?. With the recent problems, the working versions tend to be the -pre1 or -pre2 releases, not the released one. With a bit of QA, I think we can have 2.4.x releases be the stable releases. Here's how...

When the kernel maintainer, now Marcelo for 2.4, is ready to release the next kernel, for example 2.4.16, I suggest he switch from "pre?" to "-rc1" (as in release candidate). A day or two with -rc1 will quickly show if it has a show stopper. If so, then the minor fixes (and nothing else) go into -rc2. A day or two ..., and either -rc3 appears or we have a stable release and 2.4.16 is ready to be released.

Let's go the extra distance and have the releases be usable, stable kernels! It's what users want and it's within the abilities of the developers to produce. Let's do it :-)

David

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 4 lines
Phil Sorber
AIM: PSUdaemon
IRC: irc.openprojects.net #psulug PSUdaemon
GnuPG: keyserver - pgp.mit.edu
#6 lore raw
In reply to John Alvord
Quoted 9 lines · John Jasen
Quoted 4 lines · John Alvord

Development kernels are development kernels... nothing else. Look to distributors for high degrees of quality assurance testing. When you run a development kernel you have joined the development team, even if you don't know it. Finding and reporting bugs is your job...

That's why you stay away from 2.5.x, or 2.4.x-pre, or 2.4.x-ac -- which are development kernels. 2.4.x kernels are released kernels.

2.<even>.x are "stablizing" kernels, where (theoretically) only bug fixes are accepted. But the code hasn't been through any QA cycle at the moment of release. It is still a developer release in any traditional software development definition.

I am quite impressed that Linus hangs on to the initial x.<even> series until it becomes close to production quality. Notice that an important user (google) came up with a severe error very late in the day and Linus held things up for a few weeks until that was cleared. Notice the months long struggle to decide on a VM solution. In this cycle, it took maybe ten months to shepard 2.4.0 into something of excellent potential that is a real step forward from the 2.2 series.

Everyone who participated can be proud.

john alvord

#9 lore raw
In reply to David Relson

On Sunday 25 November 2001 05:27, David Relson wrote:

<snip>

Quoted 6 lines

When the kernel maintainer, now Marcelo for 2.4, is ready to release the next kernel, for example 2.4.16, I suggest he switch from "pre?" to "-rc1" (as in release candidate). A day or two with -rc1 will quickly show if it has a show stopper. If so, then the minor fixes (and nothing else) go into -rc2. A day or two ..., and either -rc3 appears or we have a stable release and 2.4.16 is ready to be released.

Like Linus said, it's a statistical problem: An unofficial kernel would never get the same attention as a released one. We would keep seeing problems arise once the kernel has been released.

One thing we could do, was to do the same as the vendors do, and maintain a -post kernel with the most glaring bug-fixed, especially build-ones.

The need to do it however is not that big..

#10 lore raw
Quoted 6 lines · David Relson

<snip>

Quoted 2 lines

When the kernel maintainer, now Marcelo for 2.4, is ready to release the next kernel, for example 2.4.16, I suggest he switch from "pre?" to "-rc1"

<snip>

Quoted 3 lines

Like Linus said, it's a statistical problem: An unofficial kernel would never get the same attention as a released one. We would keep seeing problems arise once the kernel has been released.

True.
However, I for one never run a -pre kernel.
I am unfortunately not wealthy, so am at the trailing edge of hardware (Athlon 550, P100 laptop, ...) so I rarely need devices only in the latest kernels.
I do however occasionally run new kernels on boxes at various times. I don't run -pre, because rightly or wrongly, I've got the impression that these get even less testing than releases.
I might well run -rcn kenrels, as these are presumably tested a little more, and thought to be a little more stable.
This would help make me part of the solution, rather than part of the problem. (complaining when 2.4.10 falls on it's face whenever something reads lots of data say, or 2.4.11 has link problems)

#11 lore raw
Quoted 4 lines · Ian Stirling

However, I for one never run a -pre kernel.

I don't run -pre, because rightly or wrongly, I've got the impression that these get even less testing than releases.

I think the opening sentence of your email states
the reason for that pretty well.

Rik

Signature · 3 lines
DMCA, SSSCA, W3C?  Who cares?  http://thefreeworld.net/

http://www.surriel.com/		http://distro.conectiva.com/
#12 lore raw
Quoted 8 lines · Rik van Riel
Quoted 4 lines · Ian Stirling

However, I for one never run a -pre kernel.

I don't run -pre, because rightly or wrongly, I've got the impression that these get even less testing than releases.

I think the opening sentence of your email states
the reason for that pretty well.

The only way we can get good testing for new kernels is to stop using -preN prefix in development branch (2.5.x). Just increment that 'x'.

This will eliminate 'people waiting for final 2.5.N' problem. (2.5 is unstable, so it's normal for it to break even in silly ways as code gets patched/rewritten)

We can't do that for 2.4, for 2.4 scenario is:

Joe User: I see this oops in 2.4.18!
Maintainer: please try this 2.4.19pre1 I made for you
J: still oopses
M: hmm... try this 2.4.19pre2
J: YES YES YES it works now thanks
- several days have passed, M may have some afterthoughts -
- and updated preN's, can feed them to J etc... -
M: Do you see anything unusual since pre2?
J: No
M: He he me is cool, let's announce 2.4.19
--
vda

#13 lore raw
In reply to Rik van Riel
Quoted 10 lines · Ian Stirling
Quoted 5 lines

However, I for one never run a -pre kernel.

I don't run -pre, because rightly or wrongly, I've got the impression that these get even less testing than releases.

I think the opening sentence of your email states
the reason for that pretty well.

Ok, I should have stated that more accurately.
...and also there is no way to tell how stable it's expected to be. If there was a way to say that this was a kernel that seemed stable for the testers, and might be a candidate for a new version. so some more testers would be nice, this might be good.

#14 lore raw
In reply to David Relson

On Sun, 25 Nov 2001, David Relson wrote:

I wish you luck. About 18 months ago I offered to set up a testing group to take kernel source before it with up for ftp and to compile it on various x86, SPARC{32,64}, and ALPHA machines to be sure it would at least compile. I was told with varying degrees of rudeness that it would delay the releases (that is a GOOD thing in stable kernels), and that I should avoid the 2.4 series and use the "stable" 2.2 kernsls (2.4 IS a stable kernel of course, although you would never gues it).

Quoted 17 lines

Over the past few months, I've been listening in on LKML, with occasional, minor comments - mostly to help newbies. Now, I think it's time for a suggestion ...

As we all know, several of the recent releases have had defects that have __required__ patches before they could be built (or used safely). Problems with symlinks, loopbacks, and unmount come to mind as being like this. They are all show stoppers that required immediate fixes and the creation of a new release or of the next -pre1 version.

I have a tendency to tink that it's better to be running a released kernel, than a pre-release kernel. I'd much rather be running a kernel named 2.4.x than a kernel named 2.4.y-pre?. With the recent problems, the working versions tend to be the -pre1 or -pre2 releases, not the released one. With a bit of QA, I think we can have 2.4.x releases be the stable releases. Here's how...

Quoted 6 lines

When the kernel maintainer, now Marcelo for 2.4, is ready to release the next kernel, for example 2.4.16, I suggest he switch from "pre?" to "-rc1" (as in release candidate). A day or two with -rc1 will quickly show if it has a show stopper. If so, then the minor fixes (and nothing else) go into -rc2. A day or two ..., and either -rc3 appears or we have a stable release and 2.4.16 is ready to be released.

I do agree, of course. There's no reason to avoid -pre releases, but having -rc versions would be really useful because people who are waiting for features would then be motivated to test, knowing that only fixes will be applied. NOTE: this might mean that 2.4.18-pre1 would be out before 2.4.17 was actually released. That may bother some people.

A stable kernel should have only new drivers and not a whole new VM, at least until it is in a development series and has been tested. If it were up to me I would have opened 2.5 when 2.4.0 was released, and all the VM stuff would have happened there. That's just the way I would assure stability, knowing that there is no lack of people to test Linux kernels no matter how unstable and patched... But a little truth in labeling would be nice, recently the "really stable" kernels were -ac, and that's probably not desirable.

Maybe the time is right to separate -pre and -rc and let people who who want to test choose which, if either, they want to try. Some stuff really MUST be tested on production machines (the recent VM versions, for instance) to see which performs better and provide useful feedback.

Signature · 3 lines
bill davidsen <[email protected]>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.
#4 lore raw
In reply to Eric W. Biederman
Quoted 3 lines · Eric W. Biederman

Bah. Some of the worst kernels I have seen have been distributors kernels. Distributors seem to give in to the desire for more features, and don't address the deep bugs.

You use the wrong distributor, try Alan Cox ;-)

Quoted 5 lines

What the developers produce primarily are correct kernels, especially Linus. I have never seen a distribution make a kernel more correct. Instead what I have seen is distributors testing on a wide variety of hardware and for those things that don't work they throw in the current best work around.

I would regard a stable kernel which doesn't compile, or which corrupts filesystems in operation normal to all systems (umount) as correctness issues, which should be caught if even the smallest QA were being done.

Quoted 2 lines

Also distributors during development don't have the same number of people testing a kernel as the global linux kernel project has.

A point some folks sem to have missed.

Quoted 7 lines

To date Alan Cox has done a great job in maintaining the stable 2.2 series. Giving us all something we can use reliably without fear. And while I haven't watched it religiously Alan Cox has done the whole release candidate thing, which really does help to catch stupid typos.. And hopefully in his one way Marcello Tosatti will as well. I honestly expect future 2.4.x kernels to be much more stable.

Quoted 6 lines

Linus has admitted he really doesn't have the temperament for maintaining a long term stable release. But as we have all seen he does have the temperament to lead a development kernel. And his stepping down now from the stable branch now that the core of the kernel is correct is the best sign for stability for 2.4.x that I have seen.

Agreed. But I would like to have seen it sooner, allowing all the developmental stuff to be fully developed in 2.5 before it was dropped into 2.4. By putting new features in 2.4.x we had the worst of possible results, end users got a less stable kernel and developers were slowed down by release cycles. This didn't really make anyone happy, I believe. I expect both 2.4 and 2.5 to work better now.

Signature · 3 lines
bill davidsen <[email protected]>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.
#16 lore raw
In reply to David Relson
Quoted 2 lines · Bill Davidsen

NOTE: this might mean that 2.4.18-pre1 would be out before 2.4.17 was actually released. That may bother some people.

[snip]

Quoted 3 lines

least until it is in a development series and has been tested. If it were up to me I would have opened 2.5 when 2.4.0 was released, and all the VM stuff would have happened there. That's just the way I would assure

The new VM was integrated too late, and 2.4 released too early.

I agree with Linus... You do need a _known_ starting point for the next dev kernel. 2.4.15 is known.

Also, having a 17-rc and 18-pre (at the same time) would load down Marcello much more, and I haven't seen anyone else try it.

If 2.4 stayed 2.3 a bit longer, maybe it would've been cought maybe not. Who knows if Andrea would've written his new VM back then.

What is interesting now is how Rik's VM (patch against 2.4.16) looks now that it is seperate from the hugeness of the -ac patch.

The point is, if 2.4.0 was more mature, Linus *could* have given it over to a maintainer sooner and started 2.5. Instead, we ended up with a quasi dev/stable kernel, and no dev "idiot if you don't expect corruption" kernel. During that time there was no *rock* in 2.4 (unless it crashed - which hasn't happened to me). More like packed dirt. ;)

MF

#15 lore raw
In reply to Bill Davidsen
Quoted 11 lines · Bill Davidsen

On Sun, 25 Nov 2001, David Relson wrote:

I wish you luck. About 18 months ago I offered to set up a testing group to take kernel source before it with up for ftp and to compile it on various x86, SPARC{32,64}, and ALPHA machines to be sure it would at least compile. I was told with varying degrees of rudeness that it would delay the releases (that is a GOOD thing in stable kernels), and that I should avoid the 2.4 series and use the "stable" 2.2 kernsls (2.4 IS a stable kernel of course, although you would never gues it).

Nobody's against you running a compile-test setup. What they don't like is the part about not releasing it until you have tested it. That's because many others want to test too!
This is necessary - some may test aspects other than mere compiling. Or perhaps a compiler different from yours.

Feel free to serve "known good" kernels - the masses who don't read changelogs
or don't want to risk possible new bugs will surely appreciate this.

Just don't limit those of us who want to test the very latest - even kernels with known bugs. Maybe the bug won't bother me because I don't use that driver/fs and things like that. I want the kernel even if, say, minixfs is broken.

Downloading the latest kernel is _not_ for those who can't deal with occational trouble.
Pre or no pre - development or "stable" series.
Those who run the latest is the testing team. If they don't want to be, they go for kernels at least a couple of weeks old that haven't gathered trouble reports.

Helge Hafting