On Tue, Jul 15, 2003 at 01:12:56PM -0400, [email protected] wrote:
>
> I'm running 2.6.0-test1 on my Fujitsu P-2110 laptop, but the cpufreq
> stuff doesn't seem to be working. Well, this is the symptom, but the
> problem might actually be higher up:
>
> # ls /sys/class/
> input net pcmcia_socket scsi_device scsi_host tty usb usb_host
>
> Note, no 'cpu' class. /proc/cpufreq no longer works (as
> expected)... using the longrun utility to frob the MSR manually works
> fine.
find /sys -iname 'cpu*'
/sys/firmware/acpi/namespace/ACPI/CPU0
/sys/devices/system/cpu
/sys/devices/system/cpu/cpu0
/sys/devices/system/cpu/cpu0/cpufreq
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
:)
--
mattia
:wq!
Mattia Dongili <[email protected]> writes:
> find /sys -iname 'cpu*'
>
> /sys/firmware/acpi/namespace/ACPI/CPU0
> /sys/devices/system/cpu
> /sys/devices/system/cpu/cpu0
> /sys/devices/system/cpu/cpu0/cpufreq
> /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
> /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
If this is the right place to look, the Documentation/cpu-freq needs
some updating.
But this still isn't it...
# find /sys -iname 'cpu*'
/sys/devices/system/cpu
/sys/devices/system/cpu/cpu0
/sys/cdev/major/cpu!cpuid
/sys/cdev/major/cpu!msr
:-(
Ian
> Mattia Dongili <[email protected]> writes:
>
> > find /sys -iname 'cpu*'
> >
> > /sys/firmware/acpi/namespace/ACPI/CPU0
> > /sys/devices/system/cpu
> > /sys/devices/system/cpu/cpu0
> > /sys/devices/system/cpu/cpu0/cpufreq
> > /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
> > /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
>
> If this is the right place to look, the Documentation/cpu-freq needs
> some updating.
Patch for this is already in davej's queue.
> But this still isn't it...
>
> # find /sys -iname 'cpu*'
> /sys/devices/system/cpu
> /sys/devices/system/cpu/cpu0
> /sys/cdev/major/cpu!cpuid
> /sys/cdev/major/cpu!msr
There is a problem with the proper detection of longrun CPUs, see this
patch please [davej: can you appply this to your tree, too, please?]
http://marc.theaimsgroup.com/?l=linux-kernel&m=105797182628099&w=2
Dominik
On Tue, Jul 15, 2003 at 02:17:23PM -0400, [email protected] wrote:
> > find /sys -iname 'cpu*'
> >
> > /sys/firmware/acpi/namespace/ACPI/CPU0
> > /sys/devices/system/cpu
> > /sys/devices/system/cpu/cpu0
> > /sys/devices/system/cpu/cpu0/cpufreq
> > /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
> > /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
>
> If this is the right place to look, the Documentation/cpu-freq needs
> some updating.
Already updated in the cpufreq tree. Going to be pushed in the
next day or so.
> But this still isn't it...
>
> # find /sys -iname 'cpu*'
> /sys/devices/system/cpu
> /sys/devices/system/cpu/cpu0
Hmm, for some reason the registration failed.
Are there any cpufreq messages at all in the boot logs ?
Dave
[email protected] writes:
> There is a problem with the proper detection of longrun CPUs, see this
> patch please [davej: can you appply this to your tree, too, please?]
>
> http://marc.theaimsgroup.com/?l=linux-kernel&m=105797182628099&w=2
>
> Dominik
This patch solves it for me. Now I have all the cpufreq nodes in
sysfs, and the old /proc interface works as well (meaning I don't have
to rewrite /etc/sysconfig/apm-scripts/apmcontinue ;-)
Thanks!
Ian