Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Shutting up ACPI log messages...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
axelmasok
Apprentice
Apprentice


Joined: 08 Oct 2003
Posts: 171

PostPosted: Tue Sep 23, 2008 12:30 am    Post subject: Shutting up ACPI log messages... Reply with quote

Hi everyone,

Anyone know how to get rid of or reduce this garbage from my log files:

Code:
Sep 23 10:25:42 laptop64 acpid: received event "thermal_zone TZ0 00000081 00000000"
Sep 23 10:25:42 laptop64 acpid: notifying client 10311[102:443]
Sep 23 10:25:42 laptop64 acpid: notifying client 10706[0:0]
Sep 23 10:25:42 laptop64 acpid: executing action "/etc/acpi/default.sh thermal_zone TZ0 00000081 00000000"
Sep 23 10:25:42 laptop64 acpid: action exited with status 2
Sep 23 10:25:42 laptop64 acpid: completed event "thermal_zone TZ0 00000081 00000000"
Sep 23 10:25:44 laptop64 acpid: received event "thermal_zone TZ0 00000081 00000000"
Sep 23 10:25:44 laptop64 acpid: notifying client 10311[102:443]
Sep 23 10:25:44 laptop64 acpid: notifying client 10706[0:0]
Sep 23 10:25:44 laptop64 acpid: executing action "/etc/acpi/default.sh thermal_zone TZ0 00000081 00000000"
Sep 23 10:25:44 laptop64 acpid: action exited with status 2
Sep 23 10:25:44 laptop64 acpid: completed event "thermal_zone TZ0 00000081 00000000"


If I stop the "thermal" module from loading the processor gets almighty hot. I have a dual core laptop (Compaq 6710b).
I have tried a few tricks like this with no success:

Code:
laptop64 ~ # cat /etc/acpi/default.sh
#!/bin/sh
# /etc/acpi/default.sh
# Default acpi script that takes an entry for all actions

set $*

group=${1%%/*}
action=${1#*/}
device=$2
id=$3
value=$4

log_unhandled() {
        logger "ACPI event unhandled: $*"
}

case "$group" in

        thermal_zone)
                ;; # don't care..fan seems to work

        "thermal_zone TZ0 00000081 00000000")
                ;; # Damn log files

        thermal_zone TZ0 00000081 00000000)
                ;; # SOAB

[trimmed]


Every 2 or so seconds id dumps in the same crap. I can't find anything else in my log files....
Back to top
View user's profile Send private message
cassiol
Guru
Guru


Joined: 16 Oct 2006
Posts: 304
Location: /BR/SC/FLORIPA

PostPosted: Tue Sep 23, 2008 2:50 am    Post subject: Reply with quote

helloo

try remove in your kernel Debug Statements

Quote:

Power management options ---> ACPI (Advanced Configuration and Power Interface) Support ---> [ ] Debug Statement


maybe help you...
good luck
_________________
before post......... try that search in google: site:forums.gentoo.org your question
please add [SOLVED] when your question is solved
Back to top
View user's profile Send private message
axelmasok
Apprentice
Apprentice


Joined: 08 Oct 2003
Posts: 171

PostPosted: Tue Sep 23, 2008 7:26 am    Post subject: Reply with quote

Hello, just checked that now as it sounded very likely.
According to my Kernel config the debug option you specified is unchecked/disabled.
Any other idea? Does any of your /etc/acpi/* scripts mention anything about thermal_zone?
Back to top
View user's profile Send private message
cassiol
Guru
Guru


Joined: 16 Oct 2006
Posts: 304
Location: /BR/SC/FLORIPA

PostPosted: Tue Sep 23, 2008 1:09 pm    Post subject: Reply with quote

heloo

try update your sys-power/acpid
_________________
before post......... try that search in google: site:forums.gentoo.org your question
please add [SOLVED] when your question is solved
Back to top
View user's profile Send private message
axelmasok
Apprentice
Apprentice


Joined: 08 Oct 2003
Posts: 171

PostPosted: Tue Sep 23, 2008 1:11 pm    Post subject: Reply with quote

Code:
laptop64 linux # emerge -pv acpid

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-power/acpid-1.0.6-r1  0 kB


Is the latest unstable (and stable) version.
Back to top
View user's profile Send private message
cassiol
Guru
Guru


Joined: 16 Oct 2006
Posts: 304
Location: /BR/SC/FLORIPA

PostPosted: Tue Sep 23, 2008 7:56 pm    Post subject: Reply with quote

helloo

maybe that help you http://www.redhat.com/archives/rhl-devel-list/2007-October/msg00763.html
good luck
_________________
before post......... try that search in google: site:forums.gentoo.org your question
please add [SOLVED] when your question is solved
Back to top
View user's profile Send private message
axelmasok
Apprentice
Apprentice


Joined: 08 Oct 2003
Posts: 171

PostPosted: Wed Sep 24, 2008 4:24 am    Post subject: Reply with quote

I read that, seems like I have debug on somewhere...

Here is the ACPI section straight from my running kernel (config.gz):

Code:
#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_PROCFS=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_FAN=m
# CONFIG_ACPI_DOCK is not set
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
CONFIG_ACPI_NUMA=y
CONFIG_ACPI_ASUS=m
CONFIG_ACPI_TOSHIBA=m
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
CONFIG_ACPI_CONTAINER=m
# CONFIG_ACPI_SBS is not set


And here is my acpi options file:

Code:


laptop64 tmp # cat /etc/conf.d/acpid
# /etc/conf.d/acpid: config file for /etc/init.d/acpid

# Options to pass to the acpid daemon.
# See the acpid(8) man page for more info.

ACPID_OPTIONS=""


No -d option there either. So, I wonder what the hell I'm going to do now. I don't think it's a bug as no-one else but me seems to be suffering this logfile torture.
Back to top
View user's profile Send private message
cassiol
Guru
Guru


Joined: 16 Oct 2006
Posts: 304
Location: /BR/SC/FLORIPA

PostPosted: Thu Sep 25, 2008 11:00 pm    Post subject: Reply with quote

hello....

i have googled about this question, but found nothing relevant... probably is bug...
please open a bug....
_________________
before post......... try that search in google: site:forums.gentoo.org your question
please add [SOLVED] when your question is solved
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9883
Location: almost Mile High in the USA

PostPosted: Fri Sep 26, 2008 10:53 pm    Post subject: Reply with quote

According to the acpid source code, these are being reported to syslog with priority LOG_INFO. If you set your syslog-ng to ignore or dump all your LOG_INFO level errors to /dev/null, then it won't print them.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum