DV Hardware bringing you the hottest news about processors, graphics cards, Intel, AMD, NVIDIA, ATi, hardware and technology!

   Home | News submit | News Archives | Reviews | Articles | Howto's | Downloads | Mirror Area | Advertise
 
DarkVision Hardware - Daily tech news
  Login/sign up  


Main Menu

Home
User account
Info
News archives
Links
Articles
Howto
Reviews
Member list
 

Who's Online
There are currently 316 people and 1 DV-member(s) online.

 

Latest Reviews
  • ATP EarthDrive 4GB USB Drive
  • Kingston DataTraveler 150 32GB USB drive
  • Super Talent Pico 8GB USB Drive
  • Razer Destructor mousepad
  • Ghost Squad for Nintendo Wii
  • OCZ DDR2 PC2-9200 Reaper HPC Edition
  • Vizo Ninja II notebook cooler
  • PC Power & Cooling Silencer 610 PSU
  •  

    RSS
    RSS
    RSS by email. Enter your email address:

     

    Recommended: Click here to Update all your outdated drivers

    Ubuntu is a notebook hard drive killer

    Posted on Wednesday, October 31 2007 @ 12:06:56 CET by Thomas De Maesschalck


    Bug hunters have found a harmful bug in Ubuntu Linux which can dramatically reduce the lifespan of your notebook hard drive.

    The bug makes your notebook drive go to a bit more than one load cycle a minute when you're running on battery power. The problem with this is that notebook hard drives can only handle up to 600,000 such cycles according to specifications from hard drive makers. Some quick calculations learn us that in a worst case scenario your notebook HDD will only last a bit more than a year due to this bug.
    When switching to battery power, /etc/acpi/power.sh issues the command hdparm -B 1 to all block devices. This leads to extremely frequent load cycles. For example, my new thinkpad has already done well over 7000 load cycles -- in only 100 hours. That's at least one unloading per minute. Googling for "load unload cycles notebook OR laptop" shows that most laptop drives handle up to 600,000 such cycles. As these values clearly show, this issue is of high importance and should be fixed sooner rather than later.
    In case you're not willing to wait on an update from the Ubuntu developers here's some info on how you can fix the problem:
    1) make a file named "99-hdd-spin-fix.sh". The important thing is starting with "99".
    2) make sure the file contains the following 2 lines (fix it if you have PATA HDD): #!/bin/sh
    hdparm -B 255 /dev/sda
    3) copy this file to 3 locations:
    /etc/acpi/suspend.d/
    /etc/acpi/resume.d/
    /etc/acpi/start.d/
    It's not clear if only Ubuntu is affected, some people report other Linux distros are also affected. We also don't know if the Ubuntu developers are going to fix this problem as they claim it's not their problem. I read a comment from a developer who claimed that Ubuntu reads out your hard drive's power management settings by default and doesn't touch them:
    There's certainly an argument that we should work around BIOSes, but in general our assumption has been that your hardware manufacturer has a better idea what your computer is capable of than we do. If a laptop manufacturer configures your drive to save power at the cost of life expectancy, then that's probably something you should ask your laptop manufacturer about.



    Add to Del.icio.us | Digg It

     
    Threshold
      
    The comments are owned by the poster. We aren't responsible for their content.
     

    DarkVision Hardware - Privacy statement
    All logos and trademarks are property of their respective owner.
    The comments are property of their posters, all the rest © 2002-2008 DarkVision Hardware