intel_uncore_frequency / no such device

Welches Modul/Treiber für welche Hardware, Kernel compilieren...
Antworten
mischi
Beiträge: 4
Registriert: 19.10.2017 11:52:03

intel_uncore_frequency / no such device

Beitrag von mischi » 17.04.2023 14:29:38

Hallo lieben Forengemeinde,

ich möchte gerne das plugin intel_powerstat von Telegraf nutzen und benötige dazu einige Kernelmodule.
(siehe https://github.com/influxdata/telegraf/ ... /README.md)
Seit Version 6.1 ist im Debian Kernel dass erforderliche Modul intel_uncore_frequency enthalten.
Leider bekomme ich bei der Einbindung die Fehlermeldung:
modprobe: ERROR: could not insert 'intel_uncore_frequency': No such device

Es sind ganz so aus, als ob meine CPUs das nicht unterstützen. Kann das tatsächlich sein? Wo kann ich das nachlesen?
Oder ist es ggf. ein Fehler bzw. Problem der Kernelkonfiguration?

System 1:

Code: Alles auswählen

cat /proc/cpuinfo
processor       : 3
vendor_id       : GenuineIntel
cpu family      : 6
model           : 158
model name      : Intel(R) Core(TM) i3-9100 CPU @ 3.60GHz
stepping        : 11
microcode       : 0xf0
cpu MHz         : 1100.036
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 3
cpu cores       : 4
apicid          : 6
initial apicid  : 6
fpu             : yes
fpu_exception   : yes
cpuid level     : 22
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities
vmx flags       : vnmi preemption_timer invvpid ept_x_only ept_ad ept_1gb flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest ple pml ept_mode_based_exec
...
System 2:

Code: Alles auswählen

cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 156
model name      : Intel(R) Pentium(R) Silver N6005 @ 2.00GHz
stepping        : 0
microcode       : 0x24000023
cpu MHz         : 2000.000
cache size      : 4096 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 27
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch cpuid_fault epb cat_l2 cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust smep erms rdt_a rdseed smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req umip waitpkg gfni rdpid movdiri movdir64b md_clear flush_l1d arch_capabilities
vmx flags       : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling usr_wait_pause
...

mischi
Beiträge: 4
Registriert: 19.10.2017 11:52:03

Re: intel_uncore_frequency / no such device

Beitrag von mischi » 17.04.2023 15:00:40

Ich antworte mir mal selbst - Es werden nur wenige Server CPUs unterstützt, eine Auflistung ist
https://github.com/torvalds/linux/blob/ ... requency.c
zu entnehmen.
Wenn man die Metric uncore_frequency aus der intel_powerstat telegraf Konfiguration entfernt, klappt der Aufruf ohne Fehler.

Antworten