Slashdot Mirror


Linux 2.4.16 Released

tekniklr writes: "They just released Kernel 2.4.16. Download it here, and you can read the changelog here. This hopefully fixes the error that 2.4.15 had of corrupting filesystems on unmount." Update: 11/26 14:14 GMT by T : p.s. Don't forget to look in the mirrors.

25 of 317 comments (clear)

  1. Linking by jeriqo · · Score: 5, Informative

    Current bandwidth utilization 96.75 Mbit/s

    Out of 100mbps..

    Linking directly to the .tar.gz from the slashdot homepage was not a good idea, timothy.

    You should have pointed to the mirrors, instead:

    --
    Alexis 'jeriqo' BRET
    1. Re:Linking by Draoi · · Score: 3, Interesting

      ..... considering that the patch is less than 6KB. This has to be a record for the smallest kernel release increment yet! (How many people out there are opting to d/l the whole 26MB package 8-b )

      Pete C

      --
      Alison

      "It is a miracle that curiosity survives formal education." - Albert Einstein

    2. Re:Linking by jeriqo · · Score: 5, Funny

      Considering that the people who downloaded the 2.4.15 kernel got their file-system crashed, i guess they will have to re-download the whole 26MB package :)

      -J

      --
      Alexis 'jeriqo' BRET
  2. Oh, the Illuminated Numbers by scorcherer · · Score: 3, Funny

    2^4 = 16

    --

    --
    The Cap is nigh. Time to get a fresh new account.

  3. What's the best kernel? by Griim · · Score: 5, Interesting

    I've been following all the kernel releses, and their bugs. I was just curious, what is the best way to tell which kernel is currently the most stable, without jumping immediately to the latest release? Obviously there is no way of knowing if it is, without it being out there for at least a couple of weeks.

    I was hoping that kernel.org or somewhere would list what is currently the most stable. I know that from roughly 2.4.5 through to 2.4.11 or so suffer from some sort of swapping/memory leak, I can't remember. This is just from loosely following what has been posted to slashdot in the past few weeks.

    Is there any resource tracking for this? What is the most stable of the latest kernels?

    1. Re:What's the best kernel? by sekra · · Score: 3, Insightful

      > What is the most stable of the latest kernels?

      IMO the most stable kernel release is 2.2.20. Some people say that 2.4 is still testing, not stable.

    2. Re:What's the best kernel? by Snowfox · · Score: 4, Informative
      I've been following all the kernel releses, and their bugs. I was just curious, what is the best way to tell which kernel is currently the most stable, without jumping immediately to the latest release? Obviously there is no way of knowing if it is, without it being out there for at least a couple of weeks.

      First of all, unless you've got some very specific requirements only satisfied by a 2.4 series kernel, if you're worried about stability then you should be running a 2.2 series kernel.

      That said, if you must track 2.4, then you're best off tracking the changelogs and only upgrading when you see a fix for a problem likely to affect you. If the problem is minor, consider giving the new version a little time. There are enough version whores and neozealots out there that other people with gladly rush out and do the mine stomping for you.

    3. Re:What's the best kernel? by p3k · · Score: 3, Insightful
      The very best way to keep up on what is happening with the kernel is to read the Linux Kernel Mailing List. Here is info from the LKML:
      To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
      --
      --PEK
    4. Re:What's the best kernel? by ajs · · Score: 5, Insightful

      What's the best way to tell which kernel is best? Run it for about 2 months on a wide variety of hardware, with a wide variety of software loads. Record incidents and map those against known problems, apply available patches for those that will impact you the most. Re-test.

      Then again, your distribution vendor already does this, so why would you be grabbing the latest development release (don't let the term "stable" fool you, that refers to interfaces, not field performance)? Red Hat is now up to 2.4.9 . I know that there's a lot of work going on in the VM world, and it seems to have been sorted out, but as you are noticing, there are other things in the kernel besides VM. If you want a kernel whose performance charactaristics are known, and whose primary bugs have been addressed, you have to sacrifice bleeding-edge fixes.

      Not an easy pill for the "I want my tarball now!" world of Open Source, is it? Look on the bright side, 2.4.9 updates from Red Hat on 11/2 beats the heck out of the too-little-too-late geological updates from any closed-source proprietary OS vendor. Q/A is hard work and cannot happen in zero-time.

  4. preemptable patch by MartinG · · Score: 3, Informative

    For those interested, the preemptable patch against 2.4.16-pre1 also applies cleanly to 2.4.16 final.

    --
    -- MartinG To mail me: echo kewyjlcxyzvjfxbqwh | tr bcefhjklqvwxyz .@adgimnoprstu
  5. Re:Better than Apple ... ??? by victim · · Score: 3, Informative

    Which Apple partition destroying software would that be? I must have missed that one. I am only aware of two.

    The iTunes partition destroyer was pulled in something like 24 hours and replaced not long after.

    Some years ago there was a problem with certain models of hard drives (Quantums I believe) that didn't handle their write caches well on a scsi reset. That went on for quite a while, but was not an issue with supported Apple hardware, it was some 3rd party drives that had tweaks to enable write behind caching. (The very large Oracle installation on Alphas that I work with had the same problem with them. Unable to resolve it with the vendors we finally scrapped all the disks and replaced them with a different vendor's drives.)

  6. Re:4Tb of cache fixed? by barneyfoo · · Score: 3, Informative

    Ok your problem is easy. That happens with the _new_ VM introduced in 2.4.10, with the _old_ ext3 patch. So I am assuming you used 2.4.10 - 2.4.14, and you applied the ext3 patch. This is a harmless reporting bug. When the ext3 patch was merged into mainstream it was fixed. Use 2.4.16, it's probably the most stable 2.4 release ever[1] (except for /possibly/ a redhat kernel).

    [1] 2.4.15 would have been the most stable/robust kernel execpt for that inode bug. Looking at the changelog for 2.4.16 one can see that the only real change was the inode bug, and one can make a safe prediction that 2.4.16 will turn out to be the most stable kernel in 2.4 series so far.

  7. Re:Trashed Here by JatTDB · · Score: 4, Insightful

    At least with FreeBSD I never had to worry when I cvsup'd to the latest sources in the -stable branch and built a new world and kernel. If the Linux kernel people are going to bother to have separately labeled stable and development versions, they should do at least some rudimentary testing before slapping a stable version number on some code and pushing it to the mirrors. Sure, there's no rules to this game...nothing says they have to do that...but they better do it, if they want Linux to ever get anywhere.

    And yes, using new stuff on production machines is a bad idea...doesn't change the fact that if Linux ever wants any sort of market respect, showstopper bugs like this can't be allowed to make it into versions that are indicated to be "stable".

    --
    "That's Tron. He fights for the Users."
  8. Re:how to implement ext3 by willamowius · · Score: 3, Informative

    Very simple:
    Compile ext3 into your kernel (make sure it's not a module, if you want to use it for your root file system).
    Do a "tune2fs -j /dev/hdaX".
    Reboot.

    That's it.
    The help for the kernel option tells you which version of the ext2progrs you'll need (at least 1.20 ?).

  9. User mode linux? by whovian · · Score: 3, Interesting

    Having just joined the x86 camp, I wondered whether running 2.4.15 within User Mode Linux would have been helpful in this case. For that matter, how large is the actual user-base for UML?

    --
    To-do List: Receive telemarketing call during a tornado warning. Check.
  10. Open Letter to Linus by jd · · Score: 5, Insightful
    This is ONLY a suggestion, not a flame. But could you please make better use of that -pre qualifier? Don't be in such a rush to make releases. Sure, the essence of Free Software is "release early, release often", but that's what the -pre stage is for.


    Kick back, relax, take it easy, and run some automated burn-in tests for the kernel. Releasing code doesn't need to be a strain, or rushed. Remember, you're not doing it for "them". There is no "them", except in Sci-Fi, or paranoid extremist literature. Rushing is a self-inflicted injury. If you need to do self-harm, use a rubber razor-blade or something.


    Many of the major shifts in the kernel have been the Right Thing To Do(tm), but those are the times you need to relax -MORE-, not less. Anyone with a penguin as a mascot understands cool. Cool is good. Cool is exactly what that penguin needs. Cool is what YOU need. You can't run at top gear, indefinitely, and expect to be even close to 100% of your ability.


    As I recall, we went through something in excess of 120 pre-releases for one early kernel, and other early kernels often went through 20-30 pre-releases. (Oh, for the days of using a-z for the pre-release number! Sometimes the kernel fell off the end of z, and I think that was part of the incentive to switch to numbers.)


    When Alan Cox maintained his series, he would often get into the tens, I suspect much for the same reason. A kernel is a complex thing, and the interactions can be hideously obscure. It takes a lot of testing and validating to work even just the worst of these glitches out.


    If we reach 2.5.0-pre100, with the understanding that 2.5.1 will be solid enough to do new work, without forever struggling to figure out if a bug is in new code or a cold kipper from 2.4.x, nobody is going to complain. Well, nobody with any sense. The rest we can secretly smuggle into Afghanistan, where nobody'll care what they think.


    I'd rather see 2.5.1 for Thanksgiving -NEXT- year, than be unable to do any serious development work for it. A solid foundation and a late, but perfect structure, is a billion times better than a sky-scraper made from twigs and built on straw, even if the sky-scraper is built on time.


    You, like anybody, are undoubtably feeling all sorts of pressures - from work, to the family, to the economy, etc. Many of those pressures are bogus. Worrying about job security won't give Transmeta a greater profit. If it itches, scratch it (just be careful what you scratch in public), and if it doesn't, forget about it. You don't need to go creating problems. We have a Government to do that for us.


    None of what I've written is new to you. Little, if any, is probably new to anybody. But it's all stuff we need to hear, from time to time. And when I see someone who is no idiot repeatedly making some very basic coding errors over a relatively short time, I think it's not unreasonable to think that there's a guy who is burning themselves out in the hamster wheel of life, and that that guy might benefit from kicking back & kicking the wheel over. Sometimes we go the furthest by making the least effort.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  11. Re:how to implement ext3 by Draoi · · Score: 5, Informative

    You need to get the latest e2fsprogs (1.22) and the latest util-linux (2.11). Don't install the
    login utils if you're installing from a source tarball instead of an rpm.

    When done, type "tune2fs -j /dev/hdwhatever". Done! A journal will be created automatically. Remember to only run this on a clean ext2 partition (make sure you're not running 2.4.15! :) ). If you're going to convert over the boot volume, make sure ext3 is built into the kernel and not a module. You shouldn't have to set any particular LILO flags (I didn't & I'm typing this
    on ext3/2.4.16pre1). Update your /etc/fstab to show the new filesystem type.

    Not sure about the Slackware stuff, but I doubt if there are any config file changes.

    Andrew Morton's EXT3 page has all the details.

    --
    Alison

    "It is a miracle that curiosity survives formal education." - Albert Einstein

  12. So, what's the best way to upgrade? by BlueUnderwear · · Score: 4, Interesting
    Ok, say you are running 2.4.15 now. You are compiling 2.4.16. And now you want to reboot with the new kernel. But reboot implies unmount, which might trigger the bug! So what would be the safest way to jump off that 2.4.15 timebomb? Is this a situation where just pushing the reset button would be safer than a clean shutdown?

    Would remounting the filesystems read-only help? Or would that also trigger the bug?

    And, if your filesystems are reiserfs, do you need to worry too, or does this only affect the traditional filesystems.

    --
    Say no to software patents.
    1. Re:So, what's the best way to upgrade? by sfe_software · · Score: 4, Informative

      From my understanding the bug affects all filesystem types.

      I patched my kernel to 2.4.16-pre1 yesterday in light of this bug, and here's what I did:

      1) Compile kernel using my normal procedure
      2) Switch to single user mode ('init 1')
      3) 'sync' and 'umount' each partition (except /)
      4) sync
      5) shutdown -r -F now

      No corruption, no problems (I'm on ext3 so the forced check wasn't even noticable).

      You might be tempted to remount / read-only first, but if you do, first create '/forcefsck', which is exactly what the -F flag on 'shutdown' would do, but of course only if / was writable.

      --
      NGWave - Fast Sound Editor for Windows
  13. Re:Trashed Here by elefantstn · · Score: 3, Insightful
    Sure, there's no rules to this game...nothing says they have to do that...but they better do it, if they want Linux to ever get anywhere.


    Since 99% of Linux users get their kernel from their distributer, who patches it and tests it thoroughly before giving it out, this unstable kernel business has zero with Linux's popularity or lack thereof.
    --
    If it ain't broke, you need more software.
  14. Re:I'm glad that linux has a stable & dev kern by duffbeer703 · · Score: 3, Interesting

    The 2.4 series of kernels have been out for almost a year, which hardly makes them bleeding edge. There are plenty of things that make moving 2.4 compelling.

    The last 8 or so kernel releases have been released largely in response to major bugs in crucial kernel areas like virtual memory management. Upgrading to fix these problems seems like a reasonable thing to do if you are crazy enough to run linux on production boxes that do anything besides run DNS, SMTP gateways or some similar purpose.

    You can call me a troll if you wish, but the writing is on the wall. Linux is in serious trouble due to feature bloat and releasing too early. I for one am glad that the idea of Linux has motivated the Unix vendors to open up a bit, and has exposed some fresh blood to the advantages of Unix.

    Unfortunately, the implementation of Linux is falling apart by trying to do too much.

    After typing this I realized that I'm not talking to a troll, but a know-it-all 15 year old. So I'll post under my actual moniker.

    --
    Conformity is the jailer of freedom and enemy of growth. -JFK
  15. 2.4.16 and ALSA by pwagland · · Score: 5, Informative
    Well, this was posted for 2.4.15, but it is also relevant for 2.4.16:
    While we are talking about incompatible kernel patches, please be aware that ALSA 0.5.12 does not work under 2.4.15. You need to get the CVS version, as described here . ALSA 0.5.12 compiles, but does not work.
  16. 9 paranoia-steps for upgrading out of the bug. by aussersterne · · Score: 5, Informative

    0) Make sure you have compiled and installed a patched kernel.

    1) "shutdown now" or "init 1" as root to go single-user.

    2) sync

    3) umount all non-busy filesystems (usually only root is busy for most people).

    4) sync

    5) mount -n -o remount,ro /
    (so now the root filesystem is read-only -- this step *is* important).

    6) e2fsck -f /dev/partiton
    (once for each partition, starting with root [/] device, substitute e2fsck with reiserfsck, etc., as necessary -- force a check on each filesystem)

    7) sync, hit reset

    8) make sure not to ever boot into the buggy kernel again!

    --
    STOP . AMERICA . NOW
  17. Re:RedHat by psamuels · · Score: 3, Interesting
    I've had 2.4.14 running for about month. Stable as hell, and that new VM code works an absolute treat keeping my baby zipping along. Give it a whirl. It doesn't work with VMWare yet

    You mean VMWare doesn't work with 2.4.14 yet. Not the other way around. Since VMWare is closed-source (yes there is an open-source shim layer but it is just a shim layer) it is their responsibility to make it work with Linux.

    If a regular application breaks with a new kernel release, it is the responsibility of the kernel maintainers. (Oh, except that Java thing from 2.2.18 or so - the JRE was relying on undocumented behavior so too bad.) But VMWare is not a regular application, it is more of a kernel mod.

    --
    "How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
  18. Release? Mabe this was an escape... by IdleMindUI · · Score: 5, Funny
    Perhaps we've got some Klingon Programmers working on the kernel now.
    8) "What is this talk of 'release'? Klingons do not make software 'releases'. Our software 'escapes' leaving a bloody trail of designers and quality assurance people in it's wake."