Testers for inxi/pinxi redone -C CPU logic... huge internal changes

As an aside, due to how the kernel guys have designed /sys, I was actually able to follow block devices back through their paths in /sys to arrive at the right hwmon directory for that device, which is how inxi now defaults to getting nvme and drive temps. Not all hdd have this data available, for those you still have to use hddtemp, but those are also being mapped more and more internally to the hwmon directories I believe, which is why inxi can now increasingly show drive/nvme temps without root or hddtemp.

inxi was not however able to reverse that detection and start with sensors output and arrive at the right drive, I could find no way to match that data to a specific drive/block device.

I may in the future try creating a /sys direct based sensors output option, I half started that, but stopped because honestly, the sensors guys have already done it for me, so there is little to be gained by having inxi recreate the data that is already in sensors output going straight to /sys for it.
 


@stan sorry, yes, debuggers are good, for this in particular because the new debugger gives me pairs of sys/cpuinfo files I can insert to emulate the literal user cpu almost completely. For here, just: pinxi -MCa are enough.

I am also generally curious to see various systems times:

time inxi -Cay
time pinxi -Ca

to see which ones like the way pinxi works internally and which aren't as efficient. ARM SoC without L1/L2 cache from what I can see are going to be slower for pinxi simply because they can't cache the instructions and data, but it seems like many others lean towards pinxi, but sometimes inxi is faster.
 
Okay, here's one... HP desktop. I needed to change -Cay to -Cay80. Also sent a debugger.

stan@lmde:~$ pinxi -MCa
Machine:
Type: Desktop System: HP-Pavilion product: NY549AA-ABA p6230y v: N/A
serial: <superuser required> Chassis: Hewlett-Packard type: 3
serial: <superuser required>
Mobo: FOXCONN model: ALOE v: X3 serial: <superuser required>
BIOS: American Megatrends v: 5.00 date: 08/03/2009
CPU:
Info: model: AMD Phenom II X4 810 bits: 64 type: MCP arch: K10
family: 10 (16) model-id: 4 stepping: 2 microcode: 10000DB bogomips: 5187
Topology: cpus: 1x cores: 4 cache: L1: 512 KiB
desc: d-4x64 KiB; i-4x64 KiB L2: 2 MiB desc: 4x512 KiB L3: 4 MiB
desc: 1x4 MiB
Speed (MHz): avg: 800 min/max: 800/2600 boost: disabled cores: 1: 800
2: 800 3: 800 4: 800
Flags: ht lm nx pae sse sse2 sse3 sse4a svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass status: Not affected
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Full AMD retpoline, STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
stan@lmde:~$

stan@lmde:~$ time inxi -Cay80
CPU:
Topology: Quad Core model: AMD Phenom II X4 810 bits: 64 type: MCP
family: 10 (16) model-id: 4 stepping: 2 microcode: 10000DB
L2 cache: 2048 KiB
Speed: 800 MHz min/max: 800/2600 MHz Core speeds (MHz): 1: 800 2: 1400
3: 800 4: 800
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass status: Not affected
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Full AMD retpoline, STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected

real 0m0.627s
user 0m0.224s
sys 0m0.054s
stan@lmde:~$

stan@lmde:~$ time pinxi -Ca
CPU:
Info: model: AMD Phenom II X4 810 bits: 64 type: MCP arch: K10
family: 10 (16) model-id: 4 stepping: 2 microcode: 10000DB bogomips: 5187
Topology: cpus: 1x cores: 4 cache: L1: 512 KiB
desc: d-4x64 KiB; i-4x64 KiB L2: 2 MiB desc: 4x512 KiB L3: 4 MiB
desc: 1x4 MiB
Speed (MHz): avg: 950 high: 1400 min/max: 800/2600 boost: disabled cores:
1: 800 2: 800 3: 800 4: 1400
Flags: ht lm nx pae sse sse2 sse3 sse4a svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass status: Not affected
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Full AMD retpoline, STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected

real 0m0.675s
user 0m0.269s
sys 0m0.055s
stan@lmde:~$
 
Last edited:
not bad. If I have the inclination/energy, I'm going to take a look to see if there is anywhere I can drop execution time a bit in pinxi, otherwise there's now just one issue outstanding, but that's a complicated one unfortunately.

Oddly, it's about a Phenom 840, which has no L3 cache, showing phantom L3 cache anyway, for reasons still not clear.
 
Here's the new desktop. Did not need -Cay80, but I got an "Error 80" from the debugger, "Perl module is not installed" and it wouldn't complete.

[stan@dell ~]$ pinxi -MCa
Machine:
Type: Desktop System: Dell product: XPS 8940 v: N/A
serial: <superuser required> Chassis: type: 3 serial: <superuser required>
Mobo: Dell model: 0K3CM7 v: A00 serial: <superuser required> UEFI: Dell
v: 2.3.0 date: 10/07/2021
CPU:
Info: model: 11th Gen Intel Core i7-11700 bits: 64 type: MT MCP
arch: Rocket Lake family: 6 model-id: A7 (167) stepping: 1 microcode: 40
bogomips: 4992
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 cache: L1: 640 KiB
desc: d-8x48 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB
desc: 1x16 MiB
Speed (MHz): avg: 1340 high: 4350 min/max: 800/4800:4900 cores: 1: 800
2: 801 3: 1295 4: 911 5: 809 6: 800 7: 800 8: 800 9: 801 10: 800 11: 801
12: 851 13: 4350 14: 3258 15: 2693 16: 883
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
[stan@dell ~]$

[stan@dell ~]$ time inxi -Cay
CPU:
Info: 8-Core model: 11th Gen Intel Core i7-11700 bits: 64 type: MT MCP
arch: Rocket Lake family: 6 model-id: A7 (167) stepping: 1 microcode: 40
cache: L1: 640 KiB L2: 4 MiB L3: 16 MiB
flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
bogomips: 79872
Speed: 894 MHz min/max: 800/4800 MHz Core speeds (MHz): 1: 861 2: 837 3: 805
4: 906 5: 996 6: 817 7: 800 8: 800 9: 915 10: 1028 11: 846 12: 824 13: 828
14: 1015 15: 908 16: 869
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected

real 0m0.782s
user 0m0.149s
sys 0m0.091s
[stan@dell ~]$

[stan@dell ~]$ time pinxi -Ca
CPU:
Info: model: 11th Gen Intel Core i7-11700 bits: 64 type: MT MCP
arch: Rocket Lake family: 6 model-id: A7 (167) stepping: 1 microcode: 40
bogomips: 4992
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 cache: L1: 640 KiB
desc: d-8x48 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB
desc: 1x16 MiB
Speed (MHz): avg: 808 high: 930 min/max: 800/4800:4900 cores: 1: 800
2: 800 3: 801 4: 800 5: 800 6: 801 7: 801 8: 801 9: 801 10: 800 11: 801
12: 800 13: 800 14: 801 15: 801 16: 930
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected

real 0m0.660s
user 0m0.092s
sys 0m0.031s
[stan@dell ~]$
 
Lenovo Ideapad (very low end laptop). No debugger again, same reason. Both of these computers with missing Perl modules are running Fedora 35.

Code:
[stan@fedora ~]$ pinxi -MCa
Machine:
  Type: Laptop System: LENOVO product: 81VS
  v: Lenovo IdeaPad Slim 1-14AST-05 serial: <superuser required> Chassis:
  type: 10 v: Lenovo IdeaPad Slim 1-14AST-05 serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0Z91574 WIN
  serial: <superuser required> UEFI: LENOVO v: CWCN19WW date: 05/18/2020
CPU:
  Info: model: AMD A6-9220e RADEON R4 5 COMPUTE CORES 2C+3G bits: 64
  type: MCP arch: Excavator family: 15 (21) model-id: 70 (112) stepping: 0
  microcode: 6006705 bogomips: 3194
  Topology: cpus: 1x cores: 2 cache: L1: 192 KiB
  desc: d-2x32 KiB; i-2x64 KiB L2: 2 MiB desc: 2x1024 KiB
  Speed (MHz): avg: 1181 high: 1187 min/max: 1200/1600 boost: enabled cores:
  1: 1187 2: 1175
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
  mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP:
  disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
[stan@fedora ~]$

Code:
[stan@fedora ~]$ time inxi -Cay
CPU:
  Info: Dual Core model: AMD A6-9220e RADEON R4 5 COMPUTE CORES 2C+3G bits: 64
  type: MCP arch: Excavator family: 15 (21) model-id: 70 (112) stepping: 0
  microcode: 6006705 cache: L1: 256 KiB L2: 2 MiB
  flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  bogomips: 6388
  Speed: 1190 MHz min/max: 1200/1600 MHz boost: enabled Core speeds (MHz):
  1: 1652 2: 1321
  Vulnerabilities: Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
  mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP:
  disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected

real    0m0.876s
user    0m0.396s
sys    0m0.097s
[stan@fedora ~]$

Code:
[stan@fedora ~]$ time pinxi -Ca
CPU:
  Info: model: AMD A6-9220e RADEON R4 5 COMPUTE CORES 2C+3G bits: 64
  type: MCP arch: Excavator family: 15 (21) model-id: 70 (112) stepping: 0
  microcode: 6006705 bogomips: 3194
  Topology: cpus: 1x cores: 2 cache: L1: 192 KiB
  desc: d-2x32 KiB; i-2x64 KiB L2: 2 MiB desc: 2x1024 KiB
  Speed (MHz): avg: 1166 high: 1170 min/max: 1200/1600 boost: enabled cores:
  1: 1162 2: 1170
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
  mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP:
  disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected

real    0m0.814s
user    0m0.369s
sys    0m0.072s
[stan@fedora ~]$
 
No debugger again, same reason. Both of these computers with missing Perl modules are running Fedora 35.
I sent the --debug 22 reports from the Fedora computers by booting on a MX-21 live USB and using the latest pinxi (patch 31) from there.

Will send more off and on through the day today.
 
Asus laptop. Sent --debug 22 also.

Code:
terry@asus:~$ pinxi -MCa
Machine:
  Type: Laptop System: ASUSTeK product: X401U v: 1.0
  serial: <superuser required>
  Mobo: ASUSTeK model: X401U v: 1.0 serial: <superuser required>
  UEFI: American Megatrends v: X401U.204 date: 05/08/2012
CPU:
  Info: model: AMD E1-1200 APU with Radeon HD Graphics bits: 64 type: MCP
  arch: Bobcat family: 14 (20) model-id: 2 stepping: 0 microcode: 5000119
  bogomips: 2794
  Topology: cpus: 1x cores: 2 cache: L1: 128 KiB
  desc: d-2x32 KiB; i-2x32 KiB L2: 1024 KiB desc: 2x512 KiB
  Speed (MHz): avg: 779 high: 780 min/max: 777/1400 boost: disabled cores:
  1: 779 2: 780
  Flags: ht lm nx pae sse sse2 sse3 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
  mitigation: Full AMD retpoline, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
terry@asus:~$

Code:
terry@asus:~$ time inxi -Cay80
CPU:
  Topology: Dual Core model: AMD E1-1200 APU with Radeon HD Graphics bits: 64
  type: MCP arch: Bobcat family: 14 (20) model-id: 2 stepping: N/A
  microcode: 5000119 L2 cache: 512 KiB
  flags: lm nx pae sse sse2 sse3 sse4a ssse3 svm bogomips: 5589
  Speed: 777 MHz min/max: 777/1400 MHz Core speeds (MHz): 1: 777 2: 778
  Vulnerabilities: Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
  mitigation: Full AMD retpoline, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected

real    0m1.295s
user    0m0.674s
sys    0m0.156s
terry@asus:~$

Code:
terry@asus:~$ time pinxi -Ca
CPU:
  Info: model: AMD E1-1200 APU with Radeon HD Graphics bits: 64 type: MCP
  arch: Bobcat family: 14 (20) model-id: 2 stepping: 0 microcode: 5000119
  bogomips: 2794
  Topology: cpus: 1x cores: 2 cache: L1: 128 KiB
  desc: d-2x32 KiB; i-2x32 KiB L2: 1024 KiB desc: 2x512 KiB
  Speed (MHz): avg: 1294 high: 1398 min/max: 777/1400 boost: disabled cores:
  1: 1190 2: 1398
  Flags: ht lm nx pae sse sse2 sse3 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
  mitigation: Full AMD retpoline, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected

real    0m1.770s
user    0m0.850s
sys    0m0.158s
terry@asus:~$
 
2007 HP desktop. Sent --debug 22 also.

Code:
demo@mx1:~
$ pinxi -MCa
Machine:
  Type: Desktop System: HP-Pavilion product: RT680AA-ABA m7747c v: N/A
  serial: <superuser required> Chassis: Hewlett-Packard type: 3 v: 1111
  serial: <superuser required>
  Mobo: ASUSTek model: LEONITE v: 5.00 serial: <superuser required>
  BIOS: Phoenix v: 5.09 date: 01/11/2007
CPU:
  Info: model: Intel Core2 6400 bits: 64 type: MCP arch: Core Merom
  family: 6 model-id: F (15) stepping: 6 microcode: D0 bogomips: 4267
  Topology: cpus: 1x cores: 2 cache: L1: 128 KiB
  desc: d-2x32 KiB; i-2x32 KiB L2: 2 MiB desc: 1x2 MiB
  Speed (MHz): avg: 1600 min/max: 1600/2133 cores: 1: 1600 2: 1600
  Flags: ht lm nx pae sse sse2 sse3 ssse3
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds
  status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
  mitigation: Full generic retpoline, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
demo@mx1:~

Code:
demo@mx1:~
$ time inxi -Cay80
CPU:
  Topology: Dual Core model: Intel Core2 6400 bits: 64 type: MCP family: 6
  model-id: F (15) stepping: 6 microcode: D0 L2 cache: 2048 KiB
  Speed: 1717 MHz min/max: 1600/2133 MHz Core speeds (MHz): 1: 1679 2: 1717
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds
  status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
  mitigation: Full generic retpoline, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected

real    0m0.742s
user    0m0.295s
sys    0m0.060s
demo@mx1:~

Code:
demo@mx1:~
$ time pinxi -Ca
CPU:
  Info: model: Intel Core2 6400 bits: 64 type: MCP arch: Core Merom
  family: 6 model-id: F (15) stepping: 6 microcode: D0 bogomips: 4267
  Topology: cpus: 1x cores: 2 cache: L1: 128 KiB
  desc: d-2x32 KiB; i-2x32 KiB L2: 2 MiB desc: 1x2 MiB
  Speed (MHz): avg: 1600 min/max: 1600/2133 cores: 1: 1600 2: 1600
  Flags: ht lm nx pae sse sse2 sse3 ssse3
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds
  status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
  mitigation: Full generic retpoline, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected

real    0m0.813s
user    0m0.359s
sys    0m0.064s
demo@mx1:~
 
Raspberry Pi 3B+. Sent --debug 22 also.

Code:
pi@raspberrypi:~ $ pinxi -MCa
Machine:
  Type: ARM System: Raspberry Pi 3 Model B Plus Rev 1.3 details: BCM2835
  rev: a020d3 serial: 00000000667f967a
CPU:
  Info: model: ARMv7 v7l variant: cortex-a53 bits: 32 type: MCP arch: v7l
  family: 7 model-id: 0 stepping: 4 bogomips: 89
  Topology: cpus: 1x cores: 4 cache: N/A
  Speed (MHz): avg: 1400 min/max: 600/1400 cores: 1: 1400 2: 1400 3: 1400
  4: 1400
  Features: Use -f option to see features
  Vulnerabilities: No CPU vulnerability/bugs data available.
pi@raspberrypi:~ $

Code:
pi@raspberrypi:~ $ time inxi -Cay
CPU:
  Info: Quad Core model: ARMv7 v7l variant: cortex-a53 bits: 32 type: MCP
  arch: v7l family: 7 model-id: 0 stepping: 4
  features: Use -f option to see features bogomips: 358
  Speed: 1400 MHz min/max: 600/1400 MHz Core speeds (MHz): 1: 1400 2: 1400
  3: 1400 4: 1400
  Vulnerabilities: No CPU vulnerability/bugs data available.

real    0m1.461s
user    0m0.998s
sys    0m0.100s
pi@raspberrypi:~ $

Code:
pi@raspberrypi:~ $ time pinxi -Ca
CPU:
  Info: model: ARMv7 v7l variant: cortex-a53 bits: 32 type: MCP arch: v7l
  family: 7 model-id: 0 stepping: 4 bogomips: 89
  Topology: cpus: 1x cores: 4 cache: N/A
  Speed (MHz): avg: 1400 min/max: 600/1400 cores: 1: 1400 2: 1400 3: 1400
  4: 1400
  Features: Use -f option to see features
  Vulnerabilities: No CPU vulnerability/bugs data available.

real    0m1.425s
user    0m0.976s
sys    0m0.089s
pi@raspberrypi:~ $
 
Lenovo Yoga 2 Pro. Sent --debug 22 also.

Code:
demo@mx1:~
$ pinxi -MCa
Machine:
  Type: Laptop System: LENOVO product: 20266 v: Lenovo Yoga 2 Pro
  serial: <superuser required> Chassis: type: 10 v: Lenovo Yoga 2 Pro
  serial: <superuser required>
  Mobo: LENOVO model: Yoga2 v: 31900058STD serial: <superuser required>
  UEFI: LENOVO v: 76CN43WW date: 03/30/2015
CPU:
  Info: model: Intel Core i7-4500U bits: 64 type: MT MCP arch: Haswell
  family: 6 model-id: 45 (69) stepping: 1 microcode: 17 bogomips: 4788
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 cache: L1: 128 KiB
  desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 4 MiB
  desc: 1x4 MiB
  Speed (MHz): avg: 823 high: 857 min/max: 800/3000 cores: 1: 857 2: 799
  3: 801 4: 838
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode;
  SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
  mitigation: Full generic retpoline, STIBP: disabled, RSB filling
  Type: srbds status: Vulnerable: No microcode
  Type: tsx_async_abort status: Not affected
demo@mx1:~

Code:
demo@mx1:~
$ time inxi -Cay80
CPU:
  Topology: Dual Core model: Intel Core i7-4500U bits: 64 type: MT MCP
  family: 6 model-id: 45 (69) stepping: 1 microcode: 17 L2 cache: 4096 KiB
  Speed: 898 MHz min/max: 800/3000 MHz Core speeds (MHz): 1: 898 2: 932 3: 925
  4: 912
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds
  status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
  mitigation: Full generic retpoline, STIBP: disabled, RSB filling
  Type: srbds status: Vulnerable: No microcode
  Type: tsx_async_abort status: Not affected

real    0m0.559s
user    0m0.144s
sys    0m0.029s
demo@mx1:~

Code:
demo@mx1:~
$ time pinxi -Ca
CPU:
  Info: model: Intel Core i7-4500U bits: 64 type: MT MCP arch: Haswell
  family: 6 model-id: 45 (69) stepping: 1 microcode: 17 bogomips: 4788
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 cache: L1: 128 KiB
  desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 4 MiB
  desc: 1x4 MiB
  Speed (MHz): avg: 901 high: 1000 min/max: 800/3000 cores: 1: 1000 2: 833
  3: 879 4: 895
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode;
  SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
  mitigation: Full generic retpoline, STIBP: disabled, RSB filling
  Type: srbds status: Vulnerable: No microcode
  Type: tsx_async_abort status: Not affected

real    0m0.625s
user    0m0.165s
sys    0m0.030s
demo@mx1:~
 
HP laptop. Sent --debug 22 also.

Code:
demo@mx1:~
$ pinxi -MCa
Machine:
  Type: Laptop System: Hewlett-Packard product: HP Pavilion 11 x360 PC
  v: 0975100002405F00010420180 serial: <superuser required> Chassis:
  type: 10 serial: <superuser required>
  Mobo: Hewlett-Packard model: 2209 v: 57.57 serial: <superuser required>
  UEFI: Insyde v: F.30 date: 03/13/2018
CPU:
  Info: model: Intel Pentium N3540 bits: 64 type: MCP arch: Silvermont
  family: 6 model-id: 37 (55) stepping: 8 microcode: 838 bogomips: 4333
  Topology: cpus: 1x cores: 4 cache: L1: 224 KiB
  desc: d-4x24 KiB; i-4x32 KiB L2: 2 MiB desc: 2x1024 KiB
  Speed (MHz): avg: 1093 high: 2668 min/max: 500/2666 cores: 1: 686 2: 520
  3: 2668 4: 500
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds
  status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass status: Not affected
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
  IBRS_FW, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
demo@mx1:~

Code:
demo@mx1:~
$ time inxi -Cay80
CPU:
  Topology: Quad Core model: Intel Pentium N3540 bits: 64 type: MCP family: 6
  model-id: 37 (55) stepping: 8 microcode: 838 L2 cache: 1024 KiB
  Speed: 662 MHz min/max: 500/2666 MHz Core speeds (MHz): 1: 1316 2: 2298
  3: 1089 4: 1051
  Vulnerabilities: Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds
  status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass status: Not affected
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
  IBRS_FW, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected

real    0m1.020s
user    0m0.500s
sys    0m0.113s
demo@mx1:~

Code:
demo@mx1:~
$ time pinxi -Ca
CPU:
  Info: model: Intel Pentium N3540 bits: 64 type: MCP arch: Silvermont
  family: 6 model-id: 37 (55) stepping: 8 microcode: 838 bogomips: 4333
  Topology: cpus: 1x cores: 4 cache: L1: 224 KiB
  desc: d-4x24 KiB; i-4x32 KiB L2: 2 MiB desc: 2x1024 KiB
  Speed (MHz): avg: 764 high: 1153 min/max: 500/2666 cores: 1: 735 2: 1153
  3: 634 4: 536
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds
  status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass status: Not affected
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
  IBRS_FW, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected

real    0m1.124s
user    0m0.605s
sys    0m0.093s
demo@mx1:~
 
Is that fedora? re the missing module one? it's bad about removing required core modules, actually redhat is who is bad about it, fedora just follows redhat's lead. inxi in general does not use anything for standard operations that is not in perl core modules.
 
Yes, it was Fedora 35 on a couple of different computers.

Checking with 'pinxi --recommends' showed this to be the missing item: /etc/lsb-release

Here is the full output:
Code:
[stan@fedora ~]$ pinxi --recommends
pinxi will now begin checking for the programs it needs to operate.

Check pinxi --help or the man page (man pinxi) to see what options are
available.
-----------------------------------------------------------------------------
Test: core tools:

Perl version:  5.034000
Current shell:
Default shell: bash
sh links to: /usr/bin/bash
Package manager: rpm
-----------------------------------------------------------------------------
Test: required system directories:
 
/proc: .......................................................... Present
/sys: ........................................................... Present
 
All required system directories are present
-----------------------------------------------------------------------------
Test: recommended system programs:
 
Note: IPMI sensors are generally only found on servers. To access that data,
you only need one of the ipmi items.
 
blockdev: --admin -p/-P (filesystem blocksize)................... Present
bt-adapter: -E bluetooth data (if no hciconfig).................. Present
dig: -i wlan IP.................................................. Present
dmidecode: -M if no sys machine data; -m......................... Present
doas: -Dx hddtemp-user; -o file-user (alt for sudo).............. Missing
fdisk: -D partition scheme (fallback)............................ Present
file: -o unmounted file system (if no lsblk)..................... Present
hciconfig: -E bluetooth data (deprecated, good report)........... Missing
hddtemp: -Dx show hdd temp, if no drivetemp module............... Present
ifconfig: -i ip LAN (deprecated)................................. Present
ip: -i ip LAN.................................................... Present
ipmitool: -s IPMI sensors (servers).............................. Present
ipmi-sensors: -s IPMI sensors (servers).......................... Present
lsblk: -L LUKS/bcache; -o unmounted file system (best option).... Present
lsusb: -A usb audio; -J (optional); -N usb networking............ Present
lvs: -L LVM data................................................. Present
mdadm: -Ra advanced mdraid data.................................. Present
modinfo: Ax; -Nx module version.................................. Present
runlevel: -I fallback to Perl.................................... Present
sensors: -s sensors output....................................... Present
smartctl: -Da advanced data...................................... Present
strings: -I sysvinit version..................................... Present
sudo: -Dx hddtemp-user; -o file-user (try doas!)................. Present
tree: --debugger 20,21 /sys tree................................. Present
upower: -sx attached device battery info......................... Present
uptime: -I uptime................................................ Present
 
The following recommended system programs are missing:
Program: doas ~ Install package: doas
Program: hciconfig ~ Install package: bluez-utils
-----------------------------------------------------------------------------
Test: recommended display information programs:
 
glxinfo: -G glx info............................................. Present
wmctrl: -S active window manager (fallback)...................... Present
xdpyinfo: -G multi screen resolution............................. Present
xprop: -S desktop data........................................... Present
xrandr: -G single screen resolution.............................. Present
 
All recommended display information programs are present
-----------------------------------------------------------------------------
Test: recommended downloader programs (You only need one of these):
 
Perl HTTP::Tiny is the default downloader tool if IO::Socket::SSL is present.
See --help --alt 40-44 options for how to override default downloader(s) in
case of issues.
 
If dig is installed, it is the default for WAN IP data. Strongly recommended.
Dig is fast and accurate.
 
curl: -i (if no dig); -w,-W; -U.................................. Present
dig: -i wlan IP.................................................. Present
wget: -i (if no dig); -w,-W; -U.................................. Present
 
All recommended downloader programs are present
-----------------------------------------------------------------------------
Test: recommended kernel modules:
 
GPU modules are only needed if applicable. NVMe drives do not need drivetemp
but other types do.
 
To load a module: modprobe <module-name> - To permanently load add to
/etc/modules or /etc/modules-load.d/modules.conf (check your system paths for
exact file/directory names).
 
amdgpu: -s AMD GPU sensor data (newer AMD GPUs).................. Present
drivetemp: -Dx drive temperature (kernel >= 5.6)................. Missing
nouveau: -s Nvidia GPU sensor data (if using free driver)........ Missing
 
The following recommended kernel modules are missing:
Kernel Module: drivetemp
Kernel Module: nouveau
-----------------------------------------------------------------------------
Test: recommended Perl modules (Optional):
 
None of these are strictly required, but if you have them all, you can
eliminate some recommended non Perl programs from the install.
 
HTTP::Tiny and IO::Socket::SSL must both be present to use as a downloader
option. For json export Cpanel::JSON::XS is preferred over JSON::XS. To run
--debug 20-22 File::Copy, File::Find, and File::Spec::Functions must be
present (most distros have these in Core Modules).
 
File::Copy: --debug 20-22 - required to run debugger............. Missing
File::Find: --debug 20-22 - required to run debugger............. Present
File::Spec::Functions: --debug 20-22 - required to run debugger.. Present
HTTP::Tiny: -U; -w,-W; -i (if dig not installed)................. Present
IO::Socket::SSL: -U; -w,-W; -i (if dig not installed)............ Present
Time::HiRes: -C cpu sleep (not required); --debug timers......... Missing
Cpanel::JSON::XS: --output json - required for export............ Present
JSON::XS: --output json - required for export (legacy)........... Present
XML::Dumper: --output xml - Crude and raw........................ Present
Net::FTP: --debug 21,22.......................................... Present
 
The following recommended Perl modules are missing:
Perl Module: File::Copy ~ Install package: perl-File-Copy
Perl Module: Time::HiRes ~ Install package: perl-Time-HiRes
-----------------------------------------------------------------------------
Test: recommended directories:
 
/dev: -l,-u,-o,-p,-P,-D disk partition data...................... Present
/dev/disk/by-id: -D serial numbers............................... Present
/dev/disk/by-label: -l,-o,-p,-P partition labels................. Present
/dev/disk/by-path: -D extra data................................. Missing
/dev/disk/by-uuid: -u,-o,-p,-P partition uuid.................... Present
/sys/class/dmi/id: -M system, motherboard, bios.................. Present
 
The following recommended directories are missing:
Directory: /dev/disk/by-path
-----------------------------------------------------------------------------
Test: recommended files:
 
Note that not all of these are used by every system, so if one is missing
it's usually not a big deal.
 
/etc/lsb-release: -S distro version data (older version)......... Missing
/etc/os-release: -S distro version data (newer version).......... Present
/proc/asound/cards: -A sound card data........................... Present
/proc/asound/version: -A ALSA data............................... Present
/proc/cpuinfo: -C cpu data....................................... Present
/proc/mdstat: -R mdraid data (if you use dm-raid)................ Present
/proc/meminfo: -I,-tm, -m memory data............................ Present
/proc/modules: -G module data (sometimes)........................ Present
/proc/mounts: -P,-p partition advanced data...................... Present
/proc/scsi/scsi: -D Advanced hard disk data (used rarely)........ Present
/var/log/Xorg.0.log: -G graphics driver load status.............. Present
 
The following recommended files are missing:
File: /etc/lsb-release
-----------------------------------------------------------------------------
Ok, all done with the checks. Have a nice day.
 
[stan@fedora ~]$
 
Last edited:
Brand-spanking new install of Fedora 35 still gives Error 80 on the debugger (with latest pinxi patch 32).

I thought I may have deleted the Perl modules when uninstalling other Fedora apps, but it seems that I didn't. :)
 
No, lsb stuff is just alternate, that's irrelevant.

I'm familiar with this annoying issue, redhat/fedora made the decision to remove several core modules from perl core modules. Note that the entire idea of 'core modules' in perl is specifically to always have them there and available, yet redhat decided to remove them anyway, and make them separately installed. This is why module tests for those core modules had to be added when the debugger starts, since those core modules are only used in the debugger, so no need to load them normally. The Perl guys will correctly say to file a bug report against the distro, but of course, the distro being the redhat corporation, that's not going to help.

While obviously I, and the Perl guys, wish distros would not do stuff like this, redhat doesn't care, and did, and that's the end of that story. However, pinxi on failure told you the module that failed to load, and that's installable using the fedora package manager.

Not a fan of breaking stuff like this by redhat/fedora, and whoever owns redhat now, is it IBM? I forget. Anyway, their owners don't care, so that's how it goes. Note that I said redhat made this decision, not fedora, that's because it's absurd to pretend that fedora has any autonomy at all.

So pinxi added error handlers to make sure the modules that should have always been there on all perl installs were actually there. Had to do that for another core module too, which I have zero idea of why redhat moved, since it's kind of critical for debugging, but again, who knows what they are thinking and why they do what they do, I certainly don't.
 
Yes, IBM owns Red Hat.

I've turned to Fedora for now on my new Dell and also on these cheap Lenovo laptops I bought last year. Whether it is the NVMe and eMMC storage drives, or something else... I don't know. But I've had a devil of a time making anything Debian/Ubuntu derived to run reliably (or at all).

Still other toys to play with though! ;)
 
Last edited:
thanks for the help.

Thank you! We use inxi here a great deal. If I had to guess, I'd say it's applicable information in at least half of our support threads.
 

Members online


Top