Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235404 - sys-kernel/gentoo-sources-2.6.26 - kacpi_notify runaway process hogs CPU on a Dell D600 after undocking
Summary: sys-kernel/gentoo-sources-2.6.26 - kacpi_notify runaway process hogs CPU on a...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://bugzilla.kernel.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-21 21:17 UTC by Maciej Grela
Modified: 2008-09-12 09:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Hardware list.. (kacpi-cpu-hog-lshal.gz,9.99 KB, application/x-gzip)
2008-08-21 21:18 UTC, Maciej Grela
Details
Screenshhoo froom ttop. (kacpi_notify_cpu_hog.png,237.56 KB, image/png)
2008-08-21 21:18 UTC, Maciej Grela
Details
DSDT (kacpi-notify-cpu-hog-dsdt.gz,4.52 KB, application/x-gzip)
2008-08-21 21:19 UTC, Maciej Grela
Details
double gzipped dmesg (ddmesgg.gz,9.41 KB, application/x-gzip)
2008-08-21 21:22 UTC, Maciej Grela
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Grela 2008-08-21 21:17:06 UTC
When my Dell D600 is docked pressing the 'undock' button causes the kacpi_notify process to go into an infinite loop and eat all my CPU. Only a reboot helps to fix this. I`ve attached my dmesg and DSDT tables. You may be interested in the message, that appears in dmesg after pressing the 'undock' switch: 

ACPI: \_SB_.PCI0.PCIE.GDCK - undocking


Reproducible: Always

Steps to Reproduce:
1. Boot the laptop (when docked).
2. Press 'undock'.
3. Watch the system become unusable.




My emerge --info:

Portage 2.2_rc8 (default-linux/x86/2007.0/desktop, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.26-gentoo-idaho i686)
=================================================================
System uname: Linux-2.6.26-gentoo-idaho-i686-Intel-R-_Pentium-R-_M_processor_1.80GHz-with-glibc2.0
Timestamp of tree: Wed, 20 Aug 2008 22:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-Os -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks nodoc parallel-fetch preserve-libs sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl"
LANG="pl_PL.utf8"
LC_ALL="pl_PL.utf8"
LDFLAGS="-Wl,--as-needed -Wl,-O1"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa automount bash-completion berkdb bluetooth bzip2 cairo caps cdr cli cracklib crypt cups dbus dri dv dvd dvdr dvdread emboss encode evo exif fbcon ffmpeg firefox flac fortran ftp gdbm gif gnutls gtk hal iconv idn ipv6 irda isdnlog jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility mad mailwrapper midi mikmod mmx mp3 mpeg mudflap ncurses nfs nls nptl nptlonly nsplugin ogg opengl openmp pam pcmcia pcre pdf perl png pppd python qt qt3 qt3support qt4 quicktime quotas rar readline real reflection rtc samba sdl session speex spell spl sse sse2 ssl svg syslog tcpd tga theora threads tiff truetype tta unicode usb vim-syntax visibility vorbis wifi win32codecs x264 x86 xcomposite xinerama xml xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1     emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m       maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2 panasonic minolta samsung sonydscfl sonydscf55 fuji canon casio ricoh toshiba spca50x" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="hd44780 ncurses" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="vesa radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I`ve attached my DSDT, dmesg and lshal outputs. There is also a screenshot of the kacpi_notify madness.
Comment 1 Maciej Grela 2008-08-21 21:18:01 UTC
Created attachment 163519 [details]
Hardware list..
Comment 2 Maciej Grela 2008-08-21 21:18:48 UTC
Created attachment 163521 [details]
Screenshhoo froom ttop.
Comment 3 Maciej Grela 2008-08-21 21:19:14 UTC
Created attachment 163522 [details]
DSDT
Comment 4 Maciej Grela 2008-08-21 21:22:01 UTC
Created attachment 163524 [details]
double gzipped dmesg
Comment 5 Mike Pagano gentoo-dev 2008-08-22 19:56:00 UTC
It looks like this has been resolved by upstream.  We will monitor the patch for inclusion into Linus mainline dev kernel.  The patch was just submitted to the linux-acpi mailing list on 8/11. [1]

From the mailing lists responses, it looks like they are targeting 2.6.28 for these patches as the upstream developers have reservations.

The only workaround I was able to see was acpi=off, which isn't such a great option for everyone.

[1] http://marc.info/?l=linux-acpi&m=121843695710710&w=2


Comment 6 Maciej Grela 2008-08-24 20:02:37 UTC
(In reply to comment #5)
> It looks like this has been resolved by upstream.  We will monitor the patch
> for inclusion into Linus mainline dev kernel.  The patch was just submitted to
> the linux-acpi mailing list on 8/11. [1]
> 
> From the mailing lists responses, it looks like they are targeting 2.6.28 for
> these patches as the upstream developers have reservations.
> 
> The only workaround I was able to see was acpi=off, which isn't such a great
> option for everyone.
> 
> [1] http://marc.info/?l=linux-acpi&m=121843695710710&w=2
> 

I`ve posted a comment on the linux kernel bugzilla to keep an eye on the issue. Now waiting for their action.
Comment 7 Victor Stinner 2008-09-12 09:47:20 UTC
I got the same problem: kacpi_notify and kacpid uses ~90% of the CPU and unable to kill them (kernel processes) just after I disconnected the AC plug. I applied the patch [1] (change ACPI scan order) on my kernel 2.6.26 (Debian Sid 2.6.26-4) and the problem is fixed!

I'm using Debian Sid on a Dell Latitude D520.

[1] http://marc.info/?l=linux-acpi&m=121843695710710&w=2