You are not logged in.

#1 2009-11-12 15:15:19

toorlv
Member
Registered: 2009-11-01
Posts: 65

Error on loading speedstep-centrino or acpi-cpufreq on Arch

Arch Linux i686, fresh install. 2.6.31 kernel (i also tried other kernels like ZEN).
Computer: Fujitsu-Siemens AMILO L7300
On Ubuntu Karmic/Jaunty all works fine. It uses centrino driver (cpufreq-info).
BIOS is up to date -- i also checked it's settings (tried 'Restore Defaults'), but didn't found anything that is related to SpeedStep or ACPI Tables..

--- ADDED ---
I found a patch for kernel, but i don't know how to compile kernel with it. http://localhost.ruhr.de/~stefan/acerTM … an-3.patch
How can I do it? Maybe I can recompile only speedstep-centrino module, not all kernel? It takes about 2 hours..

P.S. Sorry for my bad english.

cpuinfo:
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 13
model name    : Intel(R) Pentium(R) M processor 1.73GHz (Dothan)
stepping    : 8
cpu MHz        : 598.000
cache size    : 2048 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 mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up bts est tm2
bogomips    : 1197.07
clflush size    : 64
power management:
[root@archijs build]# modprobe speedstep-lib
[root@archijs build]# modprobe speedstep-ich
FATAL: Error inserting speedstep_ich (/lib/modules/2.6.31-ARCH/kernel/arch/x86/kernel/cpu/cpufreq/speedstep-ich.ko): No such device
[root@archijs build]# modprobe speedstep-centrino
FATAL: Error inserting speedstep_centrino (/lib/modules/2.6.31-ARCH/kernel/arch/x86/kernel/cpu/cpufreq/speedstep-centrino.ko): No such device
[root@archijs build]# ls /sys/devices/system/cpu/cpu0/
cpuidle  crash_notes  thermal_throttle  topology
[root@archijs build]# dmesg | grep throttling
ACPI: Processor [CPU0] (supports 8 throttling states)
[root@archijs build]# dmesg | grep acpi
pata_acpi 0000:00:11.1: power state changed by ACPI to D0
pata_acpi 0000:00:11.1: PCI INT A -> Link[LNKA] -> GSI 7 (level, low) -> IRQ 7
pata_acpi 0000:00:11.1: VIA VLink IRQ fixup, from 0 to 7
pata_acpi 0000:00:11.1: PCI INT A disabled
[root@archijs build]# dmesg | grep cpu
KERNEL supported cpus:
NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1
 [<c12ff1aa>] ? identify_cpu+0x377/0x386
 [<c1429dc9>] ? identify_boot_cpu+0xa/0x1e
cpuidle: using governor ladder
cpuidle: using governor menu
[root@archijs build]# cpufreq-info
cpufrequtils 005: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  no or unknown cpufreq driver is active on this CPU

When I modprobe p4-clockmod, dmesg says:

p4-clockmod: Warning: Pentium M detected. The
acpi_cpufreq module offers voltage scaling in addition of frequency
scaling. You should use that instead of p4-clockmod, if possible.

When using p4-clockmod, my 1.73GHZ will be limited to 600MHz, so instead I try to modprobe acpi-cpufreq, but it gives an error:

[root@archijs build]# modprobe acpi-cpufreq
FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.31-ARCH/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko): No such device

/proc/config.gz:

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

#
# CPUFreq processor drivers
#
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_POWERNOW_K6=m
CONFIG_X86_POWERNOW_K7=m
CONFIG_X86_POWERNOW_K7_ACPI=y
CONFIG_X86_POWERNOW_K8=m
CONFIG_X86_GX_SUSPMOD=m
CONFIG_X86_SPEEDSTEP_CENTRINO=m
CONFIG_X86_SPEEDSTEP_CENTRINO_TABLE=y
CONFIG_X86_SPEEDSTEP_ICH=m
CONFIG_X86_SPEEDSTEP_SMI=m
CONFIG_X86_P4_CLOCKMOD=m
CONFIG_X86_CPUFREQ_NFORCE2=m
CONFIG_X86_LONGRUN=m
CONFIG_X86_LONGHAUL=m
CONFIG_X86_E_POWERSAVER=m
CONFIG_X86_CPUFREQ_EEEPC900=m

#
# shared options
#
CONFIG_X86_SPEEDSTEP_LIB=m
CONFIG_X86_SPEEDSTEP_RELAXED_CAP_CHECK=y
CONFIG_CPU_IDLE=y
CONFIG_CPU_IDLE_GOV_LADDER=y
CONFIG_CPU_IDLE_GOV_MENU=y

--- ADDED ---
I found a patch for kernel, but i don't know how to compile kernel with it. http://localhost.ruhr.de/~stefan/acerTM … an-3.patch
How can I do it? Maybe I can recompile only speedstep-centrino module, not all kernel? It takes about 2 hours..

Last edited by toorlv (2009-11-12 15:52:47)

Offline

#2 2009-11-12 18:56:06

MadTux
Member
Registered: 2009-09-20
Posts: 553

Re: Error on loading speedstep-centrino or acpi-cpufreq on Arch

Are you sure your Processor is a Pentium M? Every site I found about that particular notebook says it has a Celeron M. However, if that works on Ubuntu Karmic, what modules are loaded?

Offline

#3 2009-11-12 19:13:11

toorlv
Member
Registered: 2009-11-01
Posts: 65

Re: Error on loading speedstep-centrino or acpi-cpufreq on Arch

MadTux wrote:

Are you sure your Processor is a Pentium M? Every site I found about that particular notebook says it has a Celeron M. However, if that works on Ubuntu Karmic, what modules are loaded?

Yes, of course a pentium M. I just changed it after i buyed my notebook.

Ubuntu Karmic:

@lappy:~$ cpufreq-info
cpufrequtils 005: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: centrino
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 798 MHz - 1.73 GHz
  available frequency steps: 798 MHz, 1.06 GHz, 1.33 GHz, 1.73 GHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 798 MHz and 1.73 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 798 MHz.
  cpufreq stats: 798 MHz:0.00%, 1.06 GHz:0.00%, 1.33 GHz:0.00%, 1.73 GHz:0.00%  (10191)
@lappy:~$ cat /proc/cpuinfo
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 13
model name    : Intel(R) Pentium(R) M processor 1.73GHz
stepping    : 8
cpu MHz        : 798.000
cache size    : 2048 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 mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up bts est tm2
bogomips    : 1196.96
clflush size    : 64
power management:

lsmod:
via                    40192  2 
drm                   159584  3 via
binfmt_misc             8356  1 
ppdev                   6688  0 
snd_via82xx            23576  14 
snd_via82xx_modem      11204  7 
gameport               11368  1 snd_via82xx
snd_ac97_codec        101216  2 snd_via82xx,snd_via82xx_modem
ac97_bus                1532  1 snd_ac97_codec
snd_pcm_oss            37920  0 
snd_mixer_oss          16028  8 snd_pcm_oss
snd_pcm                75296  4 snd_via82xx,snd_via82xx_modem,snd_ac97_codec,snd_pcm_oss
arc4                    1660  2 
snd_seq_dummy           2656  0 
ecb                     2524  2 
snd_mpu401_uart         6940  1 snd_via82xx
snd_seq_oss            28576  0 
snd_seq_midi            6432  0 
snd_rawmidi            22208  2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event      6940  2 snd_seq_oss,snd_seq_midi
rt2500pci              15356  0 
snd_seq                50224  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
rt2x00pci               7900  1 rt2500pci
i2c_viapro              7312  0 
snd_timer              22276  2 snd_pcm,snd_seq
rt2x00lib              29756  2 rt2500pci,rt2x00pci
iptable_filter          3100  0 
via_ircc               24016  0 
snd_seq_device          6920  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
led_class               4096  1 rt2x00lib
pcmcia                 36808  0 
ip_tables              11692  1 iptable_filter
irda                  189564  1 via_ircc
snd                    59204  40 snd_via82xx,snd_via82xx_modem,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
input_polldev           3716  1 rt2x00lib
crc_ccitt               1852  1 irda
joydev                 10272  0 
x_tables               16544  1 ip_tables
soundcore               7264  8 snd
snd_page_alloc          9156  3 snd_via82xx,snd_via82xx_modem,snd_pcm
shpchp                 32272  0 
yenta_socket           24200  1 
mac80211              181236  2 rt2x00pci,rt2x00lib
rsrc_nonstatic         11644  1 yenta_socket
cfg80211               93052  2 rt2x00lib,mac80211
eeprom_93cx6            1916  1 rt2500pci
psmouse                56180  0 
serio_raw               5280  0 
pcmcia_core            35792  3 pcmcia,yenta_socket,rsrc_nonstatic
lp                      8964  0 
parport                35340  2 ppdev,lp
dm_raid45              84228  0 
xor                    15620  1 dm_raid45
video                  19380  0 
output                  2780  1 video
via_rhine              22212  0 
mii                     5212  1 via_rhine
via_agp                 7932  1 
agpgart                34988  2 drm,via_agp

Last edited by toorlv (2009-11-12 19:16:08)

Offline

#4 2009-11-13 12:05:42

toorlv
Member
Registered: 2009-11-01
Posts: 65

Re: Error on loading speedstep-centrino or acpi-cpufreq on Arch

UP.
I tried this patch which i mentioned @ first post, but it doesn't work.. Still can't find solution..

Offline

#5 2009-11-13 20:03:39

thn81
Member
Registered: 2009-08-27
Posts: 88

Re: Error on loading speedstep-centrino or acpi-cpufreq on Arch

Try this patch instead:

http://filebin.ca/onpsx

Last edited by thn81 (2009-11-13 20:06:16)

Offline

#6 2009-12-21 13:03:59

quarkup
Member
From: Portugal
Registered: 2008-09-07
Posts: 497
Website

Re: Error on loading speedstep-centrino or acpi-cpufreq on Arch

I'm experiencing the same.
well dont forget if you want more than 600MHz you just need to 'modprobe -r p4-clockmod'



this is actually in the bugtracker
http://bugs.archlinux.org/index.php?do= … k_id=17107

I am actually going to recompile speedstep-centrino and try it somehow



also, check this

http://bbs.archlinux.org/viewtopic.php?id=32767

this is, try to use the 'acpi-cpufreq' module instead

Last edited by quarkup (2009-12-21 20:29:36)


If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.

Offline

Board footer

Powered by FluxBB