When "inxi -C" or any usage of inxi that includes the Cpu information is used on a system where hyperthreads are turned off by setting /sys/devices/system/cpu/smt/control to "off", the cpu information for those hyperthread cores show up as uninitialized values for those cores (example is a quad core Skylake): $ inxi -C Use of uninitialized value $value[0] in string ne at /usr/bin/inxi line 9857. Use of uninitialized value $value[0] in string ne at /usr/bin/inxi line 9857. Use of uninitialized value $value[0] in string ne at /usr/bin/inxi line 9857. Use of uninitialized value $value[0] in string ne at /usr/bin/inxi line 9857. CPU: Info: quad core model: Intel Core i7-6700HQ bits: 64 type: MCP cache: L2: 1024 KiB Speed (MHz): avg: 835 min/max: 800/3500 cores: 1: 800 2: 800 3: 862 4: 880 Expected result: inxi -C should show those as "offline" or at least not the uninit errors Reproducible: Always Steps to Reproduce: 1.Turn off hyperthreads by echoing "off" into /sys/devices/system/cpu/smt/control 2.Run "inxi -C" Actual Results: Output listing contains a "Use of uninitialized value $value[0] in string ne at /usr/bin/inxi line 9857." for each HT core that was set to offline, for a 4 core cpu this is seen: inxi -C Use of uninitialized value $value[0] in string ne at /usr/bin/inxi line 9857. Use of uninitialized value $value[0] in string ne at /usr/bin/inxi line 9857. Use of uninitialized value $value[0] in string ne at /usr/bin/inxi line 9857. Use of uninitialized value $value[0] in string ne at /usr/bin/inxi line 9857. CPU: Info: quad core model: Intel Core i7-6700HQ bits: 64 type: MCP cache: L2: 1024 KiB Speed (MHz): avg: 835 min/max: 800/3500 cores: 1: 800 2: 800 3: 862 4: 880 Expected Results: inxi -C CPU: Info: quad core model: Intel Core i7-6700HQ bits: 64 type: MT MCP cache: L2: 1024 KiB Speed (MHz): avg: 800 min/max: 800/3500 cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 version of inxi 3.3.31-00 (2023-10-31)
Some people will disable HT to reduce the risk of some types of vulnerabilities so it would be preferred if inxi would deal with that case.
I passed report to upstream https://codeberg.org/smxi/inxi/issues/296
Fixed by upstream. Package will be updated after next release.
FEDORA-2024-b2eaad908f (inxi-3.3.32-1.fc39) has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-b2eaad908f
FEDORA-EPEL-2024-794dd38163 (inxi-3.3.32-1.el9) has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-794dd38163
FEDORA-EPEL-2024-794dd38163 has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-794dd38163 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-80f3ff0071 has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-80f3ff0071` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-80f3ff0071 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-b2eaad908f has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-b2eaad908f` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-b2eaad908f See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-b2eaad908f (inxi-3.3.32-1.fc39) has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2024-794dd38163 (inxi-3.3.32-1.el9) has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-80f3ff0071 (inxi-3.3.32-1.fc38) has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.