Slashdot Mirror


Serious Bug In 2.4.15/2.5.0

John Ineson writes: "There is a bug in the latest kernel releases, that causes fs corruption on umount. A lot of people have already been hit by this, so for now I suggest you hold fire on booting those new kernels. More dead-duck than greased-turkey. Two possible fixes are being discussed on linux-kernel." Colin Bayer adds links to a story at the Register and Al Viro's fix. Update: 11/25 00:39 GMT by T : Tarkie writes "Linux 2.4.16-pre1 is out, as detailed at NewsForge. If you've been having the filesystem corruptions, might be worth a try so that 2.4.16 can be out ASAP!"

25 of 498 comments (clear)

  1. quality assurance by xah · · Score: 1, Insightful

    When are we going to start giving kernels to a QA team before releasing them?

    --
    I am not a lawyer. Do not take my words as legal advice. If you need legal advice, consult an attorney.
    1. Re:quality assurance by Anonymous Coward · · Score: 2, Insightful
      This is xah, posting anonymously to protect what little karma I have left.

      I have a response to those who have said that the open source QA process is to release early and let early adopters suffer the consequences. Are you sure? Are you saying this is good example of open source development? Are you saying this is the exemplar of the open source development process? This is a data loss bug.

      In the open source development process, it's not a problem if the new release of Mozilla has a small problem with frames in XHTML, or if the new Linux kernel breaks support for USB joysticks. These are problems that can be fixed.

      Some bugs are so serious, however, that they deserve extra attention. These are the "showstoppers." In every kernel release, Linux says something about not finding any showstoppers. That is, there are no data loss bugs or other serious bugs that he knows of. He wouldn't release it if he thought it had such a serious problem.

      All I am saying is have a process that can perform rudimentary checks on the kernel to pick up any showstoppers. This process would take a few hours or at most a day. It would prevent situations like this, where the Linux community opens itself up for attack by all the brainwashed Microsoft zealots. Is this really flamebait?

  2. Does anyone know... by Griim · · Score: 4, Insightful

    ...how something like this could have creeped in, and be missed? Was it a last-minute change that just didn't have time for testing, or was it (bad)luck-of-the-draw that no one noticed it?

    1. Re:Does anyone know... by dinivin · · Score: 2, Insightful

      Pro-OSS folks say "That's a BENEFIT to the OSS model, we don't rush things through the door before they are ready, therefore there are less bugs in our released products.

      On the contrary... Pro-OSS folks who know what they're talking about will say that one of the benefits of the OSS model is "release early, release often". They'd also point out that while really show stopping bugs will make their way in to a stable release (of whatever project we're talking about), just as they'll make their way into the stable releases of closed-source projects, with OSS software you're not forced to wait till some company finally decides to admit there's a problem and release a patch.

      Anyone who says that all releases of OSS software are inherently more stable and secure than closed source software is a moron. And anyone who says that all releases of closed source software are inherently more stable and secure than OSS software is also a moron.

      Dinivin

  3. "QA" by Anonymous Coward · · Score: 2, Insightful

    The users are the QA (why do you think Linus moved to 2.4 so early? To get more testers). If you don't like being a guinea pig, then wait about a week before moving to the newest kernel. Seriously, 7 days isn't that long, and all show-stoppers will have shown up long before then.

  4. Really... by J.C.B. · · Score: 2, Insightful

    Isn't the 2.4 branch supposed to be stable? You know, the one that doesn't eat your disk. I think that this kernel should have gotten a little more testing for bugs of the catastrophic nature before it was deemed fit for general consumption.

    1. Re:Really... by Anonymous Coward · · Score: 5, Insightful

      (Inven: r-r, * to see, ESC) Wear/Wield which item? r
      You are wielding a Rant Stick (1d2) (+0,+0) (*slay* kernel developer)(a).

      It's not so much that it wasn't stable enough when it was released, but rather that they keep messing with 2.4 instead of making a 2.5. I think maybe Linus had this idea (at the end of 2.3) that the developers could focus on fixing bugs and make 2.4 really great. Unfortunately, they're volunteer developers, so they're working on things that excite them, which means insane stuff like VM rewrites and other "hey, let's try this" changes.

      This is why I still use 2.2 and will until there has been a 2.5 for a while (so the developers have a place to try their unstable new ideas) and 2.4 has gone into "bug-fix" mode (like 2.2 is now). It's really annoying, because I want some of the new features of 2.4 (the ones introduced back in 2.3), but can't afford to have the thing crashing on me, and don't want to spend a long time looking for a stable 2.4.X.

      Maybe next time, Linus won't wait so long to introduce a development version, or will at least refuse anything but bugfixes in so-called "stable" branches. Still, despite my complaining, I am happy that people have gone through all the trouble to write the Linux kernel, and will try to remember that. :)

  5. Don't throw stones in Glass Houses by Anonymous Coward · · Score: 1, Insightful
    Hmm..wow this is a serious bug alright.

    Yet there's no snide commentary from the editors whenever something like this happens with Microsoft (M$ to all the haters) software.

    Maybe you zealots will realize that nobody is perfect, and open-source is not necessarily better than closed-source.

    This also makes a case for not announcing new kernels not slashdot (aka not freshmeat). Most people here are linux newbie wannabees so they're not the most qualified people to be running the latest and greatest kernels.

  6. Re:FS corruption? by A_Non_Moose · · Score: 2, Insightful

    Not going to flame you, just trying to amuse.

    I thought the reason for installing *nix's was so you'd never have to shut down? Therefore this should not be a problem.

    Now does this occur during *any* unmounting operation? Manually vs Shutdown?

    Oh, and be-fan, don't install XP and use Ext3 (hey, that rhymes) because if XP uses your Ext3 as swap space and 2.4.15 corrupts itself...woah, double whammy.

    Hey, any chance of getting iTunes 2.0 on Linux and Windows? Wanna play Russian Roulette...with an Uzi?

    Whip me, beat me, make me write bad checks (or install windows...same same)

    --
    Have you read the moderator guidelines? Well, have you, PUNK? (and I want a Karma: Gnarly option)
  7. Re:FS corruption? by Jagasian · · Score: 5, Insightful

    Thats funny. I have been running Debian (stable) for a long time now, and I haven't had any filesystem corruption. In fact, I haven't had the OS crash either.

    Its better to compare Windows 2000 to another complete operating system, NOT a bleeding edge kernel. Compare Windows 2000 to Debian (stable), and Windows 2000 will look like a house of cards.

  8. Strange by imrdkl · · Score: 5, Insightful

    that a successful reboot of the system running the kernel is not in the regression suite. Does this error occur on every architecture?

  9. This is why I use FreeBSD by cperciva · · Score: 4, Insightful

    Come on guys, nobody is going to take linux seriously as long as problems like this -- or the VM saga -- keep popping up in supposedly stable kernels. FreeBSD has no trouble keeping separate -CURRENT and -STABLE trees; why can't linux do the same?

  10. Ok so Apple isn't the only one to screw up by geek · · Score: 1, Insightful

    In your face! I sat here and read all the flames to apple about the iTunes screw up, and here we are with one just as big and glaring from the kernel developers themselves.

    Hypocrites!!!!!!!

  11. How can this be avoided in the future? by imrdkl · · Score: 3, Insightful

    Can someone give a joe-user guide to helping test new kernels?

  12. What I don't get ... by pauljlucas · · Score: 3, Insightful

    ... is why there seems to exist this rampant tendency among Linux-folk to upgrade one's kernel constantly. Unless a new kernel solves a problem you have, there is no reason to upgrade.

    --
    If you reply, do so only to what I explicitly wrote. If I didn't write it, don't assume or infer it.
  13. Things are working right not wrong: by amccall · · Score: 5, Insightful
    I've already seen 2 posts refering to "QA" and keeping the kernel stable, etc... If you are going to try the latest version of each package that comes out, you are going to get burned.

    This is one reason why distributions are so important. They do the QA, they make sure packages are stable, they apply the patches. If you want to download and run the latest edition of every package out, including the kernel, then you should expect some bumps in the road, because you are beta testing - even on a "stable" kernel series. Remember: release early, release often. You will have to do the QA, you will have to apply the patches, you will be burned. Some people like doing this to stay on the bleeding edge, others are a bit more cautious.

    If you want stable, solid kernels, that are heavily QA'd wait for packages to come out. Otherwise, post a bug report, and quit whining.

    --
    ------ 24.5% slashdot pure
    1. Re:Things are working right not wrong: by amccall · · Score: 4, Insightful
      I say linux is an OS NOT a distro and the OS had a bloody problem with something that was declared stable. Waiting for distros is not an option for people who role their own because of whatever special requirements they need. Wow you run debian good for you, not everyone has that luxery.


      Actually, I do "roll-my-own" and maintain a Linux distribution.I was not burned by this, because like other people "rolling their own/maintaining a distro" I do keep track of LKM posts.


      Anyone else doing this type of work, will hopefully learn from this - and NOT install the latest kernel the day after it's out. This type of thing has happened in EVERY series of stable kernels I can remember. And it will happen again.

      --
      ------ 24.5% slashdot pure
  14. See? by SuiteSisterMary · · Score: 4, Insightful

    If only this was Open Source Software, the source code could have been examined by thousands of highly motivated and intelligent hackers, who would have noticed the problem immediately. Wait....

    --
    Vintage computer games and RPG books available. Email me if you're interested.
  15. Big deal. by Shane · · Score: 5, Insightful

    It amazes me how big of a deal people make these types of issues out to be. I have heard of high standards but SH*T!. The more I read slashdot the more I realize that very few posters here actully work with much commerical grade software. These type of issues occure freqently with every software vendor I deal with professionally: Cisco, Microsoft, IBM, RedHat, Checkpoint ect.. ect.. The difference is when Cisco releases a new IOS image (which they do about twice as freqently as Linus does) They will quitely mark saym a 1/4th of them DF which stands for _DEFFERED_ i.e. SERIOUS BUG DON'T USE once it is discovered.

    This is why production implentations of software go through testing before deployment when at all possible. If you are running Cisco IOS that is say less then a month old you are taking a risk that there will be a serious bug that will hurt you. The same holds true for Linux kernels or any other peice of software. The more complicated the software the harder it is to keep serious bugs from slipping through the cracks, It is _AMAZING_ that Linux has a few major issues as it does.

    Here is an exercise for you all: Go to www.microsoft.com go to their support section and read through all of the changelogs (they are hard to find) for all of the hot fixes, service packs and general software updates and you will see what I mean (And yes you will find file system corruption there too).

    --
    -- You can be a geeklord too :)
    1. Re:Big deal. by Shane · · Score: 3, Insightful

      The software _was_ released after it was tested. It was tested, a problem was found.. a patch was provided.. the patch was tested.. it was included.. kernel got released.. problem was discovered a patch was created and its about to be released.. thats how software works. You don't catch all of the issues..

      Now you can sit there and say "If Linus would of waited _blank_ period of time someone would of caught the problem before the release and this wouldn't of happend. You could also says that if Linus would just release -pre kernels and only release -stable kernels once a year we would have a REALLY stable kernel... the problem is thats not how the release early/release often model of development works. If you want that model use Microsoft we all know how stable their software is.

      If you want serious QA use redhat.. they do serious QA.. If you are running 0day software you get burned.. wether its the latest linux kernel, the latest microsoft service pack or the latest Cisco IOS.

      Question: what is your example of software that is released "AFTER it's been tested". I can't wait to go read through the change logs and find some bugs that should of been caught by this software superior QA.

      --
      -- You can be a geeklord too :)
  16. QA/Release cycles/et al by Tom+Rini · · Score: 2, Insightful

    I've seen lots of posts about 'We need to QA this!'
    and 'Are there any projects to try and QA the kernel releases?' Both of these miss the point. While we do need more people running the tests which do exist on the -pre releases, it comes down to Linus having an itchy trigger finger, so to speak. 2.4.15 in it's final form did exist for a little while, but it wasn't long enough for anyone to go and give it a good test. There's often been requests for Linus to wait a few days from the last -pre to -final so other arches and sync up (2.4.15 only compiles on x86/sparc64/arm and alpha). If this was released on monday, none of this would happen.

  17. That is a cop-out by Sanity · · Score: 5, Insightful
    Transferring the responsibility to distribution maintainers is a cop-out.

    The real problem is that new functionality is being added to the stable branch.

    The solution to this type of problem is simple, when a stable kernel is released, an unstable branch should be created immedately. New functionality was being added to the 2.4 branch by developers simply because there is nowhere else to put it.

    New functionality should never be added to a stable branch in a piece of software as mission-critical as a kernel, that is what the unstable/development branch is for.

    If the kernel maintainers want to accelorate the pace at which new functionality gets into a stable branch then they should increase the frequency with which development branches become stable.

  18. 2.4 seems to have had some serious problems by prismatic · · Score: 2, Insightful
    between the VM issues in 2.4.[5-9] (iirc), and the big media fuss over the VM change in the .9->.10 transistion, then the FS corruption bug in .15. well, i'm glad i went from 2.4.5 to 2.4.12 and am still at it.

    <pseudo-rant>
    maybe there's a good side to your ISP going out of business and qwest dsl fscking you over changing your isp, making it harder to update your kernel 8)
    </pseudo-rant>

    but ultimately, i can't see its all that big of a deal. all you have to do is take a couple of weeks to get to the newest kernel. wait till its been out a fortnight, and you're golden

    --
    Brian Voils
    "A university is what a college becomes when the faculty loses interest in students."
  19. why can't MS buy some quality?? by Anonymous Coward · · Score: 1, Insightful

    MS has 36 billion bucks. Linux is a volunteer effort.

    Why is is that they are even in competition, again? Why is it MS can't buy some fucking good PROGRAMMING???

  20. I think you missed his point a bit. by Chuck+Chunder · · Score: 4, Insightful

    People downloading kernels from kernel.org, particularly in the first few days of a release, are part of the QA process, not the ultimate beneficiaries of one.

    The Open Source (or more correctly, bazaar or distributed) development model also distributes responsibility. If the possibility of losing your data is something you can't afford then you simply shouldn't be sitting on the cutting edge of kernel development.

    --
    Boffoonery - downloadable Comedy Benefit for Bletchley Park