Public bug reported:

Binary package hint: lm-sensors

I cannot create an RRD database with my lm-sensors sensord:

Jun  8 00:34:27 haig sensord: Creating round robin database
Jun  8 00:34:27 haig sensord: Error creating RRD file: /var/log/sensord.rrd: 
Duplicate DS name: temp1

This bug has been identified and fixed in upstream lm-sensors:

http://comments.gmane.org/gmane.linux.drivers.sensors/21515
http://www.lm-sensors.org/changeset/5835
http://www.lm-sensors.org/ticket/2377

The problem comes because my Intel Core i7 chip has multiple coretemp-
isa-* sensor chips, one to report the temperature of each HyperThread-
fake core. Each chip of course has the same single temperature name,
'temp1', and the patch in changeset 5835 gives each temp1 a unique name.

The upstream developers do mention that they need to find a naming
scheme that would be stable for e.g. the next ten years. Since this is
an LTS distribution, it'd be worth generating 'stable' RRD DS names, to
avoid future problems. (If this weren't an LTS distribution, I think
just applying the patch as-is would be Just Fine. But since this one is
going to be around for a long time, getting it right on the first shot
sure wouldn't hurt. :)

# lsb_release -rd
Description:    Ubuntu 10.04 LTS
Release:        10.04
# apt-cache policy lm-sensors
lm-sensors:
  Installed: 1:3.1.2-2
  Candidate: 1:3.1.2-2
  Version table:
 *** 1:3.1.2-2 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

** Affects: lm-sensors (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Binary package hint: lm-sensors
  
  I cannot create an RRD database with my lm-sensors sensord:
  
  Jun  8 00:34:27 haig sensord: Creating round robin database
  Jun  8 00:34:27 haig sensord: Error creating RRD file: /var/log/sensord.rrd: 
Duplicate DS name: temp1
  
  This bug has been identified and fixed in upstream lm-sensors:
  
  http://comments.gmane.org/gmane.linux.drivers.sensors/21515
  http://www.lm-sensors.org/changeset/5835
+ http://www.lm-sensors.org/ticket/2377
  
  The problem comes because my Intel Core i7 chip has multiple coretemp-
  isa-* sensor chips, one to report the temperature of each HyperThread-
  fake core. Each chip of course has the same single temperature name,
  'temp1', and the patch in changeset 5835 gives each temp1 a unique name.
  
  The upstream developers do mention that they need to find a naming
  scheme that would be stable for e.g. the next ten years. Since this is
  an LTS distribution, it'd be worth generating 'stable' RRD DS names, to
  avoid future problems. (If this weren't an LTS distribution, I think
  just applying the patch as-is would be Just Fine. But since this one is
  going to be around for a long time, getting it right on the first shot
  sure wouldn't hurt. :)
  
  # lsb_release -rd
  Description:  Ubuntu 10.04 LTS
  Release:      10.04
  # apt-cache policy lm-sensors
  lm-sensors:
-   Installed: 1:3.1.2-2
-   Candidate: 1:3.1.2-2
-   Version table:
-  *** 1:3.1.2-2 0
-         500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
-         100 /var/lib/dpkg/status
+   Installed: 1:3.1.2-2
+   Candidate: 1:3.1.2-2
+   Version table:
+  *** 1:3.1.2-2 0
+         500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
+         100 /var/lib/dpkg/status

-- 
sensord cannot RRD log with multiple chips
https://bugs.launchpad.net/bugs/591128
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lm-sensors in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to