View previous topic :: View next topic |
Author |
Message |
Irets Apprentice
Joined: 17 Dec 2019 Posts: 222
|
Posted: Mon Jan 23, 2023 12:50 pm Post subject: [SOLVED] microcode broke qt |
|
|
Hi,
I decided to install sys-firmware/intel-microcode with "hostonly initramfs split-ucode" USE-flags and it broke my mumble server.
Attempting to run the server spams the terminal full of Code: | Incompatible processor. This Qt build requires the following features:
rtm |
I reconfigured the source directory with cmake and then recompiled the server with make but it didn't help.
Does anyone have clue to what could have happened after installing microcode?
Output of lscpu:
Code: | Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 39 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Vendor ID: GenuineIntel
Model name: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
CPU family: 6
Model: 60
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
Stepping: 3
CPU(s) scaling MHz: 81%
CPU max MHz: 4400.0000
CPU min MHz: 800.0000
BogoMIPS: 7998.73
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse
2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology no
nstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm
pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm cpuid_fau
lt epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_
adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts md_clear flush_l1d
Virtualization features:
Virtualization: VT-x
Caches (sum of all):
L1d: 128 KiB (4 instances)
L1i: 128 KiB (4 instances)
L2: 1 MiB (4 instances)
L3: 8 MiB (1 instance)
NUMA:
NUMA node(s): 1
NUMA node0 CPU(s): 0-7
Vulnerabilities:
Itlb multihit: KVM: Mitigation: VMX disabled
L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
Mds: Mitigation; Clear CPU buffers; SMT vulnerable
Meltdown: Mitigation; PTI
Mmio stale data: Unknown: No mitigations
Retbleed: Not affected
Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP conditional, RSB filling, PBRSB-eIBRS Not affect
ed
Srbds: Mitigation; Microcode
Tsx async abort: Not affected |
EDIT:
Qbittorrent also seems to have broken with the same error message. Also Virtualbox and mumble-client.
I'll see to recompiling qt.
Last edited by Irets on Tue Jan 24, 2023 3:19 pm; edited 1 time in total |
|
Back to top |
|
|
Irets Apprentice
Joined: 17 Dec 2019 Posts: 222
|
Posted: Mon Jan 23, 2023 1:27 pm Post subject: |
|
|
Recompiling Qt fixed all my issues but why did this happen in the first place?
Why did I lose the rtm processor feature upon installing intel-microcode?
Before recompiling Qt, I saw errors like these in my dmesg:
Code: | VirtualBox[8388]: segfault at 7ffeb6855eb0 ip 00007fbb63f53997 sp 00007ffeb6855eb0 error 6 in libc.so.6[7fbb63f1f000+14b000] |
Code: | [ 181.147532] mumble[8646]: segfault at 7ffdafd59d60 ip 00007ff68a3cf997 sp 00007ffdafd59d60 error 6 in libc.so.6[7ff68a39b000+14b000] |
Code: | mumble-server[2952]: segfault at 7fff97c99f20 ip 00007f4d524ad997 sp 00007fff97c99f20 error 6 in libc.so.6[7f4d52479000+14b000] |
|
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2719
|
Posted: Mon Jan 23, 2023 1:55 pm Post subject: |
|
|
https://www.phoronix.com/news/Intel-TSX-Off-New-Microcode Quote: | In addition to disabling TSX by default and force-aborting all RTM transactions by default, a new CPUID bit is being enumerated with the new microcode to indicate that the force aborting of RTM transactions |
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4149 Location: Bavaria
|
|
Back to top |
|
|
Irets Apprentice
Joined: 17 Dec 2019 Posts: 222
|
Posted: Tue Jan 24, 2023 3:14 pm Post subject: |
|
|
The links were an interesting read and explains the situation.
I feel like the wikipage would benefit from having a small note about the loss of rtm on microcode install and certain programs need recompilation if compiled earlier with rtm, but I don't have a wiki account.
Thanks for the responses.
Marking as solved. |
|
Back to top |
|
|
|