From owner-freebsd-amd64@FreeBSD.ORG Fri Nov 9 15:10:03 2012 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3C7A2F81 for ; Fri, 9 Nov 2012 15:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 0E2228FC0A for ; Fri, 9 Nov 2012 15:10:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qA9FA2tv061532 for ; Fri, 9 Nov 2012 15:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qA9FA2kj061531; Fri, 9 Nov 2012 15:10:02 GMT (envelope-from gnats) Resent-Date: Fri, 9 Nov 2012 15:10:02 GMT Resent-Message-Id: <201211091510.qA9FA2kj061531@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, nanami Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 60DF2F2B for ; Fri, 9 Nov 2012 15:05:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 480E48FC0A for ; Fri, 9 Nov 2012 15:05:23 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qA9F5LCu000794 for ; Fri, 9 Nov 2012 15:05:21 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qA9F5L2o000773; Fri, 9 Nov 2012 15:05:21 GMT (envelope-from nobody) Message-Id: <201211091505.qA9F5L2o000773@red.freebsd.org> Date: Fri, 9 Nov 2012 15:05:21 GMT From: nanami To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: amd64/173502: Patch inhibition of warnings that appear in the combination of AMD FX Series CPU and powerd X-Mailman-Approved-At: Fri, 09 Nov 2012 16:36:54 +0000 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2012 15:10:03 -0000 >Number: 173502 >Category: amd64 >Synopsis: Patch inhibition of warnings that appear in the combination of AMD FX Series CPU and powerd >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Nov 09 15:10:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: nanami >Release: 9.1-RC3 / 9.0 >Organization: PyukiWiki Developper >Environment: FreeBSD 9.1-RC3 #0: Fri Nov 9 23:18:11 JST 2012 root@yumi.local:/usr/src/sys/amd64/compile/TEST1 amd64 CPU: AMD FX(tm)-8350 Eight-Core Processor (3991.47-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x600f20 Family = 15 Model = 2 Stepping = 0 Features=0x178bfbff Features2=0x3e98320b AMD Features=0x2e500800 AMD Features2=0x1ebbfff,NodeId,TBM,Topology,,> TSC: P-state invariant, performance statistics real memory = 17179869184 (16384 MB) FreeBSD 9.0-RELEASE-p3 #0: Sun Jun 17 13:30:14 JST 2012 ymda@miyu.yutan.daiba.cx:/usr/obj/usr/src/sys/MIYU amd64 CPU: AMD Opteron(tm) Processor 3250 HE (2494.64-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x600f12 Family = 15 Model = 1 Stepping = 2 Features=0x178bfbff Features2=0x1698220b AMD Features=0x2e500800 AMD Features2=0x1c9bfff,> TSC: P-state invariant, performance statistics real memory = 8589934592 (8192 MB) >Description: This patch is suppress the output warnings to the console ------------ hwpstate0: set freq failed, err 6 hwpstate0: set freq failed, err 6 ------------ If displayed the message in environment AMD FX or Opteron (Bulldozer, Piledriver) AMD Fusion APU (Trinity) When enabled, powerd the alert message is displayed on the console in this environment, lowering the clock has been carried out without any problems. Has become virtually patch, just remove the sentence device_print, it does not make sense except in the appropriate environment. I think for that, should not be provided as the default kernel, also considering performance considerations, only when a custom kernel, was carried out the following notation, and should be enabled. in kernel config file options AMDFX However, perhaps there is more to a good solution. This behavior is not a significant issue, such as system crash after running system, that is what the first console is virtually impossible to use one. The reason for creating the patch are those with future updates of FreeBSD, provides a method that can be easily updated as necessary not least for those without problems. by nanami (@nanakochi123456) nanami@daiba.cx >How-To-Repeat: Install to FreeBSD on this env. AMD FX or Opteron (Bulldozer, Piledriver) AMD Fusion APU (Trinity) (Unconfirmed) Enable AMD Cool'n'Quiet Technology Enable FreeBSD powerd >Fix: As of patch, by thinking of performance, to create a custom kernel, it may be desirable features that can suppress the display, it is desirable if the original, it automatically detects the CPU, is to not to display . Just do not want to see this message, it is that the console away from the first is always filled with this message hwpstate0: set freq failed, err 6 >Release-Note: >Audit-Trail: >Unformatted: