Bug 497676 - hdd power management: palimpsest reports a false positive
hdd power management: palimpsest reports a false positive
Product: Fedora
Classification: Fedora
Component: libatasmart (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Lennart Poettering
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2009-04-25 22:52 EDT by Phil
Modified: 2009-08-05 17:10 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-08-05 17:10:19 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
tgz of screenshots and command output (153.02 KB, application/x-gzip)
2009-04-28 06:00 EDT, Phil
no flags Details
output of devkit-disks sdc (3.91 KB, text/plain)
2009-04-29 04:36 EDT, Phil
no flags Details
output of devkit-disks sdd (3.83 KB, text/plain)
2009-04-29 04:40 EDT, Phil
no flags Details

  None (edit)
Description Phil 2009-04-25 22:52:58 EDT
Description of problem:
I have 2x 750GB seagate drives in JBOD on my system that i got out of a free nas i won at an RH conference :).  These drives shut themselves down after 15 minutes of inactivity.  when this happens, actually soon after, palimpsest reports that the disks are failing because it doesn't know their having a bit of a power nap.

Version-Release number of selected component (if applicable):
Fedora 11 Rawhide 26/04/09

How reproducible:

Steps to Reproduce:
1. install drives that have firmware that hibernates them automatically
Actual results:
annoying messages

Expected results:
no annoying messages

Additional info:
I have been unable to find any way to disable the hibernate feature by using hdparm -Z or any other means.  either palimpsest needs to be made aware of this shituation or it be made able to disable the hibernate feature or i figure out a way to poll the device every 10 minutes to stop it going to sleep.
Comment 1 Matthias Clasen 2009-04-26 14:02:21 EDT
Please try updating to the latest rawhide and see if the problem persists. 
libatasmart and DeviceKit-disks have seen several updates since April 9, to fix issues in this area.
Comment 2 David Zeuthen 2009-04-27 16:05:28 EDT
Sounds like a libatasmart issue or a problem with your disks. Please include the output of 'skdump /dev/sdX' when 

 1. the disks are not sleeping
 2. the disks are sleeping

Also let us know what version of libatasmart you are using (rpm -q libatasmart).
Comment 3 Lennart Poettering 2009-04-27 16:19:54 EDT
Also, what exactly does palimpsest say about the disks when you runt it when this happens?

How are the devices connected to the machine? SATA/eSATA? USB?
Comment 4 Phil 2009-04-28 06:00:36 EDT
Created attachment 341546 [details]
tgz of screenshots and command output

i managed to screw up the data gathering from sdc but the sdd output was fine.  as there were so many files i zipped it all up for convenience.

Both sdc and sdd are connected to sata2/3, my raptors sda/b are 0 and 1 respectively

[root@x64 ~]# rpm -q libatasmart

When i "refresh" the disk through the palimpsest util the drive checks out as OK and the error messages go away.  Both disks seem to 'fail' simultaneously.
Comment 5 David Zeuthen 2009-04-28 10:02:59 EDT
Thanks for the info - please avoid a zipping up attachments; it makes it much harder to read the bug report, separate attachments please!

According to this info libatasmart says things are peachy so I'm wondering if it's a DeviceKit-disks bug. Please attach the output of 'devkit-disks --show-info /dev/sdX' for the disk as well. Thanks!
Comment 6 Phil 2009-04-29 04:36:45 EDT
Created attachment 341719 [details]
output of devkit-disks sdc
Comment 7 Phil 2009-04-29 04:40:22 EDT
Created attachment 341721 [details]
output of devkit-disks sdd

sorry about the zippage, it seemed like a good idea at the time.  anyway, here's the asked output.

cheers for looking in to this.
Comment 8 David Zeuthen 2009-04-29 09:49:14 EDT
Thanks for the info in comment 6 and comment 7. Hmm, this looks fine, was there a "disk is failing" icon / notification when you captured this? If not, please try again when that icon is being shown.
Comment 9 David Zeuthen 2009-04-29 09:58:21 EDT
Ideally, please include both 'skdump /dev/sdX' and 'devkit-disks --show-info /dev/sdX' info captured when the "disk is failing" icon is shown.
Comment 10 Lennart Poettering 2009-04-29 22:42:51 EDT
Yes, I'd need the 'skdump' output when this problem happens. Also the dump the output of 'skdump --save=mysmartdata /dev/sdX' produces.
Comment 11 Bug Zapper 2009-06-09 10:35:37 EDT
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
Comment 12 Hetz Ben Hamo 2009-06-20 19:06:21 EDT
Same here. ASUS 1000HE on Fedora 11, I get the error that "one or more disks are failing" and the only hard disk is in this machine (160GB). I checked the disk using some tools I have here (I checked the disk outside Linux sector by sector. Not a single error).

Looking at fedoraforum, I see that I'm not the only one who this applet reports wrong info, so how about disabling this applet for now so people won't panic for nothing??
Comment 13 Lennart Poettering 2009-08-05 17:09:24 EDT
Hetz, your problem appears to be unrelated to the power management issue discussed here. Please post a seperate bug report for your issue and include the SMART blob data gnerated by 'skdump --save=mysmartdata /dev/sdX'.

Phil, could you please provide the requested SMART data dumbs, too?
Comment 14 Lennart Poettering 2009-08-05 17:10:19 EDT
Hmm or actually, given that this bug was on NEEDINFO since April I'll now close this as INSUFFICIENT_DATA

Note You need to log in before you can comment on or make changes to this bug.