← Back to team overview

kernel-packages team mailing list archive

[Bug 1581594] Re: constantly shows wrong temperature (99°C )

 

It seems that this extra attribute needs to not be treated as
temperature.  I have patched libatasmart to do this.  Please try the
version in my ppa and see if it resolves it for you.  You can add my ppa
by running sudo add-apt-repository ppa:psusi/ppa, then an apt-get update
and upgrade should install the new version of libatasmart.


** No longer affects: gnome-disk-utility (Ubuntu)

** Package changed: udisks2 (Ubuntu) => libatasmart (Ubuntu)

** Changed in: libatasmart (Ubuntu)
       Status: New => In Progress

** Changed in: libatasmart (Ubuntu)
     Assignee: (unassigned) => Phillip Susi (psusi)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to libatasmart in Ubuntu.
https://bugs.launchpad.net/bugs/1581594

Title:
  constantly shows wrong temperature (99°C )

Status in libatasmart package in Ubuntu:
  In Progress

Bug description:
  Hello, here's my system info

  ~$ lsb_release -rd
  Description:	Ubuntu 16.04 LTS
  Release:	16.04

  ~$ apt-cache policy udisks2
  udisks2:
    Installed: 2.1.7-1ubuntu1
    Candidate: 2.1.7-1ubuntu1
    Version table:
   *** 2.1.7-1ubuntu1 500
          500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
          100 /var/lib/dpkg/status

  
  Here's the problem: udisks2 constantly shows that my ssd temperature is 99°C (210°F), but in reality it's 30°C

  
  ~$ sudo smartctl -A /dev/sda
  smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-22-generic] (local build)
  Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

  === START OF READ SMART DATA SECTION ===
  SMART Attributes Data Structure revision number: 16
  Vendor Specific SMART Attributes with Thresholds:
  ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
    1 Raw_Read_Error_Rate     0x000b   100   100   050    Pre-fail  Always       -       0
    9 Power_On_Hours          0x0012   100   100   000    Old_age   Always       -       24
   12 Power_Cycle_Count       0x0012   100   100   000    Old_age   Always       -       51
  168 Unknown_Attribute       0x0012   100   100   000    Old_age   Always       -       0
  170 Unknown_Attribute       0x0003   100   100   010    Pre-fail  Always       -       231
  173 Unknown_Attribute       0x0012   100   100   000    Old_age   Always       -       65539
  192 Power-Off_Retract_Count 0x0012   100   100   000    Old_age   Always       -       23
  194 Temperature_Celsius     0x0023   070   070   030    Pre-fail  Always       -       30 (Min/Max 30/30)
  218 Unknown_Attribute       0x000b   100   100   050    Pre-fail  Always       -       0
  231 Temperature_Celsius     0x0013   100   100   000    Pre-fail  Always       -       99
  241 Total_LBAs_Written      0x0012   100   100   000    Old_age   Always       -       337


  in the GUI app ("Disks") it shows the wrong temperature too. hddtemp
  works well though:

  ~$ sudo hddtemp /dev/sda
  /dev/sda: PNY EU SSD CS1311 240GB: 30°C

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libatasmart/+bug/1581594/+subscriptions