[Bug 248901] processor critical temperature check only executed if temperature is first queried using sysctl

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 25 09:13:02 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248901

            Bug ID: 248901
           Summary: processor critical temperature check only executed if
                    temperature is first queried using sysctl
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: d8zNeCFG at aon.at

Scenario:
- FreeBSD 12.1-RELEASE-p6 #6 r362488M
- CPU: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz (1993.57-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x206a7  Family=0x6  Model=0x2a  Stepping=7
 
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
 
Features2=0x1fbae3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX>
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
  XSAVE Features=0x1<XSAVEOPT>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
  TSC: P-state invariant, performance statistics

- coretemp.ko loaded
- The system runs a compilation using all four cores (portmaster), resulting in
temperatures regularly exceeding 95 deg centigrade (203 deg F), which is the
limit for this CPU.

Result:
- No messages about critical temperature reached are logged to the console or
the syslog.

Scenario (continued):
- Running "sysctl -n dev.cpu.0.freq dev.cpu.{0..7}.temperature
hw.acpi.thermal.tz0.temperature"

Result (continued):
- The sysctl command displays the appropriate output.
- In the syslog and on the console, the following messages start appearing
every few seconds: "coretempX: critical temperature detected, suggest system
shutdown"; the X varies by core number (usually 0, 4, and 5).

Expected result:
- Warnings in the syslog and the console should appear once the critical
temperature has been exceeded regardless of whether the sysctl above has been
executed first.

-- Martin

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


More information about the freebsd-bugs mailing list