From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 20 01:16:26 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3721216A417 for ; Sun, 20 Jan 2008 01:16:26 +0000 (UTC) (envelope-from SRS0=Xvee9x=SK=vvelox.net=vvelox@yourhostingaccount.com) Received: from mailout15.yourhostingaccount.com (mailout15.yourhostingaccount.com [65.254.253.121]) by mx1.freebsd.org (Postfix) with ESMTP id 0056713C44B for ; Sun, 20 Jan 2008 01:16:25 +0000 (UTC) (envelope-from SRS0=Xvee9x=SK=vvelox.net=vvelox@yourhostingaccount.com) Received: from mailscan18.yourhostingaccount.com ([10.1.15.18] helo=mailscan18.yourhostingaccount.com) by mailout15.yourhostingaccount.com with esmtp (Exim) id 1JGOKH-0005U2-VC for freebsd-mobile@freebsd.org; Sat, 19 Jan 2008 19:46:18 -0500 Received: from impout03.yourhostingaccount.com ([10.1.55.3] helo=impout03.yourhostingaccount.com) by mailscan18.yourhostingaccount.com with esmtp (Exim) id 1JGOKH-0002tR-N2 for freebsd-mobile@freebsd.org; Sat, 19 Jan 2008 19:46:17 -0500 Received: from authsmtp09.yourhostingaccount.com ([10.1.18.9]) by impout03.yourhostingaccount.com with NO UCE id fCmH1Y0020BkWne0000000; Sat, 19 Jan 2008 19:46:17 -0500 X-EN-OrigOutIP: 10.1.18.9 X-EN-IMPSID: fCmH1Y0020BkWne0000000 Received: from c-98-206-161-17.hsd1.il.comcast.net ([98.206.161.17] helo=vixen42) by authsmtp09.yourhostingaccount.com with esmtpa (Exim) id 1JGOKH-0004DV-Ed for freebsd-mobile@freebsd.org; Sat, 19 Jan 2008 19:46:17 -0500 Date: Sat, 19 Jan 2008 18:47:10 -0600 From: "Zane C.B." To: freebsd-mobile@freebsd.org Message-ID: <20080119184710.544408c8@vixen42> In-Reply-To: <1B834BC9-A6A3-4424-93B3-D8CF1CEEE498@jlauser.net> References: <1B834BC9-A6A3-4424-93B3-D8CF1CEEE498@jlauser.net> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.5; i386-portbld-freebsd6.3) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/e+vS9K.k.EF72GoGSD3ysHx"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-EN-UserInfo: f1c157ec5ebebd12a8182d58c6ceecd9:1570f0de6936c69fef9e164fffc541bc X-EN-AuthUser: vvelox3 Sender: "Zane C.B." X-EN-OrigIP: 98.206.161.17 X-EN-OrigHost: c-98-206-161-17.hsd1.il.comcast.net Subject: Re: Asus Eee PC X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2008 01:16:26 -0000 --Sig_/e+vS9K.k.EF72GoGSD3ysHx Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 19 Jan 2008 09:18:02 -0500 James Lauser wrote: > Hello everyone. >=20 > I see that there have been a few posts regarding running FreeBSD > on Asus's new EeePC subnotebook. >=20 > I've written a semi-comprehensive guide to how I got things working > on my Eee. My writeup is located at: >=20 > http://nighthack.org/wiki/EeeBSD >=20 Much thanks. It is really appreciated it. --Sig_/e+vS9K.k.EF72GoGSD3ysHx Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHkpoRC1tfcMGJid4RAhhgAJ41cyDEr5wGAKDX7cSLHlcObu81ogCfZBGy J8cgmrISpPgkbljBZUYI0I4= =uQmR -----END PGP SIGNATURE----- --Sig_/e+vS9K.k.EF72GoGSD3ysHx-- From owner-freebsd-mobile@FreeBSD.ORG Mon Jan 21 16:37:48 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03BE516A421; Mon, 21 Jan 2008 16:37:48 +0000 (UTC) (envelope-from gerrit@pmp.uni-hannover.de) Received: from mrelay1.uni-hannover.de (mrelay1.uni-hannover.de [130.75.2.106]) by mx1.freebsd.org (Postfix) with ESMTP id ED08013C447; Mon, 21 Jan 2008 16:37:46 +0000 (UTC) (envelope-from gerrit@pmp.uni-hannover.de) Received: from www.pmp.uni-hannover.de (www.pmp.uni-hannover.de [130.75.117.2]) by mrelay1.uni-hannover.de (8.13.8/8.13.8) with ESMTP id m0LGFpp2011056; Mon, 21 Jan 2008 17:15:54 +0100 Received: from pmp.uni-hannover.de (arc.pmp.uni-hannover.de [130.75.117.1]) by www.pmp.uni-hannover.de (Postfix) with SMTP id AA9BE4F; Mon, 21 Jan 2008 17:15:51 +0100 (CET) Date: Mon, 21 Jan 2008 17:16:06 +0100 From: Gerrit =?ISO-8859-1?Q?K=FChn?= To: freebsd-mobile@freebsd.org Message-Id: <20080121171606.8eb5f189.gerrit@pmp.uni-hannover.de> Organization: Albert-Einstein-Institut (MPI =?ISO-8859-1?Q?f=FCr?= Gravitationsphysik & IGP =?ISO-8859-1?Q?Universit=E4t?= Hannover) X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.3; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-PMX-Version: 5.4.0.320885 Cc: freebsd-stable@freebsd.org Subject: T7200 CPU not detected by est X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 16:37:48 -0000 Hi folks, I have several systems using T7200 mobile CPUs running under 7-stable. However, EST does not recognize the cpus. When loading cpufreq I get: --- Jan 18 23:18:14 comet kernel: est1: on cpu1 Jan 18 23:18:14 comet kernel: est: CPU supports Enhanced Speedstep, but is not recognized. Jan 18 23:18:14 comet kernel: est: cpu_vendor GenuineIntel, msr 6130c2906000c29 Jan 18 23:18:14 comet kernel: device_attach: est1 attach returned 6 Jan 18 23:18:14 comet kernel: p4tcc0: on cpu0 Jan 18 23:18:14 comet kernel: est1: on cpu1 Jan 18 23:18:14 comet kernel: est: CPU supports Enhanced Control> Speedstep, but is not recognized. Jan 18 23:18:14 comet kernel: Control> est: cpu_vendor GenuineIntel, msr 6130c2906000c29 Jan 18 23:18:14 comet kernel: device_attach: est1 attach returned 6 Jan 18 23:18:14 comet kernel: p4tcc1: on cpu1 Jan 18 23:18:14 comet kernel: est1: on cpu1 Jan 18 23:18:14 comet kernel: est: CPU supports Enhanced Control> Speedstep, but is not recognized. Jan 18 23:18:14 comet kernel: est: cpu_vendor GenuineIntel, msr 6130c2906000c29 Jan 18 23:18:14 comet kernel: device_attach: est1 attach returned 6 Jan 18 23:18:14 comet kernel: est1: on cpu1 Jan 18 23:18:14 comet kernel: est: CPU supports Enhanced Speedstep, but is not recognized. Jan 18 23:18:14 comet kernel: est: cpu_vendor GenuineIntel, msr 6130c2906000c29 Jan 18 23:18:14 comet kernel: device_attach: est1 attach returned 6 --- Here is some (hopefully useful :-) excerpt from my dmesg: --- Copyright (c) 1992-2007 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.0-BETA4 #0: Fri Dec 14 21:02:47 CET 2007 root@comet.terra.ger:/usr/obj/usr/src/sys/COMET.7 can't re-use a leaf (siots)! can't re-use a leaf (conspeed)! can't re-use a leaf (gdbspeed)! can't re-use a leaf (conrclk)! Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (1999.00-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6 Features=0xbfebfbff Features2=0xe3bd AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 2 real memory = 2137915392 (2038 MB) avail memory = 2086670336 (1990 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 pnpbios: Bad PnP BIOS data checksum ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard [...] acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 7f5e0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 acpi_perf0: on cpu0 cpu1: on acpi0 acpi_button0: on acpi0 [...] SMP: AP CPU #1 Launched! --- When I start powerd with cpufreq loaded like this, the machines typically crash and reboot. I searched the web for a while to find a solution for this, but without any success. Does anybody here have some hints how to get speedstepping & co. to work properly? cu Gerrit From owner-freebsd-mobile@FreeBSD.ORG Mon Jan 21 17:17:54 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E47A16A421 for ; Mon, 21 Jan 2008 17:17:54 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8F63C13C4F2 for ; Mon, 21 Jan 2008 17:17:54 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 539BD1CC031; Mon, 21 Jan 2008 09:01:02 -0800 (PST) Date: Mon, 21 Jan 2008 09:01:02 -0800 From: Jeremy Chadwick To: Gerrit =?iso-8859-1?Q?K=FChn?= Message-ID: <20080121170102.GA46419@eos.sc1.parodius.com> References: <20080121171606.8eb5f189.gerrit@pmp.uni-hannover.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080121171606.8eb5f189.gerrit@pmp.uni-hannover.de> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: T7200 CPU not detected by est X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 17:17:54 -0000 On Mon, Jan 21, 2008 at 05:16:06PM +0100, Gerrit Kühn wrote: > I have several systems using T7200 mobile CPUs running under 7-stable. > However, EST does not recognize the cpus. When loading cpufreq I get: > > --- > Jan 18 23:18:14 comet kernel: est1: on cpu1 > Jan 18 23:18:14 comet kernel: est: CPU supports Enhanced Speedstep, but is not recognized. > Jan 18 23:18:14 comet kernel: est: cpu_vendor GenuineIntel, msr 6130c2906000c29 > Jan 18 23:18:14 comet kernel: device_attach: est1 attach returned 6 > --- I see identical behaviour on our Supermicro PDSMI+ systems, using E6420 CPUs, so I don't believe the problem is specific to your motherboard or certain Intel CPU models: CPU: Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz (2128.01-MHz 686-class CPU) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) cpu0: on acpi0 est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 82a082a0600082a device_attach: est0 attach returned 6 cpu1: on acpi0 est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 82a082a0600082a device_attach: est1 attach returned 6 In the case of our servers, we usually turn EIST off (this one particular box has it enabled) because of the above problem -- but I'd much rather have it turned on to help save power. For a laptop or workstation, however, I can see this being an incredibly important feature. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 22 08:47:43 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B65916A417; Tue, 22 Jan 2008 08:47:43 +0000 (UTC) (envelope-from gerrit@pmp.uni-hannover.de) Received: from mrelay1.uni-hannover.de (mrelay1.uni-hannover.de [130.75.2.106]) by mx1.freebsd.org (Postfix) with ESMTP id 8C75613C465; Tue, 22 Jan 2008 08:47:42 +0000 (UTC) (envelope-from gerrit@pmp.uni-hannover.de) Received: from www.pmp.uni-hannover.de (www.pmp.uni-hannover.de [130.75.117.2]) by mrelay1.uni-hannover.de (8.13.8/8.13.8) with ESMTP id m0M8lcAN021172; Tue, 22 Jan 2008 09:47:40 +0100 Received: from pmp.uni-hannover.de (arc.pmp.uni-hannover.de [130.75.117.1]) by www.pmp.uni-hannover.de (Postfix) with SMTP id 75F344F; Tue, 22 Jan 2008 09:47:38 +0100 (CET) Date: Tue, 22 Jan 2008 09:47:56 +0100 From: Gerrit =?ISO-8859-1?Q?K=FChn?= To: Jeremy Chadwick Message-Id: <20080122094756.2d8f0bdf.gerrit@pmp.uni-hannover.de> In-Reply-To: <20080121170102.GA46419@eos.sc1.parodius.com> References: <20080121171606.8eb5f189.gerrit@pmp.uni-hannover.de> <20080121170102.GA46419@eos.sc1.parodius.com> Organization: Albert-Einstein-Institut (MPI =?ISO-8859-1?Q?f=FCr?= Gravitationsphysik & IGP =?ISO-8859-1?Q?Universit=E4t?= Hannover) X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.3; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-PMX-Version: 5.4.0.320885 Cc: freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: T7200 CPU not detected by est X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 08:47:43 -0000 On Mon, 21 Jan 2008 09:01:02 -0800 Jeremy Chadwick wrote about Re: T7200 CPU not detected by est: JC> > Jan 18 23:18:14 comet kernel: est1: > Control> on cpu1 Jan 18 23:18:14 comet kernel: est: CPU supports JC> > Control> Enhanced Speedstep, but is not recognized. JC> > Jan 18 23:18:14 comet kernel: est: cpu_vendor GenuineIntel, msr JC> > 6130c2906000c29 Jan 18 23:18:14 comet kernel: device_attach: est1 JC> > attach returned 6 JC> I see identical behaviour on our Supermicro PDSMI+ systems, using E6420 JC> CPUs, so I don't believe the problem is specific to your motherboard or JC> certain Intel CPU models: It is definitely not bound to certain mainboards, because I see it on several different ones. However, I have only T-series CPUs to test. JC> CPU: Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz (2128.01-MHz JC> 686-class CPU) acpi0: on motherboard JC> acpi0: [ITHREAD] JC> acpi0: Power Button (fixed) JC> cpu0: on acpi0 JC> est0: on cpu0 JC> est: CPU supports Enhanced Speedstep, but is not recognized. JC> est: cpu_vendor GenuineIntel, msr 82a082a0600082a JC> device_attach: est0 attach returned 6 JC> cpu1: on acpi0 JC> est1: on cpu1 JC> est: CPU supports Enhanced Speedstep, but is not recognized. JC> est: cpu_vendor GenuineIntel, msr 82a082a0600082a JC> device_attach: est1 attach returned 6 Ok, so it's probably neither specific for CPUs nor for the mainbaords; however, up to now all CPUs with this problem are Core2 CPUs. JC> In the case of our servers, we usually turn EIST off (this one JC> particular box has it enabled) because of the above problem -- but I'd JC> much rather have it turned on to help save power. For a laptop or JC> workstation, however, I can see this being an incredibly important JC> feature. I run low power workstations here which are intended to be used in a lab environment, and I would very much like to have working power-saving features (otherwise the whole setup is quite useless). Can I somehow help debugging this, should I file a PR or are there any further recommended things to do? cu Gerrit From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 22 09:24:55 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CF0D16A418; Tue, 22 Jan 2008 09:24:55 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6D89A13C4CC; Tue, 22 Jan 2008 09:24:55 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 7A7761CC031; Tue, 22 Jan 2008 01:24:55 -0800 (PST) Date: Tue, 22 Jan 2008 01:24:55 -0800 From: Jeremy Chadwick To: Gerrit =?iso-8859-1?Q?K=FChn?= Message-ID: <20080122092455.GA64519@eos.sc1.parodius.com> References: <20080121171606.8eb5f189.gerrit@pmp.uni-hannover.de> <20080121170102.GA46419@eos.sc1.parodius.com> <20080122094756.2d8f0bdf.gerrit@pmp.uni-hannover.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080122094756.2d8f0bdf.gerrit@pmp.uni-hannover.de> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: T7200 CPU not detected by est X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 09:24:55 -0000 On Tue, Jan 22, 2008 at 09:47:56AM +0100, Gerrit Kühn wrote: > Ok, so it's probably neither specific for CPUs nor for the mainbaords; > however, up to now all CPUs with this problem are Core2 CPUs. > > JC> In the case of our servers, we usually turn EIST off (this one > JC> particular box has it enabled) because of the above problem -- but I'd > JC> much rather have it turned on to help save power. For a laptop or > JC> workstation, however, I can see this being an incredibly important > JC> feature. > > I run low power workstations here which are intended to be used in a lab > environment, and I would very much like to have working power-saving > features (otherwise the whole setup is quite useless). > > Can I somehow help debugging this, should I file a PR or are there any > further recommended things to do? I believe the problem is that our CPUs don't match any of the identification verification methods performed in src/sys/i386/cpufreq/est.c. I should be able to make a patch for this, but will need time -- our to-be-dev/test C2D box sits in my living room waiting for CPUs to arrive so it can be built. :-) If you'd like to file a PR in the meantime, that'd be great too; let me know what the PR # is. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 22 13:47:25 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA63116A419; Tue, 22 Jan 2008 13:47:25 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id ACF0913C47E; Tue, 22 Jan 2008 13:47:25 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 672541CC031; Tue, 22 Jan 2008 05:47:25 -0800 (PST) Date: Tue, 22 Jan 2008 05:47:25 -0800 From: Jeremy Chadwick To: Gerrit =?iso-8859-1?Q?K=FChn?= Message-ID: <20080122134725.GA68722@eos.sc1.parodius.com> References: <20080121171606.8eb5f189.gerrit@pmp.uni-hannover.de> <20080121170102.GA46419@eos.sc1.parodius.com> <20080122094756.2d8f0bdf.gerrit@pmp.uni-hannover.de> <20080122092455.GA64519@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080122092455.GA64519@eos.sc1.parodius.com> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: T7200 CPU not detected by est X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 13:47:26 -0000 On Tue, Jan 22, 2008 at 01:24:55AM -0800, Jeremy Chadwick wrote: > I believe the problem is that our CPUs don't match any of the > identification verification methods performed in > src/sys/i386/cpufreq/est.c. > > I should be able to make a patch for this, but will need time -- our > to-be-dev/test C2D box sits in my living room waiting for CPUs to arrive > so it can be built. :-) I've spent most of this evening poking at the code in question, as well as looking at [too many] Intel specification documents for both the Intel Core 2 Duo Desktop (Exxxx) and Mobile (Txxxx) processors. Some technical details are below, followed by the "i'm a user not a programmer" stuff. The message "CPU supports Enhanced Speedstep, but is not recognized" is indeed because the E6420 and the T7200 are not in the frequency tables within src/sys/i386/cpufreq/est.c. It appears that est.c is actually for the older Pentium M and VIA Centaur platforms -- particularly, those which do not offer frequency tables via ACPI, and instead use some hard-coded tables based on CPU manufacturer specifications. However, within docs for the Intel C2D CPUs, the tables in question are no where to be found. You can find lots of documentation describing what all the VID bits do and what multiplication factor they break down to (e.g. 1.0000 = normal, 0.8250 = slower, 0.6000 = even slower, etc.) but there's no pre-defined list of frequencies that I could find. This frustrated me, so I took a look at what Linux did. Seems they were in the same boat, and ended up doing essentialy what FreeBSD has done: support SpeedStep on platforms which don't provide frequency tables through ACPI ("speedstep-centrino") and instead require fiddling of bits via MSR, and also support SpeedStep on platforms which have frequency tables provided via ACPI. They combined both drivers into a single driver, "speedstep-cpufreq", which prefers the ACPI method but will restort to the old MSR method on platforms where available: http://osdir.com/ml/kernel.cpufreq/2006-09/msg00004.html Further research into the FreeBSD side of things showed me that the cpufreq(4) driver supports both the MSR method (via est.c) and the ACPI method. This can be seen in the cpufreq(4) manpage; the MSR method is "est" (which is what est.c is), and the ACPI method is "acpi_perf". There's also "acpi_throttle", but I'm not sure what that is. cpufreq(4) provides both some kernel API functions for twiddling of stuff, as well as sysctl(8) knobs. That said, I did a `sysctl -a | grep freq` on our E6420 system with EIST enabled, and found the following relevant data: dev.cpu.0.freq: 2117 dev.cpu.0.freq_levels: 2117/-1 1852/-1 1587/-1 1323/-1 1058/-1 793/-1 529/-1 264/-1 dev.cpufreq.0.%driver: cpufreq dev.cpufreq.0.%parent: cpu0 dev.cpufreq.1.%driver: cpufreq dev.cpufreq.1.%parent: cpu1 The dev.cpu.0.freq_levels values are CPU MHz/milliwatt; the -1 values for milliwatt are missing, but this shouldn't impact things. Since cpufreq(4) is what obtains these via ACPI (a la acpi_perf, I assume), it's safe to say that cpufreq(4) will slow the system down if one was to change dev.cpu.0.freq to one of the values shown in freq_levels. I have some ideas as to why there's no dev.cpu.1.freq, but my ideas are based on the older EIST stuff I've read tonight. That said: powerd(8) on FreeBSD will flip through all of the above MHz values, depending upon how you tune it. I use powerd(8) on my AMD Athlon 64 X2 system at home. I had to enable the Cool'n'Quiet BIOS option, and then this showed up: cpu0: on acpi0 powernow0: on cpu0 cpu1: on acpi0 powernow1: on cpu1 icarus# ps -auxwwww | grep powerd root 669 0.0 0.0 3140 832 ?? Ss Thu06am 0:16.23 /usr/sbin/powerd -p 2000 And the sysctl values: dev.cpu.0.freq: 1005 dev.cpu.0.freq_levels: 2010/89000 1809/84600 1005/40100 dev.powernow.0.freq_settings: 2010/89000 1809/84600 1005/40100 dev.powernow.1.freq_settings: 2010/89000 1809/84600 1005/40100 dev.cpufreq.0.%driver: cpufreq dev.cpufreq.0.%parent: cpu0 dev.cpufreq.1.%driver: cpufreq dev.cpufreq.1.%parent: cpu1 Interesting thing here is that there's dev.powernow.[0].freq_settings while on the E6420 box there's only the 0 index. Anyway, I decided to run powerd on the EIST box to see what happened: # ps -auxw | grep powerd root 25602 0.0 0.0 3120 820 ?? Ss 5:43AM 0:00.00 /usr/sbin/powerd -p 2000 root 25604 0.0 0.0 1588 780 p1 R+ 5:43AM 0:00.00 grep powerd # sysctl -a | egrep 'dev.*freq:|freq_levels:' dev.cpu.0.freq: 1323 dev.cpu.0.freq_levels: 2117/-1 1852/-1 1587/-1 1323/-1 1058/-1 793/-1 529/-1 264/-1 # sysctl -a | egrep 'dev.*freq:|freq_levels:' dev.cpu.0.freq: 264 dev.cpu.0.freq_levels: 2117/-1 1852/-1 1587/-1 1323/-1 1058/-1 793/-1 529/-1 264/-1 And I can tell the system is significantly "slower" when idle, which is normal. :-) So give that a try... -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 22 14:22:44 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5418B16A417; Tue, 22 Jan 2008 14:22:44 +0000 (UTC) (envelope-from gerrit@pmp.uni-hannover.de) Received: from mrelay1.uni-hannover.de (mrelay1.uni-hannover.de [130.75.2.106]) by mx1.freebsd.org (Postfix) with ESMTP id C858E13C45A; Tue, 22 Jan 2008 14:22:43 +0000 (UTC) (envelope-from gerrit@pmp.uni-hannover.de) Received: from www.pmp.uni-hannover.de (www.pmp.uni-hannover.de [130.75.117.2]) by mrelay1.uni-hannover.de (8.13.8/8.13.8) with ESMTP id m0MEMfrR010143; Tue, 22 Jan 2008 15:22:42 +0100 Received: from pmp.uni-hannover.de (arc.pmp.uni-hannover.de [130.75.117.1]) by www.pmp.uni-hannover.de (Postfix) with SMTP id 1448B72; Tue, 22 Jan 2008 15:22:41 +0100 (CET) Date: Tue, 22 Jan 2008 15:22:59 +0100 From: Gerrit =?ISO-8859-1?Q?K=FChn?= To: Jeremy Chadwick Message-Id: <20080122152259.b1892803.gerrit@pmp.uni-hannover.de> In-Reply-To: <20080122134725.GA68722@eos.sc1.parodius.com> References: <20080121171606.8eb5f189.gerrit@pmp.uni-hannover.de> <20080121170102.GA46419@eos.sc1.parodius.com> <20080122094756.2d8f0bdf.gerrit@pmp.uni-hannover.de> <20080122092455.GA64519@eos.sc1.parodius.com> <20080122134725.GA68722@eos.sc1.parodius.com> Organization: Albert-Einstein-Institut (MPI =?ISO-8859-1?Q?f=FCr?= Gravitationsphysik & IGP =?ISO-8859-1?Q?Universit=E4t?= Hannover) X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.3; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-PMX-Version: 5.4.0.320885 Cc: freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: T7200 CPU not detected by est X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 14:22:44 -0000 On Tue, 22 Jan 2008 05:47:25 -0800 Jeremy Chadwick wrote about Re: T7200 CPU not detected by est: JC> And I can tell the system is significantly "slower" when idle, which is JC> normal. :-) JC> So give that a try... First of all, thank you very much for your work and your mail. Surprisingly (at least to me :-) everything seems to work as you said with the system on my desk here, which has a T7200 and FreeBSD 6.3-RC2. However, I know I already tried this with my system at home with a T7200 and FreeBSD 7.0-Beta4, and it crashed and rebooted when starting powerd. Just to make sure, I will try again and report about it when I am back at home. Meanwhile, I also opened a PR under #119895. cu Gerrit From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 22 21:42:00 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70EC216A418 for ; Tue, 22 Jan 2008 21:42:00 +0000 (UTC) (envelope-from dennis.melentyev@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 033D713C4D9 for ; Tue, 22 Jan 2008 21:41:59 +0000 (UTC) (envelope-from dennis.melentyev@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so2484395fgg.35 for ; Tue, 22 Jan 2008 13:41:58 -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:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=mYbw0XGNuxytm+TwoIbAuVZ9AvUPgWAAu/G4cQHrgoA=; b=oAbhFTxNS8Cc+T5EgvOBA2chR/IGTMYkXPzwTF2u62Nv6Ing9x2ZPZwcyfkVjQI3+HEl6UZfFXHDrXMz6MHN+dFmhKn3Y+OAYplXzXd8I3sJBP8xQM0qICdXu+Mzzf5W594hkOiRQVY9dvR66RFBcYcm/B4Z9oEwQJ45jq36uho= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=O84+RU3fu5V0IKO71T/jhq8FaRec5I85I38FrAvW2q93kvXIagBYR19xHZSD4pL9YbhNBKwXs+akd16ZdgXExSW2B9F8Z9bKI+idfYSRpsEO2TEYAVPsJA7IEX8y70s47Xs3/dIJ6FoUsaEPbHyKOYk1sNb7ftW10gI//aCpcKY= Received: by 10.86.84.5 with SMTP id h5mr8141528fgb.49.1201038118406; Tue, 22 Jan 2008 13:41:58 -0800 (PST) Received: by 10.86.60.14 with HTTP; Tue, 22 Jan 2008 13:41:58 -0800 (PST) Message-ID: Date: Tue, 22 Jan 2008 23:41:58 +0200 From: "Dennis Melentyev" To: "Vittorio De Martino" In-Reply-To: <200801191302.28733.vittorio@de-martino.it> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200801191302.28733.vittorio@de-martino.it> Cc: freebsd-mobile@freebsd.org Subject: Re: Intel 3945: wpi0 after some time stops working X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 21:42:00 -0000 Just wild guess: Linksys router send 255.255.255.255 as a netmask and routing go wild? Just check routing, dhcp leases and resolve.conf Then check corresponding tools. 2008/1/19, Vittorio De Martino : > Context: HP laptop DV6000, centrino duo, FreeBSD 7.0-BETA4 > > Following your advice I was able to start the intel 3945 card of my notebook > and establish a WPA connection with the AP by way of the following script: > $$$$$$$$$$$$$$$$$$$$ > wpa_supplicant -i wpi0 -c /etc/wpa_supplicant.conf -Bw > #ifconfig wpi0 up > dhclient wpi0 > $$$$$$$$$$$$$$$$$$$$ > > Now, the consequent connection is steady for 10-20 minutes than it stops > working (ifconfig wpi0 doesn't seem to signal anything wrong!) and I cannot > connect to anything . Following > your advice I set sysctl debug.wpi=-2 and copied an extract of the > resulting, quite long, /var/log/messages into > > http://www.de-martino.it/FreeBSD/log3945/log.txt > > What's wrong with my 3945? > > Ciao > Vittorio > > > > > > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > -- Dennis Melentyev From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 22 23:28:56 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BAAE16A419 for ; Tue, 22 Jan 2008 23:28:56 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 3FA2813C458 for ; Tue, 22 Jan 2008 23:28:56 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8s) with ESMTP id 229400564-1834499 for multiple; Tue, 22 Jan 2008 18:13:23 -0500 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id m0MNCD9q080735; Tue, 22 Jan 2008 18:12:16 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-mobile@freebsd.org Date: Tue, 22 Jan 2008 16:26:28 -0500 User-Agent: KMail/1.9.7 References: <20080121171606.8eb5f189.gerrit@pmp.uni-hannover.de> In-Reply-To: <20080121171606.8eb5f189.gerrit@pmp.uni-hannover.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200801221626.28744.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Tue, 22 Jan 2008 18:12:16 -0500 (EST) X-Virus-Scanned: ClamAV 0.91.2/5525/Tue Jan 22 15:43:38 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-stable@freebsd.org Subject: Re: T7200 CPU not detected by est X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 23:28:56 -0000 On Monday 21 January 2008 11:16:06 am Gerrit K=FChn wrote: > Hi folks, >=20 > I have several systems using T7200 mobile CPUs running under 7-stable. > However, EST does not recognize the cpus. When loading cpufreq I get: You can try this patch. It won't add support for all of the levels, but it= =20 will support the current level and the highest level (IIRC). Index: est.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/cvs/src/sys/i386/cpufreq/est.c,v retrieving revision 1.11 diff -u -r1.11 est.c =2D-- est.c 11 May 2006 17:35:44 -0000 1.11 +++ est.c 2 Oct 2007 18:04:58 -0000 @@ -38,6 +38,7 @@ #include =20 #include "cpufreq_if.h" +#include #include =20 #include @@ -70,6 +71,7 @@ struct est_softc { device_t dev; int acpi_settings; + int msr_settings; freq_info *freq_list; }; =20 @@ -897,6 +899,7 @@ static int est_get_info(device_t dev); static int est_acpi_info(device_t dev, freq_info **freqs); static int est_table_info(device_t dev, uint64_t msr, freq_info **freqs); +static int est_msr_info(device_t dev, uint64_t msr, freq_info **freqs); static freq_info *est_get_current(freq_info *freq_list); static int est_settings(device_t dev, struct cf_setting *sets, int *count); static int est_set(device_t dev, const struct cf_setting *set); @@ -1031,11 +1034,13 @@ static int est_detach(device_t dev) { +#if 0 struct est_softc *sc; =20 sc =3D device_get_softc(dev); =2D if (sc->acpi_settings) + if (sc->acpi_settings || sc->msr_settings) free(sc->freq_list, M_DEVBUF); +#endif return (ENXIO); } =20 @@ -1059,6 +1064,9 @@ if (error) error =3D est_acpi_info(dev, &sc->freq_list); =20 + if (error) + error =3D est_msr_info(dev, msr, &sc->freq_list); + if (error) { printf( "est: CPU supports Enhanced Speedstep, but is not recognized.\n" @@ -1149,6 +1157,77 @@ return (0); } =20 +/* + * Flesh out a simple rate table containing the high and low frequencies + * based on the current clock speed and the upper 32 bits of the MSR. + */ +static int +est_msr_info(device_t dev, uint64_t msr, freq_info **freqs) +{ + struct est_softc *sc; + freq_info *fp; + int bus, freq, volts; + uint16_t id; + + if (strcmp("GenuineIntel", cpu_vendor) !=3D 0) + return (EOPNOTSUPP); + + /* Figure out the bus clock. */ + freq =3D tsc_freq / 1000000; + id =3D msr >> 32; + bus =3D freq / (id >> 8); + device_printf(dev, "Guessed bus clock (high) of %d MHz\n", bus); + if (bus !=3D 100 && bus !=3D 133) { + /* We may be running on the low frequency. */ + id =3D msr >> 48; + bus =3D freq / (id >> 8); + device_printf(dev, "Guessed bus clock (low) of %d MHz\n", bus); + if (bus !=3D 100 && bus !=3D 133) + return (EOPNOTSUPP); + =09 + /* Calculate high frequency. */ + id =3D msr >> 32; + freq =3D ((id >> 8) & 0xff) * bus; + } + + /* Fill out a new freq table containing just the high and low freqs. */ + sc =3D device_get_softc(dev); + fp =3D malloc(sizeof(freq_info) * 3, M_DEVBUF, M_WAITOK | M_ZERO); + + /* First, the high frequency. */ + volts =3D id & 0xff; + if (volts !=3D 0) { + volts <<=3D 4; + volts +=3D 700; + } + fp[0].freq =3D freq; + fp[0].volts =3D volts; + fp[0].id16 =3D id; + fp[0].power =3D CPUFREQ_VAL_UNKNOWN; + device_printf(dev, "Guessed high setting of %d MHz @ %d Mv\n", freq, + volts); + + /* Second, the low frequency. */ + id =3D msr >> 48; + freq =3D ((id >> 8) & 0xff) * bus; + volts =3D id & 0xff; + if (volts !=3D 0) { + volts <<=3D 4; + volts +=3D 700; + } + fp[1].freq =3D freq; + fp[1].volts =3D volts; + fp[1].id16 =3D id; + fp[1].power =3D CPUFREQ_VAL_UNKNOWN; + device_printf(dev, "Guessed low setting of %d MHz @ %d Mv\n", freq, + volts); + + /* Table is already terminated due to M_ZERO. */ + sc->msr_settings =3D TRUE; + *freqs =3D fp; + return (0); +} + static freq_info * est_get_current(freq_info *freq_list) { =2D-=20 John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 23 08:10:05 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B9B116A418; Wed, 23 Jan 2008 08:10:05 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from mx.bulinfo.net (mx.bulinfo.net [193.194.156.1]) by mx1.freebsd.org (Postfix) with ESMTP id F130113C4E9; Wed, 23 Jan 2008 08:10:04 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from localhost (localhost [127.0.0.1]) by mx.bulinfo.net (Postfix) with ESMTP id ED5E6660D1; Wed, 23 Jan 2008 09:42:55 +0200 (EET) Received: from mx.bulinfo.net ([127.0.0.1]) by localhost (mx.bulinfo.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 44164-02; Wed, 23 Jan 2008 09:42:54 +0200 (EET) Received: from [192.168.2.188] (pythia.bulinfo.net [212.72.195.5]) by mx.bulinfo.net (Postfix) with ESMTP id 334F4660B8; Wed, 23 Jan 2008 09:42:54 +0200 (EET) Message-ID: <4796EFFC.5000601@bulinfo.net> Date: Wed, 23 Jan 2008 09:42:52 +0200 From: Krassimir Slavchev User-Agent: Thunderbird 2.0.0.9 (X11/20071122) MIME-Version: 1.0 To: John Baldwin References: <20080121171606.8eb5f189.gerrit@pmp.uni-hannover.de> <200801221626.28744.jhb@freebsd.org> In-Reply-To: <200801221626.28744.jhb@freebsd.org> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at mx.bulinfo.net Cc: freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: T7200 CPU not detected by est X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2008 08:10:05 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John Baldwin wrote: > On Monday 21 January 2008 11:16:06 am Gerrit Kühn wrote: >> Hi folks, >> >> I have several systems using T7200 mobile CPUs running under 7-stable. >> However, EST does not recognize the cpus. When loading cpufreq I get: > > You can try this patch. It won't add support for all of the levels, but it > will support the current level and the highest level (IIRC). > It works now on my T7700: dev.est.0.%desc: Enhanced SpeedStep Frequency Control dev.est.0.%driver: est dev.est.0.%parent: cpu0 dev.est.0.freq_settings: 2401/35000 2400/35000 2000/28000 1600/22000 1200/16000 dev.est.1.%desc: Enhanced SpeedStep Frequency Control dev.est.1.%driver: est dev.est.1.%parent: cpu1 dev.est.1.freq_settings: 2401/35000 2400/35000 2000/28000 1600/22000 1200/16000 Thanks -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHlu/8xJBWvpalMpkRAmhxAKCMmNwKs5Lc4VqfZV7h2kyoFhXovQCcDl8N /t5yK13dWc6XywqAWEDCjP8= =xpsg -----END PGP SIGNATURE----- From owner-freebsd-mobile@FreeBSD.ORG Fri Jan 25 14:56:21 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA1E116A418 for ; Fri, 25 Jan 2008 14:56:21 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 9E80313C47E for ; Fri, 25 Jan 2008 14:56:21 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by elvis.mu.org (Postfix) with ESMTP id 40A731A4D87; Fri, 25 Jan 2008 06:35:32 -0800 (PST) From: John Baldwin To: freebsd-stable@freebsd.org Date: Fri, 25 Jan 2008 08:59:50 -0500 User-Agent: KMail/1.9.7 References: <20080121171606.8eb5f189.gerrit@pmp.uni-hannover.de> <200801221626.28744.jhb@freebsd.org> <4796EFFC.5000601@bulinfo.net> In-Reply-To: <4796EFFC.5000601@bulinfo.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200801250859.50419.jhb@freebsd.org> Cc: Krassimir Slavchev , freebsd-mobile@freebsd.org Subject: Re: T7200 CPU not detected by est X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2008 14:56:21 -0000 On Wednesday 23 January 2008 02:42:52 am Krassimir Slavchev wrote: > John Baldwin wrote: > > On Monday 21 January 2008 11:16:06 am Gerrit K=FChn wrote: > >> Hi folks, > >> > >> I have several systems using T7200 mobile CPUs running under 7-stable. > >> However, EST does not recognize the cpus. When loading cpufreq I get: > > > > You can try this patch. It won't add support for all of the levels, bu= t it > > will support the current level and the highest level (IIRC). > > >=20 >=20 > It works now on my T7700: >=20 > dev.est.0.%desc: Enhanced SpeedStep Frequency Control > dev.est.0.%driver: est > dev.est.0.%parent: cpu0 > dev.est.0.freq_settings: 2401/35000 2400/35000 2000/28000 1600/22000 > 1200/16000 > dev.est.1.%desc: Enhanced SpeedStep Frequency Control > dev.est.1.%driver: est > dev.est.1.%parent: cpu1 > dev.est.1.freq_settings: 2401/35000 2400/35000 2000/28000 1600/22000 > 1200/16000 Odd, it shouldn't have provided that many settings. It also doesn't provide power info. I wonder if you are getting the settings from ACPI. =2D-=20 John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Fri Jan 25 16:09:53 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5378D16A418; Fri, 25 Jan 2008 16:09:53 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from mx.bulinfo.net (mx.bulinfo.net [193.194.156.1]) by mx1.freebsd.org (Postfix) with ESMTP id 1723113C447; Fri, 25 Jan 2008 16:09:53 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from localhost (localhost [127.0.0.1]) by mx.bulinfo.net (Postfix) with ESMTP id 3C905C0752; Fri, 25 Jan 2008 18:09:51 +0200 (EET) Received: from mx.bulinfo.net ([127.0.0.1]) by localhost (mx.bulinfo.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 60829-01-11; Fri, 25 Jan 2008 18:09:49 +0200 (EET) Received: from [192.168.2.188] (pythia.bulinfo.net [212.72.195.5]) by mx.bulinfo.net (Postfix) with ESMTP id 71C54C06AE; Fri, 25 Jan 2008 18:02:27 +0200 (EET) Message-ID: <479A0808.3010800@bulinfo.net> Date: Fri, 25 Jan 2008 18:02:16 +0200 From: Krassimir Slavchev User-Agent: Thunderbird 2.0.0.9 (X11/20071122) MIME-Version: 1.0 To: John Baldwin References: <20080121171606.8eb5f189.gerrit@pmp.uni-hannover.de> <200801221626.28744.jhb@freebsd.org> <4796EFFC.5000601@bulinfo.net> <200801250859.50419.jhb@freebsd.org> In-Reply-To: <200801250859.50419.jhb@freebsd.org> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at mx.bulinfo.net Cc: freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: T7200 CPU not detected by est X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2008 16:09:53 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John Baldwin wrote: > On Wednesday 23 January 2008 02:42:52 am Krassimir Slavchev wrote: >> John Baldwin wrote: >>> On Monday 21 January 2008 11:16:06 am Gerrit Kühn wrote: >>>> Hi folks, >>>> >>>> I have several systems using T7200 mobile CPUs running under 7-stable. >>>> However, EST does not recognize the cpus. When loading cpufreq I get: >>> You can try this patch. It won't add support for all of the levels, but it >>> will support the current level and the highest level (IIRC). >>> >> >> It works now on my T7700: >> >> dev.est.0.%desc: Enhanced SpeedStep Frequency Control >> dev.est.0.%driver: est >> dev.est.0.%parent: cpu0 >> dev.est.0.freq_settings: 2401/35000 2400/35000 2000/28000 1600/22000 >> 1200/16000 >> dev.est.1.%desc: Enhanced SpeedStep Frequency Control >> dev.est.1.%driver: est >> dev.est.1.%parent: cpu1 >> dev.est.1.freq_settings: 2401/35000 2400/35000 2000/28000 1600/22000 >> 1200/16000 > > Odd, it shouldn't have provided that many settings. It also doesn't > provide power info. I wonder if you are getting the settings from > ACPI. > That is the output of 'sysctl -a | grep dev.est' and I don't have any additional settings. May be something is wrong with the ACPI on this Acer notebook. There were errors in the DSDT table but after fixing them the output is the same. Actually I have problems with the bge card, it does not work with acpi enabled because it can't map memory... Let me know if you want any additional information? Best Regards -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHmggIxJBWvpalMpkRAo8UAJ9uHbVnntYrxJS3NiDwb20xKlisVgCfY2qI 4VWpa8JKbckAXNMyupOGM4U= =2opq -----END PGP SIGNATURE----- From owner-freebsd-mobile@FreeBSD.ORG Fri Jan 25 16:18:05 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DD8316A476; Fri, 25 Jan 2008 16:18:05 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 9458C13C469; Fri, 25 Jan 2008 16:18:02 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with ESMTP id DAA28187; Sat, 26 Jan 2008 03:17:59 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 26 Jan 2008 03:17:58 +1100 (EST) From: Ian Smith To: John Baldwin In-Reply-To: <200801250859.50419.jhb@freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Cc: freebsd-stable@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: T7200 CPU not detected by est X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2008 16:18:05 -0000 On Fri, 25 Jan 2008, John Baldwin wrote: > On Wednesday 23 January 2008 02:42:52 am Krassimir Slavchev wrote: > > John Baldwin wrote: > > > On Monday 21 January 2008 11:16:06 am Gerrit Kühn wrote: > > >> Hi folks, > > >> > > >> I have several systems using T7200 mobile CPUs running under 7-stable. > > >> However, EST does not recognize the cpus. When loading cpufreq I get: > > > > > > You can try this patch. It won't add support for all of the levels, but it > > > will support the current level and the highest level (IIRC). > > > > > > > > > It works now on my T7700: > > > > dev.est.0.%desc: Enhanced SpeedStep Frequency Control > > dev.est.0.%driver: est > > dev.est.0.%parent: cpu0 > > dev.est.0.freq_settings: 2401/35000 2400/35000 2000/28000 1600/22000 > > 1200/16000 > > dev.est.1.%desc: Enhanced SpeedStep Frequency Control > > dev.est.1.%driver: est > > dev.est.1.%parent: cpu1 > > dev.est.1.freq_settings: 2401/35000 2400/35000 2000/28000 1600/22000 > > 1200/16000 > > Odd, it shouldn't have provided that many settings. It also doesn't > provide power info. I wonder if you are getting the settings from > ACPI. Assuming so, wouldn't this seem to be an instance needing the recent: kern/114722: [acpi] [patch] Nearly duplicate p-state entries reported http://www.freebsd.org/cgi/query-pr.cgi?pr=114722 ? cheers, Ian