Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2020 09:13:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 248901] processor critical temperature check only executed if temperature is first queried using sysctl
Message-ID:  <bug-248901-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248901

            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@FreeBSD.org
          Reporter: d8zNeCFG@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=3D"GenuineIntel"  Id=3D0x206a7  Family=3D0x6  Model=3D0x2a  Steppi=
ng=3D7
=20
Features=3D0xbfebfbff<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>
=20
Features2=3D0x1fbae3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,C=
X16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,A=
VX>
  AMD Features=3D0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=3D0x1<LAHF>
  XSAVE Features=3D0x1<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), resultin=
g 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 be=
en
executed first.

-- Martin

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248901-227>