powernowd loads incorrect speedstep driver on intel pentium III (breezy, dell latitutde C610)

Bug #22001 reported by Pieter van Prooijen
36
Affects Status Importance Assigned to Milestone
powernowd (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I have a problem with the breezy powernowd package on my Dell latitude
pentium III laptop: it loads the speedstep-smi module instead of the
speedstep-ich driver. The smi module causes the computer to periodically
freeze for 1 second and printing the following to the console:

cpufreq: change failed with new_state 1 and result 0

I've traced the problem to the /usr/share/powernowd/cpufreq-detect.sh
script, which tries to detect the Intel ICH chipset by looking for the
string "Intel ICH" in /proc/ioports. My laptop has a line in iopiorts
which reads:

d800-d8ff : Intel 82801CA-ICH3

So it never detects the ICH chipset and loads the wrong module.

Changing line 58 in the detect script from

  if [ -f $IOPORTS ] && grep -q 'Intel ICH' $IOPORTS ; then

to:

  if [ -f $IOPORTS ] && grep -q 'Intel .*ICH' $IOPORTS ; then

Fixes the problem.

Perhaps one of the powernowd maintainers can look at this and see if
it's the right solution ? Let me know if more details are needed.

Revision history for this message
Paul Sladen (sladen) wrote :

*** Bug 21228 has been marked as a duplicate of this bug. ***

Revision history for this message
Paul Sladen (sladen) wrote :

*** Bug 20995 has been marked as a duplicate of this bug. ***

Revision history for this message
Matthew Garrett (mjg59) wrote :
Revision history for this message
Techtomic (techtomic) wrote :

*** Bug 21814 has been marked as a duplicate of this bug. ***

Revision history for this message
Techtomic (techtomic) wrote :

This package fixes the problem for me, mine's a Dell Inspiron 8200, Pentium 4 M
18.GHz.

Revision history for this message
Pieter van Prooijen (pprooi) wrote :

Yep, the package works also on my PIII laptop.

Revision history for this message
Mario Fuentes (mario) wrote :

The package works fine for me

thanks.

Revision history for this message
Joel Parker (jjkp) wrote :

Works here too, from bug 20995.

Revision history for this message
Fabio Albieri (chareos) wrote :

For me this problem is still there. PIII-M@1GHz on Dell Inspiron 8100

Revision history for this message
Matthew Garrett (mjg59) wrote :

Fabio,

can you describe precisely what problem you have? Also, could you please attach
the output from

cat /proc/cpuinfo

and

cat /proc/ioports

?

Revision history for this message
Fabio Albieri (chareos) wrote :

Hi, here.
I've had "cpufreq: change failed with new_state 1 and result 0" during Breezy
installation.

Then, as reported by others, I get 1 second system freeze. I looked about that... it
occours when powernowd scales the cpu frequency down!

I can reproduce this problem simply starting glxgears (or just any cpu-eater app),
let powernowd climb up cpu frequency... then closing the cpu-eater. When
powernowd scales cpu frequency down,
system freezes for 1 second.

NEW problem :
Also, there is *strong* possibility that this is causing my wifi pcmcia card
to lock completely my system (I've to remove and reinsert the card to get my
system back). Then,
problem on wifi occours again when powernowd scales down cpu again.

Here the output you asked me for. Thank you for your interest.

cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 11
model name : Intel(R) Pentium(R) III Mobile CPU 1000MHz
stepping : 1
cpu MHz : 996.727
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
bogomips : 1978.36

cat /proc/ioports
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
01f0-01f7 : ide0
02f8-02ff : serial
03c0-03df : vga+
03f0-03f1 : pnp 00:08
03f6-03f6 : ide0
03f8-03ff : serial
04d0-04d1 : pnp 00:01
0600-067f : pnp 00:02
0680-06ff : pnp 00:02
0800-087f : 0000:00:1f.0
  0800-0803 : PM1a_EVT_BLK
  0804-0805 : PM1a_CNT_BLK
  0806-0807 : pnp 00:02
  0808-080b : PM_TMR
  0810-0815 : ACPI CPU throttle
  0820-0820 : PM2_CNT_BLK
  0828-082b : GPE0_BLK
  082c-082f : GPE1_BLK
  0860-087f : pnp 00:02
0880-08bf : 0000:00:1f.0
  0880-08bf : pnp 00:02
08c0-08ff : pnp 00:02
0900-091f : pnp 00:08
0cf8-0cff : PCI conf1
4000-40ff : PCI CardBus #03
4400-44ff : PCI CardBus #03
4800-48ff : PCI CardBus #07
  4800-48ff : 0000:07:00.0
4c00-4cff : PCI CardBus #07
bfa0-bfaf : 0000:00:1f.1
  bfa0-bfa7 : ide0
  bfa8-bfaf : ide1
c000-cfff : PCI Bus #01
dce0-dcff : 0000:00:1f.2
  dce0-dcff : uhci_hcd
e400-e4ff : 0000:02:06.1
e800-e8ff : 0000:02:06.0
  e800-e87f : 0000:02:06.0
ec00-ecff : 0000:02:03.0
  ec00-ecff : Maestro3
f000-f0fe : motherboard
  f000-f0fe : pnp 00:03
f100-f1fe : motherboard
  f100-f1fe : pnp 00:03
f200-f2fe : motherboard
  f200-f2fe : pnp 00:03
f400-f4fe : motherboard
  f400-f4fe : pnp 00:03
f500-f5fe : motherboard
  f500-f5fe : pnp 00:03
f600-f6fe : motherboard
  f600-f6fe : pnp 00:03
f800-f8fe : motherboard
  f800-f8fe : pnp 00:03
f900-f9fe : motherboard
  f900-f9fe : pnp 00:03
fa00-fafe : motherboard
fc00-fcfe : motherboard
fd00-fdfe : motherboard
fe00-fefe : motherboard

Revision history for this message
Paul Sladen (sladen) wrote :

This upload fixed it a while back.

Changed in powernowd:
status: Confirmed → Fix Released
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.