Bug 6608 - S3 suspend: endless loop in AML interpreter
Summary: S3 suspend: endless loop in AML interpreter
Status: CLOSED PATCH_ALREADY_AVAILABLE
Alias: None
Product: ACPI
Classification: Unclassified
Component: ACPICA-Core (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Luming Yu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-23 08:48 UTC by Lukas Hejtmanek
Modified: 2006-09-28 13:18 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.17-rc4
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
acpidump (172.17 KB, text/plain)
2006-05-24 09:22 UTC, Lukas Hejtmanek
Details
dmesg (12.32 KB, text/plain)
2006-05-24 09:23 UTC, Lukas Hejtmanek
Details

Description Lukas Hejtmanek 2006-05-23 08:48:35 UTC
Most recent kernel where this bug did not occur: n/a
Distribution: Debian/Unstable
Hardware Environment: Asus M6A-B020H notebook
Software Environment: 
Problem Description: When I do S4 suspend/resume and then S3 suspend, machine
freezes in endless loop in AML interpreter. Using SYSRQ-P I can see, that
endless loop is in:
acpi_ps_parse_loop

Called sequence is:
syscall_call
sys_write
vfs_write
sysfs_write_file
state_store
enter_state
acpi_sleep_prepare
acpi_enable_wakeup_device_prep
acpi_enter_sleep_state_prep
acpi_evaluate_object
acpi_ns_evaluate_by_name
acpi_ns_evaluate_by_handle
acpi_ps_execute_method
acpi_ps_execute_pass
acpi_ps_parse_aml
acpi_ps_parse_loop

Other functions get called from acpi_ps_parse_loop are called (EIP changes when
several sysrq-p is trigered).

S3 suspend without previous S4 is OK.

I'm using:
echo shutdown > /sys/power/disk
echo mem > /sys/power/state

for S3 suspend. (I tried platform instead of shutdown, same result).
Comment 1 Luming Yu 2006-05-24 06:14:57 UTC
Please :
1.post acpidump output.
2.boot with acpi_dbg_layer=0x10 acpi_dbg_level=0x10, then post dmesg

Thanks,
Luming
Comment 2 Lukas Hejtmanek 2006-05-24 09:22:53 UTC
Created attachment 8197 [details]
acpidump
Comment 3 Lukas Hejtmanek 2006-05-24 09:23:47 UTC
Created attachment 8198 [details]
dmesg
Comment 4 Luming Yu 2006-05-24 09:28:06 UTC
Please post dmesg when hang , NOT just boot. Also please enable acpi debug 
option when building kernel.
Comment 5 Lukas Hejtmanek 2006-05-24 09:32:45 UTC
Unfortunately, I'm unable to post dmesg when it hangs - any error message is not
in log (as syslogd is stopped).
Comment 6 Luming Yu 2006-06-04 19:19:12 UTC
Does serial console works for you?
Also you can try to take a picture of the screen, or just write down what you 
see on the screen.

Thanks.
Comment 7 Lukas Hejtmanek 2006-06-05 02:47:01 UTC
Well, it seems to be fixed in 2.6.17-rc4 and later. So this bug may be closed.
Comment 8 Luming Yu 2006-06-05 04:28:20 UTC
Good news,
I'm happy to close it now.

Note You need to log in before you can comment on or make changes to this bug.