From owner-freebsd-stable@FreeBSD.ORG Tue Jan 29 14:27:59 2008 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 2518E16A46B; Tue, 29 Jan 2008 14:27:59 +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 975EA13C467; Tue, 29 Jan 2008 14:27:58 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from localhost (localhost [127.0.0.1]) by mx.bulinfo.net (Postfix) with ESMTP id A83BB1FAB9; Tue, 29 Jan 2008 16:27:56 +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 92303-07-6; Tue, 29 Jan 2008 16:27:54 +0200 (EET) Received: from [192.168.2.188] (pythia.bulinfo.net [212.72.195.5]) by mx.bulinfo.net (Postfix) with ESMTP id 1C4BF1FAC9; Tue, 29 Jan 2008 16:27:54 +0200 (EET) Message-ID: <479F37E9.9030409@bulinfo.net> Date: Tue, 29 Jan 2008 16:27:53 +0200 From: Krassimir Slavchev User-Agent: Thunderbird 2.0.0.9 (X11/20071122) MIME-Version: 1.0 To: Stefan Lambrev References: <479D83E3.5030101@bulinfo.net> <479D91C1.2050409@moneybookers.com> <479F2D34.4020907@bulinfo.net> <479F3436.5090304@moneybookers.com> In-Reply-To: <479F3436.5090304@moneybookers.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at mx.bulinfo.net Cc: freebsd-stable@freebsd.org, Ian Smith , John Baldwin , freebsd-mobile@freebsd.org, =?UTF-8?B?R2Vycml0IEvDvGhu?= , Nate Lawson Subject: Re: T7200 CPU not detected by est 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: Tue, 29 Jan 2008 14:27:59 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stefan Lambrev wrote: > Greetings, > > Krassimir Slavchev wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Stefan Lambrev wrote: >> >>> Greetings, >>> >>> Krassimir Slavchev wrote: >>> >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> Hash: SHA1 >>>> >>>> Ian Smith wrote: >>>> >>>> >>>>> 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 >>>>> >>>> With this patch the result is the same. >>>> >>> Patched src/sys/kern/kern_cpu.c is already in RELENG_7_0. >>> It was submitted 8 days ago. >>> Are you sure your sources are newer then this? >>> >>> >> >> No, they where almost 2 weeks older. >> I have just upgraded to todays 7.0 and the result is the same. >> >> > Can you show me the result of: sysctl dev.cpu.0.freq_levels dev.cpu.0.freq_levels: 2401/35000 2100/30625 2000/28000 1750/24500 1600/22000 1400/19250 1200/16000 1050/14000 900/12000 800/14000 700/12250 600/10500 500/8750 400/7000 300/5250 200/3500 100/1750 > > May be est driver doesn't use the patched function in > src/sys/kern/kern_cpu.c ? > > Also do you see any problems with this? :) No > Powerd should work because it reads dev.cpu.0.freq_levels May be, I have to disable acpi to have bge :( > > CC Nate Lawson. > Best Regards -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHnzfpxJBWvpalMpkRAsJeAJ41OrOAKo7k1QcbCQeTqgazNiKHDgCfa/03 z34kC8th0FgyudC0PonLpFE= =PPqb -----END PGP SIGNATURE-----