CPU frequency scaling causes crash

Bug #95569 reported by Slight Slightly
10
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned
linux-source-2.6.20 (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Binary package hint: linux-source-2.6.20

Each time I upgrade Ubuntu it installs something to manage CPU frequency scaling. However changes to the CPU frequency cause my system to crash (Seems to be solved this time by disabling gnome-power-manager).

tolan@thome:~$ uname -a
Linux thome 2.6.20-12-generic #2 SMP Wed Mar 21 20:55:46 UTC 2007 i686 GNU/Linux

tolan@thome:~$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 6
model name : AMD Athlon(tm) 64 Processor 3200+
stepping : 0
cpu MHz : 2500.000
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow up ts fid vid ttp
bogomips : 4424.26
clflush size : 64

Intel(R)Celeron(R)CPU 430 @ 1.80GHz GenuineIntel

Revision history for this message
Slight Slightly (slight--deactivatedaccount) wrote :

The following was the last entry in /var/log/messages before each hang:

Mar 24 01:14:04 thome kernel: [ 128.624000] Time: acpi_pm clocksource has been installed.

Revision history for this message
Slight Slightly (slight--deactivatedaccount) wrote :

Although disabling gnome-power-manager stops this from happening most of the time, it still happens when I log out and for some reason when I tell update-manager to install, as soon as I click on the install button (same acpi_pm entry in the syslog)

Revision history for this message
Tim Gardner (timg-tpi) wrote :

Try editing the grub boot command and add 'acpi=off'. Also, please attach (do not inline) the output of

sudo dmidecode > dmidecode.txt

Have you checked for BIOS updates for this motherboard?

Changed in linux-source-2.6.20:
assignee: nobody → timg-tpi
status: Unconfirmed → Needs Info
Revision history for this message
Slight Slightly (slight--deactivatedaccount) wrote :
Revision history for this message
Slight Slightly (slight--deactivatedaccount) wrote :

I did update the BIOS a while back. Looking at Chaintech's site now it looks like they've merged with someone and stopped supporting their motherboards. The site only has driver downloads not BIOS updates.

I'll try disabling acpi now.

Revision history for this message
Slight Slightly (slight--deactivatedaccount) wrote :

Adding 'acpi=off' to the end of the kernel params in grub (after 'ro quiet splash') stops the system completing it's boot. I end up dumped into a busybox shell.

There's nothing obvious in the syslog from that. I did see something about module symbols not being found though.

Tim Gardner (timg-tpi)
Changed in linux-source-2.6.20:
assignee: timg-tpi → ubuntu-kernel-acpi
importance: Undecided → Low
status: Needs Info → Confirmed
Revision history for this message
Tatty (tatter-sall) wrote :

This sounds like the same bug as in this thread: http://www.ubuntuforums.org/showthread.php?t=352218

On page 2 miguelquiros has posted a workaround which involves setting cpufrequtils to "conservative". Although this obviously has the side effect of slowing down the machine slightly.

Im getting the same bug. Ive just started trying miguel's workaround.

Hope this helps...

Revision history for this message
miguelquiros (mquiros) wrote :

Hello. Thread 352218 in the forums is clearly also related to frequency changes but I am not sure if it is exactly the same bug described here. In any case, if you think there is any additional information to what it is told in the forum that may help to solve the issue please ask.

Revision history for this message
Matti Laakso (matti-laakso) wrote :

I am also experiencing crashes related to CPU frequency scaling. I have a dual core processor (Core 2 Duo E6600) and every time I run a heavy process the computer freezes once the process is finished and load goes to zero. If I run e.g. glxgears with nice 19 in the background, this does not occur. I can also fix this by saying

sudo chmod +s /usr/bin/cpufreq-selector

and setting both cores to "performance" (i.e. full frequency all the time). This happens both in edgy and feisty. However, one of the first Feisty alpha kernels did not have this bug. If I remember correctly it was 2.6.19-7.

My motherboard is Abit AB9 with latest BIOS. I also have another similar system, but with a different motherboard (Asus Commando). The second computer does not suffer from this bug.

Revision history for this message
Slight Slightly (slight--deactivatedaccount) wrote :

This issue is still present and causes complete system crashes, how can it be low importance?

I still have to boot single user mode and remove cpufreqd and the frequency scaling on each new upgrade in order to be able stop the lock ups.

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this bug to the new "linux" package. However, development has already began for the upcoming Intrepid Ibex 8.10 release. It would be helpful if you could test the upcoming release and verify if this is still an issue - http://www.ubuntu.com/testing . If the issue still exists, please update this report by changing the Status of the "linux" task from "Incomplete" to "New". We appreciate your patience and understanding as we make this transition. Thanks!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Matti Laakso (matti-laakso) wrote :

At least in my case this was fixed with an updated BIOS. The BIOS changelog explicitly mentions "The "EIST adjusting" function now works as intended."

This was with Abit AB9 BIOS version 17.

description: updated
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Matti, thanks for the note about the BIOS update. However, since we've had no response back from the original bug reporter this report is being closed. Please reopen it if this is still an issue in the current Ubuntu release. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Please don't hesitate to submit bug reports in the future, we really appreciate it. Thanks again!

Changed in linux:
status: Incomplete → Won't Fix
Revision history for this message
kozimodo (forums-theo) wrote :

I have had this bug for the past 3-4 releases. The problem goes away if I set the governor to performance. I assume it would also go away if I set it to conservative as in the above mentioned forum thread.

Revision history for this message
miguelquiros (mquiros) wrote :

I am dissappointed that this bug has been marked as "low importance" and "won't fix". The problem still exists and it's quite serious, even if it seems to affect only to a limited number of people. Setting cpufreq_ac_policy to conservative in gnome-power-manager does not completely solve the problem. It simply makes it very less frequent. Obviously the hang happens when CPU frequency changes and these frequency changes are less frequent in "conservative" than in "ondemand".

Revision history for this message
kozimodo (forums-theo) wrote :

Still broken in Jaunty

Revision history for this message
Slight Slightly (slight--deactivatedaccount) wrote :

Hi I'm the original reporter. The problem is still present in Karmic. I have the latest BIOS update for this motherboard installed. Can you re-open the bug please.

Changed in linux-source-2.6.20 (Ubuntu):
status: Won't Fix → New
Revision history for this message
Slight Slightly (slight--deactivatedaccount) wrote :

Sorry wrong bug...

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Feisty Fawn 7.04 has reached it's end of life more than one year ago.
Please don't reopen closed bugs.

Changed in linux-source-2.6.20 (Ubuntu):
status: New → Won't Fix
Changed in linux (Ubuntu):
status: Won't Fix → New
tags: added: kj-triage
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Tolan,

Please be sure to confirm this issue exists with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/releases/ . If the issue remains, please run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 95569

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
kozimodo (forums-theo) wrote :

Still broken in lucid

Revision history for this message
kozimodo (forums-theo) wrote :

As an FYI, I had been running Arch for most of the 6-month period before lucid's release and never had a hard crash so the problem is clearly fixable.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
kozimodo (forums-theo) wrote :

What? Just 1 month and a day is "quite some time"?

Revision history for this message
kozimodo (forums-theo) wrote : apport information

AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: tct 1393 F.... lxpanel
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xfe024000 irq 16'
   Mixer name : 'Realtek ALC880'
   Components : 'HDA:10ec0880,08800000,00100800'
   Controls : 40
   Simple ctrls : 21
DistroRelease: LinuxMint 9
HibernationDevice: RESUME=UUID=a6e176e2-5052-404c-8b66-5155c0d77a4d
InstallationMedia: Linux Mint 9 "Isadora" - Release amd64 (20100427.1)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.

 vboxnet0 no wireless extensions.
Lsusb:
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 002: ID 0bb4:0c01 High Tech Computer Corp.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=9a465181-20e2-4dbb-ba88-68c01a00a109 ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Regression: No
RelatedPackageVersions: linux-firmware 1.34
Reproducible: Yes
RfKill:

Tags: isadora kconfig needs-upstream-testing
Uname: Linux 2.6.32-22-generic i686
UnreportableReason: This is not a genuine LinuxMint package
UserGroups:

WifiSyslog: Jun 14 21:36:54 kandinsky kernel: [ 4431.168034] Clocksource tsc unstable (delta = -122609087 ns)
dmi.bios.date: 10/24/2005
dmi.bios.vendor: Phoenix/Award Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.chassis.type: 3
dmi.modalias: dmi:bvnPhoenix/AwardTechnologies,LTD:bvr6.00PG:bd10/24/2005:svnAOpen:pn:pvr:cvn:ct3:cvr:
dmi.sys.vendor: AOpen

tags: added: apport-collected
Revision history for this message
kozimodo (forums-theo) wrote : AlsaDevices.txt

apport information

Revision history for this message
kozimodo (forums-theo) wrote : AplayDevices.txt

apport information

Revision history for this message
kozimodo (forums-theo) wrote : ArecordDevices.txt

apport information

Revision history for this message
kozimodo (forums-theo) wrote : BootDmesg.txt

apport information

Revision history for this message
kozimodo (forums-theo) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
kozimodo (forums-theo) wrote : Card0.Codecs.codec.3.txt

apport information

Revision history for this message
kozimodo (forums-theo) wrote : CurrentDmesg.txt

apport information

Revision history for this message
kozimodo (forums-theo) wrote : Lspci.txt

apport information

Revision history for this message
kozimodo (forums-theo) wrote : PciMultimedia.txt

apport information

Revision history for this message
kozimodo (forums-theo) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
kozimodo (forums-theo) wrote : ProcInterrupts.txt

apport information

Revision history for this message
kozimodo (forums-theo) wrote : ProcModules.txt

apport information

Revision history for this message
kozimodo (forums-theo) wrote : UdevDb.txt

apport information

Revision history for this message
kozimodo (forums-theo) wrote : UdevLog.txt

apport information

Curtis Hovey (sinzui)
Changed in linux-source-2.6.20 (Ubuntu):
assignee: Registry Administrators (registry) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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