[ltp] System sometimes doesn't wake up

Tino Keitel linux-thinkpad@linux-thinkpad.org
Tue, 19 Jun 2007 17:39:06 +0200


On Tue, Jun 19, 2007 at 16:51:12 +0200, Felix E. Klee wrote:
> At Tue, 19 Jun 2007 10:02:55 +0200,
> Tino Keitel wrote:
> > I would think that when you do "cardctl eject" and leave the card
> > inserted, the card is re-detected during resume.
> 
> What I could try:
> 
> * Remove the card, send the system to suspend to RAM, insert the card,
>   try to resume.  If the problems reoccur, then it's likely that the
>   card is somehow detected during the resume process.
> 
> * Unload the PCMCIA modules in my sleep script.
> 
> BTW, there's something very weird:
> 
> 1. The system is suspended, and doesn't wake up when I raise the lid.

You can configure this in the BIOS AFAIK, at least when you suspend to
RAM.

> 
> 2. I press the power button for a couple of seconds.  The system turns
>   off.

This is absolutely normal behaviour.

> 
> 3. I press the power button, the system boots, but it doesn't even get
>   to the boot manager.

What happens instead?

> 
> 4. I press the power button again to turn the system off.
> 
> 5. I press the power button to turn the system on, and now it works.

This is weird. Is this only the case with the card inserted?

[...]

> > Maybe a second "cardctl eject" before you reload the usb modules at
> > resume helps here.
> 
> Well, it doesn't get that far.  The system doesn't resume, or at least
> doesn't finish the resume process.

Ah, ok. This is bad. How about using a newer kernel and stop using
cardctl eject and unloading any modules?

Regards,
Tino