Bug 1871312

Summary: CPU and core temperatures disappeared from sensors [lm_sensors] output. section coretemp-isa-0000 gone.
Product: [Fedora] Fedora Reporter: Phil V <pv.bugzilla>
Component: lm_sensorsAssignee: Hans de Goede <hdegoede>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 32CC: hdegoede, jaromir.capik, olysonek, pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-27 11:38:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Phil V 2020-08-22 05:49:19 UTC
executable 'sensors' in package lm_sensors-3.6.0-3.fc32.x86_64 
would report CPU core temperature for each core

coretemp-isa-0000
Adapter: ISA adapter
Package id 0: ...
Core 0: ...
Core n: ...

This entire section of coretemp-isa-0000
is absent from the sensors output in the current
lm_sensors-3.6.0-5.fc32.x86_64

Verify by looking for coretemp in output of the command:

sensors

downgrading with 
dnf downgrade lm_sensors
reinstalls lm_sensors-3.6.0-3.fc32.x86_64
but the problem persists even after 'systemctl daemon-reload'

so perhaps the problem lies deeper than lm_sensors itself.

Comment 1 Phil V 2020-08-22 05:58:51 UTC
I tried to revert the rest of the upgrade which included;

Upgraded:
  GAPDoc-1.6.4-4.fc32.noarch                                                    
  fedora-gpg-keys-32-5.noarch                                                   
  fedora-repos-32-5.noarch                                                      
  iwl100-firmware-39.31.5.1-111.fc32.noarch                                     
  iwl1000-firmware-1:39.31.5.1-111.fc32.noarch                                  
  iwl105-firmware-18.168.6.1-111.fc32.noarch                                    
  iwl135-firmware-18.168.6.1-111.fc32.noarch                                    
  iwl2000-firmware-18.168.6.1-111.fc32.noarch                                   
  iwl2030-firmware-18.168.6.1-111.fc32.noarch                                   
  iwl3160-firmware-1:25.30.13.0-111.fc32.noarch                                 
  iwl3945-firmware-15.32.2.9-111.fc32.noarch                                    
  iwl4965-firmware-228.61.2.24-111.fc32.noarch                                  
  iwl5000-firmware-8.83.5.1_1-111.fc32.noarch                                   
  iwl5150-firmware-8.24.2.2-111.fc32.noarch                                     
  iwl6000-firmware-9.221.4.1-111.fc32.noarch                                    
  iwl6000g2a-firmware-18.168.6.1-111.fc32.noarch                                
  iwl6000g2b-firmware-18.168.6.1-111.fc32.noarch                                
  iwl6050-firmware-41.28.5.1-111.fc32.noarch                                    
  iwl7260-firmware-1:25.30.13.0-111.fc32.noarch                                 
  kexec-tools-2.0.20-17.fc32.x86_64                                             
  libbytesize-2.4-1.fc32.x86_64                                                 
  libertas-usb8388-firmware-2:20200817-111.fc32.noarch                          
  linux-firmware-20200817-111.fc32.noarch                                       
  linux-firmware-whence-20200817-111.fc32.noarch                                
  lm_sensors-3.6.0-5.fc32.x86_64                                                
  lm_sensors-libs-3.6.0-5.fc32.x86_64                                           
  pipewire-0.3.10-1.fc32.x86_64                                                 
  pipewire-libs-0.3.10-1.fc32.x86_64                                            
  python3-bytesize-2.4-1.fc32.x86_64                                            
  sqlite-3.33.0-1.fc32.x86_64                                                   
  sqlite-libs-3.33.0-1.fc32.x86_64                                              

I tried to "dnf history undo $TRANSACTION"
nothing happened because the following:
...
No package fedora-gpg-keys-32-4.noarch available.
No package fedora-repos-32-4.noarch available.
No package iwl100-firmware-39.31.5.1-110.fc32.noarch available.
No package iwl1000-firmware-1:39.31.5.1-110.fc32.noarch available.
No package iwl105-firmware-18.168.6.1-110.fc32.noarch available.
No package iwl135-firmware-18.168.6.1-110.fc32.noarch available.
No package iwl2000-firmware-18.168.6.1-110.fc32.noarch available.
No package iwl2030-firmware-18.168.6.1-110.fc32.noarch available.
No package iwl3160-firmware-1:25.30.13.0-110.fc32.noarch available.
No package iwl3945-firmware-15.32.2.9-110.fc32.noarch available.
No package iwl4965-firmware-228.61.2.24-110.fc32.noarch available.
No package iwl5000-firmware-8.83.5.1_1-110.fc32.noarch available.
No package iwl5150-firmware-8.24.2.2-110.fc32.noarch available.
No package iwl6000-firmware-9.221.4.1-110.fc32.noarch available.
No package iwl6000g2a-firmware-18.168.6.1-110.fc32.noarch available.
No package iwl6000g2b-firmware-18.168.6.1-110.fc32.noarch available.
No package iwl6050-firmware-41.28.5.1-110.fc32.noarch available.
No package iwl7260-firmware-1:25.30.13.0-110.fc32.noarch available.
No package libbytesize-2.3-1.fc32.x86_64 available.
No package libertas-usb8388-firmware-2:20200721-110.fc32.noarch available.
No package linux-firmware-whence-20200721-110.fc32.noarch available.
No package linux-firmware-20200721-110.fc32.noarch available.
No package pipewire-libs-0.3.9-1.fc32.x86_64 available.
No package pipewire-0.3.9-1.fc32.x86_64 available.
No package python3-bytesize-2.3-1.fc32.x86_64 available.
No package sqlite-libs-3.32.3-1.fc32.x86_64 available.
No package sqlite-3.32.3-1.fc32.x86_64 available.

I note no partial undo was attempted.

What went wrong?

Comment 2 Ondřej Lysoněk 2020-08-24 06:02:18 UTC
(In reply to Phil V from comment #1)
> What went wrong?

As far as I know, older versions of packages are not kept in Fedora repos. So unless you have them cached, or get them from somewhere else, you can't downgrade.

I see that the transaction didn't include the kernel, but is it possible that you've upgraded it too recently? Have you tried booting an older kernel?

Comment 3 Phil V 2020-08-27 10:22:35 UTC
I think this was an update related problem. 
A reboot has resolved the problem.

I wish to promote the old fashioned unix/linux ideas that:

1. Updates should not require rebooting to take effect unless it is a low level essential component that can't be simply restarted.
2. There should be very few components that are so low level. Keep it "simple and beautiful".
3. if booting is required for an update to take effect, update shouldn't break current operation in the meantime. It should just mean that the updated version is not yet available for use. 

https://en.wikipedia.org/wiki/Unix_philosophy

Comment 4 Ondřej Lysoněk 2020-08-27 11:38:21 UTC
(In reply to Phil V from comment #3)
> I think this was an update related problem. 
> A reboot has resolved the problem.
> 
> I wish to promote the old fashioned unix/linux ideas that:
> 
> 1. Updates should not require rebooting to take effect unless it is a low
> level essential component that can't be simply restarted.
> 2. There should be very few components that are so low level. Keep it
> "simple and beautiful".
> 3. if booting is required for an update to take effect, update shouldn't
> break current operation in the meantime. It should just mean that the
> updated version is not yet available for use. 
> 
> https://en.wikipedia.org/wiki/Unix_philosophy

I very much doubt that the problem you were seeing was caused by the lm_sensors update. If you wish to suggest otherwise, be prepared to present some evidence.

Have a great day.