kacpid constantly using 80-95% CPU on pentium D dual core

Bug #82423 reported by dr who
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned
linux-source-2.6.17 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

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

starting little less than a week ago kacpid is now constantly using up between 80-95% CPU causing system lag. renicing to 19 reduces the load somewhat but is obviously not the solution. running the system with "noacpi acpi=off" does not work at all.

system: HP dc7600

top - 08:45:42 up 10:20, 2 users, load average: 1.21, 1.31, 1.34
Tasks: 114 total, 3 running, 111 sleeping, 0 stopped, 0 zombie
Cpu(s): 8.5%us, 43.4%sy, 0.0%ni, 41.2%id, 0.9%wa, 5.8%hi, 0.0%si, 0.0%st
Mem: 1027344k total, 863696k used, 163648k free, 44232k buffers
Swap: 2096472k total, 17652k used, 2078820k free, 505180k cached

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
   16 root 35 19 0 0 0 R 89 0.0 555:23.73 kacpid
18007 root 19 0 16536 7624 6256 R 61 0.7 0:00.31 apt-index-watch
    1 root 16 0 1632 536 448 S 0 0.1 0:01.04 init
    2 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0
    3 root 34 19 0 0 0 S 0 0.0 0:05.45 ksoftirqd/0
    4 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0
    5 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/1
    6 root 34 19 0 0 0 S 0 0.0 0:00.51 ksoftirqd/1
    7 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/1
    8 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/0
    9 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/1
   10 root 10 -5 0 0 0 S 0 0.0 0:00.01 khelper
   11 root 10 -5 0 0 0 S 0 0.0 0:00.00 kthread
   14 root 10 -5 0 0 0 S 0 0.0 0:00.19 kblockd/0
   15 root 10 -5 0 0 0 S 0 0.0 0:00.01 kblockd/1
   17 root 13 -5 0 0 0 S 0 0.0 0:00.00 kacpi_notify
  108 root 10 -5 0 0 0 S 0 0.0 0:00.00 kseriod
  149 root 15 0 0 0 0 S 0 0.0 0:07.43 kswapd0
  150 root 13 -5 0 0 0 S 0 0.0 0:00.00 aio/0
  151 root 13 -5 0 0 0 S 0 0.0 0:00.00 aio/1
  783 root 15 0 0 0 0 S 0 0.0 0:00.00 kirqd
 1712 root 13 -5 0 0 0 S 0 0.0 0:00.00 ata/0
 1713 root 12 -5 0 0 0 S 0 0.0 0:00.00 ata/1
 1718 root 14 -5 0 0 0 S 0 0.0 0:00.00 scsi_eh_0
 1719 root 14 -5 0 0 0 S 0 0.0 0:00.00 scsi_eh_1
 1788 root 10 -5 0 0 0 S 0 0.0 0:00.00 khubd
 1858 root 13 -5 0 0 0 S 0 0.0 0:00.00 scsi_eh_2
 1859 root 10 -5 0 0 0 S 0 0.0 0:09.46 usb-storage
 1913 root 10 -5 0 0 0 S 0 0.0 0:01.85 kjournald
 2000 root 15 0 1600 544 468 S 0 0.1 0:00.00 logd
 2149 root 12 -4 2608 1040 360 S 0 0.1 0:00.20 udevd
 2912 root 15 -5 0 0 0 S 0 0.0 0:00.00 kpsmoused
 2963 root 16 -5 0 0 0 S 0 0.0 0:00.00 shpchpd
 3197 root 19 -5 0 0 0 S 0 0.0 0:00.00 hda_codec
 3400 root 10 -5 0 0 0 S 0 0.0 0:00.00 kjournald
 3402 root 10 -5 0 0 0 S 0 0.0 0:00.08 kjournald
 3752 root 16 0 1596 504 432 S 0 0.0 0:00.00 getty
 3753 root 16 0 1600 508 432 S 0 0.0 0:00.00 getty
 3754 root 16 0 1600 504 432 S 0 0.0 0:00.00 getty
 3755 root 16 0 1600 508 432 S 0 0.0 0:00.00 getty
 3756 root 16 0 1596 500 432 S 0 0.0 0:00.00 getty

cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Pentium(R) D CPU 3.40GHz
stepping : 4
cpu MHz : 3389.630
cache size : 2048 KB
physical id : 0
siblings : 1
core id : 255
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl est cid cx16 xtpr lahf_lm
bogomips : 6787.09

processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Pentium(R) D CPU 3.40GHz
stepping : 4
cpu MHz : 3389.630
cache size : 2048 KB
physical id : 1
siblings : 1
core id : 255
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl est cid cx16 xtpr lahf_lm
bogomips : 6778.74

lsmod
Module Size Used by
bluetooth 53476 0
af_packet 24584 0
ipv6 272288 18
lp 12964 0
snd_hda_intel 20116 1
snd_hda_codec 164608 1 snd_hda_intel
snd_pcm_oss 47360 0
snd_pcm 84612 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_mixer_oss 19584 1 snd_pcm_oss
tg3 107652 0
snd_seq_dummy 4996 0
snd_seq_oss 36480 0
snd_seq_midi 9984 0
snd_rawmidi 27264 1 snd_seq_midi
snd_seq_midi_event 8960 2 snd_seq_oss,snd_seq_midi
snd_seq 59120 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 25348 2 snd_pcm,snd_seq
snd_seq_device 9868 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
sg 37404 0
tsdev 9152 0
floppy 63044 0
serio_raw 8452 0
evdev 11392 1
parport_pc 37796 1
parport 39496 2 lp,parport_pc
intel_agp 26012 1
agpgart 34888 2 intel_agp
shpchp 42144 0
pci_hotplug 32828 1 shpchp
snd 58372 12 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
hw_random 7320 0
psmouse 41352 0
soundcore 11232 1 snd
snd_page_alloc 11400 2 snd_hda_intel,snd_pcm
pcspkr 4352 0
ext3 142728 4
jbd 62228 1 ext3
usb_storage 75072 1
usbhid 45152 0
libusual 17040 1 usb_storage
uhci_hcd 24968 0
ehci_hcd 34696 0
usbcore 134912 6 usb_storage,usbhid,libusual,uhci_hcd,ehci_hcd
ide_generic 2432 0
sd_mod 22656 7
ata_piix 11780 4
libata 74892 1 ata_piix
scsi_mod 144648 4 sg,usb_storage,sd_mod,libata
ide_cd 33696 0
cdrom 38944 1 ide_cd
piix 11780 1
generic 6276 0
thermal 15624 0
processor 31560 1 thermal
fan 6020 0
fbcon 41504 0
tileblit 3840 1 fbcon
font 9344 1 fbcon
bitblit 7168 1 fbcon
softcursor 3328 1 bitblit
vesafb 9244 0
capability 5896 0
commoncap 8704 1 capability

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

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are currently reviewing bug reports regarding older kernels. Did this issue ever get resolved after an update? Please let us know.

However, now that the 7.10 Gutsy Gibbon release of Ubuntu is out, we were wondering if you can still reproduce this issue. Could you please download and try the new version of Ubuntu from http://www.ubuntu.com/getubuntu/download and report back your results? If the issue is still present in the new release, please attach the following information:

* uname -a > uname-a.log
* cat /proc/version_signature > version.log
* dmesg > dmesg.log
* sudo lspci -vvnn > lspci-vvnn.log

Please be sure to attach each file as a separate attachment. For more information regarding the kernel team bug policy, please refer to https://wiki.ubuntu.com/KernelTeamBugPolicies . Thanks again and we appreciate your help and feedback.

Changed in linux-source-2.6.17:
status: New → Incomplete
Revision history for this message
BlackenedBlood (dustinfontaine1989) wrote :

Yes 7.10 is what I am running and it would be nice to fix it. :D

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

The 18 month support period for Edgy Eft 6.10 has reached it's end of life. As a result, we are closing the linux-source-2.6.17 Edgy Eft kernel task.

Changed in linux-source-2.6.17:
status: Incomplete → Invalid
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Hardy Heron 8.04 was recently released. It would be helpful if you could test the new release and verify if this is still an issue - http://www.ubuntu.com/getubuntu/download . You should be able to test your bug using the LiveCD. Please let us know your results. Thanks.

Changed in linux:
status: New → Incomplete
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
Andrew McDermott (andrew-mcdermott) wrote :

This still happens with 8.10. I will post more details when I have them but on resume from suspend my CPU is at 90% + with kacpi_notify and kacpid spinning at 45% each.

Revision history for this message
Juan Martín (nauj27) wrote :

Ubuntu Intrepid Ibex 8.10 with kernel 2.6.27-7-generic and CPU:

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 1.70GHz
stepping : 6
cpu MHz : 1700.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 mce cx8 sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe up bts est tm2
bogomips : 3388.99
clflush size : 64
power management:

Same problem here:

top - 13:05:17 up 17:49, 3 users, load average: 5.92, 5.88, 5.84
Tasks: 167 total, 5 running, 156 sleeping, 0 stopped, 6 zombie
Cpu(s): 17.5%us, 79.1%sy, 2.0%ni, 0.0%id, 0.3%wa, 1.0%hi, 0.0%si, 0.0%st
Mem: 1033308k total, 936408k used, 96900k free, 17640k buffers
Swap: 979924k total, 201256k used, 778668k free, 296800k cached

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
   51 root 15 -5 0 0 0 D 40.8 0.0 7:07.42 kacpi_notify
   50 root 15 -5 0 0 0 S 33.8 0.0 5:58.34 kacpid
[...]

Some more info is attached.

Revision history for this message
Juan Martín (nauj27) wrote :

I forget to say that this bug is only present after resume from suspend or hibernate, not on cold start.

Revision history for this message
LeviRosol (levi-rosol) wrote :

i am also seeing this, but i am seeing on a restart of the system. I have tried to disable kacpid by editing the menu.lst file, and that works, however, i then lose one of my CPUs (running a p4 3.0ghz prescott proc with hyperthreading).

further research shows that disabling kacpid is not the answer for obvious reasons.

kacpi_notify runs around 50% and kacpid runs around 40%

I am running ubuntu 8.10

Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: Incomplete → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

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

This bug report was marked as Triaged a while ago but has not had any updated comments for quite some time. Please let us know if this issue remains in the current Ubuntu release, http://www.ubuntu.com/getubuntu/download . If the issue remains, 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-triage
Changed in linux (Ubuntu):
status: Triaged → Incomplete
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
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.