[regression-edgy] speedstep-centrino module fails to load

Bug #66812 reported by Bram Vandoren
24
Affects Status Importance Assigned to Milestone
linux-source-2.6.17 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.17-10-386

I upgraded from dapper to edgy. The files in the directory /sys/devices/system/cpu/cpu0/ in the sys filesystem are not available any more. It only contains a single file 'crash_notes'.

$ ls /sys/devices/system/cpu/cpu0/
crash_notes

$ sudo cat /sys/devices/system/cpu/cpu0/crash_notes
1ff68400

In dmesg I see a strange line that might be related to this problem:
[17179625.508000] acpi_cpufreq: Unknown symbol cpu_online_map

It's a centrino laptop (acer travelmate 4650 series (4651)).

As a result of this bug, I can't get cpu frequency scaling working correctly.

Revision history for this message
xandl12 (hello03) wrote :

Same problem here after upgrade!
but I'm using a P 4 -M

cat /sys/devices/system/cpu/cpu0/crash_notes
1fe62800

cat /proc/cpuinfo | grep name
model name : Mobile Intel(R) Pentium(R) 4 - M CPU 1.70GHz

As a workaround I got it working when I added "p4-clockmod" to /etc/modules

With this module loaded everything seems to be ok now in /sys/devices/system/cpu/cpu0/
on my system after reboot!

Revision history for this message
Bram Vandoren (bram-bram) wrote :

It seems that my problem and the problem of xandl12 are not related.

xandl12 his problem was that the 'p4-clockmod module' is not loaded automatically when the system starts.

In my case it tries to load the speedstep_centrino module (ok) but it fails.

# sudo modprobe speedstep-centrino
FATAL: Error inserting speedstep_centrino (/lib/modules/2.6.17-10-386/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.ko): No such device

# dmesg | tail -1
[17369756.408000] acpi_cpufreq: Unknown symbol cpu_online_map

Revision history for this message
Bram Vandoren (bram-bram) wrote : Re: speedstep-centrino module fails to load

the bug only occurs in the -386 kernel. I changed to the -generic kernel and it works fine now.

Revision history for this message
xandl12 (hello03) wrote : Re: [Bug 66812] Re: files in directory /sys/devices/system/cpu/cpu0/ not available

-------- Original-Nachricht --------
Datum: Fri, 20 Oct 2006 11:52:15 -0000
Von: Bram Vandoren <email address hidden>
An: <email address hidden>
Betreff: [Bug 66812] Re: files in directory /sys/devices/system/cpu/cpu0/ not available

> It seems that my problem and the problem of xandl12 are not related.
>
> xandl12 his problem was that the 'p4-clockmod module' is not loaded
> automatically when the system starts.
>

It is the same problem .... I usally don't use the 'p4-clockmod module' but my processor works with tis module too!

I also get normally this message >
 + speedstep-centrino module fails to load
when i don't use my workaround method!

--
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl

Revision history for this message
uBo (ubo) wrote : Re: speedstep-centrino module fails to load

Same problem here. It was working with Dapper and after the Edgy upgrade it got broken. Fixed to the max. frequency of 1.73GHz.

That is what I get:

$ cat /proc/cpuinfo | grep name
model name : Intel(R) Pentium(R) M processor 1.73GHz

$ sudo modprobe speedstep-centrino
FATAL: Error inserting speedstep_centrino (/lib/modules/2.6.17-10-386/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.ko): No such device

$ ls /sys/devices/system/cpu/cpu0/
crash_notes

$ sudo cat /sys/devices/system/cpu/cpu0/crash_notes
1ff6c800

Would the workaround with 'p4-clockmod' work with Pentium M?

Revision history for this message
Bram Vandoren (bram-bram) wrote :

What kernel are you running (uname -a) ?

If does not end on -generic, you shoul reboot and choose the -generic kernel flavour. speedstep-centrino works fine in that kernel. If it's not available in grub:

apt-get install linux-image-generic

Revision history for this message
uBo (ubo) wrote :

I can confirm that this is a 'linux-image-2.6.17-10-386'-only problem.

The linux-image-2.6.17-10-generic has no such problem and scales the frequency down to 800MHz and up when needed.

As a side effect the cooling fan is not working so often as earlier, I think it depends on the frequency as well as on temperature.

Revision history for this message
Kaur Männamaa (kaurman) wrote :

I am having the same problem when using THE GENERIC KERNEL. CPU is intel core2 duo T2300E. Loading the p4-clockmod module (by running sudo modprobe p4-clockmod in terminal) didn't work for me: I got an error message similar to the one which occurs when trying to load the speedstep module.
Currently the only solution for me is using the 686 kernel.

Revision history for this message
ankostis (ankostis) wrote :

I compiled myself kernel2 2.6.17-13 (ubuntu-patched) and 2.6.19.1 and they both have the same problem:

I receive an error message in /var/log/kern.log
  acpi_cpufreq: Unknown symbol cpu_online_map

I cannot use any cpu frequency scaling feature.

I tride the p4-clockmod, smp, but nothing worked.

The generic kernel works ok, but i still haven't find what is the distictive difference that makes it work.

> cat /proc/cpunfo

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 11
model name : Intel(R) Pentium(R) III Mobile CPU 1200MHz
stepping : 1
cpu MHz : 800.000
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 mmx fxsr sse up
bogomips : 1596.44

Revision history for this message
giacof (giacof) wrote :

Hi!

Similar problem to me: I run Kubuntu Edgy, with a customized 2.6.17.14 kernel, on my Centrino laptop (Compal DL76):

$ cat /proc/cpuinfo | grep name
model name : Intel(R) Pentium(R) M processor 1.86GHz

In dmesg I see the same error message:

[xxx.xxx] acpi_cpufreq: Unknown symbol cpu_online_map

I also get the following error:

$ sudo modprobe speedstep-centrino
Password:
FATAL: Error inserting speedstep_centrino (/lib/modules/2.6.17.14-ubuntu1-custom/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.ko): No such device

Furthermore, the directory /sys/devices/system/cpu/cpu0/ is empty (no crash_notes file is there). As a consequence, I have no control on cpufreq profiles.

Note: before kernel compilation, I've been using a 2.6.17-11-generic kernel that worked fine.

Any idea of what is missing? Parhaps some kernel option? I can post my kernel's .config if necessary.
Thank you in advance.

Revision history for this message
ankostis (ankostis) wrote : Re: [Bug 66812] Re: [regression-edgy] speedstep-centrino module fails to load

Hi,

I'm sorry to dissapoint you, but i didn't manage to trace the exact
cause, although i managed to fix it!

It definitely requires SMP on!
It might be necessary to include more debug symbols on ACPI, but i
really can't remember what it was that made it work. Just after some
trials-n-errors i managed it....

Regards,
  Kostis

On 3/14/07, giacof <email address hidden> wrote:
> Hi!
>
> Similar problem to me: I run Kubuntu Edgy, with a customized 2.6.17.14
> kernel, on my Centrino laptop (Compal DL76):
>
> $ cat /proc/cpuinfo | grep name
> model name : Intel(R) Pentium(R) M processor 1.86GHz
>
> In dmesg I see the same error message:
>
> [xxx.xxx] acpi_cpufreq: Unknown symbol cpu_online_map
>
> I also get the following error:
>
> $ sudo modprobe speedstep-centrino
> Password:
> FATAL: Error inserting speedstep_centrino (/lib/modules/2.6.17.14-ubuntu1-custom/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.ko): No such device
>
> Furthermore, the directory /sys/devices/system/cpu/cpu0/ is empty (no
> crash_notes file is there). As a consequence, I have no control on
> cpufreq profiles.
>
> Note: before kernel compilation, I've been using a 2.6.17-11-generic
> kernel that worked fine.
>
> Any idea of what is missing? Parhaps some kernel option? I can post my kernel's .config if necessary.
> Thank you in advance.
>
> --
> [regression-edgy] speedstep-centrino module fails to load
> https://launchpad.net/bugs/66812
>

Revision history for this message
Magne Eimot (magne) wrote :

I'm also affected by this bug, with a Core 2 Duo and -genereric kernel. It did work earlier on edgy, so i dont know when it broke, probably 2.6.17.11?

Revision history for this message
giacof (giacof) wrote :

@Kostis,

I think SMP affects dual-core processors only. I tried enabling that option for my Centrino too, but I got the same error:

FATAL: Error inserting speedstep_centrino (/lib/modules/2.6.17.14-ubuntu1-custom/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.ko): No such device

Anyway, could you please attach your kernel's .config file ?
Many thx

Revision history for this message
ankostis (ankostis) wrote :

On 3/16/07, giacof <email address hidden> wrote:
> @Kostis,
>
> I think SMP affects dual-core processors only. I tried enabling that
> option for my Centrino too, but I got the same error:
>
> FATAL: Error inserting speedstep_centrino
> (/lib/modules/2.6.17.14-ubuntu1-custom/kernel/arch/i386/kernel/cpu/cpufreq
> /speedstep-centrino.ko): No such device
>
> Anyway, could you please attach your kernel's .config file ?
> Many thx

Yes, i'm attaching it. If it does not get past the mailerman, tell me.

Regards,
  Kostis

>
> --
> [regression-edgy] speedstep-centrino module fails to load
> https://launchpad.net/bugs/66812
>

Revision history for this message
ankostis (ankostis) wrote :

Attaching my kernel config.

Revision history for this message
giacof (giacof) wrote :

Many thanks, Kostis!
At the end I left the SMP option enabled and I got back frequency scaling with the acpi_cpufreq driver. Still no way to have speedstep_centrino working.
I also tried to load the module with debugging on, resulting in the following lines in the kernel's log:

Mar 20 22:22:13 R3d-574r kernel: [4294692.623000] CLASS: registering class device: ID = 'acpi'
Mar 20 22:22:13 R3d-574r kernel: [4294692.623000] class_uevent - name = acpi
Mar 20 22:22:13 R3d-574r kernel: [4294692.623000] class_device_create_uevent called for acpi
Mar 20 22:22:13 R3d-574r kernel: [4294692.705000] bus type 'i2c' registered
Mar 20 22:22:13 R3d-574r kernel: [4294692.705000] bus i2c: add driver i2c_adapter
Mar 20 22:22:13 R3d-574r kernel: [4294692.705000] device class 'i2c-adapter': registering
Mar 20 22:22:13 R3d-574r kernel: [4294692.774000] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)
Mar 20 22:22:13 R3d-574r kernel: [4294692.973000] cpufreq-core: trying to register driver centrino
Mar 20 22:22:13 R3d-574r kernel: [4294692.973000] cpufreq-core: adding CPU 0
Mar 20 22:22:13 R3d-574r kernel: [4294692.974000] speedstep-centrino: Invalid control/status registers (1 - 1)
Mar 20 22:22:13 R3d-574r kernel: [4294692.974000] speedstep-centrino: <6>speedstep-centrino: invalid ACPI data
Mar 20 22:22:13 R3d-574r kernel: [4294692.974000] speedstep-centrino: <6>speedstep-centrino: found unsupported CPU with Enhanced SpeedStep: send /proc/cpuinfo to Jeremy Fitzhardinge <email address hidden>
Mar 20 22:22:13 R3d-574r kernel: [4294692.974000] cpufreq-core: initialization failed
Mar 20 22:22:13 R3d-574r kernel: [4294692.974000] cpufreq-core: no CPU initialized for driver centrino
Mar 20 22:22:13 R3d-574r kernel: [4294692.974000] cpufreq-core: unregistering CPU 0

Now I'm trying to contact the developer, as suggested...

Revision history for this message
extremecarver (extremecarver) wrote :

Same problem on 2.6.20-15-generic and on the i386 flavour.
Here is some output: felix@felix-laptop:~$ sudo cat /sys/devices/system/cpu/cpu0/crash_notes
1b5f800
felix@felix-laptop:~$ cat /proc/cpuinfo | grep name
model name : Intel(R) Pentium(R) M processor 1.70GHz (note: overclocked by pinmodding to 2266 MHZ)

I can get frequency-scaling working with acpi-cpufreq but not voltage setting even though I patched the kernel with phc and tried to use a modified speedstep-centrino.ko.

The only module I can load from the cpufreq folder except acpi-cpufreq ist speedstep-lib.ko which doesn't work either. I already tried various speedstep-centrino.ko files - even some that I compiled myself and a no-sources 2.6.20 kernel which showed the same problem though it all worked great in dapper drake.

Revision history for this message
giacof (giacof) wrote :

Just FYI, I learned from the Cpufreq list on linux.org that module speedstep centrino is deprecated in 2.6.20 onwards. You should use acpi-cpufreq only.

Revision history for this message
uBo (ubo) wrote :

i had to use the -generic Dapper kernel, but the standard -386 feisty kernel does not exibit the bug anymore. for me it is solved.

Revision history for this message
Brian Murray (brian-murray) wrote :

We are sorry that we didn't get to your bug report earlier, but the 18 month support period for Edgy Eft, 6.10, has reached it's end of life and we are marking the linux-source-2.6.17 task as Won't fix.

Changed in linux-source-2.6.17:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.