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





------- Comment #8 from [EMAIL PROTECTED]  2007-08-02 08:59 -------
Well, I have a theory.  Two, actually.

Thinkpad-acpi, just like almost everything else sysfs and procfs, does not
attempt to protect the system against a local DoS.  Yet, anyway.

But thinkpad-acpi *can*, as most of the ACPI system, DoS the embedded
controller.   And userland can cause it to happen by doing extremely stupid
things, such as while true ; do cat /sys/bus/platform/devices/thinkpad_acpi/* ;
done.

And the thinkpad EC *has* built-in anti-DoS capabilities.  If you are
unfortunately enough to trigger it, it will *stop talking to you* for a while
(or until a reboot, or whatever. Nobody really did a strong reverse engineering
of that).

Intel's powertop (google for it) might help you track down if something is
bothering thinkpad-acpi too much.  It does *not* do any polling by itself yet,
so if it shows up in powertop at all, it means userspace is pestering it, and
maybe it might be pestering it too much, and thus pestering the EC.

There is also another possibility.  If *anything* accesses the ACPI EC
interface out-of-sync, it can go up in flames.  Now, thinkpad-acpi does NOT do
that by itself, it calls ACPICA for all EC access, so it should be always
synchronized.  But if some sort of locking is not exactly right at early
resume, it might well be triggering the bug.  thinkpad-acpi will cause AML
method executions at early resume.

Anyway, I wait your reply about the sourceforge patch.


-- 
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.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to