Skip to contentSkip to conversation

newbie: Patch Confusion, P4 not supported?

DISCUSSION Simon 3 participants 5 messages Jun 18, 2003

lore
Share & tools
lore

Simon

author
#0 lore raw

Hi,

Sorry about the dumb newbie question. Can't find any docs on this.

I just upgraded to a vanilla 2.4.21 kernel, and want to add cpufreq support back for my Intel P4, in my Thinkpad A31p.

I had this working with 2.4.20, using the 'advanced' patch from
http://www.brodo.de/cpufreq/, and controlling it by echo-ing stuff to /proc/cpufreq

I couldn't make any of the patches on www.brodo.de/cpufreq_old apply to my kernel cleanly. They look rather old, and the page is no longer in use. So I donloaded the latest patch from ftp://ftp.linux.org.uk/pub/linux/cpufreq/ (ftp://ftp.linux.org.uk/pub/linux/cpufreq/cpufreq-LINUX_2_4-20030617.tar.bz2) and applied this.

Now, it says that my cpu is unsupported. As follows:

shiro proc # dmesg | grep cpufreq
cpufreq: Intel(R) SpeedStep(TM) support $Revision: 1.7.2.6 $
cpufreq: Intel(R) SpeedStep(TM) for this processor not (yet) available.

/proc/cpufreq no longer exists.

Seems strange. It *used* to work with the old patch, but somehow has decided not to work with the new one. Am I missing some kernel parameter or something? Or has support been taken out? Or am I using the wrong patch?

Thanks
Simon

output of /proc/cpuinfo follows:

shiro linux # cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
stepping : 7
cpu MHz : 1199.045
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
bogomips : 2385.51

#1 lore raw

Hi Simon,

Quoted 2 lines

I couldn't make any of the patches on www.brodo.de/cpufreq_old apply to my kernel cleanly. They look rather old, and the page is no longer in use.

Indeed. That's why it's named cpufreq_old :-)

Fortunately, though, Dave Jones took over as maintainer. You can find an upgraded backport of cpufreq for 2.4.21-rc8 (which is [almost] the same as 2.4.21]) at
http://www.codemonkey.org.uk/cpufreq/

Dominik

author
#2 lore raw
Quoted 4 lines · Dominik Brodowski

Fortunately, though, Dave Jones took over as maintainer. You can find an upgraded backport of cpufreq for 2.4.21-rc8 (which is [almost] the same as 2.4.21]) at
http://www.codemonkey.org.uk/cpufreq/

That did it, thanks! :)

#3 lore raw
In reply to Simon
Quoted 11 lines · Simon

Hi,

Sorry about the dumb newbie question. Can't find any docs on this.

I just upgraded to a vanilla 2.4.21 kernel, and want to add cpufreq support back for my Intel P4, in my Thinkpad A31p.

I had this working with 2.4.20, using the 'advanced' patch from
http://www.brodo.de/cpufreq/, and controlling it by echo-ing stuff to /proc/cpufreq

Quoted 5 lines

I couldn't make any of the patches on www.brodo.de/cpufreq_old apply to my kernel cleanly. They look rather old, and the page is no longer in use. So I donloaded the latest patch from ftp://ftp.linux.org.uk/pub/linux/cpufreq/ (ftp://ftp.linux.org.uk/pub/linux/cpufreq/cpufreq-LINUX_2_4-20030617.tar.bz2) and applied this.

This is even more older than the one you downloaded from Dominik site... Try the latest ac in the meantime.

Signature · 4 lines
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.
author
#4 lore raw
Quoted 2 lines · Ducrot Bruno

This is even more older than the one you downloaded from Dominik site... Try the latest ac in the meantime.

Oh... The filename 20030617 made it sound pretty new... And it seemed to apply to 2.4.21 okay, so thought it was more recently updated.

I'm reluctant to use -ac, because the other patches I like to apply to my kernels don't like it too much. Is there no patch around that applies onto 2.4.21 vanilla?

I guess it's no big deal I can go back to my old kernel for now.

Simon