http://bugzilla.kernel.org/show_bug.cgi?id=10811





------- Comment #20 from [EMAIL PROTECTED]  2008-06-26 14:34 -------
ok, works ... till somthing happens. Tested twice, pattern seems clear:

logger -t acpi.debug -p kern.info ===ACPI DEBUG START===
while true;do
 cat /proc/acpi/battery/BAT0/* &>/dev/null & sleep 2; ps $! && break
 echo -n .
done
logger -t acpi.debug -p kern.info ===ACPI DEBUG END===

without hald, it goes on for hours, but during night only:

# grep === /var/log/socklog/main/current 
user.info: Jun 26 01:20:01 acpi.debug: ===ACPI DEBUG START===
user.info: Jun 26 08:39:44 acpi.debug: ===ACPI DEBUG END===

that's typically the time the user starts his's wmaker session, then a wmapp
starts to poll acpi:

# cat mutex_no-hald.log 
ACPI Interpreter Mutex acquired by: wmacpi, use count: 220414

and in dmesg:
DEBUG: acpi_dump_stack
----------------------
Pid: 12015, comm: wmacpi
 [<c0262a2e>] ? acpi_dump_mutex+0x0/0x95
 [<c01b8f19>] proc_file_read+0x1c9/0x280
 [<c01b8d50>] ? proc_file_read+0x0/0x280
 [<c01b411c>] proc_reg_read+0x6c/0xc0
 [<c0180084>] vfs_read+0x94/0x130
 [<c01b40b0>] ? proc_reg_read+0x0/0xc0
 [<c01804bd>] sys_read+0x3d/0x70
 [<c0103fee>] sysenter_past_esp+0x5f/0x85
 =======================

and from then on my process if locked solid:

12020 pts/1    D      0:00 cat /proc/acpi/battery/BAT0/alarm ...

that's 2.6.25.6.

Likely, without hald, during that test time acpi is read by my 'cat' only, 
since the nb is on ac and nothing bothers to poll the battery level, nor 
the ac state, since all is expectd to react on a acpid event. But wmacpi
polls ac/battery 3 times/min, clashes with 'cat' and one or the other gets 
stuck there.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to