FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently stumbled across this bug description. The bug is about apci settings in ubuntu leading to way to many load cycles, prematurely killing laptop hard drives.
I'm using Fedora 7 on an Dell Inspiron E1505, but I decided to check if I was in trouble anyway and this is what I found.
I have this laptop for about a year now, and looking up the # load cycles up to now:
Code:
[root@localhost /home/sohail]# smartctl -d ata -a /dev/sda|grep Load_Cycle_Count
225 Load_Cycle_Count 0x0012 062 062 000 Old_age Always - 387919
As we can see, the load cycle in about a year is 387919. Seeing that a disk can handle 600000 before failure, this is not good! The cycle count increases every 1/2 a minute or so, which is way to much.
So it seems the bug has effected fedora as well.
The thing is, although a remedy had been suggested on the web page linked to above, they assume your working on ubuntu. I have tried doing
Code:
hdparm -B 255 /dev/sda
but that didn't fix the problem.
If anyone could help me out here, I would appreciate it very much.
Similar situation here. I installed Kubuntu 7.10 on new Dell Inspiron 1501.
yesterday I tried the fix:
Quote:
hdparm -B 255 /dev/sda
It didn't work for me.
I browsed a bit more on the web (mainly on ubuntuforums.org), I post possible solutions below. I will need to test them out when back from work,
and I'll report if they worked.
Some people recommend the following:
Code:
hdparm -B 254 /dev/sda
or
Code:
hdparm -B 200 /dev/sda
It might be usefull to try to combine the above "hdparm -B" with
Code:
hdparm -S 0 /dev/sda
Also make sure you have "laptop_mode" disabled.
Finally, you might try set your hdd power management settings in BIOS (it isn't possible on my laptop model).
Good luck, I will post my results later.
Last edited by vivedekananda; 11-01-2007 at 05:55 AM.
Reason: cosmetic
OK, tried things out. "hdparm -B 254" works on my machine, 255 actually sets the value to 128:
Code:
$ hdparm -B255 /dev/sda
/dev/sda:
setting Advanced Power Management level to disabled
$
$hdparm -I /dev/sda | grep power
Advanced power management level: unknown setting (0x0080)
* Host-initiated interface power management
Device-initiated interface power management
This s the only fix I know of. I am going to contact Dell and ask them
to provide a solution for this, since it seems to be a bios/hardware/firmware related issue. Windows probably override the bios settings.
Distribution: Fedora 9, Ubuntu 8.04, Ubuntu 8.04 Server
Posts: 103
Rep:
Hi, I've been trying to get fedora up and running on my system, and I came across this topic - and it scared me. Of all things I want, I sincerely cannot afford a HD crash.
Does it apply to all hardware or just yours? Kindly reply.
If the number at the end of the line rises every few second then you are affected.
I recommend you search eg www.ubuntuforums.org for the latest information about the bug, seems the issue is still not resolved in ubuntu, dont know about fedora.
Last edited by vivedekananda; 04-22-2008 at 03:34 AM.
Reason: update
Distribution: Fedora 9, Ubuntu 8.04, Ubuntu 8.04 Server
Posts: 103
Rep:
Quote:
Originally Posted by vivedekananda
to check if you are affected run:
replace "/dev/sda" with your disk if needed
you should get out put like this:
If the number at the end of the line rises every few second then you are affected.
I recommend you search eg www.ubuntuforums.org for the latest information about the bug, seems the issue is still not resolved in ubuntu, dont know about fedora.
Ok, so I was affected. I did hdparm -B255 /dev/sda and now the problem seems to be resolved. I even added that into my /etc/rc.d/acpid script and its working well.
One question though - will it affect my power management settings? For example, will the drive keep running on susped as well? I'm running F 8. Is this bug present in slackware and all linux distros?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.