CPU Temperature for Ryzen 7 9700X

SYSTEM INFORMATION
OS type and version Linux Debian 12
Webmin version 2.202
Virtualmin version 7.30.3
Webserver version Apache 2.4.62
Related packages SUGGESTED

Hello all,

In Virtualmin home page, we have the System Information block contains CPU, Memory, Virtual Memory, Local Disk Space, etc…
In CPU Temperature line, it displays always 0°C for Ryzen 7 9700X.
In other servers with Intel Xeon, it displays well different temperatures cores.

Maybe, an update fix for virtualmin? Because of the newest release of AMD CPU Ryzen 7 9700X.

Regards,

Christrophe.

Webmin will probably only pick it up if the underlying software detects it. What do you get with this?

This is what my Debian 11 server shows.

root# sensors
k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +19.5°C  (high = +70.0°C)
                       (crit = +67.5°C, hyst = +67.5°C)

This is what my Debian 12 home machine shows.

mit@~:sensors
fam15h_power-pci-00c4
Adapter: PCI adapter
power1:       41.29 W  (crit =  95.06 W)

radeon-pci-0100
Adapter: PCI adapter
temp1:        +28.0°C  (crit = +120.0°C, hyst = +90.0°C)

k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +11.9°C  (high = +70.0°C)
                       (crit = +80.0°C, hyst = +77.0°C)

it8728-isa-0228
Adapter: ISA adapter
in0:         924.00 mV (min =  +0.00 V, max =  +3.06 V)
in1:           1.50 V  (min =  +0.00 V, max =  +3.06 V)
in2:           2.05 V  (min =  +0.00 V, max =  +3.06 V)
in3:           2.03 V  (min =  +0.00 V, max =  +3.06 V)
in4:           2.04 V  (min =  +0.00 V, max =  +3.06 V)
in5:           2.22 V  (min =  +0.00 V, max =  +3.06 V)
in6:           2.22 V  (min =  +0.00 V, max =  +3.06 V)
3VSB:          3.26 V  (min =  +0.00 V, max =  +6.12 V)
Vbat:          3.31 V  
fan1:        2102 RPM  (min =   10 RPM)
fan2:         271 RPM  (min =   10 RPM)
fan3:        1123 RPM  (min =   10 RPM)
fan4:         757 RPM  (min =   10 RPM)
fan5:           0 RPM  (min =    0 RPM)
temp1:        +25.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:        +36.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermal diode
temp3:        +12.0°C  (low  =  +0.0°C, high = +60.0°C)  sensor = AMD AMDSI
intrusion0:  ALARM

Hi, with command : sensors
Here is the result :

nvme-pci-0500
Adapter: PCI adapter
Composite:    +33.9°C  (low  = -273.1°C, high = +80.8°C)
                       (crit = +84.8°C)
Sensor 1:     +33.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +41.9°C  (low  = -273.1°C, high = +65261.8°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +35.5°C  (crit = +115.0°C)

k10temp-pci-00c3
Adapter: PCI adapter
temp1:         +0.0°C  (high = +70.0°C)

nvme-pci-0400
Adapter: PCI adapter
Composite:    +32.9°C  (low  = -273.1°C, high = +80.8°C)
                       (crit = +84.8°C)
Sensor 1:     +32.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +41.9°C  (low  = -273.1°C, high = +65261.8°C)

Well, a quick search indicates the k10 module is the AMD line of CPU. So, the interface can’t provide information not provided by the sensor software. :frowning:

1 Like

Yep, this isn’t a Virtualmin or Webmin question. We don’t maintain sensors or the kernel modules that provide data to sensors. If sensors says it’s +0.0°C, who are we to say otherwise?

Hi all,

Okay, no problemo!

I didn’t say Virtualmin is responsible. I asked if there was a possibility to update “sensors” command in linux then display correct temperature in virtualmin homepage.

So, it is resolved we can close this topic.

Regards,

Christophe.

PS : sorry my bad english.

Yeah, at first try running:

sensors-detect

And, afterward, to make sure that device nodes for newly (possibly) detected kernel modules are created, restart the system or reload the modules:

systemctl restart kmod

Hi all,
Thanks Ilia, okay I tested your command sensors-detect
Here are results ( 1st part ) :
It seems there is no sensor for cpu (maybe missing drivers).

Module cpuid loaded successfully.
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
AMD Family 12h and 14h thermal sensors...                   No
AMD Family 15h thermal sensors...                           No
AMD Family 16h thermal sensors...                           No
AMD Family 17h thermal sensors...                           No
AMD Family 15h power sensors...                             No
AMD Family 16h power sensors...                             No
Hygon Family 18h thermal sensors...                         No
Intel digital thermal sensor...                             No
Intel AMB FB-DIMM thermal sensor...                         No
Intel 5500/5520/X58 thermal sensor...                       No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): YES
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      No
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      No

Other parts containing “success” :

Found `IPMI BMC KCS' at 0xca2...                            Success!
    (confidence 8, driver `to-be-written')
Probing for `National Semiconductor LM76'...                Success!
    (confidence 2, driver `lm92')
Probing for `Maxim MAX6633/MAX6634/MAX6635'...              Success!
    (confidence 2, driver `lm92')

Summary of the probes :

Driver `lm92':
  * Bus `SMBus PIIX4 adapter port 1 at 0b20'
    Busdriver `i2c_piix4', I2C address 0x48
    Chip `National Semiconductor LM76' (confidence: 2)
  * Bus `SMBus PIIX4 adapter port 1 at 0b20'
    Busdriver `i2c_piix4', I2C address 0x49
    Chip `National Semiconductor LM76' (confidence: 2)
  * Bus `SMBus PIIX4 adapter port 1 at 0b20'
    Busdriver `i2c_piix4', I2C address 0x4a
    Chip `National Semiconductor LM76' (confidence: 2)
  * Bus `SMBus PIIX4 adapter port 1 at 0b20'
    Busdriver `i2c_piix4', I2C address 0x4b
    Chip `National Semiconductor LM76' (confidence: 2)
  * Bus `SMBus PIIX4 adapter port 1 at 0b20'
    Busdriver `i2c_piix4', I2C address 0x4c
    Chip `Maxim MAX6633/MAX6634/MAX6635' (confidence: 2)
  * Bus `SMBus PIIX4 adapter port 1 at 0b20'
    Busdriver `i2c_piix4', I2C address 0x4d
    Chip `Maxim MAX6633/MAX6634/MAX6635' (confidence: 2)
  * Bus `SMBus PIIX4 adapter port 1 at 0b20'
    Busdriver `i2c_piix4', I2C address 0x4e
    Chip `Maxim MAX6633/MAX6634/MAX6635' (confidence: 2)
  * Bus `SMBus PIIX4 adapter port 1 at 0b20'
    Busdriver `i2c_piix4', I2C address 0x4f
    Chip `Maxim MAX6633/MAX6634/MAX6635' (confidence: 2)

Driver `to-be-written':
  * ISA bus, address 0xca2
    Chip `IPMI BMC KCS' (confidence: 8)

Conclusion :

Note: there is no driver for IPMI BMC KCS yet.
Check https://hwmon.wiki.kernel.org/device_support_status for updates.

To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
lm92
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones!

Do you want to add these lines automatically to /etc/modules? (yes/NO)yes
Successful!

Monitoring programs won't work until the needed modules are
loaded. You may want to run '/etc/init.d/kmod start'
to load them.

Unloading i2c-dev... OK
Unloading cpuid... OK

I tried to start kmod, it doesn’t activated. In virtualmin bootup & shutdown, there is “kmod” but his status is “unknown” not started.

I’m not an expert here, sorry.

It’s okay, the temperature is not important for me. Maybe in future there will an update for Debian 12.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.