From owner-freebsd-hardware@FreeBSD.ORG Fri Apr 20 13:45:00 2012 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 448251065672 for ; Fri, 20 Apr 2012 13:45:00 +0000 (UTC) (envelope-from VaNs9@yandex.ru) Received: from forward13.mail.yandex.net (forward13.mail.yandex.net [IPv6:2a02:6b8:0:801::3]) by mx1.freebsd.org (Postfix) with ESMTP id 646C38FC15 for ; Fri, 20 Apr 2012 13:44:59 +0000 (UTC) Received: from web7f.yandex.ru (web7f.yandex.ru [95.108.130.104]) by forward13.mail.yandex.net (Yandex) with ESMTP id 0D9FA1425E5 for ; Fri, 20 Apr 2012 17:44:58 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1334929498; bh=GP7emZJP0JRJIMmqJavJMOGFCgKpf8a2o5HpHrb9z2I=; h=From:To:Subject:MIME-Version:Message-Id:Date: Content-Transfer-Encoding:Content-Type; b=uwZlm0rRKTVFAwUBvzAe9wa3keYmuEGXaOprdONL3GYLOMm0AglliSryHbfVyGSnC sqx9wxcNXq5er27HhZf/Ada47JTUODKebWpfzPzAKc8xt5uU5ZtHkF2Vy0oxjRVCgS M5lHlBiwyA5nqef9smY7bhLMzn9+yw8xLJlEqEfg= Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) by web7f.yandex.ru (Yandex) with ESMTP id D0283CE0044; Fri, 20 Apr 2012 17:44:57 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1334929497; bh=GP7emZJP0JRJIMmqJavJMOGFCgKpf8a2o5HpHrb9z2I=; h=From:To:Subject:MIME-Version:Message-Id:Date: Content-Transfer-Encoding:Content-Type; b=L8E7/wPds/oGufd+ozqiey8JYd1gYX9yANBEeUWBB8zfmd92v3Gm/YHjnhTK0z9U1 EXYYAEZTAHBpMmJZUjNFFVUng1U2C21e3f+kRaCP95YSeOTM2LpHJ2OEySIIjkg39g TreUfJOGtYj0XMNusm5PPeFylh1VPZa0Enj4hYgk= Received: from 95-24-86-181.broadband.corbina.ru (95-24-86-181.broadband.corbina.ru [95.24.86.181]) by web7f.yandex.ru with HTTP; Fri, 20 Apr 2012 17:44:56 +0400 From: N V To: freebsd-hardware@freebsd.org MIME-Version: 1.0 Message-Id: <729541334929496@web7f.yandex.ru> Date: Fri, 20 Apr 2012 17:44:56 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain Subject: AMD FX 4100, hwpstate0, powerd X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2012 13:45:00 -0000 Hi. I've got AMD FX-4100, ASUS M5A97, FreeBSD amd 9.0-RELEASE. I've set hint.acpi_throttle.0.disabled="1" debug.hwpstate_verbose="1" in /boot/loader.conf to eliminate acpi_throttle issues and to home more verbose output. Also, I have performance_cx_lowest="LOW" economy_cx_lowest="LOW" in /etc/rc.conf If I try to enable powerd (via rc.conf) I get (parts of dmesg here): Copyright (c) 1992-2012 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 CPU: AMD FX(tm)-4100 Quad-Core Processor (3612.16-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) avail memory = 8158220288 (7780 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) cpu0 (BSP): APIC ID: 16 cpu1 (AP): APIC ID: 17 cpu2 (AP): APIC ID: 18 cpu3 (AP): APIC ID: 19 ACPI Warning: Optional field Pm2ControlBlock has zero address or length: 0x0000000000000000/0x1 (20110527/tbfadt-586) ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-55 on motherboard kbd1 at kbdmux0 cryptosoft0: on motherboard aesni0: on motherboard acpi0: on motherboard ACPI Error: [RAMB] Namespace lookup failure, AE_NOT_FOUND (20110527/psargs-392) ACPI Exception: AE_NOT_FOUND, Could not execute arguments for [RAMW] (Region) (20110527/nsinit-380) acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 450 Event timer "HPET1" frequency 14318180 Hz quality 450 Event timer "HPET2" frequency 14318180 Hz quality 450 .. attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: cannot reserve I/O port range hwpstate0: going to fetch info from acpi_perf hwpstate0: on cpu0 Timecounters tick every 1.000 msec .. Configuring syscons: keymap blanktime. Starting cron. Starting inetd. .. hwpstate0: setting P1-state on cpu0 hwpstate0: result P0-state on cpu0 hwpstate0: error: loop is not enough. hwpstate0: setting P1-state on cpu1 hwpstate0: result P1-state on cpu1 hwpstate0: setting P1-state on cpu2 hwpstate0: result P1-state on cpu2 hwpstate0: setting P1-state on cpu3 hwpstate0: result P1-state on cpu3 hwpstate0: set freq failed, err 6 hwpstate0: setting P1-state on cpu0 hwpstate0: result P1-state on cpu0 hwpstate0: setting P1-state on cpu1 hwpstate0: result P1-state on cpu1 hwpstate0: setting P1-state on cpu2 hwpstate0: result P1-state on cpu2 hwpstate0: setting P1-state on cpu3 hwpstate0: result P1-state on cpu3 hwpstate0: setting P2-state on cpu0 hwpstate0: result P1-state on cpu0 hwpstate0: error: loop is not enough. hwpstate0: setting P2-state on cpu1 hwpstate0: result P2-state on cpu1 hwpstate0: setting P2-state on cpu2 hwpstate0: result P2-state on cpu2 hwpstate0: setting P2-state on cpu3 hwpstate0: result P2-state on cpu3 hwpstate0: set freq failed, err 6 hwpstate0: setting P2-state on cpu0 hwpstate0: result P2-state on cpu0 hwpstate0: setting P2-state on cpu1 hwpstate0: result P2-state on cpu1 hwpstate0: setting P2-state on cpu2 hwpstate0: result P2-state on cpu2 hwpstate0: setting P2-state on cpu3 hwpstate0: result P2-state on cpu3 hwpstate0: setting P0-state on cpu0 hwpstate0: result P0-state on cpu0 hwpstate0: setting P0-state on cpu1 hwpstate0: result P0-state on cpu1 hwpstate0: setting P0-state on cpu2 hwpstate0: result P0-state on cpu2 hwpstate0: setting P0-state on cpu3 hwpstate0: result P0-state on cpu3 Or if I manually launch powerd: # powerd -v -n hadp powerd: unable to determine AC line status load 76%, current freq 3600 MHz ( 0), wanted freq 7200 MHz load 32%, current freq 3600 MHz ( 0), wanted freq 7200 MHz load 43%, current freq 3600 MHz ( 0), wanted freq 7200 MHz load 38%, current freq 3600 MHz ( 0), wanted freq 7200 MHz load 39%, current freq 3600 MHz ( 0), wanted freq 7200 MHz load 39%, current freq 3600 MHz ( 0), wanted freq 7200 MHz load 37%, current freq 3600 MHz ( 0), wanted freq 7200 MHz load 20%, current freq 3600 MHz ( 0), wanted freq 6975 MHz load 63%, current freq 3600 MHz ( 0), wanted freq 7200 MHz ^Ctotal joules used: 47.205 Is it something with BIOS and I can switch on/off something there, or is it something in FreeBSD and I can tune it, or is it something else? Regards, Vans.