Slashdot Mirror


Ubuntu's Laptop Killing Bug Fixed

jeevesbond writes "Back in October of 2007 we discussed a bug that would dramatically shorten the life of laptops using Ubuntu. Ubuntu users will be glad to know that a fix has finally been released for Ubuntu versions 9.04, 8.10 and 8.04 (LTS). However, as this fix is not yet in the update repositories, anyone wishing to test it should follow these instructions for enabling the 'proposed' repository. Report your results on the original bug report. Happy testing!"

14 of 271 comments (clear)

  1. As per "Flamebait Story" by Creepy+Crawler · · Score: 5, Insightful

    Well, one can squarely blame the HD manufacturers (look at the Seagate disaster) and say they need to fix their hardware.

    However, when your stuff doesnt work, regardless who's fault it is, it's still broken. And in cases like Ubuntu vs Windows: it'll work in Windows and not work in Ubuntu. Who do you think the user will fault?

    ObUserStory: I bought a T61 Thinkpad. Worked fine in Windows, and not so well in Ubuntu. What didnt work? The right side USB ports. If I was a regular user, I'd remove Ubuntu and put Windows back on. However, Im stubborn... and know that Linux shouldnt go disabling ports at seemingly random. Turns out, it was a ACPI bios bug that did so :( So a BIOS update did the trick and fixed everything.

    So yes, it may be a manufacturers fault, but that's not where the blame gets placed all the time..

    --
    1. Re:As per "Flamebait Story" by friedman101 · · Score: 5, Insightful

      I never begrudged Ubuntu (or Linux in general) for having a bug related to a problem that was largely the fault of the hardware manufacturer. What did piss me off, however, was the fact that a bug that affected most new laptops and threatened to shorten their lifetimes dramatically wasn't plastered all over ubuntu.com in huge red font. We'd have never given Microsoft this much leeway.

    2. Re:As per "Flamebait Story" by Creepy+Crawler · · Score: 5, Insightful

      As per defense of Ubuntu and others, the e1000 module was blacklisted until a proper kernel patch could be applied to all versions.

      Without the blacklist, the e1000 firmware could be overwritten. Intel provided no safeguards to prevent said occurrence, so destruction of hardware was imminent. Far as I can tell, the Windows driver still has this bug.

      And I remember the Mandrake CD-drive killer sequence. Samne damn problem: unguarded firmware update commands. Instead, these commands are legit commands, but were re-used as a firmware update.

      Now, how much of these drive killer and card killer commands are also on Windows, but we suspect them as other occurrences, like ESD, lightning, or power surges?

      --
    3. Re:As per "Flamebait Story" by Creepy+Crawler · · Score: 5, Insightful

      Wrong.

      When using Windows as an example, the developers do not understand how Windows works. They only can understand by extensive testing in their labs. Linux, on the other hand, can identify what piece of code the offense is made, and fix it.

      The collection of bugs in Windows makes it that much harder when there's a bluescreen, general hardware crash, or other really bad things. As far as we know, these bugs that exist in Ubuntu, Mandrake and others still exist as some sort of weird failure domain of certain celestial events on Windows. When they happen, there's hundreds of environmental variables set to trigger the device_killer.

      --
  2. misleading by bytor4232 · · Score: 4, Insightful

    The title and article summary is misleading. It shortens the life of the hard drive, not the laptop itself. Hard drives are cheap, and on most laptops as easy to swap out as the battery with screwdriver in hand.

    Its not like Ubuntu is killing the motherboard or screen, its the Hard Drive.

    --
    -- 4 8 15 16 23 42
  3. hmm. by buddyglass · · Score: 5, Insightful

    Does it bother anyone that Ubuntu, the community's duly annointed challenger to Microsoft hegemony, had an outstanding bug for fourteen months whose effect was to damage hardware? That's pretty terrible.

    1. Re:hmm. by ConceptJunkie · · Score: 4, Insightful

      When Ubuntu is competing against an OS which has been a vector for millions of computers to be compromised over the last 10+ years and has caused untold billions of dollars of damage and wasted billions of hours of people's time, I think it's not a bad track record.

      --
      You are in a maze of twisty little passages, all alike.
  4. Re:More Linux Zealotry by Anonymous Coward · · Score: 4, Insightful

    For something that was all over the internet, it took an awfully long time to fix.

  5. Re:Only for who think the world has to be perfect by laddiebuck · · Score: 5, Insightful

    Obviously. But the story's still flamebait. Want a non-flamebait title? "Ubuntu Workaround for Laptop-Killing BIOS Bug Released". See the difference? Subtle but important.

  6. Actually it is M$ fault by CustomDesigned · · Score: 4, Insightful

    well, in a way. The problem is that the drive makers optimized their power saving algorithms for Windows disk access patterns - as you would expect them to since it is 85% of the market. And they didn't provide knobs to twist for other OSes - including new, more efficient versions of Windows.

    The irony is that Linux runs afoul of the hard drive power saving tuning because it is too efficient. The gaps between disk accesses are too long, and trigger a head unload while the OS is still active.

    The best fix would be to twist a knob to adjust the inactivity timer - but that isn't available. So the simplest fix is to disable power saving on the disk - fine for laptops used as portable desktops. To keep drive power saving without unloading/loading the heads constantly, you have to configure "laptop mode", which uses memory to cache reads/collect writes so as to provide something like 30 minutes between disk accesses for typical word processing/browsing activities.

    I've thought about writing a background process (in python or your favorite script language) that monitors iostat - and reads a raw sector every 9 seconds to keep the disk from thinking we are inactive. At the same time, we have our own Linux oriented inactivity timer, and stop reading the raw sectors when the system is truly inactive (other than our own reads).

  7. Re:Only Ubuntu? by Erpo · · Score: 3, Insightful

    (Yes, believe it or not, there ARE other distros; although it is hard to tell since so many stories and postings say "Ubuntu" in place of the word "Linux" or "Linux distribution")

    Isn't it great? I can't wait until the days of users asking, "So I should try Linux. Which distro should I use?" and getting useless or contradictory answers are long forgotten.

  8. Re:Only for who think the world has to be perfect by zullnero · · Score: 4, Insightful

    How can this be modded "insightful"? When systems break down that run other OS's, the hardware or drivers are typically blamed. That's fair territory. But when it's Linux, the double standard kicks in and it's the OS's fault? If the hardware manufacturers aren't supplying proper workarounds or fixes, or aren't even providing the source for their BIOS/Drivers/whatever to the folks who are apparently now expected to fix it, then how the hell are they supposed to make it all work? Magic wands? Insightful my ass. I'd mod this "ignorant".

  9. Re:Only Ubuntu? by markdavis · · Score: 3, Insightful

    Yes, choice, variety, and competition are horrible things aren't they? Certainly we should have all been stuck with only SLS Linux or perhaps only Redhat Linux..... hell, why even have Linux at all; why couldn't the status quo of MS-Windows or MS-DOS sufficed?

    There were distros just as good (or better in different ways) before Ubuntu existed. There are distros just as good (or better in different ways) than Ubuntu now. There will probably be other distros later- maybe of which will be just as good or better, too.

    The practice of generally substituting the word "Ubuntu" for "Linux" in postings, comments, stories, etc, is not only annoying, it is insulting to the many thousands of people who have contributed to Linux (GNU/Linux) and all the non-Ubuntu distributions.

  10. Re:Only for who think the world has to be perfect by blazerw · · Score: 3, Insightful

    "Ubuntu Workaround for Laptop-Killing BIOS Bug Released"

    That title's not quite right. The bug points to a workaround that has existed since the bug was initially reported. Maybe this title: "With new update, Ubuntu make Laptop-Killing BIOS bug workaround automatic".