Bug 233077 - hddtemp on SATA drives fails on 2.6.20-1.2300.fc5
hddtemp on SATA drives fails on 2.6.20-1.2300.fc5
Product: Fedora
Classification: Fedora
Component: hddtemp (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ville Skyttä
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-03-20 08:20 EDT by Russ Price
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version: 0.3-0.11.beta15
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-03-21 17:03:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Russ Price 2007-03-20 08:20:28 EDT
Description of problem:
Attempting to run hddtemp with a SATA drive produces results like this:

/dev/sda: ATA SAMSUNG SP2504C: S.M.A.R.T. not available

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Boot 2.6.20-1.2300.fc5
2. Run hddtemp on a SATA drive.
Actual results:

/dev/sda: ATA SAMSUNG SP2504C: S.M.A.R.T. not available

Expected results:

/dev/sda: ATA SAMSUNG SP2504C: 40°C

Additional info:

Attempting to force the SATA drive type in /etc/sysconfig/hddtemp has no effect.

smartctl -d ata -a /dev/sda
produces a S.M.A.R.T. report

It is possible that the bug is in hddtemp, but the problem only began with the
new kernel.
Comment 1 Chuck Ebbert 2007-03-20 10:10:35 EDT
What version of hddtemp do you have?
Comment 2 Russ Price 2007-03-20 18:19:44 EDT
hddtemp-0.3-0.8.beta15.fc5 is installed on this system.
Comment 3 Chuck Ebbert 2007-03-20 18:37:05 EDT
This is due to a bug in hddtemp.

It needs this patch:


I submitted it to the hddtemp bug reporting system.
Comment 4 Kevin Kofler 2007-03-21 14:08:16 EDT
This also affects PATA drives on Promise SATA/PATA controllers with a kernel 
fixed for bug 232600, such as kernel-2.6.20-1.2932.fc6. (They also use libata, 
so I assume it's the same problem.) Is a fixed hddtemp forthcoming?
Comment 5 Kevin Kofler 2007-03-21 15:51:44 EDT
Adding hddtemp maintainer to CC. To sum up, hddtemp needs an update/patch to 
work with kernel >=2.6.20's libata, for all of FC5, FC6 and devel. Please see 
the previous comments for details. The bug should also be reassigned to 
hddtemp, but as I'm not the submitter nor in fedorabugs, I can't do that.
Comment 6 Kevin Kofler 2007-03-21 16:03:48 EDT
Looking at the CVS, it turns out this is already fixed in devel (first reported 
as #221100), and has been fixed in CVS for FC6 and FC5 a few minutes ago. 
Thanks Ville. So I guess this can be closed now (or once the builds get 
Comment 7 Ville Skyttä 2007-03-21 17:03:14 EDT
Yep, Chuck was kind enough to ping me about this.  I had been running the
patched version locally ever since bug 221100 was fixed and was thus not bitten
by forgetting to push the builds for <= FC6 when they got a 2.6.20 kernel, sorry
about that.  Builds are done now, and will be in the next push.

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