amd64/180562: amdtemp and ACPI not working with motherboard ASUS M5A97 PRO

Mark Linimon linimon at lonesome.com
Fri Aug 9 01:40:01 UTC 2013


The following reply was made to PR amd64/180562; it has been noted by GNATS.

From: Mark Linimon <linimon at lonesome.com>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: amd64/180562: amdtemp and ACPI not working with motherboard ASUS
 M5A97 PRO
Date: Thu, 8 Aug 2013 20:33:41 -0500

 ----- Forwarded message from John-Mark Gurney <jmg at funkthat.com> -----
 
 Date: Sat, 20 Jul 2013 22:32:37 -0700
 From: John-Mark Gurney <jmg at funkthat.com>
 To: Jan Bramkamp <crest at rlwinm.de>
 Subject: Re: amd64/180562: amdtemp and ACPI not working with motherboard ASUS M5A97 PRO
 
 Jan Bramkamp wrote this message on Mon, Jul 15, 2013 at 18:00 +0200:
 > The amdtemp driver in FreeBSD 9.1 doesn't support Bulldozer and
 > Piledriver temperature sensors. Support is available 10-CURRENT.
 > Copy sys/dev/amdtemp/amdtemp.c from 10-CURRENT and rebuild your kernel
 > if you want support for the CPU internal temperature sensor. This worked
 > for me with a FX-8350 CPU.
 
 Hmm... Doesn't work for me on my AMD A10-5700 processor which, according
 to wikipedia, is a piledriver...
 
 I did add my chip to the driver:
 Index: amdtemp.c
 ===================================================================
 --- amdtemp.c   (revision 252129)
 +++ amdtemp.c   (working copy)
 @@ -76,6 +76,7 @@
  #define        DEVICEID_AMD_MISC0F     0x1103
  #define        DEVICEID_AMD_MISC10     0x1203
  #define        DEVICEID_AMD_MISC11     0x1303
 +#define        DEVICEID_AMD_MISC12     0x1403
  #define        DEVICEID_AMD_MISC14     0x1703
  #define        DEVICEID_AMD_MISC15     0x1603
  
 @@ -86,6 +87,7 @@
         { VENDORID_AMD, DEVICEID_AMD_MISC0F },
         { VENDORID_AMD, DEVICEID_AMD_MISC10 },
         { VENDORID_AMD, DEVICEID_AMD_MISC11 },
 +       { VENDORID_AMD, DEVICEID_AMD_MISC12 },
         { VENDORID_AMD, DEVICEID_AMD_MISC14 },
         { VENDORID_AMD, DEVICEID_AMD_MISC15 },
         { 0, 0 }
 
 But the results don't look correct:
 # sysctl -a | grep amdtemp
 amdtemp0: <AMD CPU On-Die Thermal Sensors> on hostb4
 dev.amdtemp.0.%desc: AMD CPU On-Die Thermal Sensors
 dev.amdtemp.0.%driver: amdtemp
 dev.amdtemp.0.%parent: hostb4
 dev.amdtemp.0.sensor_offset: 0
 dev.amdtemp.0.core0.sensor0: 8.5C
 
 Probably that weird quirk, though the docs don't describe the issue in
 enough detail:
      Instead, it specifies the processor temperature relative to the point at
      which the system must supply the maximum cooling for the processor's
      specified maximum case temperature and maximum thermal power
      dissipation'' according to BIOS and Kernel Developer's Guide (BKDG) for
      AMD Processors,
 
 Which is what temp?  The url provided is just a list of docs..  Is it
 at 50C that the max cooling needs to be supplied? 100C? 1000C?
 
 -- 
   John-Mark Gurney				Voice: +1 415 225 5579
 
      "All that I will do, has been done, All that I have, has not."
 _______________________________________________
 freebsd-amd64 at freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
 To unsubscribe, send any mail to "freebsd-amd64-unsubscribe at freebsd.org"
 
 ----- End forwarded message -----


More information about the freebsd-amd64 mailing list