! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Coretemp is not handled properly
Status:
RESOLVED: LATER
Severity:
enhancement
Product:
Xfce4-sensors-plugin
Component:
General

Comments

Description Raphael Groner 2013-01-12 11:54:29 CET
After every second boot (I guess), the sensors plugin doesn't recognize the coretemp-0 sensor values. When I do a manual restart of the panel ($ xfce4-panel -r), the values are back to be activated in the dialog for any strange reason. I tried also with a second plugin instance that has active only coretemp-0 values. 
Maybe the issue is more related to lm_sensors or directly the kernel, I don't know.


$ pacman -Q lm_sensors xfce4-sensors-plugin
lm_sensors 3.3.3-1
xfce4-sensors-plugin 1.2.5-1

$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +45.0°C  (crit = +95.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +27.0°C  (crit = +100.0°C)
Core 1:       +26.0°C  (crit = +100.0°C)

$ uname -a
Linux schlebby 3.6.11-1-MANJARO #1 SMP PREEMPT Mon Dec 17 21:44:26 CET 2012 i686 GNU/Linux


/tmp/xfce4-sensors-plugin-34.rc is the (broken) configuration after I've just logged in and see the plugin title instead of both activated coretemp-0 values.

$ diff ~/.config/xfce4/panel/xfce4-sensors-plugin-34.rc /tmp/xfce4-sensors-plugin-34.rc 
28,45d27
< [Chip1_Feature0]
< Id=0
< Address=0
< Name=Core 0
< Color=#00B000
< Show=true
< Min=20,00
< Max=55,00
< 
< [Chip1_Feature1]
< Id=-1
< Address=1
< Name=Core 1
< Color=#00B000
< Show=true
< Min=20,00
< Max=55,00

$ cat /tmp/xfce4-sensors-plugin-34.rc 
[General]
Show_Title=false
Show_Labels=false
Use_Bar_UI=2
Show_Colored_Bars=true
Scale=0
Font_Size=medium
Font_Size_Numerical=2
Lines_Size=3
Update_Interval=60
Exec_Command=true
Show_Units=true
Small_Spacings=false
Command_Name=xfce4-sensors
Number_Chips=4
Suppress_Hddtemp_Message=false
Preferred_Width=0
Preferred_Height=0

[Chip0]
Name=acpitz-0
Number=0

[Chip1]
Name=coretemp-0
Number=1

[Chip2]
Name=Festplatten
Number=2

[Chip3]
Name=ACPI
Number=3
Comment 1 Raphael Groner 2013-08-11 11:20:03 CEST
I guess there's a nasty bug in lm_sensors or the like.

With the following setting, the sensors plugin detects only one core in coretemp.

[root@schlebby /]# grep core /proc/cpuinfo 
core id		: 0
cpu cores	: 2
core id		: 1
cpu cores	: 2
core id		: 0
cpu cores	: 2
core id		: 1
cpu cores	: 2
[root@schlebby /]# sensors 
acpitz-virtual-0
Adapter: Virtual device
temp1:        +45.0°C  (crit = +95.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +33.0°C  (crit = +100.0°C)
Core 1:       +35.0°C  (crit = +100.0°C)
Comment 2 Fabian Nowak editbugs 2014-04-30 00:07:48 CEST
So? Bug reported to lmsensors or kernel? Does it still persist? What else did you find out?

Try to repeatedly query lmsensors and grep the features of chip1. Do they always appear? (Execute a shell script with 10000 queries, and monitor the number of successful responses)
Comment 3 Raphael Groner 2014-05-09 12:24:15 CEST
You are right, this is an integration issue. First, the concrete component needs to be identified that's bugging the other ones. Further, I don't have the settings any more from August 2013, as stated in my comment #1.

So I'll close this bug as (hopefully being) resolved later. Maybe we could also choose the works for me status, but generally that does not seem to be a good ethical way.

Bug #9750

Reported by:
Raphael Groner
Reported on: 2013-01-12
Last modified on: 2014-05-09

People

Assignee:
Fabian Nowak
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information