All of lore.kernel.org
 help / color / mirror / Atom feed
* missing /sys/.../cpu0/cpufreq/
@ 2005-07-27 22:00 Nathan Myers
  2005-07-29  5:22 ` Coppermine, more details Nathan Myers
  0 siblings, 1 reply; 3+ messages in thread
From: Nathan Myers @ 2005-07-27 22:00 UTC (permalink / raw)
  To: cpufreq


I've been searching Google and haven't seen this problem mentioned 
since the 2.5.x days, and haven't found anything apparent in the code 
or docs about it.  

In short, CONFIG_CPU_FREQ is on, but nothing shows up under 
/sys/devices/system/cpu/cpu0/.   

Kernel is vanilla 2.6.12.3 built with gcc-3.3.6.
Hardware is "PIII (Coppermine) stepping 03" with a 440BX, details below.
Relevant /proc/config.gz entries below too; (SMI, no modules).  
"dmesg | fgrep -i freq" comes up empty.  

ACPI succeeds in setting the frequency, in eight steps.  
Must one-or-other bit be in a module?  What am I doing wrong?
(And, would it be OK to make them modules if I'm not using initrd?)

With debug=2, dmesg says only:

  speedstep-lib: x86: 6, model: 8
  speedstep-lib: Coppermine: MSR_IA32_EBL_CR_POWERON is 0x45080020, 0x0
  speedstep-lib: Coppermine: MSR_IA32_PLATFORM ID is 0x0, 0x23570000
  speedstep-smi: signature:0x00008680, command:0x0000e6f5, event:0x00000000, perf_level:0x47534943.  

and 

  acpi-cpufreq: acpi_cpufreq_init
  acpi-cpufreq: acpi_cpufreq_cpu_init
  acpi-cpufreq: acpi_processor_cpu_init_pdc

Thanks,

Nathan Myers
ncm@cantrip.org

-----------------------------------------------------------------

  #
  # CPU Frequency scaling
  #
  CONFIG_CPU_FREQ=y
  CONFIG_CPU_FREQ_TABLE=y
  CONFIG_CPU_FREQ_DEBUG=y
  CONFIG_CPU_FREQ_STAT=y
  CONFIG_CPU_FREQ_STAT_DETAILS=y
  # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
  CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
  CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
  CONFIG_CPU_FREQ_GOV_POWERSAVE=y
  CONFIG_CPU_FREQ_GOV_USERSPACE=y
  CONFIG_CPU_FREQ_GOV_ONDEMAND=y
  CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y

  #
  # CPUFreq processor drivers
  #
  CONFIG_X86_ACPI_CPUFREQ=y
  # CONFIG_X86_POWERNOW_K6 is not set
  # CONFIG_X86_POWERNOW_K7 is not set
  # CONFIG_X86_POWERNOW_K8 is not set
  # CONFIG_X86_GX_SUSPMOD is not set
  # CONFIG_X86_SPEEDSTEP_CENTRINO is not set
  # CONFIG_X86_SPEEDSTEP_ICH is not set
  CONFIG_X86_SPEEDSTEP_SMI=y
  # CONFIG_X86_P4_CLOCKMOD is not set
  # CONFIG_X86_CPUFREQ_NFORCE2 is not set
  # CONFIG_X86_LONGRUN is not set
  # CONFIG_X86_LONGHAUL is not set

  #
  # shared options
  #
  # CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
  CONFIG_X86_SPEEDSTEP_LIB=y
  CONFIG_X86_SPEEDSTEP_RELAXED_CAP_CHECK=y

  ...
  CONFIG_ACPI_FAN=y
  CONFIG_ACPI_PROCESSOR=y
  CONFIG_ACPI_THERMAL=y


$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Pentium III (Coppermine)
stepping        : 3
cpu MHz         : 547.405
cache size      : 256 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 mmx fxsr sse
bogomips        : 1081.34

0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host
bridge (rev 03)
        Subsystem: Compaq Computer Corporation Armada M700/E500
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- SteppinG- sERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR+
        Latency: 64
        Region 0: Memory at 50000000 (32-bit, prefetchable) [size=64M]
        Capabilities: <available only to root>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Coppermine, more details
  2005-07-27 22:00 missing /sys/.../cpu0/cpufreq/ Nathan Myers
@ 2005-07-29  5:22 ` Nathan Myers
  2005-08-04 12:41   ` Jaime Peñalba
  0 siblings, 1 reply; 3+ messages in thread
From: Nathan Myers @ 2005-07-29  5:22 UTC (permalink / raw)
  To: cpufreq

Following up (Coppermine/440BX) ...

I tried booting with cpufreq.debug=3.  With CONFIG_X86_ACPI_CPUFREQ 
enabled, I watched it try, and fail, to register:

 CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040 
    00000000 00000000 00000000
 [...]
 ACPI: CPU0 (power states: C1[C1] C2[C2])
 ACPI: Processor [C0D5] (supports 8 throttling states)
 [...]
 acpi-cpufreq: acpi_cpufreq_init 
 cpufreq-core: trying to register driver acpi-cpufreq
 cpufreq-core: adding CPU 0
 acpi-cpufreq: acpi_cpufreq_cpu_init
 acpi-cpufreq: acpi_processor_cpu_init_pdc
 cpufreq-core: initialization failed
 cpufreq-core: no CPU initialized for driver acpi-cpufreq
 cpufreq-core: unregistering CPU 0

... with nothing from the SMI driver.  With CONFIG_X86_SPEEDSTEP_SMI 
the only cpufreq driver, and with or without "smi_cmd=0x82 smi_port=0xb2 
smi_sig=1", I saw no reports about cpufreq at all; just the same 
speedstep-lib and speedstep-smi initialization lines quoted below.

The BIOS only offers choices of boot media.  Ideas, please?  
Is this supposed to work, or am I out on the ragged edge?

Nathan Myers
ncm@cantrip.org

On Wed, Jul 27, 2005 at 03:00:35PM -0700, Nathan Myers wrote:
> 
>  CONFIG_CPU_FREQ is on, but nothing shows up under 
> /sys/devices/system/cpu/cpu0/.   
> 
> Kernel is vanilla 2.6.12.3 built with gcc-3.3.6.
> Hardware is "PIII (Coppermine) stepping 03" with a 440BX, details below.
> Relevant /proc/config.gz entries below too; (summary: SMI, no modules).  
> 
> ACPI succeeds in setting the frequency, in eight steps.  
> Must one-or-other bit be in a module?  What am I doing wrong?
> (And, would it be OK to make them modules if I'm not using initrd?)
> 
> With debug=2, dmesg says only:
> 
>   speedstep-lib: x86: 6, model: 8
>   speedstep-lib: Coppermine: MSR_IA32_EBL_CR_POWERON is 0x45080020, 0x0
>   speedstep-lib: Coppermine: MSR_IA32_PLATFORM ID is 0x0, 0x23570000
>   speedstep-smi: signature:0x00008680, command:0x0000e6f5, event:0x00000000, perf_level:0x47534943.  
> 
> and 
> 
>   acpi-cpufreq: acpi_cpufreq_init
>   acpi-cpufreq: acpi_cpufreq_cpu_init
>   acpi-cpufreq: acpi_processor_cpu_init_pdc
> 
> Thanks,
> 
> Nathan Myers
> ncm@cantrip.org
> 
> -----------------------------------------------------------------
> 
>   #
>   # CPU Frequency scaling
>   #
>   CONFIG_CPU_FREQ=y
>   CONFIG_CPU_FREQ_TABLE=y
>   CONFIG_CPU_FREQ_DEBUG=y
>   CONFIG_CPU_FREQ_STAT=y
>   CONFIG_CPU_FREQ_STAT_DETAILS=y
>   # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
>   CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
>   CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
>   CONFIG_CPU_FREQ_GOV_POWERSAVE=y
>   CONFIG_CPU_FREQ_GOV_USERSPACE=y
>   CONFIG_CPU_FREQ_GOV_ONDEMAND=y
>   CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
> 
>   #
>   # CPUFreq processor drivers
>   #
>   CONFIG_X86_ACPI_CPUFREQ=y
>   # CONFIG_X86_POWERNOW_K6 is not set
>   # CONFIG_X86_POWERNOW_K7 is not set
>   # CONFIG_X86_POWERNOW_K8 is not set
>   # CONFIG_X86_GX_SUSPMOD is not set
>   # CONFIG_X86_SPEEDSTEP_CENTRINO is not set
>   # CONFIG_X86_SPEEDSTEP_ICH is not set
>   CONFIG_X86_SPEEDSTEP_SMI=y
>   # CONFIG_X86_P4_CLOCKMOD is not set
>   # CONFIG_X86_CPUFREQ_NFORCE2 is not set
>   # CONFIG_X86_LONGRUN is not set
>   # CONFIG_X86_LONGHAUL is not set
> 
>   #
>   # shared options
>   #
>   # CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
>   CONFIG_X86_SPEEDSTEP_LIB=y
>   CONFIG_X86_SPEEDSTEP_RELAXED_CAP_CHECK=y
> 
>   ...
>   CONFIG_ACPI_FAN=y
>   CONFIG_ACPI_PROCESSOR=y
>   CONFIG_ACPI_THERMAL=y
> 
> 
> $ cat /proc/cpuinfo
> processor       : 0
> vendor_id       : GenuineIntel
> cpu family      : 6
> model           : 8
> model name      : Pentium III (Coppermine)
> stepping        : 3
> cpu MHz         : 547.405
> cache size      : 256 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 mmx fxsr sse
> bogomips        : 1081.34
> 
> 0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host
> bridge (rev 03)
>         Subsystem: Compaq Computer Corporation Armada M700/E500
>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- SteppinG- sERR- FastB2B-
>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR+
>         Latency: 64
>         Region 0: Memory at 50000000 (32-bit, prefetchable) [size=64M]
>         Capabilities: <available only to root>
> 
> 
> _______________________________________________
> Cpufreq mailing list
> Cpufreq@lists.linux.org.uk
> http://lists.linux.org.uk/mailman/listinfo/cpufreq

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Coppermine, more details
  2005-07-29  5:22 ` Coppermine, more details Nathan Myers
@ 2005-08-04 12:41   ` Jaime Peñalba
  0 siblings, 0 replies; 3+ messages in thread
From: Jaime Peñalba @ 2005-08-04 12:41 UTC (permalink / raw)
  To: cpufreq

Im having similar problems also using coppermine with 440BX chipset,
acpi-freq doesnt work, and smi seems to load but doesnt find supported
freqs ;(

I hoppe someone knows what is happening with coppermines...


2005/7/29, Nathan Myers <ncm@cantrip.org>:
> Following up (Coppermine/440BX) ...
> 
> I tried booting with cpufreq.debug=3.  With CONFIG_X86_ACPI_CPUFREQ
> enabled, I watched it try, and fail, to register:
> 
>  CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040
>     00000000 00000000 00000000
>  [...]
>  ACPI: CPU0 (power states: C1[C1] C2[C2])
>  ACPI: Processor [C0D5] (supports 8 throttling states)
>  [...]
>  acpi-cpufreq: acpi_cpufreq_init
>  cpufreq-core: trying to register driver acpi-cpufreq
>  cpufreq-core: adding CPU 0
>  acpi-cpufreq: acpi_cpufreq_cpu_init
>  acpi-cpufreq: acpi_processor_cpu_init_pdc
>  cpufreq-core: initialization failed
>  cpufreq-core: no CPU initialized for driver acpi-cpufreq
>  cpufreq-core: unregistering CPU 0
> 
> ... with nothing from the SMI driver.  With CONFIG_X86_SPEEDSTEP_SMI
> the only cpufreq driver, and with or without "smi_cmd=0x82 smi_port=0xb2
> smi_sig=1", I saw no reports about cpufreq at all; just the same
> speedstep-lib and speedstep-smi initialization lines quoted below.
> 
> The BIOS only offers choices of boot media.  Ideas, please?
> Is this supposed to work, or am I out on the ragged edge?
> 
> Nathan Myers
> ncm@cantrip.org
> 
> On Wed, Jul 27, 2005 at 03:00:35PM -0700, Nathan Myers wrote:
> >
> >  CONFIG_CPU_FREQ is on, but nothing shows up under
> > /sys/devices/system/cpu/cpu0/.
> >
> > Kernel is vanilla 2.6.12.3 built with gcc-3.3.6.
> > Hardware is "PIII (Coppermine) stepping 03" with a 440BX, details below.
> > Relevant /proc/config.gz entries below too; (summary: SMI, no modules).
> >
> > ACPI succeeds in setting the frequency, in eight steps.
> > Must one-or-other bit be in a module?  What am I doing wrong?
> > (And, would it be OK to make them modules if I'm not using initrd?)
> >
> > With debug=2, dmesg says only:
> >
> >   speedstep-lib: x86: 6, model: 8
> >   speedstep-lib: Coppermine: MSR_IA32_EBL_CR_POWERON is 0x45080020, 0x0
> >   speedstep-lib: Coppermine: MSR_IA32_PLATFORM ID is 0x0, 0x23570000
> >   speedstep-smi: signature:0x00008680, command:0x0000e6f5, event:0x00000000, perf_level:0x47534943.
> >
> > and
> >
> >   acpi-cpufreq: acpi_cpufreq_init
> >   acpi-cpufreq: acpi_cpufreq_cpu_init
> >   acpi-cpufreq: acpi_processor_cpu_init_pdc
> >
> > Thanks,
> >
> > Nathan Myers
> > ncm@cantrip.org
> >
> > -----------------------------------------------------------------
> >
> >   #
> >   # CPU Frequency scaling
> >   #
> >   CONFIG_CPU_FREQ=y
> >   CONFIG_CPU_FREQ_TABLE=y
> >   CONFIG_CPU_FREQ_DEBUG=y
> >   CONFIG_CPU_FREQ_STAT=y
> >   CONFIG_CPU_FREQ_STAT_DETAILS=y
> >   # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
> >   CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
> >   CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
> >   CONFIG_CPU_FREQ_GOV_POWERSAVE=y
> >   CONFIG_CPU_FREQ_GOV_USERSPACE=y
> >   CONFIG_CPU_FREQ_GOV_ONDEMAND=y
> >   CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
> >
> >   #
> >   # CPUFreq processor drivers
> >   #
> >   CONFIG_X86_ACPI_CPUFREQ=y
> >   # CONFIG_X86_POWERNOW_K6 is not set
> >   # CONFIG_X86_POWERNOW_K7 is not set
> >   # CONFIG_X86_POWERNOW_K8 is not set
> >   # CONFIG_X86_GX_SUSPMOD is not set
> >   # CONFIG_X86_SPEEDSTEP_CENTRINO is not set
> >   # CONFIG_X86_SPEEDSTEP_ICH is not set
> >   CONFIG_X86_SPEEDSTEP_SMI=y
> >   # CONFIG_X86_P4_CLOCKMOD is not set
> >   # CONFIG_X86_CPUFREQ_NFORCE2 is not set
> >   # CONFIG_X86_LONGRUN is not set
> >   # CONFIG_X86_LONGHAUL is not set
> >
> >   #
> >   # shared options
> >   #
> >   # CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
> >   CONFIG_X86_SPEEDSTEP_LIB=y
> >   CONFIG_X86_SPEEDSTEP_RELAXED_CAP_CHECK=y
> >
> >   ...
> >   CONFIG_ACPI_FAN=y
> >   CONFIG_ACPI_PROCESSOR=y
> >   CONFIG_ACPI_THERMAL=y
> >
> >
> > $ cat /proc/cpuinfo
> > processor       : 0
> > vendor_id       : GenuineIntel
> > cpu family      : 6
> > model           : 8
> > model name      : Pentium III (Coppermine)
> > stepping        : 3
> > cpu MHz         : 547.405
> > cache size      : 256 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 mmx fxsr sse
> > bogomips        : 1081.34
> >
> > 0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host
> > bridge (rev 03)
> >         Subsystem: Compaq Computer Corporation Armada M700/E500
> >         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- SteppinG- sERR- FastB2B-
> >         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR+
> >         Latency: 64
> >         Region 0: Memory at 50000000 (32-bit, prefetchable) [size=64M]
> >         Capabilities: <available only to root>
> >
> >
> > _______________________________________________
> > Cpufreq mailing list
> > Cpufreq@lists.linux.org.uk
> > http://lists.linux.org.uk/mailman/listinfo/cpufreq
> 
> _______________________________________________
> Cpufreq mailing list
> Cpufreq@lists.linux.org.uk
> http://lists.linux.org.uk/mailman/listinfo/cpufreq
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-04 12:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-27 22:00 missing /sys/.../cpu0/cpufreq/ Nathan Myers
2005-07-29  5:22 ` Coppermine, more details Nathan Myers
2005-08-04 12:41   ` Jaime Peñalba

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.