From owner-freebsd-stable@FreeBSD.ORG Sun Jan 28 19:01:03 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 95F0F16A401 for ; Sun, 28 Jan 2007 19:01:03 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by mx1.freebsd.org (Postfix) with ESMTP id 12E3613C4A7 for ; Sun, 28 Jan 2007 19:01:02 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id l0SJ11EP018271; Sun, 28 Jan 2007 20:01:02 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 24C48B827; Sun, 28 Jan 2007 20:01:01 +0100 (CET) Date: Sun, 28 Jan 2007 20:01:01 +0100 From: Roland Smith To: Lars Stokholm Message-ID: <20070128190101.GA99290@slackbox.xs4all.nl> Mail-Followup-To: Lars Stokholm , freebsd-stable@freebsd.org References: <45BC1AF1.8070208@gmail.com> <20070128102805.GA26802@slackbox.xs4all.nl> <45BC85A0.1000809@gmail.com> <20070128115802.GA87910@slackbox.xs4all.nl> <45BCC724.2080604@gmail.com> <20070128172452.GA97123@slackbox.xs4all.nl> <45BCE61B.5050700@gmail.com> <45BCEAB8.60602@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CE+1k2dSO48ffgeK" Content-Disposition: inline In-Reply-To: <45BCEAB8.60602@gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: by XS4ALL Virus Scanner 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 19:01:03 -0000 --CE+1k2dSO48ffgeK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 28, 2007 at 07:26:00PM +0100, Lars Stokholm wrote: >=20 > Damnit, I seem to be making one mistake after another, with no end to=20 > it. I'm truely sorry for wasting your time.=20 Been there, done that. A lot of times when I had a problem with the base system (from 5.3-RELEASE uptil now) it turned out to be "pilot error". > Let's step back to where I=20 > started; dev.cpu.0.cx_supported *does* exist: >=20 > # sysctl dev.cpu.0.cx_supported > dev.cpu.0.cx_supported: C1/0 >=20 > And here's the problem; this is what I get when I fire up FreeBSD: >=20 > ... > Starting ums0 moused:. > hw.acpi.cpu.cx_lowest: C1 > sysctl: hw.acpi.cpu.cx_lowest: Invalid argument > Mounting NFS file systems:. > ... >=20 > Taking the power_profile into account, I guess it comes something=20 > similar to: >=20 > # sysctl hw.acpi.cpu.cx_lowest=3DC1/0 I'm not sure that this is what is being called. The '/0' is removed by awk: $ sysctl -n hw.acpi.cpu.cx_supported C1/0 $ sysctl -n hw.acpi.cpu.cx_supported |awk '{ print "C" split($0, a) }' - 2>= /dev/null C1 > hw.acpi.cpu.cx_lowest: C1 > sysctl: hw.acpi.cpu.cx_lowest: Invalid argument Works fine here: # sysctl hw.acpi.cpu.cx_lowest=3DC1/0 hw.acpi.cpu.cx_lowest: C1 -> C1 > So, finally, the question now is why I get the "invalid argument". The only thing I can think of is that you've defined performance_cx_lowest or economy_cx_lowest to some bogus value in rc.conf. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --CE+1k2dSO48ffgeK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (FreeBSD) iD8DBQFFvPLtEnfvsMMhpyURAqsdAJ9M7ZnSP/2HlXHQVvEjeOVwrUXXvACfe0xy cnf13UqFKDz+7hagg4VUOyU= =h5jE -----END PGP SIGNATURE----- --CE+1k2dSO48ffgeK--