From owner-freebsd-amd64@FreeBSD.ORG Fri Aug 9 01:40:01 2013 Return-Path: Delivered-To: freebsd-amd64@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AB7A2D6C for ; Fri, 9 Aug 2013 01:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8B99322B6 for ; Fri, 9 Aug 2013 01:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r791e0vF037513 for ; Fri, 9 Aug 2013 01:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r791e0x0037512; Fri, 9 Aug 2013 01:40:00 GMT (envelope-from gnats) Date: Fri, 9 Aug 2013 01:40:00 GMT Message-Id: <201308090140.r791e0x0037512@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org Cc: From: Mark Linimon Subject: Re: amd64/180562: amdtemp and ACPI not working with motherboard ASUS M5A97 PRO X-Mailman-Approved-At: Fri, 09 Aug 2013 01:53:28 +0000 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Mark Linimon List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Aug 2013 01:40:01 -0000 The following reply was made to PR amd64/180562; it has been noted by GNATS. From: Mark Linimon To: bug-followup@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 ----- Date: Sat, 20 Jul 2013 22:32:37 -0700 From: John-Mark Gurney To: Jan Bramkamp 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: 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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" ----- End forwarded message -----