From owner-freebsd-stable@FreeBSD.ORG Wed Jan 7 11:11:58 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 813011065678 for ; Wed, 7 Jan 2009 11:11:58 +0000 (UTC) (envelope-from kerneljack@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 0AEF88FC14 for ; Wed, 7 Jan 2009 11:11:57 +0000 (UTC) (envelope-from kerneljack@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so2690436fgb.35 for ; Wed, 07 Jan 2009 03:11:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=mMFKws5lpTriwxhPv18EWSjwiqMbS4QhKVgryuZ0mOA=; b=UYdnGCWsf2SwpObUrbqOCoYNpD+vDEJEt/4qESmkZx97oKPl2XROBW6YWK1WmGPp1P YLio5rhtEpG1uULI4Dv7zBu9udoOakf3vK4UvjBwxSf7h19yKQrJSKc7dWfVScselgqd zJJW1hNKNnKhVA584Pv7HpnFISJkhdjx3D6jk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=M2RZhWg8E6Koxmo8unS6WcMGq12wGbgf+rGAz3TVBUVZWBvn3k83wANJIFeficLYEr BB9J70ENyVZxHDrkTxXutxY4Zm+bal/KOx+f76v68TN49z0RFG1sj/Q1yQqsn9P29cY+ LwhynRkIUwNFUEkczMjfhCgefHg5QQMfET0Co= Received: by 10.86.63.19 with SMTP id l19mr13371173fga.15.1231324891444; Wed, 07 Jan 2009 02:41:31 -0800 (PST) Received: by 10.86.92.8 with HTTP; Wed, 7 Jan 2009 02:41:31 -0800 (PST) Message-ID: Date: Wed, 7 Jan 2009 10:41:31 +0000 From: "Khusro Jaleel" To: "Pierre-Luc Drouin" , freebsd-stable@freebsd.org In-Reply-To: <4963FD19.70007@pldrouin.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4963FD19.70007@pldrouin.net> Cc: Subject: Re: Problem with CPU freq in 7.1-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kerneljack@kerneljack.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2009 11:11:58 -0000 Hi, I'm also unable to get AMD PowerNow working on 7.1 on a Dell Opteron server (PowerEdge 2970). Whenever I run "powerd", I get: # powerd -a adp powerd: lookup freq: No such file or directory If I look at the sysctl output, the 'freq' stuff seems to be missing from 'dev.cpu'. I have definitely gone into the server BIOS and enabled the option (don't remember what it's called now) for frequency control. I have also checked that 'cpufreq' is included in the kernel config, but it's a default GENERIC anyway. # sysctl dev.cpu dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.CPU0 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.cx_supported: C1/0 dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_usage: 100.00% dev.cpu.1.%desc: ACPI CPU dev.cpu.1.%driver: cpu dev.cpu.1.%location: handle=\_PR_.CPU1 dev.cpu.1.%pnpinfo: _HID=none _UID=0 dev.cpu.1.%parent: acpi0 dev.cpu.1.cx_supported: C1/0 dev.cpu.1.cx_lowest: C1 dev.cpu.1.cx_usage: 100.00% dev.cpu.2.%desc: ACPI CPU dev.cpu.2.%driver: cpu dev.cpu.2.%location: handle=\_PR_.CPU2 dev.cpu.2.%pnpinfo: _HID=none _UID=0 dev.cpu.2.%parent: acpi0 dev.cpu.2.cx_supported: C1/0 dev.cpu.2.cx_lowest: C1 dev.cpu.2.cx_usage: 100.00% dev.cpu.3.%desc: ACPI CPU dev.cpu.3.%driver: cpu dev.cpu.3.%location: handle=\_PR_.CPU3 dev.cpu.3.%pnpinfo: _HID=none _UID=0 dev.cpu.3.%parent: acpi0debug.acpi.semaphore_debug: 0 debug.acpi.suspend_bounce: 0 debug.acpi.do_powerstate: 1 debug.acpi.acpi_ca_version: 20070320 debug.acpi.ec.timeout: 750 debug.acpi.ec.polled: 0 debug.acpi.ec.burst: 0 hw.acpi.supported_sleep_state: S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S4 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.cpu.cx_lowest: C1 dev.cpu.3.cx_supported: C1/0 dev.cpu.3.cx_lowest: C1 dev.cpu.3.cx_usage: 100.00% # sysctl debug.acpi debug.acpi.semaphore_debug: 0 debug.acpi.suspend_bounce: 0 debug.acpi.do_powerstate: 1 debug.acpi.acpi_ca_version: 20070320 debug.acpi.ec.timeout: 750 debug.acpi.ec.polled: 0 debug.acpi.ec.burst: 0 # sysctl hw.acpi hw.acpi.supported_sleep_state: S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S4 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 0 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.cpu.cx_lowest: C1 Here is some relevant dmesg output: FreeBSD 7.1-RELEASE #2: Tue Jan 6 15:58:36 GMT 2009 root@xxxx:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Quad-Core AMD Opteron(tm) Processor 2350 (1995.01-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x100f23 Stepping = 3 Features=0x178bfbff Features2=0x802009> AMD Features=0xee500800 AMD Features2=0x7ff,,,Prefetch,,> Cores per package: 4 usable memory = 4276158464 (4078 MB) avail memory = 4118642688 (3927 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 ioapic0: Changing APIC ID to 4 ioapic1: Changing APIC ID to 5 ioapic2: Changing APIC ID to 6 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-15 on motherboard ioapic1 irqs 32-47 on motherboard ioapic2 irqs 64-79 on motherboard . . . cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 Any help appreciated. On Wed, Jan 7, 2009 at 12:53 AM, Pierre-Luc Drouin wrote: > Hi, > > I noticed a problem with CPU freq in 7.1-STABLE. The maximum frequency > showed by sysctl is 500Mhz lower than what it should be for my Pentium M > 2Ghz. > > Here is the output from dmesg: > Copyright (c) 1992-2009 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 7.1-STABLE #7: Tue Jan 6 16:01:20 EST 2009 > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Pentium(R) M processor 2.00GHz (1995.15-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8 > Features=0xafe9fbff > Features2=0x180 > AMD Features=0x100000 > > and the output from sysctl: > dev.cpu.0.freq_levels: 1500/-1 1312/-1 1200/-1 1050/-1 1000/-1 875/-1 800/-1 > 700/-1 600/-1 525/-1 450/-1 375/-1 300/-1 225/-1 150/-1 75/-1 > dev.est.0.freq_settings: 1500/-1 1200/-1 1000/-1 800/-1 600/-1 > > This used to work correctly in 7.0... > > Thanks! > Pierre-Luc Drouin > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >