Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2008 16:27:53 +0200
From:      Krassimir Slavchev <krassi@bulinfo.net>
To:        Stefan Lambrev <stefan.lambrev@moneybookers.com>
Cc:        freebsd-stable@freebsd.org, Ian Smith <smithi@nimnet.asn.au>, John Baldwin <jhb@freebsd.org>, freebsd-mobile@freebsd.org, =?UTF-8?B?R2Vycml0IEvDvGhu?= <gerrit@pmp.uni-hannover.de>, Nate Lawson <nate@root.org>
Subject:   Re: T7200 CPU not detected by est
Message-ID:  <479F37E9.9030409@bulinfo.net>
In-Reply-To: <479F3436.5090304@moneybookers.com>
References:  <Pine.BSF.3.96.1080126030624.9572A-100000@gaia.nimnet.asn.au> <479D83E3.5030101@bulinfo.net> <479D91C1.2050409@moneybookers.com> <479F2D34.4020907@bulinfo.net> <479F3436.5090304@moneybookers.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?479F37E9.9030409>