Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253860 - sys-power/acpid-1.0.6-r1 / sys-kernel/gentoo-sources-2.6.28 - ACPI Exception,ACPI Error on ASUS F80S Fn+F8 hotkey
Summary: sys-power/acpid-1.0.6-r1 / sys-kernel/gentoo-sources-2.6.28 - ACPI Exception,...
Status: RESOLVED NEEDINFO
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:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-05 14:32 UTC by Sr. Cv.
Modified: 2009-02-22 20:00 UTC (History)
1 user (show)

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


Attachments
dmesg output (dmesg,230.10 KB, text/plain)
2009-01-15 14:42 UTC, Sr. Cv.
Details
messages.log after pressing Fn+F8 twice (messages.log,1.05 KB, text/plain)
2009-01-15 14:44 UTC, Sr. Cv.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sr. Cv. 2009-01-05 14:32:08 UTC
When using gentoo-sources-2.6.28 with asus-laptop after pressing Fn+F8 hotkey acpi logs:

ACPI Exception (exoparg2-0444): AE_AML_PACKAGE_LIMIT, Index (00000000F) is beyond end of object [20080926]
ACPI Error (psparse-0524): Method parse/execution failed [\_SB_.PCI0.SBRG.EC0_._Q11] (Node f701ae58), AE_AML_PACKAGE_LIMIT

and stops working. acpi_listen does not get any more events. It works well eg. on gentoo-sources-2.6.27-r6.

Reproducible: Always

Steps to Reproduce:
1. Just press Fn+F8




Portage 2.1.6.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28-gentoo i686)
=================================================================
System uname: Linux-2.6.28-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_T5750_@_2.00GHz-with-glibc2.0
Timestamp of tree: Mon, 05 Jan 2009 10:10:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
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/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/ http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl http://gentoo.po.opole.pl "
LANG="en_US.utf8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="en pl"
MAKEOPTS="-j4"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal hddtemp iconv ipv6 isdnlog java jpeg kde ldap libnotify lm_sensors mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vim-syntax vorbis wifi win32codecs x86 xml xorg xulrunner xv 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" USERLAND="GNU" VIDEO_CARDS="vga vesa fbdev ati radeon radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sr. Cv. 2009-01-05 15:04:07 UTC
I just check it again, and have the same problem on:
sys-kernel/gentoo-sources-2.6.26-r4
sys-kernel/gentoo-sources-2.6.27-r6
sys-kernel/gentoo-sources-2.6.27-r7

Sorry for wrong info before...
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-01-08 14:46:50 UTC
(In reply to comment #0)
> When using gentoo-sources-2.6.28 with asus-laptop after pressing Fn+F8 hotkey

What is Fn+F8 supposed to do on that system?

> acpi logs:

Which version of sys-power/acpid is that? (Please add that to the Summary.)
Comment 3 Sr. Cv. 2009-01-09 09:51:48 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > When using gentoo-sources-2.6.28 with asus-laptop after pressing Fn+F8 hotkey
> 
> What is Fn+F8 supposed to do on that system?

It is supposed to switch between internal and external monitors. However asus-laptop driver simply causes an acpi exception on hotkeys allowing to serve the event by userspace application. And that's in fact the supposed effect here.

Maybe also X driver trying to serve the event is involved here. If that's important I use  x11-drivers/xf86-video-radeonhd-1.2.4

> > acpi logs:
> 
> Which version of sys-power/acpid is that? (Please add that to the Summary.)

Added. However I'm not convinced that its sys-power/acpi bug because after the bug emerges acpi stops working until reboot. Restart of acpid does not help. However I suppose you know better ;-)

New thing I just noticed is that the acpi stops working (events are not registered) after I pressed Fn+F8 for the SECOND time. The first time caused error message in logs, then the other hotkeys caused acpi events and when I pressed again Fn+F8 nothing happened, and no more events were registered. I might not have noticed this before, because I was trying to hit the Fn+F8 more then once every time.
Comment 4 Sr. Cv. 2009-01-09 10:29:08 UTC
And more news: after the bug when I try to remove asus-laptop kernel module rmmod process hangs in D state.
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2009-01-09 16:32:19 UTC
Which is the last known working kernel?
Comment 6 Sr. Cv. 2009-01-09 17:52:08 UTC
(In reply to comment #5)
> Which is the last known working kernel?
> 

I don't know if there is any. Its new laptop and I just didn't get this hotkey working. Tested on kernels listed previously, if you need I can test on another, but which?
Comment 7 Sergey Ovcharenko 2009-01-09 18:02:41 UTC
Does this also occur when you use the acpi_asus module instead of asus_laptop?
Comment 8 Sr. Cv. 2009-01-09 18:57:48 UTC
Yes(In reply to comment #7)
> Does this also occur when you use the acpi_asus module instead of asus_laptop?
> 

You mean asus-acpi? Yes it does. The log is:
ACPI Exception (exoparg2-0444): AE_AML_PACKAGE_LIMIT, Index (00000000F) is beyond end of object [20080609]
ACPI Error (psparse-0530): Method parse/execution failed [\_SB_.PCI0.SBRG.EC0_._Q11] (Node f781be58), AE_AML_PACKAGE_LIMIT

And when I press Fn+F8 second time acpi stops working. Thereafter when I try to remove asus_acpi rmmod says it is un use, when I do rmmod -f the process hangs in D state.

I also tried to remove the asus_acpi module after I pressed Fn+F8 for the first time, the error was reported in log, but acpi events still worked. The module was removed properly, but when I loaded it again acpi hanged after the FIRST press of Fn+F8, as I had newer removed the asus_acpi!
Comment 9 Sergey Ovcharenko 2009-01-13 16:56:19 UTC
Could you post your /var/log/messages and dmesg?
Please try the following : 
 tail -f /var/log/messages > messages_log
 press Fn+F8 2 times
 then ctrl+c tail -f
 and post messages_log and dmesg output here.
Thanks.
Comment 10 Sr. Cv. 2009-01-15 14:42:56 UTC
Created attachment 178592 [details]
dmesg output

This is dmesg output. Only last two lines are relevant I think.
Comment 11 Sr. Cv. 2009-01-15 14:44:23 UTC
Created attachment 178596 [details]
messages.log after pressing  Fn+F8 twice
Comment 12 Mike Pagano gentoo-dev 2009-02-05 15:11:45 UTC
Can you test with the latest development kernel, git-sources-2.6.29_rc3-r7 as of this this.
Comment 13 Mike Pagano gentoo-dev 2009-02-22 20:00:36 UTC
Please feel free to reopen after you've had a chance to provide the info from comment #12