From owner-freebsd-stable@FreeBSD.ORG Sun Jan 28 11:14:47 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org 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 2901216A400 for ; Sun, 28 Jan 2007 11:14:47 +0000 (UTC) (envelope-from lars.stokholm@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id B810E13C4A5 for ; Sun, 28 Jan 2007 11:14:46 +0000 (UTC) (envelope-from lars.stokholm@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so935037uge for ; Sun, 28 Jan 2007 03:14:45 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=nvsL5f+KXwe9NFK2CQNDeovm8Ykqy72NiZoc2S98ftGx0ptAUdGQHYb1+Oj/g2imGFc4kY6/vZg+CeDKdXCvvONajan6E1gR3mIur+Er0TZK/pI6A+S5lLlV2QhD+8fcsZGYf2glBZa0L8OUZdyGkmBXoHypgUfiMDPF2p5c0mg= Received: by 10.66.216.20 with SMTP id o20mr7028015ugg.1169982885567; Sun, 28 Jan 2007 03:14:45 -0800 (PST) Received: from ?10.0.0.5? ( [85.83.123.144]) by mx.google.com with ESMTP id o30sm7125717ugd.2007.01.28.03.14.44; Sun, 28 Jan 2007 03:14:44 -0800 (PST) Message-ID: <45BC85A0.1000809@gmail.com> Date: Sun, 28 Jan 2007 12:14:40 +0100 From: Lars Stokholm User-Agent: Thunderbird 1.5.0.9 (X11/20070119) MIME-Version: 1.0 To: Roland Smith References: <45BC1AF1.8070208@gmail.com> <20070128102805.GA26802@slackbox.xs4all.nl> In-Reply-To: <20070128102805.GA26802@slackbox.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: rd.d/power_profile: dev.cpu.0.cx_supported doesn't exist 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: Sun, 28 Jan 2007 11:14:47 -0000 Roland Smith wrote: > On Sun, Jan 28, 2007 at 04:39:29AM +0100, Lars Stokholm wrote: >> After updating to 6.2-STABLE Sun Jan 28 02:57:55 CET 2007 (GENERIC), I >> get an error on startup from sysctl, because dev.cpu.0.cx_supported >> doesn't exist. I think I tracked it down to this update: Also this error only shows up on startup, it's not in dmesg. Why? >> http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/power_profile.diff?r1=1.9&r2=1.10&f=h >> >> I guess it's because I'm not running powerd, but if that's the case, >> should powerd_enable="NO" be changed to powerd_enable="YES" in >> /etc/defaults/rc.conf? Or is it some sort of mistake? > > On my amd64 system, I've got powerd up and working, but > 'dev.cpu.0.cx_supported' doesn't exist here either. Do you perhaps mean > 'hw.acpi.cpu.cx_supported' because that does exists here. I don't know why I came to that conclusion. I don't think it has anything to do with powerd. The only mention of cx_supported in the entire source tree is in power_profile (as linked above) and in acpi_cpu.c: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/acpica/acpi_cpu.c.diff?r1=1.57.2.1&r2=1.57.2.2&sortby=date&f=h I don't know if it has anything to do with that. Anyway power_profile (called by devd afaik) seems to need it, but it doesn't exist.