LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-29-2021, 12:55 AM   #76
bw42
Member
 
Registered: Feb 2011
Distribution: Slackware
Posts: 65

Rep: Reputation: 51

RISC-V board is showing a lot more with the update.

Code:
Machine:
  Type: RISCV
  System: SiFive HiFive Unmatched
    details: N/A
    serial: <filter>

CPU:
  Info: Quad Core
    model: N/A
    variant-1: bullet0
    variant-2: u74-mc
    bits: 64
    type: MCP
    arch: riscv64
    family: N/A
    model-id: N/A
    cache:
      L1: 256 KiB
        desc: d-4x32 KiB; i-4x32 KiB
      L2: 2 MiB
        desc: 1x2 MiB
    bogomips: N/A
  Speed: N/A
    min/max: N/A
    cores: No per core speed data found.
  Features: N/A
  Vulnerabilities: No CPU vulnerability/bugs data available.

Sensors:
  System Temperatures:
    cpu: 42.2 C
    mobo: 37.1 C
  Fan Speeds (RPM): N/A
 
Old 11-29-2021, 03:07 AM   #77
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
A few things, I added these in order of coming across the posters, each one starts with the poster name.

There are some issues with cache on some systems, I've noted the tests that might help pinpoint the issue so it can be resolved, if it can be resolved.

Make sure to update pinxi like so: pinxi -U
before testing again, there are many fixes added today.

Massive response, this took a while to get through, many thanks to all. Still some things failing however, so if you can, scan the list for your name and see if more data is required, thanks.

-----------------------------------------
volkerdi, thanks for checking, all the CPU data appears correct.
https://www.cpu-world.com/CPUs/K10/A...ZFBGRBOX).html

Thanks for all the work you've done for Free Software and Linux over the decades.

-----------------------------------------

truepatriot76, a zen 3, nice, one reason for these fixes, besides alder lake, is zen 4 or 5 may have more complex structures, like split L3 cache, still 1 L3 here though I see.

-----------------------------------------

willysr, looks good, caches being handled correctly, boosts, etc, all look good.

-----------------------------------------

JayByrd, I think that maybe there is no /sys cache data available, that's odd, I thought cache was one of the earliest things to be added to the /sys cpu data. But that is coming from I believe cpuid, and maybe the data isn't in the expected format.

Can you check if:
Code:
ls /sys/devices/system/cpu/cpu*/cache
contains anything, I wonder if they changed the paths on these early cpus?

The Info: Single Core model: Intel Celeron system also seems to have similar issues getting the L1 cache correctly. Can you see on that one too if:

Code:
for i in $(ls /sys/devices/system/cpu/{cpu*/topology,cpu*/cpufreq,cpu*/cache/index*,smt}/*);do echo -n "$i::";cat $i;done > cpu-sys.txt
cat /proc/cpuinfo > cpuinfo.txt
gives a better explanation of the L1 cache failures? And checking:
Code:
ls /sys/devices/system/cpu/cpu*/cache
AMD A8-4555M APU with Radeon HD Graphics looks good.

Intel Pentium D you found a bug, pinxi forgot to test if the i and d caches actually exist, that's where the empty value and the error came from, this one only has L1 Data cache, not instruction as well. Good find, that was just sloppy on my part, I assumed if one was there, both would be.

https://www.cpu-world.com/CPUs/Penti...PE2666FN).html
Level 1 cache size ? 2 x 16 KB 8-way set associative data caches
Level 2 cache size ? 2 x 1 MB 8-way set associative caches

model: Intel Xeon 5160
https://www.cpu-world.com/CPUs/Xeon/...5565160P).html
looks good.

-----------------------------------------

drgibbon, it looks like

Code:
CPU:                                                                                                                                                                  [3/257]
  Info: Quad Core                                                                                                                                                            
    model: Intel Core i7-8565U                                                                                                                                               
    bits: 64                                                                                                                                                                 
    type: MT MCP
    arch: Kaby Lake
      note: check
    family: 6
    model-id: 8E (142)
    stepping: C (12)
    microcode: EA
    L2 cache: 8 MiB
Is failing to get any cache data, and using the fallback from cpuinfo, which is the L3.

I'd like to see what's going on here, I suspect there is a syntax variant for the cache path.

Code:
for i in $(ls /sys/devices/system/cpu/{cpu*/topology,cpu*/cpufreq,cpu*/cache/index*,smt}/*);do echo -n "$i::";cat $i;done > cpu-sys.txt
cat /proc/cpuinfo > cpuinfo.txt
See if that shows any cache data, if not:

Code:
ls /sys/devices/system/cpu/cpu*/cache
so we can see what's going on, almost certainly a syntax variant I think.

-----------------------------------------

chrisretusn: 42
https://www.linuxquestions.org/quest...ml#post6304845

Code:
Cpinxi -Cazy
CPU:
  Info: Quad Core model: AMD Phenom II X4 840 socket: M2 bits: 64 type: MCP
  arch: K10 family: 10 (16) model-id: 5 stepping: 3 microcode: 10000C8 cache:
  L1: 512 KiB desc: d-4x64 KiB; i-4x64 KiB L2: 2 MiB desc: 4x512 KiB
  L3: 512 KiB
Defininitely some type of syntax error, checking raw data logs for this cpu, but I can't find any syntax variants.

Code:
for i in $(ls /sys/devices/system/cpu/{cpu*/topology,cpu*/cpufreq,cpu*/cache/index*,smt}/*);do echo -n "$i::";cat $i;done > cpu-sys.txt
cat /proc/cpuinfo > cpuinfo.txt
might help show the issues there too.

-----------------------------------------

MDKDIO, that's inxi, not pinxi, but that Mobo: ASUSTeK model: PRIME B450-PLUS system should be fine anyway.

The intel I'd like to see a pinxi -Cay1 for to see if that's right:

Code:
CPU:
  Info: Dual Core model: Intel U4100
-----------------------------------------

z80, interesting Epyc, pi looks right. You can actually see how much you have been assigned on the Epyc vm, 4 of the cores, with their L1 and L2, so that is working as hoped, that's nice.

Re the MT (Multithreaded) Intel Core i7 870, yes, that's correct, 4 physical cores running 8 threads, which appear to the system as 8 cores.

https://www.cpu-world.com/CPUs/Core_...605I7870).html
The number of CPU cores 4
The number of threads 8
Floating Point Unit Integrated
Level 1 cache size ? 4 x 32 KB 4-way set associative instruction caches
4 x 32 KB 8-way set associative data caches
Level 2 cache size ? 4 x 256 KB 8-way set associative caches
Level 3 cache size 8 MB 16-way set associative shared cache

-----------------------------------------

aus9, long time no see, thanks! However, that's inxi, not pinxi. Should not be much difference, I don't see ryzen presenting any issues how ever.

-----------------------------------------

GazL, yeah, I agree, it would be better to add a line break there. Vulnerabilities:

I'd initially not wanted to do that to save lines, but it is awkward to read the way it is now.

pinxi 3.3.09-15 has that change.

-----------------------------------------

fskmh, Info: Dual Core model: AMD Athlon 64 X2 3800+, AMD Athlon II Neo N36L look good, thanks.

Info: 2x 64-Core model: AMD EPYC 7742, AMD EPYC 7502P, AMD Ryzen 9 5950X, Intel Core i7-6700 also look good.

Intel Core2 Quad Q6600, I was hoping to see one of these, great, that one looks good.
https://www.cpu-world.com/CPUs/Core_...562Q6600).html

-----------------------------------------

OldHolborn, glad you like it, all distros are helpful and welcome.

The old way was actually just some hacks and oddities based on how cache reporting had been done over years in /proc/cpuinfo, that got increasingly random, sometimes some cpus, like amd, report L2 there, but others, like intel, started reporting L3, but not L2 totals, under the 'cache:', I can't understand at all what they were doing or why, and it wasn't fixable, that's why this refactor had to happen.

If you run inxi as root, and you have dmidecode installed, it will use dmidecode values, which tend to be reasonably right, but not granular, just the totals per cpu for L1, L2, and L3. pinxi should be both right and granular, and doesn't need root or dmidecode for this data, at least not once I get a few cache location detection bugs worked out as seen in the above.

Code:
L2: 16 MiB
That's one of several bugs that were not fixable without this refactor, that's actually the L3, not the L2.

Code:
CPU:
  Info: 8-Core model: AMD FX-8350 socket: AM3 bits: 64 type: MCP
  arch: Bulldozer family: 15 (21) model-id: 2 stepping: 0 microcode: 6000852
  cache: L1: 384 KiB desc: d-8x16 KiB; i-4x64 KiB L2: 8 MiB desc: 4x2 MiB
  L3: 8 MiB desc: 1x8 MiB
https://www.cpu-world.com/CPUs/Bulld...20FX-8350.html
Level 1 cache size ? 4 x 64 KB 2-way set associative shared instruction caches
8 x 16 KB 4-way set associative data caches
Level 2 cache size ? 4 x 2 MB 16-way set associative shared exclusive caches
Level 3 cache size 8 MB 64-way set associative shared cache

Note that the incorrect arch: has been corrected in current pinx, it's actually Piledriver.

This cpu was a good example of one inxi was totally incabable of getting right, and also appears to be wrong in dmidecode, which is interesting,

The 2x is very recent, I think that was part of the first partial fix in inxi 3.3.09, but it wasn't a reliable method, and often could get cache wrong since it didn't know how many of each cache type the cpu had, just the size of each of them.

AMD Athlon 64 X2 4600+ looks good. AMD Phenom 9950 looks good.

https://www.cpu-world.com/CPUs/K8/AM...600BVBOX).html

Thanks, no worries, you aren't spamming, this is exactly what I needed to see.

-----------------------------------------

allend, looks like pinxi got the architecture wrong, arch: Nehalem, shouild have been Westmere. Might be intel using either, but I'm assuming it was an oversight in inxi, a small bug. That's corrected in pinxi 3.3.09-16

Otherwise Intel Core i3 M 350 looks good.

Intel Core2 6300 is a good example of the Intel CPUs that inxi was not going to get right without this refactor.

-----------------------------------------

FTIO, thanks, everything is helpful and appreciated. Except that's inxi, not pinxi. Ryzen however tends to be right, so that's not a big deal.

-----------------------------------------

baumei, inxi will not only run fine in slackware 1.4.2, it should run fine in Slackware-9.0, although I've found there were some bugs in super early Perl 5.008, 9.0 shipped with 5.8.0, but inxi basically is designed to run on anything with 5.008 or newer Perl. Me and a few other people will test on very old installs now and then to make sure it all still works.

I test in vm with Debian 3.1 and 4.0, and on real hardware with Debian 5.0, that's a 1998 laptop with Pentium MMX, runs slow, of course, but it runs fine.

However, you also tested with inxi, which isn't as helpful as pinxi since pinxi has all the fixes being tested, inxi will just show the old unfixed logic, which is sometimes right, and sometimes wrong. The goal here is to see if the fixes are working in pinx, which is next inxi.

"According to my understanding, this processor has two cores and each core has two threads. In the output above I see the speeds of the four threads are not all the same. Is it really possible for two threads on a particular core to run at different speeds?"

I don't know the ins and outs of how threads work re speeds

Code:
Speed (MHz): avg: 2627 high: 3900 min/max: 1550/3400 boost: enabled cores:
1: 2875 2: 3900 3: 3860 4: 2596 5: 1458 6: 3871 7: 2216 8: 1373 9: 2513
10: 1375 11: 1597 12: 3890
Those speeds are grabbed and read almost instantly, though there is a small tiny delay between the reads of each speed file since they are sequential and run in a loop to read the speeds, but that loop is incredibly fast, I could actually time it to see how long it takes,though the logging of it probably takes longer than the reading of it by several factors I'd guess since inxi logs to a file when it's debugging itself. I don't know how fast the cpus actually adjust their speeds, but all the debugger actions that run to see these types of speeds are themselves generating cpu use so it's not very accurate. I have a Perl debugger I could use that I think watches mroe from the outside of the program, but that also is using cpu cycles to run, so I don't know how I could get that information accurately, sort of the problem of watching changing the behavior of the watched.

https://www.cpu-world.com/CPUs/Atom/...m%20N2600.html
Level 1 cache size ? 2 x 32 KB 4-way set associative instruction caches
2 x 24 KB 6-way set associative data caches
Level 2 cache size ? 2 x 512 KB 8-way set associative caches

-----------------------------------------

Paulo2, Intel 585 looks good.
and: model: AMD FX-8320E looks good
thanks

"I tried to run inxi/pinxi in an old Pentium 233 but it seems dmidecode didn't find BIOS information.
It was running a severe crippled Slackware 14.1 install due to the 3GB IDE hard drive."

You don't need dmidecode for much data in inxi/pinxi, old hardware I think doesn't have the right dmi table data, or doesn't have it at all, no smbios, but it should run just fine, although very slowly, on a 233 MHz, I run it on a 200 MHz and it runs fine, takes a while to start printing out data, but it does it fine. I do try to optimize the code, which helps, but inxi keeps growing, adding code to handle odd circumstances and bugs and new features, but overall it keeps running ok on that very old hardware.

-----------------------------------------

marav, looks good, thanks

-----------------------------------------

bw42, your PowerPC and RISCV systems exposed a lot of things that really needed improving, many are now running, the overall general RISC support is now much cleaner and better integrated, instead of random tests for arm or mips or whatever, now the tests are usually for risc in general, and for variants when it matters, this is much easier to maintain and keep solid.

The riscv was unexpected, but should show more than it did before, but I have to take a look at its dataset more closely to see what is there to get, there were a a lot of things it probably could have gotten if I had all the switches done the way they are now in pinxi, so you may get more out of it, but you may also get some new bugs, it will depend, that type of device tree data is very tricky and convoluted to work with, sometimes new platforms or devices 'just work', other times they take a lot of debugging.

-----------------------------------------

Last edited by h2-1; 11-29-2021 at 03:36 AM.
 
1 members found this post helpful.
Old 11-29-2021, 03:56 AM   #78
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
Quote:
Originally Posted by h2-1 View Post
drgibbon, it looks like

Code:
CPU:                                                                                                                                                                  [3/257]
  Info: Quad Core                                                                                                                                                            
    model: Intel Core i7-8565U                                                                                                                                               
    bits: 64                                                                                                                                                                 
    type: MT MCP
    arch: Kaby Lake
      note: check
    family: 6
    model-id: 8E (142)
    stepping: C (12)
    microcode: EA
    L2 cache: 8 MiB
Is failing to get any cache data, and using the fallback from cpuinfo, which is the L3.

I'd like to see what's going on here, I suspect there is a syntax variant for the cache path.

Code:
for i in $(ls /sys/devices/system/cpu/{cpu*/topology,cpu*/cpufreq,cpu*/cache/index*,smt}/*);do echo -n "$i::";cat $i;done > cpu-sys.txt
cat /proc/cpuinfo > cpuinfo.txt
See if that shows any cache data, if not:

Code:
ls /sys/devices/system/cpu/cpu*/cache
so we can see what's going on, almost certainly a syntax variant I think.
I'm not very familiar with all these details, so I've just put all the output here.
 
Old 11-29-2021, 04:46 AM   #79
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
Quote:
Originally Posted by h2-1 View Post
mlangdn, missing the pinxi, but that was another good one, the bulldozer id was wrong, it's piledriver, that was a bug in inxi, so good one.
Here it is - got in a hurry....

Code:
 ./pinxi -MCazy1
Machine:
  Type: Desktop
  Mobo: MSI
    model: 760GMA-P34(FX) (MS-7641)
    v: 5.0
    serial: <superuser required>
  BIOS: American Megatrends
    v: 25.1
    date: 04/20/2015

CPU:
  Info: 6-Core
    model: AMD FX-6300
    bits: 64
    type: MCP
    arch: Piledriver
    family: 15 (21)
    model-id: 2
    stepping: 0
    microcode: 600081C
    cache:
      L1: 288 KiB
        desc: d-6x16 KiB; i-3x64 KiB
      L2: 6 MiB
        desc: 3x2 MiB
      L3: 8 MiB
        desc: 1x8 MiB
    flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
    bogomips: 6999
  Speed (MHz):
    avg: 1671
    high: 2320
    min/max: 1400/3500
    boost: enabled
    cores:
      1: 1399
      2: 1396
      3: 2320
      4: 2117
      5: 1399
      6: 1399
  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, STIBP: disabled, RSB filling
    Type: srbds
      status: Not affected
    Type: tsx_async_abort
      status: Not affected

Last edited by mlangdn; 11-29-2021 at 04:48 AM.
 
Old 11-29-2021, 05:27 AM   #80
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
yikes sorry for posting wrong one
fresh download just now

try this
Code:
pinxi -MCazy1
Machine:
  Type: Desktop
  Mobo: Micro-Star
    model: B450 GAMING PLUS MAX (MS-7B86)
    v: 3.0
    serial: <superuser required>
  BIOS: American Megatrends LLC.
    v: H.C0
    date: 05/17/2021

CPU:
  Info: Quad Core
    model: AMD Ryzen 3 3200G with Radeon Vega Graphics
    bits: 64
    type: MCP
    arch: Zen
    family: 17 (23)
    model-id: 18 (24)
    stepping: 1
    microcode: 8108109
    cache:
      L1: 384 KiB
        desc: d-4x32 KiB; i-4x64 KiB
      L2: 2 MiB
        desc: 4x512 KiB
      L3: 4 MiB
        desc: 1x4 MiB
    flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
    bogomips: 7186
  Speed (MHz):
    avg: 1587
    high: 2648
    min/max: 1400/3600
    boost: enabled
    cores:
      1: 1247
      2: 2648
      3: 1229
      4: 1227
  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
    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
Interesting to see that bios update date showing....thanks

Last edited by aus9; 11-29-2021 at 05:31 AM.
 
Old 11-29-2021, 07:31 AM   #81
Eeel
Member
 
Registered: Feb 2012
Location: EU
Distribution: Slackware 15 and current
Posts: 94

Rep: Reputation: Disabled
Three computers running latest Slackware current

Code:
# inxi -MCazy
Machine:
  Type: Laptop System: LENOVO product: 20HES18R2A v: ThinkPad T470
  serial: <filter> Chassis: type: 10 serial: <filter>
  Mobo: LENOVO model: 20HES18R2A v: SDK0J40697 WIN serial: <filter>
  UEFI: LENOVO v: N1QET87W (1.62 ) date: 02/27/2020
CPU:
  Info: Dual Core model: Intel Core i5-7300U socket: BGA1356 (U3E1)
  note: check bits: 64 type: MT MCP arch: Amber/Kaby Lake note: check
  family: 6 model-id: 8E (142) stepping: 9 microcode: CA cache: L1: 128 KiB
  L2: 512 KiB L3: 3 MiB
  flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  bogomips: 21599
  Speed: 3502 MHz min/max: 400/3500 MHz base/boost: 2600/2700 volts: 1.1 V
  ext-clock: 100 MHz Core speeds (MHz): 1: 3502 2: 3483 3: 3500 4: 3500
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  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 generic retpoline, IBPB: conditional,
  IBRS_FW, STIBP: conditional, RSB filling
  Type: srbds status: Vulnerable: No microcode
  Type: tsx_async_abort mitigation: Clear CPU buffers; SMT vulnerable
# pinxi -MCazy1
Machine:
  Type: Laptop
  System: LENOVO
    product: 20HES18R2A
    v: ThinkPad T470
    serial: <filter>
  Chassis:
    type: 10
    serial: <filter>
  Mobo: LENOVO
    model: 20HES18R2A
    v: SDK0J40697 WIN
    serial: <filter>
  UEFI: LENOVO
    v: N1QET87W (1.62 )
    date: 02/27/2020

CPU:
  Info: Dual Core
    model: Intel Core i5-7300U
    socket: BGA1356 (U3E1)
      note: check
    bits: 64
    type: MT MCP
    arch: Amber/Kaby Lake
      note: check
    family: 6
    model-id: 8E (142)
    stepping: 9
    microcode: CA
    cache:
      L1: 128 KiB
        desc: d-2x32 KiB; i-2x32 KiB
      L2: 512 KiB
        desc: 2x256 KiB
      L3: 3 MiB
        desc: 1x3 MiB
    flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
    bogomips: 5399
  Speed (MHz):
    avg: 3425
    high: 3501
    min/max: 400/3500
    base/boost: 2600/2700
    volts: 1.1 V
    ext-clock: 100 MHz
    cores:
      1: 3500
      2: 3201
      3: 3501
      4: 3501
  Vulnerabilities:
    Type: itlb_multihit
      status: KVM: VMX disabled
    Type: l1tf
      mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
    Type: mds
      mitigation: Clear CPU buffers; SMT vulnerable
    Type: meltdown
      mitigation: PTI
    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 generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling
    Type: srbds
      status: Vulnerable: No microcode
    Type: tsx_async_abort
      mitigation: Clear CPU buffers; SMT vulnerable

Code:
# inxi -MCazy
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME H370M-PLUS v: Rev 1.xx
  serial: <filter> UEFI-[Legacy]: American Megatrends v: 1901 date: 02/20/2020
CPU:
  Info: 6-Core model: Intel Core i5-9400 socket: LGA1151 bits: 64 type: MCP
  arch: Kaby Lake note: check family: 6 model-id: 9E (158) stepping: D (13)
  microcode: CC cache: L1: 384 KiB L2: 1.5 MiB L3: 9 MiB
  flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  bogomips: 34798
  Speed: 4002 MHz min/max: 800/4100 MHz base/boost: 2871/8300 volts: 0.9 V
  ext-clock: 100 MHz Core speeds (MHz): 1: 4002 2: 3999 3: 4041 4: 4094
  5: 4007 6: 4029
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX unsupported
  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 mitigation: TSX disabled
  Type: tsx_async_abort status: Not affected
# pinxi -MCazy1
Machine:
  Type: Desktop
  Mobo: ASUSTeK
    model: PRIME H370M-PLUS
    v: Rev 1.xx
    serial: <filter>
  UEFI-[Legacy]: American Megatrends
    v: 1901
    date: 02/20/2020

CPU:
  Info: 6-Core
    model: Intel Core i5-9400
    socket: LGA1151
    bits: 64
    type: MCP
    arch: Coffee Lake
    family: 6
    model-id: 9E (158)
    stepping: D (13)
    microcode: CC
    cache:
      L1: 384 KiB
        desc: d-6x32 KiB; i-6x32 KiB
      L2: 1.5 MiB
        desc: 6x256 KiB
      L3: 9 MiB
        desc: 1x9 MiB
    flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
    bogomips: 5799
  Speed (MHz):
    avg: 3800
    high: 4001
    min/max: 800/4100
    base/boost: 2871/8300
    volts: 0.9 V
    ext-clock: 100 MHz
    cores:
      1: 4001
      2: 2995
      3: 3928
      4: 3991
      5: 3890
      6: 3999
  Vulnerabilities:
    Type: itlb_multihit
      status: KVM: VMX unsupported
    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
      mitigation: TSX disabled
    Type: tsx_async_abort
      status: Not affected
Code:
# inxi -MCazy
Machine:
  Type: Desktop Mobo: Intel model: DH67CF v: AAG10215-204 serial: <filter>
  BIOS: Intel v: BLH6710H.86A.0105.2011.0301.1654 date: 03/01/2011
CPU:
  Info: Quad Core model: Intel Core i5-2320 socket: BGA1155 (SKTH) note: check
  bits: 64 type: MCP arch: Sandy Bridge family: 6 model-id: 2A (42)
  stepping: 7 microcode: 14 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  bogomips: 23946
  Speed: 1757 MHz min/max: 1600/3300 MHz base/boost: 3000/4000 volts: 1.7 V
  ext-clock: 100 MHz Core speeds (MHz): 1: 2079 2: 2911 3: 2565 4: 2661
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
  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
# pinxi -MCazy1
Machine:
  Type: Desktop
  Mobo: Intel
    model: DH67CF
    v: AAG10215-204
    serial: <filter>
  BIOS: Intel
    v: BLH6710H.86A.0105.2011.0301.1654
    date: 03/01/2011

CPU:
  Info: Quad Core
    model: Intel Core i5-2320
    socket: BGA1155 (SKTH)
      note: check
    bits: 64
    type: MCP
    arch: Sandy Bridge
    family: 6
    model-id: 2A (42)
    stepping: 7
    microcode: 14
    cache:
      L1: 256 KiB
        desc: d-4x32 KiB; i-4x32 KiB
      L2: 1024 KiB
        desc: 4x256 KiB
      L3: 6 MiB
        desc: 1x6 MiB
    flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
    bogomips: 5986
  Speed (MHz):
    avg: 1846
    high: 2063
    min/max: 1600/3300
    base/boost: 3000/4000
    volts: 1.7 V
    ext-clock: 100 MHz
    cores:
      1: 1762
      2: 1860
      3: 1699
      4: 2063
  Vulnerabilities:
    Type: itlb_multihit
      status: KVM: VMX disabled
    Type: l1tf
      mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
    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
 
Old 11-29-2021, 09:15 AM   #82
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Rep: Reputation: 187Reputation: 187
Quote:
Originally Posted by h2-1 View Post
MDKDIO, that's inxi, not pinxi, but that Mobo: ASUSTeK model: PRIME B450-PLUS system should be fine anyway.

The intel I'd like to see a pinxi -Cay1 for to see if that's right:

Code:
CPU:
  Info: Dual Core model: Intel U4100
Ok, no problem

My desktop: Only dif from previous run is newer kernel. Laptop1 will follow...

Code:
bash-5.1# pinxi -MCazy1
Machine:
  Type: Desktop
  Mobo: ASUSTeK
    model: PRIME B450-PLUS
    v: Rev X.0x
    serial: <filter>
  UEFI: American Megatrends
    v: 3211
    date: 08/10/2021

CPU:
  Info: 6-Core
    model: AMD Ryzen 5 3600
    socket: AM4
    bits: 64
    type: MT MCP
    arch: Zen 2
    family: 17 (23)
    model-id: 71 (113)
    stepping: 0
    microcode: 8701021
    cache:
      L1: 384 KiB
        desc: d-6x32 KiB; i-6x32 KiB
      L2: 3 MiB
        desc: 6x512 KiB
      L3: 32 MiB
        desc: 2x16 MiB
    flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
    bogomips: 7186
  Speed (MHz):
    avg: 2190
    high: 2777
    min/max: 2200/4208
    base/boost: 3600/4200
    boost: enabled
    volts: 1.1 V
    ext-clock: 100 MHz
    cores:
      1: 2063
      2: 1992
      3: 2108
      4: 2196
      5: 2195
      6: 2194
      7: 2064
      8: 2121
      9: 2777
      10: 2192
      11: 2195
      12: 2194
  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: conditional, RSB filling
    Type: srbds
      status: Not affected
    Type: tsx_async_abort
      status: Not affected
And the laptop1 (I see some info here I don't want to see...)

Code:
bash-5.1# pinxi -MCay1
Machine:
  Type: Laptop
  System: Hewlett-Packard
    product: HP Pavilion dm3 Notebook PC
    v: 0486110000241F00110320000
    serial: CNC0012K3D
  Chassis:
    type: 10
    serial: N/A
  Mobo: Hewlett-Packard
    model: 3649
    v: 41.3D
    serial: CNC0012K3D
  BIOS: Insyde
    v: F.19
    date: 11/16/2010

CPU:
  Info: Dual Core
    model: Intel U4100
    bits: 64
    type: MCP
    arch: Penryn
    family: 6
    model-id: 17 (23)
    stepping: A (10)
    microcode: A07
    cache:
      L1: 128 KiB
        desc: d-2x32 KiB; i-2x32 KiB
      L2: 2 MiB
        desc: 1x2 MiB
    flags: ht lm nx pae sse sse2 sse3 ssse3
    bogomips: 2593
  Speed (MHz):
    avg: 1203
    high: 1208
    min/max: 1200/1300
    base/boost: 1300/1300
    volts: 1.6 V
    ext-clock: 800 MHz
    cores:
      1: 1208
      2: 1199
  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

Last edited by MDKDIO; 11-29-2021 at 09:23 AM. Reason: Added the laptop1 info
 
Old 11-29-2021, 10:20 AM   #83
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,976

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by h2-1 View Post
chrisretusn: 42
https://www.linuxquestions.org/quest...ml#post6304845

Code:
Cpinxi -Cazy
CPU:
  Info: Quad Core model: AMD Phenom II X4 840 socket: M2 bits: 64 type: MCP
  arch: K10 family: 10 (16) model-id: 5 stepping: 3 microcode: 10000C8 cache:
  L1: 512 KiB desc: d-4x64 KiB; i-4x64 KiB L2: 2 MiB desc: 4x512 KiB
  L3: 512 KiB
Defininitely some type of syntax error, checking raw data logs for this cpu, but I can't find any syntax variants.

Code:
for i in $(ls /sys/devices/system/cpu/{cpu*/topology,cpu*/cpufreq,cpu*/cache/index*,smt}/*);do echo -n "$i::";cat $i;done > cpu-sys.txt
cat /proc/cpuinfo > cpuinfo.txt
Code:
~# for i in $(ls /sys/devices/system/cpu/{cpu*/topology,cpu*/cpufreq,cpu*/cache/index*,smt}/*);do echo -n "$i::";cat $i;done > cpu-sys.txt
cat /proc/cpuinfo > cpuinfo.txt
cat: '/sys/devices/system/cpu/cpu0/cpufreq/stats:': No such file or directory
cat: reset: No such file or directory
cat: time_in_state: No such file or directory
cat: total_trans: No such file or directory
cat: trans_table: No such file or directory
cat: '/sys/devices/system/cpu/cpu1/cpufreq/stats:': No such file or directory
cat: reset: No such file or directory
cat: time_in_state: No such file or directory
cat: total_trans: No such file or directory
cat: trans_table: No such file or directory
cat: '/sys/devices/system/cpu/cpu2/cpufreq/stats:': No such file or directory
cat: reset: No such file or directory
cat: time_in_state: No such file or directory
cat: total_trans: No such file or directory
cat: trans_table: No such file or directory
cat: '/sys/devices/system/cpu/cpu3/cpufreq/stats:': No such file or directory
cat: reset: No such file or directory
cat: time_in_state: No such file or directory
cat: total_trans: No such file or directory
cat: trans_table: No such file or directory

~# cat cpuinfo.txt 
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 5
model name      : AMD Phenom(tm) II X4 840 Processor
stepping        : 3
microcode       : 0x10000c8
cpu MHz         : 800.000
cache size      : 512 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate vmmcall npt lbrv svm_lock nrip_save
bugs            : tlb_mmatch fxsave_leak sysret_ss_attrs null_seg spectre_v1 spectre_v2
bogomips        : 6429.34
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 5
model name      : AMD Phenom(tm) II X4 840 Processor
stepping        : 3
microcode       : 0x10000c8
cpu MHz         : 800.000
cache size      : 512 KB
physical id     : 0
siblings        : 4
core id         : 1
cpu cores       : 4
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate vmmcall npt lbrv svm_lock nrip_save
bugs            : tlb_mmatch fxsave_leak sysret_ss_attrs null_seg spectre_v1 spectre_v2
bogomips        : 6429.34
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor       : 2
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 5
model name      : AMD Phenom(tm) II X4 840 Processor
stepping        : 3
microcode       : 0x10000c8
cpu MHz         : 800.000
cache size      : 512 KB
physical id     : 0
siblings        : 4
core id         : 2
cpu cores       : 4
apicid          : 2
initial apicid  : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate vmmcall npt lbrv svm_lock nrip_save
bugs            : tlb_mmatch fxsave_leak sysret_ss_attrs null_seg spectre_v1 spectre_v2
bogomips        : 6429.34
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor       : 3
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 5
model name      : AMD Phenom(tm) II X4 840 Processor
stepping        : 3
microcode       : 0x10000c8
cpu MHz         : 3200.000
cache size      : 512 KB
physical id     : 0
siblings        : 4
core id         : 3
cpu cores       : 4
apicid          : 3
initial apicid  : 3
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate vmmcall npt lbrv svm_lock nrip_save
bugs            : tlb_mmatch fxsave_leak sysret_ss_attrs null_seg spectre_v1 spectre_v2
bogomips        : 6429.34
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate
 
Old 11-29-2021, 12:18 PM   #84
JayByrd
Member
 
Registered: Aug 2021
Location: Seattle, WA
Distribution: Slackware
Posts: 300

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
Quote:
Originally Posted by h2-1 View Post
JayByrd, I think that maybe there is no /sys cache data available, that's odd, I thought cache was one of the earliest things to be added to the /sys cpu data. But that is coming from I believe cpuid, and maybe the data isn't in the expected format.
Can you check if:
Code:
ls /sys/devices/system/cpu/cpu*/cache
contains anything, I wonder if they changed the paths on these early cpus?
(I take it you mean the AMD K6-2.)
Code:
root@fax:/etc# ls /sys/devices/system/cpu/cpu*/cache
/bin/ls: cannot access '/sys/devices/system/cpu/cpu*/cache': No such file or directory

root@fax:/etc# ls /sys/devices/system/cpu/cpu*
/sys/devices/system/cpu/cpu0:
cpuidle/  driver@  firmware_node@  power/  subsystem@  topology/  uevent

/sys/devices/system/cpu/cpufreq:

/sys/devices/system/cpu/cpuidle:
current_driver  current_governor_ro
latest pinxi info for AMD K6-2:
Code:
miah@fax:~$ ./pinxi --version | grep ^pinxi
pinxi 3.3.09-16 (2021-11-27)
miah@fax:~$ ./pinxi -MCazy1                
Machine:
  Type: Unknown
  Mobo: ASUSTeK
    model: P5A-B
    v: REV 1.XX
    serial: <superuser required>
  BIOS: Award
    v: ASUS P5A-B Revision 1011 Beta 005
    date: 05/02/02

CPU:
  Info: Single Core
    model: AMD-K6 3D
    bits: 32
    type: UP
    arch: K6-2
    family: 5
    model-id: 8
    stepping: C (12)
    microcode: N/A
    cache:
      L2: 64 KiB
    flags: N/A
    bogomips: 570
  Speed: N/A
    min/max: N/A
    core: No per core speed data found.
  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 generic retpoline, STIBP: disabled, RSB filling
    Type: srbds
      status: Not affected
    Type: tsx_async_abort
      status: Not affected
Back in post #32 this one was showing 285 MHz.
--------------------------------------------------------------------------------
Quote:
Originally Posted by h2-1 View Post
Single Core model: Intel Celeron system also seems to have similar issues getting the L1 cache correctly. Can you see on that one too if:
Code:
for i in $(ls /sys/devices/system/cpu/{cpu*/topology,cpu*/cpufreq,cpu*/cache/index*,smt}/*);do echo -n "$i::";cat $i;done > cpu-sys.txt
cat /proc/cpuinfo > cpuinfo.txt
gives a better explanation of the L1 cache failures? And checking:
Code:
ls /sys/devices/system/cpu/cpu*/cache
Code:
root@BOINC2:/slackware# for i in $(ls /sys/devices/system/cpu/{cpu*/topology,cpu*/cpufreq,cpu*/cache/index*,smt}/*);do echo -n "$i::";cat $i;done
/bin/ls: cannot access '/sys/devices/system/cpu/cpu*/cpufreq/*': No such file or directory
/bin/ls: cannot access '/sys/devices/system/cpu/cpu*/cache/index*/*': No such file or directory
/bin/ls: cannot access '/sys/devices/system/cpu/smt/*': No such file or directory
/sys/devices/system/cpu/cpu0/topology/core_id::0
/sys/devices/system/cpu/cpu0/topology/core_siblings::1
/sys/devices/system/cpu/cpu0/topology/core_siblings_list::0
/sys/devices/system/cpu/cpu0/topology/physical_package_id::0
/sys/devices/system/cpu/cpu0/topology/thread_siblings::1
/sys/devices/system/cpu/cpu0/topology/thread_siblings_list::0

root@BOINC2:/slackware# ls /sys/devices/system/cpu/cpu*/cache
/bin/ls: cannot access '/sys/devices/system/cpu/cpu*/cache': No such file or directory

root@BOINC2:/slackware# ls /sys/devices/system/cpu/cpu*      
/sys/devices/system/cpu/cpu0:
driver@         microcode/  power/      thermal_throttle/  uevent
firmware_node@  node0@      subsystem@  topology/

/sys/devices/system/cpu/cpufreq:

/sys/devices/system/cpu/cpuidle:
current_driver  current_governor_ro
latest pinxi info for single-core Celeron:
Code:
mikebig@BOINC2:~$ ./pinxi --version | grep ^pinxi
pinxi 3.3.09-16 (2021-11-27)
mikebig@BOINC2:~$ ./pinxi -MCazy1                
Machine:
  Type: Unknown
  Mobo: Intel
    model: D865GBF
    v: AAC25843-409
    serial: <superuser required>
  BIOS: Intel
    v: BF86510A.86A.0077.P25.0508040031
    date: 08/04/2005

CPU:
  Info: Single Core
    model: Intel Celeron
    bits: 32
    type: MCP
    arch: Netburst Northwood
    family: F (15)
    model-id: 2
    stepping: 9
    microcode: 2E
    cache:
      L2: 128 KiB
    flags: ht pae sse sse2
    bogomips: 5187
  Speed: N/A
    min/max: N/A
    core: No per core speed data found.
  Vulnerabilities:
    Type: itlb_multihit
      status: Processor vulnerable
    Type: l1tf
      mitigation: PTE Inversion
    Type: mds
      status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
    Type: meltdown
      status: Vulnerable
    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
Earlier pinxi (patch 10) showed: "Speed (MHz): 2594 min/max: N/A core: 1: 2594".
--------------------------------------------------------------------------------
Quote:
Originally Posted by h2-1 View Post
AMD A8-4555M APU with Radeon HD Graphics looks good.
--------------------------------------------------------------------------------
Quote:
Originally Posted by h2-1 View Post
Intel Pentium D you found a bug, pinxi forgot to test if the i and d caches actually exist, that's where the empty value and the error came from, this one only has L1 Data cache, not instruction as well. Good find, that was just sloppy on my part, I assumed if one was there, both would be.
https://www.cpu-world.com/CPUs/Penti...PE2666FN).html
Level 1 cache size ? 2 x 16 KB 8-way set associative data caches
Level 2 cache size ? 2 x 1 MB 8-way set associative caches
latest pinxi info for dual-core Pentium_D:
Code:
steph@claire-pc:~/tmp$ ./pinxi --version | grep ^pinxi
pinxi 3.3.09-16 (2021-11-27)
steph@claire-pc:~/tmp$ ./pinxi -MCazy1                
Machine:
  Type: Desktop
  System: Dell
    product: Dell DM061
    v: N/A
    serial: <superuser required>
  Chassis:
    type: 6
    serial: <superuser required>
  Mobo: Dell
    model: 0WG864
    serial: <superuser required>
  BIOS: Dell
    v: 2.4.0
    date: 05/24/2007

CPU:
  Info: Dual Core
    model: Intel Pentium D
    bits: 64
    type: MCP
    arch: Netburst Smithfield
    family: F (15)
    model-id: 4
    stepping: 7
    microcode: 3
    cache:
      L1: 32 KiB
        desc: d-2x16 KiB
      L2: 2 MiB
        desc: 2x1024 KiB
    flags: ht lm nx pae sse sse2 sse3
    bogomips: 5585
  Speed: N/A
    min/max: N/A
    cores: No per core speed data found.
  Vulnerabilities:
    Type: itlb_multihit
      status: Processor vulnerable
    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
Patch 10 pinxi showed: "Speed (MHz):
avg: 2793
min/max: N/A
cores:
1: 2793
2: 2793"
--------------------------------------------------------------------------------
Quote:
Originally Posted by h2-1 View Post

Last edited by JayByrd; 11-29-2021 at 12:22 PM. Reason: remove extra white-space.
 
Old 11-29-2021, 04:57 PM   #85
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
I should have a fix for the broken legacy cpu speeds being N/A shortly, that was a break caused by fixing the missing speeds for arm/riscv systems.
 
1 members found this post helpful.
Old 11-29-2021, 05:04 PM   #86
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
pinxi 3.3.09-18 should have the broken legacy speeds fixed. I'll confirm that fix does not rebreak the riscv,arm core detections, it shouldn't.
 
1 members found this post helpful.
Old 11-29-2021, 05:56 PM   #87
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
@MDKDIO

A quick search for updated bios for your vulnerable intel has only a 2011 AFAIK
https://driverscollection.com/_44428...v.2.2.0.0-free

Quote:
Type: mds
status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
Type: meltdown
mitigation: PTI
Type: spec_store_bypass
status: Vulnerable
I am not sure if a slacker can run a liq* kernel from
https://liquorix.net/

But as I prev suggested....you can run an early loading microcode that might null those warnings.

I can give you help to set up symlinks to your latest kernel and initrd and use a grub2 40_custom file to test out early loading microcode
but I do not want to appear to be either some kind of security expert or harass you into something you do not understand

@h2-1
Do you agree that its worthwhile for this poster to test early loading microcode if there are no bios updates?
As I am polluting your thread....I can offer poster private messaging. Or he can start a new thread.

Last edited by aus9; 11-29-2021 at 06:02 PM.
 
Old 11-29-2021, 06:06 PM   #88
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
aus9, in this context, I can't stop to think about that one, I'm flooded with these reports, and am processing them as quick as possible, fixing bugs.

I think pm is probably best in this context if there is an actual issue you're aware of, some people care, some don't.
 
1 members found this post helpful.
Old 11-29-2021, 06:37 PM   #89
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 321

Rep: Reputation: 215Reputation: 215Reputation: 215
To save you from information overload, is there any hw below that you do or do not need to get a report on?

Code:
Mobo/Model      Distribution            CPU                                             Memory
----------      ------------            ---                                             ------
Asus ISA-486    Slackware 11 i486       486 (1)                                         7MiB / 29MiB
Premiere/PCI II Slackware 11 i586       Pentium 75 - 200 (1) @ 90MHz                    8MiB / 60MiB
NEC Versa Vxi   Slackware 14.2 i686     Celeron (Coppermine) (1) @ 548MHz               17MiB / 109MiB
Asus a7v133     Slackware 14.2 i686     AMD Duron (1) @ 857MHz                          23MiB / 235MiB
Asus a7v133     Slackware 14.2 i686     AMD Athlon XP 1800+ (1) @ 1.544GHz              34MiB / 361MiB
Dell Dim. 3000  Slackware 14.2 i686     Intel Pentium 4 2.80GHz (1) @ 2.793GHz          36MiB / 486MiB
HP DV6000       Slackware 15.0 x86_64   Intel Pentium Dual T2390 (2) @ 1.867GHz         1177MiB / 2976MiB
Asus K8V-X      Slackware 15.0 x86_64   AMD Athlon 64 3000+ (1) @ 2.000GHz              217MiB / 968MiB
Asus A8N-E      Slackware 15.0 x86_64   AMD Athlon 64 X2 Dual 3800+ (2) @ 2.000GHz      290MiB / 1985MiB
WPE-793         Slackware 15.0 x86_64   Intel Core 2 Duo E7400 (2) @ 2.800GHz           310MiB / 3909MiB
HP Pavilion G6  Slackware 15.0 x86_64   Intel i3 M 370 (4) @ 2.399GHz                   1383MiB / 1843MiB
Asus K53e       Slackware 15.0 x86_64   Intel i3-2310M (4) @ 2.100GHz                   352MiB / 7727MiB
Asus X200ma     Slackware 15.0 x86_64   Intel Pentium N3530 (4) @ 2.582GHz              324MiB / 3820MiB
Lenovo W510     Slackware 15.0 x86_64   Intel i7 Q 720 (8) @ 1.600GHz                   368MiB / 7881MiB
MSI Z77A-GD65   Slackware 15.0 x86_64   Intel i7-3770K (8) @ 3.900GHz                   418MiB / 11916MiB
 
Old 11-29-2021, 06:46 PM   #90
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
All the early ones, those are interesting, in theory inxi should run on all those, though the ram may be an issue, but should, just very slowly on 486. Depends more on kernel, 2.2 kernel didn't have a lot of data, pinxi/inxi will run on it, but will be missing a lot of data since methods changed significantly from 2.2 to 2.4. After 2.4 most of its recognizable to inxi internally if I remember right.

I just have to test some key failures above to find out what is missing, it's basically down to one central issue I think, some systems do not appear to have the /sys cpu cache data at all, which surprised me, I wasn't expecting that, my tests showed even early systems had that data, but it may be because in vm, the cpu data is from the host, so cpuid seems to not care what generation it is, just what the actual cpu returns as data, that's my current guess anyway.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pinxi/inxi huge BSD updates, testers? h2-1 *BSD 0 03-08-2021 11:54 PM
Testersfeedback for new pinxi/inxi feature -E/--bluetooth h2-1 Slackware 2 01-29-2021 06:53 PM
Huge inxi/pinxi upgrade, new features, Logical volumes, raid rewrite, beta testers? h2-1 Slackware 12 12-17-2020 05:04 PM
Beta testers for Perl inxi requested h2-1 Slackware 147 12-14-2020 09:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration