question on microcode version verification for leap 15.3/4 on a x64 bit cpu PC
I tried to run the command for TW on Leap but obviously ...that did not work. The command I did run was: /lib64/ld-linux-x86-64.so.2 --help One workaround would be to use life DVD with TW but .... if there is a command anybody is aware of in Leap, I am taker.
Stakanov composed on 2022-12-10 11:03 (UTC+0100):
I tried to run the command for TW on Leap but obviously ...that did not work.
The command I did run was:
/lib64/ld-linux-x86-64.so.2 --help
That presumes the command you wish to run exists in /lib64/....
One workaround would be to use life DVD with TW but .... if there is a command anybody is aware of in Leap, I am taker.
# inxi -SC System: Host: ab250 Kernel: 5.14.21-150500.34-default arch: x86_64 bits: 64 Console: pty pts/0 Distro: openSUSE Leap 15.5 Alpha CPU: Info: quad core model: Intel Core i5-7500T bits: 64 type: MCP cache: L2: 1024 KiB Speed (MHz): avg: 800 min/max: 800/3300 cores: 1: 800 2: 800 3: 800 4: 800 # /lib64/ld-linux-x86-64.so.2 --help | tail -n17 --help: error while loading shared libraries: --help: cannot open shared object file # grep RETT /stw/etc/os-release PRETTY_NAME="openSUSE Tumbleweed" # /stw/usr/lib64/ld-linux-x86-64.so.2 --help | tail -n17 This program interpreter self-identifies as: /lib64/ld-linux-x86-64.so.2 Shared library search path: (libraries located via /etc/ld.so.cache) /lib64 (system search path) /usr/lib64 (system search path) Subdirectories of glibc-hwcaps directories, in priority order: x86-64-v4 x86-64-v3 (supported, searched) x86-64-v2 (supported, searched) Legacy HWCAP subdirectories under library search path directories: haswell (AT_PLATFORM; supported, searched) tls (supported, searched) avx512_1 x86_64 (supported, searched) -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2022-12-10 at 11:03 +0100, Stakanov wrote:
I tried to run the command for TW on Leap but obviously ...that did not work.
The command I did run was:
/lib64/ld-linux-x86-64.so.2 --help
Does not work on Leap.
One workaround would be to use life DVD with TW but .... if there is a command anybody is aware of in Leap, I am taker.
Apparently, no. Not one that does it correctly. Felix proposed "inxi -Cxx --vs" with version 3.3.21-00 or better: (<https://lists.opensuse.org/archives/list/users@lists.opensuse.org/message/WKGFV55P3X3TIKPUAKAVLE67XTBSZVJU/>) FM> # inxi -Cxx --vs FM> inxi 3.3.21-00 (2022-08-22) FM> CPU: FM> Info: dual core model: Intel Core i3-4150T bits: 64 type: MT MCP FM> arch: Haswell level: v3 ... · · · · · · · · · · · · · · ***** But that doesn't work now on the two machines I have now running, with version 3.3.23-00: Telcontar:~ # inxi -Cxx --vs inxi 3.3.23-00 (2022-10-31) CPU: Info: 6-core model: AMD Ryzen 5 3600X bits: 64 type: MT MCP arch: Zen 2 rev: 0 cache: L1: 384 KiB L2: 3 MiB L3: 32 MiB Speed (MHz): avg: 2200 min/max: 2200/3800 boost: enabled cores: 1: 2200 2: 2200 3: 2200 4: 2200 5: 2200 6: 2200 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200 12: 2200 bogomips: 91203 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm Telcontar:~ # cer@Isengard:~> inxi -Cxx --vs inxi 3.3.23-00 (2022-10-31) CPU: Info: quad core model: Intel Pentium N3710 bits: 64 type: MCP arch: Airmont rev: 4 cache: L1: 224 KiB L2: 2 MiB Speed (MHz): avg: 2387 high: 2537 min/max: 480/2560 cores: 1: 2290 2: 2286 3: 2435 4: 2537 bogomips: 12800 Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx cer@Isengard:~> No indication of the level that I can see. Now Felix proposes "inxi -SC", but I do not see the CPU level in his example, nor when I run it here. And, Andrei Borzenkov said inxi does it wrong. <https://lists.opensuse.org/archives/list/users@lists.opensuse.org/message/VZAXMLRKSWSSBU4PD6TDIV4TINJMIZ3E/> There was the idea of an awk script, which Andrei also says it is wrong. So it seems that the only proper posibility is to run a TW live. The script is this: cer@Isengard:~> cat bin/cpulevel #!/usr/bin/awk -f BEGIN { while (!/flags/) if (getline < "/proc/cpuinfo" != 1) exit 1 if (/lm/&&/cmov/&&/cx8/&&/fpu/&&/fxsr/&&/mmx/&&/syscall/&&/sse2/) level = 1 if (level == 1 && /cx16/&&/lahf/&&/popcnt/&&/sse4_1/&&/sse4_2/&&/ssse3/) level = 2 if (level == 2 && /avx/&&/avx2/&&/bmi1/&&/bmi2/&&/f16c/&&/fma/&&/abm/&&/movbe/&&/xsave/) level = 3 if (level == 3 && /avx512f/&&/avx512bw/&&/avx512cd/&&/avx512dq/&&/avx512vl/) level = 4 if (level > 0) { print "CPU supports x86-64-v" level; exit level + 1 } exit 1 } cer@Isengard:~> Anyway: cer@Isengard:~> cpulevel CPU supports x86-64-v2 cer@Isengard:~> cer@Telcontar:~> cpulevel CPU supports x86-64-v3 cer@Telcontar:~> - -- Cheers, Carlos E. R. (from openSUSE 15.4 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCY5SHlhwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVA1sAoIi0ycRHrNYUSz6pC/z8 Tv536hDiAKCRRnd1l+X//kpVYHHKEIB2JO0GOg== =gUud -----END PGP SIGNATURE-----
Carlos E. R. composed on 2022-12-10 14:20 (UTC+0100):
On Saturday, 2022-12-10 at 11:03 +0100, Stakanov wrote:
One workaround would be to use life DVD with TW but .... if there is a command anybody is aware of in Leap, I am taker.
Apparently, no. Not one that does it correctly.
Felix proposed "inxi -Cxx --vs" with version 3.3.21-00 or better:
FM> # inxi -Cxx --vs FM> inxi 3.3.21-00 (2022-08-22) FM> CPU: FM> Info: dual core model: Intel Core i3-4150T bits: 64 type: MT MCP FM> arch: Haswell level: v3 ... · · · · · · · · · · · · · · *****
But that doesn't work now on the two machines I have now running, with version 3.3.23-00:
Telcontar:~ # inxi -Cxx --vs inxi 3.3.23-00 (2022-10-31) CPU: Info: 6-core model: AMD Ryzen 5 3600X bits: 64 type: MT MCP arch: Zen 2 rev: 0 cache: L1: 384 KiB L2: 3 MiB L3: 32 MiB Speed (MHz): avg: 2200 min/max: 2200/3800 boost: enabled cores: 1: 2200 2: 2200 3: 2200 4: 2200 5: 2200 6: 2200 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200 12: 2200 bogomips: 91203 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm Telcontar:~ #
cer@Isengard:~> inxi -Cxx --vs inxi 3.3.23-00 (2022-10-31) CPU: Info: quad core model: Intel Pentium N3710 bits: 64 type: MCP arch: Airmont rev: 4 cache: L1: 224 KiB L2: 2 MiB Speed (MHz): avg: 2387 high: 2537 min/max: 480/2560 cores: 1: 2290 2: 2286 3: 2435 4: 2537 bogomips: 12800 Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx cer@Isengard:~>
No indication of the level that I can see.
Inxi does have a man page. Obviously v-level got dropped from -Cx, -Cxx & -Cxxx, but not from -Ca: # inxi -Ca --vs inxi 3.3.23-00 (2022-10-31) CPU: Info: model: 11th Gen Intel Core i5-11400 socket: LGA1200 bits: 64 type: MT MCP arch: Rocket Lake gen: core 11 level: v4 # inxi -Ca --vs inxi 3.3.23-00 (2022-10-31) CPU: Info: model: Intel Core i5-7500T socket: LGA1151 bits: 64 type: MCP arch: Kaby Lake gen: core 7 level: v3 # inxi -Ca --vs inxi 3.3.23-00 (2022-10-31) CPU: Info: model: Intel Core i3-4150T socket: BGA1155 bits: 64 type: MT MCP arch: Haswell gen: core 4 level: v3 # inxi -Ca --vs inxi 3.3.23-00 (2022-10-31) CPU: Info: model: Intel Pentium G3220 socket: BGA1155 (1150) note: check bits: 64 type: MCP arch: Haswell level: v2 # inxi -Ca --vs inxi 3.3.23-00 (2022-10-31) CPU: Info: model: AMD A10-7850K Radeon R7 12 Compute Cores 4C+8G socket: FM2 bits: 64 type: MT MCP arch: Steamroller level: v2 # inxi -Ca --vs inxi 3.3.23-00 (2022-10-31) CPU: Info: model: Intel Core2 6600 socket: 775 bits: 64 type: MCP arch: Core2 Merom level: v1 # inxi -Ca --vs inxi 3.3.23-00 (2022-10-31) CPU: Info: model: Intel Pentium D socket: Microprocessor bits: 64 type: MCP arch: Netburst Presler level: v1 # inxi -Ca --vs inxi 3.3.23-00 (2022-10-31) CPU: Info: model: Intel Pentium 4 socket: 478 bits: 64 type: MT arch: Netburst Presler level: v1 # grep RETT /etc/os-release PRETTY_NAME="openSUSE Leap 15.4" # /stw/lib64/ld-linux-x86-64.so.2 --help | tail -n17 This program interpreter self-identifies as: /lib64/ld-linux-x86-64.so.2 Shared library search path: (libraries located via /etc/ld.so.cache) /lib64 (system search path) /usr/lib64 (system search path) Subdirectories of glibc-hwcaps directories, in priority order: x86-64-v4 x86-64-v3 x86-64-v2 Legacy HWCAP subdirectories under library search path directories: x86_64 (AT_PLATFORM; supported, searched) tls (supported, searched) avx512_1 x86_64 (supported, searched) -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
On 2022-12-10 18:31, Felix Miata wrote:
Carlos E. R. composed on 2022-12-10 14:20 (UTC+0100):
On Saturday, 2022-12-10 at 11:03 +0100, Stakanov wrote:
...
cer@Isengard:~> inxi -Cxx --vs inxi 3.3.23-00 (2022-10-31) CPU: Info: quad core model: Intel Pentium N3710 bits: 64 type: MCP arch: Airmont rev: 4 cache: L1: 224 KiB L2: 2 MiB Speed (MHz): avg: 2387 high: 2537 min/max: 480/2560 cores: 1: 2290 2: 2286 3: 2435 4: 2537 bogomips: 12800 Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx cer@Isengard:~>
No indication of the level that I can see.
Inxi does have a man page. Obviously v-level got dropped from -Cx, -Cxx & -Cxxx, but not from -Ca:
Buff, they changed the interface, again. Not much use reading a man page if they change it.
# inxi -Ca --vs inxi 3.3.23-00 (2022-10-31) CPU: Info: model: 11th Gen Intel Core i5-11400 socket: LGA1200 bits: 64 type: MT MCP arch: Rocket Lake gen: core 11 level: v4
So, according to that new syntax, my server is v2, and my desktop is v3. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
On 12/10/22 09:31, Felix Miata wrote:
Inxi does have a man page. Obviously v-level got dropped from -Cx, -Cxx & -Cxxx, but not from -Ca:
# inxi -Ca --vs inxi 3.3.23-00 (2022-10-31) CPU: Info: model: 11th Gen Intel Core i5-11400 socket: LGA1200 bits: 64 type: MT MCP arch: Rocket Lake gen: core 11 level: v4
Ah, thanks for that. Also note that the inxi that ships with Leap 15.4 doesn't report the level. But if you do: inxi -U It will download inxi 3.3.23-00 (2022-10-31), which does work given inxi -Ca --vs. I went through a couple dozen desktops and servers and found only one v1 on an old desktop from 2008 or so. One SuperMicro server was at v2. The newest servers are at v4. A few desktops were at v2, the rest at v3. Regards, Lew
In data sabato 10 dicembre 2022 22:59:55 CET, Lew Wolfgang ha scritto:
On 12/10/22 09:31, Felix Miata wrote:
Inxi does have a man page. Obviously v-level got dropped from -Cx, -Cxx & -Cxxx, but not from -Ca:
# inxi -Ca --vs inxi 3.3.23-00 (2022-10-31)
CPU: Info: model: 11th Gen Intel Core i5-11400 socket: LGA1200 bits: 64
type: MT MCP arch: Rocket Lake gen: core 11 level: v4
Ah, thanks for that. Also note that the inxi that ships with Leap 15.4 doesn't report the level. But if you do:
inxi -U
It will download inxi 3.3.23-00 (2022-10-31), which does work given inxi -Ca --vs.
I went through a couple dozen desktops and servers and found only one v1 on an old desktop from 2008 or so. One SuperMicro server was at v2. The newest servers are at v4. A few desktops were at v2, the rest at v3.
Regards, Lew
Thank you Felix, Carlos, awesome. I thought it might be a good idea that somebody with good knowledge and too much time (or unhappily married) could setup a page linked to the version discussion with explanation and solution (maybe also in the homepage of Leap) to give people the choice to test, prior to take e.g. a decision to install TW after 15.4. But probably there are not so many users that use old hardware and TW. I am on TW with a V2 PC since time, and this because I was smart to buy RAM when it was dead cheap. I tried to look how much would it cost to buy an V3 hardware, AM5 board and Ryzen CPU as well as two banks of RAM for dual channel at maximum size, but the price was so high that am afraid that, for an old boy like me, ladies do not pay enough to make the expenditure come into reach. Guess I will have to wait for either a severe recession or for somebody by mistake thinks I am a decision maker and tries to bribe me. (Then however with the PC there would be a Yacht, villa, airplane and so on, all coming with the PC, neat :-) )! O.K. seriously, thank you for that input. Highly appreciated.
In data sabato 10 dicembre 2022 22:59:55 CET, Lew Wolfgang ha scritto:
On 12/10/22 09:31, Felix Miata wrote:
Inxi does have a man page. Obviously v-level got dropped from -Cx, -Cxx & -Cxxx, but not from -Ca:
# inxi -Ca --vs inxi 3.3.23-00 (2022-10-31)
CPU: Info: model: 11th Gen Intel Core i5-11400 socket: LGA1200 bits: 64
type: MT MCP arch: Rocket Lake gen: core 11 level: v4
Ah, thanks for that. Also note that the inxi that ships with Leap 15.4 doesn't report the level. But if you do:
inxi -U
It will download inxi 3.3.23-00 (2022-10-31), which does work given inxi -Ca --vs.
I went through a couple dozen desktops and servers and found only one v1 on an old desktop from 2008 or so. One SuperMicro server was at v2. The newest servers are at v4. A few desktops were at v2, the rest at v3.
Regards, Lew
Ciao Lew, hope you are fine. Forgot to say thank you for this info. Very useful to me.
On 12/18/22 12:12, Stakanov wrote:
In data sabato 10 dicembre 2022 22:59:55 CET, Lew Wolfgang ha scritto:
On 12/10/22 09:31, Felix Miata wrote:
Inxi does have a man page. Obviously v-level got dropped from -Cx, -Cxx & -Cxxx, but not from -Ca:
# inxi -Ca --vs inxi 3.3.23-00 (2022-10-31)
CPU: Info: model: 11th Gen Intel Core i5-11400 socket: LGA1200 bits: 64
type: MT MCP arch: Rocket Lake gen: core 11 level: v4 Ah, thanks for that. Also note that the inxi that ships with Leap 15.4 doesn't report the level. But if you do:
inxi -U
It will download inxi 3.3.23-00 (2022-10-31), which does work given inxi -Ca --vs.
I went through a couple dozen desktops and servers and found only one v1 on an old desktop from 2008 or so. One SuperMicro server was at v2. The newest servers are at v4. A few desktops were at v2, the rest at v3.
Regards, Lew Ciao Lew, hope you are fine. Forgot to say thank you for this info. Very useful to me.
Hi Stakanov! We miss you over on offtopic! Sorry that we chased you away... Regards, Lew
participants (4)
-
Carlos E. R.
-
Felix Miata
-
Lew Wolfgang
-
Stakanov