[Bug 277380] sysutils/turbostat - Core dump on amd64 (AMD GX-412TC SOC)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 28 Feb 2024 18:50:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277380

            Bug ID: 277380
           Summary: sysutils/turbostat - Core dump on amd64 (AMD GX-412TC
                    SOC)
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: freebsd-site@sapoznick.org

turbostat core dumps with "Floating exception" as follows. Appreciate any help,
perhaps this is a small & easy fix?

By all reports turbostat was working fine on this hardware & OS as recently as
2022 & BSD v13.1:

root@myopnsensehost:~ # turbostat
turbostat version 17.06.23 - Len Brown <lenb@kernel.org>
CPUID(0): AuthenticAMD 13 CPUID levels; family:model:stepping 0xf:30:1
(15:48:1)
CPUID(1): SSE3 MONITOR - - - TSC MSR - -
CPUID(6): APERF, No-TURBO, No-DTS, No-PTM, No-HWP, No-HWPnotify, No-HWPwindow,
No-HWPepp, No-HWPpkg, No-EPB
CPUID(7): No-SGX
NSFOD /sys/devices/system/cpu/cpu1/cpufreq/scaling_driver
Floating exception (core dumped)

Here is additional information about the version of turbostat I installed (most
recent) and my system:

root@myopnsensehost:~ # uname -a
FreeBSD myopnsensehost.somedomain.com 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10
stable/24.1-n254984-f7b006edfa8 SMP amd64

root@myopnsensehost:~ # file /usr/local/sbin/turbostat
/usr/local/sbin/turbostat: ELF 64-bit LSB executable, x86-64, version 1
(FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD
13.2, FreeBSD-style, stripped

From dmesg:
CPU: AMD GX-412TC SOC   (998.18-MHz K8-class CPU)

-- 
You are receiving this mail because:
You are the assignee for the bug.