2006-05-31 00:25:49

by Eric Sandall

[permalink] [raw]
Subject: cpufreq and kernel >2.6.15.6 is limited

processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 2.40GHz
stepping : 9
cpu MHz : 2099.947
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe up cid xtpr
bogomips : 4786.96


Attachments:
2.6.15.6.config.bz2 (8.81 kB)
2.6.15.6.cpufreq-info (649.00 B)
2.6.15.6.cpuinfo (432.00 B)
2.6.15.6.dmesg.bz2 (5.84 kB)
2.6.15.6.dmesg-log.bz2 (5.26 kB)
2.6.15.6.lspci.bz2 (1.80 kB)
2.6.17-rc5.config.bz2 (8.64 kB)
2.6.17-rc5.cpufreq-info (595.00 B)
2.6.17-rc5.cpuinfo (435.00 B)
2.6.17-rc5.dmesg.bz2 (5.91 kB)
2.6.17-rc5.dmesg-log.bz2 (5.64 kB)
2.6.17-rc5.lspci.bz2 (1.80 kB)
Download all attachments

2006-05-31 00:40:49

by Dave Jones

[permalink] [raw]
Subject: Re: cpufreq and kernel >2.6.15.6 is limited

On Tue, May 30, 2006 at 05:25:26PM -0700, Eric Sandall wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> It seems that any kernel on my Dell Inspiron 5100 after 2.6.15.6
> (including 2.6.17-rc5) 'breaks' my cpufreq in that up to and including
> 2.6.15.6 I can scale between 300MHz-2.4GHz, but after (starting with
> 2.6.16) I can only scale between 2.1GHz and 2.4GHz.
>
> I've attached the files, sorted by kernel, I assume may be helpful. Let
> me know if you need any more.

It may have worked in the past, but the CPU has an errata which makes
it an unsafe operation to scale below 2GHz.

Dave

--
http://www.codemonkey.org.uk

2006-05-31 03:51:51

by Robert Hancock

[permalink] [raw]
Subject: Re: cpufreq and kernel >2.6.15.6 is limited

Dave Jones wrote:
> On Tue, May 30, 2006 at 05:25:26PM -0700, Eric Sandall wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > It seems that any kernel on my Dell Inspiron 5100 after 2.6.15.6
> > (including 2.6.17-rc5) 'breaks' my cpufreq in that up to and including
> > 2.6.15.6 I can scale between 300MHz-2.4GHz, but after (starting with
> > 2.6.16) I can only scale between 2.1GHz and 2.4GHz.
> >
> > I've attached the files, sorted by kernel, I assume may be helpful. Let
> > me know if you need any more.
>
> It may have worked in the past, but the CPU has an errata which makes
> it an unsafe operation to scale below 2GHz.

There was some discussion about whether this was correct or not in this
thread:

http://groups.google.ca/group/fa.linux.kernel/browse_thread/thread/d5b5905d7f1aa221/66c41ee3a26583b3

Did this ever get resolved? From my reading of the N60 erratum,
disabling the 12.5% duty cycle sounds like this should be enough,
disabling everything under 2GHz is not necessary..

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from [email protected]
Home Page: http://www.roberthancock.com/

2006-05-31 23:31:11

by Eric Sandall

[permalink] [raw]
Subject: Re: cpufreq and kernel >2.6.15.6 is limited

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Hancock wrote:
> Dave Jones wrote:
>> On Tue, May 30, 2006 at 05:25:26PM -0700, Eric Sandall wrote:
>> > > It seems that any kernel on my Dell Inspiron 5100 after 2.6.15.6
>> > (including 2.6.17-rc5) 'breaks' my cpufreq in that up to and including
>> > 2.6.15.6 I can scale between 300MHz-2.4GHz, but after (starting with
>> > 2.6.16) I can only scale between 2.1GHz and 2.4GHz.
>> > > I've attached the files, sorted by kernel, I assume may be
>> helpful. Let
>> > me know if you need any more.
>>
>> It may have worked in the past, but the CPU has an errata which makes
>> it an unsafe operation to scale below 2GHz.
>
> There was some discussion about whether this was correct or not in this
> thread:
>
> http://groups.google.ca/group/fa.linux.kernel/browse_thread/thread/d5b5905d7f1aa221/66c41ee3a26583b3
>
>
> Did this ever get resolved? From my reading of the N60 erratum,
> disabling the 12.5% duty cycle sounds like this should be enough,
> disabling everything under 2GHz is not necessary..

I would definitely prefer that approach of removing the problem
frequency rather than all 8.

- -sandalle

- --
Eric Sandall | Source Mage GNU/Linux Developer
[email protected] | http://www.sourcemage.org/
http://eric.sandall.us/ | SysAdmin @ Shock Physics @ WSU
http://counter.li.org/ #196285 | http://www.shock.wsu.edu/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEficmHXt9dKjv3WERAhMqAJ9u9AMHd+X/eQ5FxgrHF7BF+Gd+FgCfY9JR
PFtmAt7+9z+CO6KnZw3sxeI=
=3qP/
-----END PGP SIGNATURE-----