Skip to contentSkip to conversation

Cause of Suspend2 resume failures on Toshiba laptops

Suspend2-devel mhf-tdrK/[email protected] 2 participants 2 messages Mar 6, 2005 ACPI

lore
Share & tools
lore
#0 lore raw
Quoted 35 lines · Bernard Blackham

Hi all,

As some of you will know, some laptops (notably almost all recent Toshibas) have issues resuming with Software Suspend 2, resulting in a hang during "Reading caches", or a stream of "Unable to queue event ..." messages. If you try and resume enough times, occasionally it will make it to the end of resuming and the system will be perfectly usable.

The attached patch more or less reverts the change in 2.6.9-rc1 that began this all. If you have a Toshiba or other laptop that's affected by this, I ask you to see if it helps your problems. (It hacks around the problem rather than fixing it, but I'm not entirely sure what functionality it disables).

To the ACPI developers:

I'm not entirely sure what this is breaking. What uses these GPEs? It seems the hangs are caused by one of these GPEs firing upon resume (though I'm not sure why it causes a hang - perhaps related to the low memory conditions during a suspend/resume cycle?)

The comment above the line I changed mentions that the GPE enable mask is updated, but not the HW GPE itself. Whereabouts are these later enabled?

Are the HW GPE enable masks stored in memory that might be replaced when resuming, with their values from suspend? If so, could/should GPEs be disabled before suspending so that they aren't enabled at an unfortunate moment on resume?

Quoted 6 lines

Apologies if none of the above makes much sense - it doesn't make all that much sense to me yet :)

Thanks,

Bernard.

Hi Bernard,

I am afraid the only effect of the patch on my Toshiba L2 is that the RTC stops working, thus the rtc.ko module can not be inserted (no such device).

Resume still hangs with the GPE out of memory failure after restoring the orig kernel.

If you need my DSDT, let me know.

Regards
Michael

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#1 lore raw

În data de Du, 06-03-2005 la 17:46 +0100, [email protected] a scris:

Quoted 3 lines

I am afraid the only effect of the patch on my Toshiba L2 is that the RTC stops working, thus the rtc.ko module can not be inserted (no such device).

Please revert the first patch and use the second and the 3rd. toshiba-acpi-hack-2.diff and toshiba-acpi-hack-3.diff. (if you already did that i'll just shut up and sit in a corner :)

Signature · 1 line
Cioby