From owner-freebsd-stable@FreeBSD.ORG Fri May 18 16:18:34 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EC1251065672; Fri, 18 May 2012 16:18:34 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from hammer.pct.niksun.com (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8242E8FC15; Fri, 18 May 2012 16:18:34 +0000 (UTC) Message-ID: <4FB6765A.2050307@FreeBSD.org> Date: Fri, 18 May 2012 12:18:34 -0400 From: Jung-uk Kim User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120502 Thunderbird/12.0.1 MIME-Version: 1.0 To: sbruno@freebsd.org References: <1337319129.2915.4.camel@powernoodle-l7> In-Reply-To: <1337319129.2915.4.camel@powernoodle-l7> X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-stable , Sean Bruno Subject: Re: [stable 9] broken hwpstate calls X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 May 2012 16:18:35 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-05-18 01:32:09 -0400, Sean Bruno wrote: > Looks like my AMD box isn't quite working correctly with regards > to P-states. I noted this repeating periodically: hwpstate0: set > freq failed, err 6 > > > I noted these errors when setting the hwpstate verbose systctl on: > > May 17 22:28:32 Alice kernel: hwpstate0: set freq failed, err 6 May > 17 22:28:32 Alice kernel: hwpstate0: setting P1-state on cpu0 May > 17 22:28:32 Alice kernel: hwpstate0: result P1-state on cpu0 May > 17 22:28:32 Alice kernel: hwpstate0: setting P1-state on cpu1 May > 17 22:28:32 Alice kernel: hwpstate0: result P1-state on cpu1 May > 17 22:28:32 Alice kernel: hwpstate0: setting P1-state on cpu2 May > 17 22:28:32 Alice kernel: hwpstate0: result P1-state on cpu2 May > 17 22:28:32 Alice kernel: hwpstate0: setting P1-state on cpu3 May > 17 22:28:32 Alice kernel: hwpstate0: result P1-state on cpu3 May > 17 22:28:32 Alice kernel: hwpstate0: setting P1-state on cpu4 May > 17 22:28:32 Alice kernel: hwpstate0: result P1-state on cpu4 May > 17 22:28:32 Alice kernel: hwpstate0: setting P1-state on cpu5 May > 17 22:28:32 Alice kernel: hwpstate0: result P1-state on cpu5 May > 17 22:28:32 Alice kernel: hwpstate0: setting P1-state on cpu6 May > 17 22:28:32 Alice kernel: hwpstate0: result P1-state on cpu6 May > 17 22:28:32 Alice kernel: hwpstate0: setting P1-state on cpu7 May > 17 22:28:32 Alice kernel: hwpstate0: result P1-state on cpu7 > > > Sean > > ref this machine: http://forums.pcbsd.org/showthread.php?t=16733 I briefly looked at the dmesg. You have a Family 15h processor (Bulldozer with Turbo Core) and I believe it isn't supported (yet). It won't be too hard to implement, though. Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+2dlkACgkQmlay1b9qnVOhzwCfRi7ZqdpQ8yH/N3IHqCFl/586 XdoAnRLeenDvgQKvB6BIjyMsoskXcSNs =hGYz -----END PGP SIGNATURE-----