Bug 157299 - smartd reports farenheit temperatures as celcius
Summary: smartd reports farenheit temperatures as celcius
Alias: None
Product: Fedora
Classification: Fedora
Component: smartmontools (Show other bugs)
(Show other bugs)
Version: 3
Hardware: i686 Linux
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-05-10 12:24 UTC by Andy
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-11-03 19:34:20 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Filtered 'messages' to show problem still exists (796 bytes, text/plain)
2005-11-03 17:55 UTC, Andy
no flags Details
smartctl -a /dev/hda (5.61 KB, text/plain)
2005-11-03 17:56 UTC, Andy
no flags Details

Description Andy 2005-05-10 12:24:57 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2

Description of problem:
Suspect reported temperatures are in Farenheit instead of Celcius because hard drive specs for my drive specify a maximum temperature of 55°C 

/var/log/messages reports temperatures going to 107°C

If I take 107 to be Farenheit then temperature is 41°C which is more believable.

Version-Release number of selected component (if applicable):
smartd version 5.33 [i386-redhat-linux-gnu]

How reproducible:

Steps to Reproduce:
1. on Fedora Core 3 Heidelberg, install the smartd rpm (clean install, no old config files)
2. start the deamon and configure a disk to be monitored by smartd
3. look at /var/log/messages 

Actual Results:  Temperatures reported in /var/log/messages are shown in degrees celcius


May  6 16:47:52 giga smartd[3756]: Device: /dev/hda, SMART Usage Attribute: 194 Temperature_Celsius changed from 106 to 105

Expected Results:  Either the values should have been converted to Celcius, or the line should have said

May  6 16:47:52 giga smartd[3756]: Device: /dev/hda, SMART Usage Attribute: 194 Temperature_Farenheit changed from 106 to 105

Additional info:

Like said above, the readings I get are impossible if they are in Celcius.  Either the readings are false, or the readings are correct but should be converted to Celcius.

Comment 1 Tomas Mraz 2005-11-03 16:55:24 UTC
Could you please attach smartctl -a /dev/hda output here?

Comment 2 Andy 2005-11-03 17:55:13 UTC
Created attachment 120697 [details]
Filtered 'messages' to show problem still exists

This is a filtered version of the messages logfile.  I included this for

Comment 3 Andy 2005-11-03 17:56:54 UTC
Created attachment 120698 [details]
smartctl -a /dev/hda

Comment 4 Tomas Mraz 2005-11-03 19:34:20 UTC
The actual temperature in Celsius is stored in the Raw value. The value
displayed by smartd is actually a normalized value (use -r for printing the raw
See also:

Comment 5 Andy 2005-11-03 19:38:37 UTC
Well I noticed that but as mentioned the problem is that in /var/log/messages
this temperature is considered farenheit instead of celcius

Comment 6 Tomas Mraz 2005-11-03 19:59:00 UTC
The normalized value can be just anything - for example on some disks (Maxtors)
here it is reported always as 253. The real value of the attribute is in the raw
value field and it is really Temperature_Celsius.

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