All of lore.kernel.org
 help / color / mirror / Atom feed
* Power mgmt / CPUFREQ on Via C7 (Esther)
@ 2007-01-03 10:22 jorgen
  2007-01-03 20:41 ` Len Brown
  0 siblings, 1 reply; 12+ messages in thread
From: jorgen @ 2007-01-03 10:22 UTC (permalink / raw)
  To: cpufreq

>On Tue, Jan 02, 2007 at 11:16:49PM +0100, jorgen at greven.dk wrote:

> > # dmesg
> > acpi_cpufreq: disagrees about version of symbol
acpi_processor_notify_smm acpi_cpufreq: Unknown symbol
acpi_processor_notify_smm

>Looks like a miscompiled module somehow.
>
>		Dave
>
Why that - it's stock code from kernel.org?

Can you point me to:
1) info on how to debug a module
2) some specs on the acpi / cpu frequency parts

Brgds Jorgen

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Power mgmt / CPUFREQ on Via C7 (Esther)
@ 2007-01-04 10:06 jorgen
  0 siblings, 0 replies; 12+ messages in thread
From: jorgen @ 2007-01-04 10:06 UTC (permalink / raw)
  To: cpufreq

>On Wednesday 03 January 2007 05:22, jorgen at greven.dk wrote:
>> >On Tue, Jan 02, 2007 at 11:16:49PM +0100, jorgen at greven.dk wrote:
>>
>> > > # dmesg
>> > > acpi_cpufreq: disagrees about version of symbol
>> acpi_processor_notify_smm acpi_cpufreq: Unknown symbol
>> acpi_processor_notify_smm
>
>acpi_processor_notify_smm should get built into the processor module --
>assuming CONFIG_ACPI and CONFIG_CPU_FREQ are enabled.
>
>did you do a "make oldconfig" before building?
>what do you see running
>grep ACPI .config
>grep CPU_FREQ .config
>
>-Len

Yes, I have done make oldconfig.
Here is output from lsmod, minus some irelevant entries:
# lsmod
Module                  Size  Used by
autofs4                20996  0
w83627hf               23712  0
hwmon_vid               3200  1 w83627hf
hwmon                   3844  1 w83627hf
eeprom                  7712  0
i2c_isa                 5760  1 w83627hf
dm_mirror              23060  0
dm_mod                 57420  1 dm_mirror
button                  8336  0
battery                10372  0
ac                      5636  0
uhci_hcd               23444  0
ehci_hcd               31000  0
i2c_viapro              9116  0
i2c_core               21248  4 w83627hf,eeprom,i2c_isa,i2c_viapro
sata_via               10244  0
libata                102820  1 sata_via
sd_mod                 20480  0
scsi_mod              136908  2 libata,sd_mod

The acpi_cpufreq module is build and I beleave that the correct options
are enabled:

# grep ACPI .config
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
# CONFIG_ACPI_SLEEP_PROC_SLEEP is not set
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_ASUS=m
# CONFIG_ACPI_IBM is not set
CONFIG_ACPI_TOSHIBA=m
CONFIG_ACPI_BLACKLIST_YEAR=2001
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_ACPI_CONTAINER is not set
# CONFIG_ACPI_SBS is not set
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_POWERNOW_K7_ACPI=y
CONFIG_X86_POWERNOW_K8_ACPI=y
CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=y
CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y
CONFIG_HOTPLUG_PCI_ACPI=m
CONFIG_HOTPLUG_PCI_ACPI_IBM=m
CONFIG_PNPACPI=y

# grep CPU_FREQ .config
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=m
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m

Sorry for the long lists, but U ask for them.

Brgds Jorgen

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Power mgmt / CPUFREQ on Via C7 (Esther)
@ 2007-01-02 22:16 jorgen
  2007-01-02 22:27 ` Dave Jones
  0 siblings, 1 reply; 12+ messages in thread
From: jorgen @ 2007-01-02 22:16 UTC (permalink / raw)
  To: cpufreq

>On Tue, Jan 02, 2007 at 01:17:05PM +0100, jorgen at greven.dk wrote:
> > Hi
> >
> > I have just bought a nice little sbc mainboard with a Via C7 cpu. It run
> > Centos with stock kernel 2.6.19.1 that I downloaded and installed a few
> > days ago.
> > But cpufreq does not work.
> >
> > Can I in some way help with testing/debugging the cpufreq driver
>(centrino
> > or longhaul?) for this cpu?
>
>The C7 works fine with acpi-cpufreq if the correct BIOS tables are present.
>Support *could* be added to speedstep-centrino to use hardcoded tables
>for these CPUs for systems where the BIOSes lack them, but hasn't been
>done yet.
>
>Given speedstep-centrino is due to be obsoleted by acpi-cpufreq at some
>stage,
>the feature of using hardcoded tables probably needs to be added to
>acpi-cpufreq at some point too.
>
>		Dave

The acpi_cpufreq don't load, I suppose that the bios do not support
acpi_cpufreq:

# modprobe acpi_cpufreq
FATAL: Error inserting acpi_cpufreq
(/lib/modules/2.6.19.1/kernel/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.ko):
Unknown symbol in module, or unknown parameter (see dmesg)

# dmesg
acpi_cpufreq: disagrees about version of symbol acpi_processor_notify_smm
acpi_cpufreq: Unknown symbol acpi_processor_notify_smm

I have looked arround in bios setup and found and enabled whatever look
related to pwr management, and it did give some new messages.

Here is a few ACPI comments from boot (dmesg)

DMI 2.3 present.
ACPI: RSDP (v000 CN700                                 ) @ 0x000f7880
ACPI: RSDT (v001 CN700  AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1eee3040
ACPI: FADT (v001 CN700  AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1eee30c0
ACPI: MADT (v001 CN700  AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1eee8000
ACPI: DSDT (v001 CN700  AWRDACPI 0x00001000 MSFT 0x0100000e) @ 0x00000000
...
...
ACPI: Processor [CPU0] (supports 2 throttling states)
...
How can I determine if this is a driver problem or a bios problem?

Jorgen

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Power mgmt / CPUFREQ on Via C7 (Esther)
@ 2007-01-02 12:17 jorgen
  2007-01-02 17:36 ` Dave Jones
  2007-01-04 12:37 ` Jorgen
  0 siblings, 2 replies; 12+ messages in thread
From: jorgen @ 2007-01-02 12:17 UTC (permalink / raw)
  To: cpufreq

Hi

I have just bought a nice little sbc mainboard with a Via C7 cpu. It run
Centos with stock kernel 2.6.19.1 that I downloaded and installed a few
days ago.
But cpufreq does not work.

Can I in some way help with testing/debugging the cpufreq driver (centrino
or longhaul?) for this cpu?

Brgds Jorgen

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

end of thread, other threads:[~2007-01-04 12:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-03 10:22 Power mgmt / CPUFREQ on Via C7 (Esther) jorgen
2007-01-03 20:41 ` Len Brown
  -- strict thread matches above, loose matches on Subject: below --
2007-01-04 10:06 jorgen
2007-01-02 22:16 jorgen
2007-01-02 22:27 ` Dave Jones
2007-01-02 12:17 jorgen
2007-01-02 17:36 ` Dave Jones
2007-01-02 18:18   ` Rafał Bilski
2007-01-02 23:19     ` Dave Jones
2007-01-03 23:10     ` Jorgen
2007-01-02 18:55   ` Len Brown
2007-01-04 12:37 ` Jorgen

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.