Re: Resume from Suspend to RAM

Pavel Machek
2005-06-06T14:43:34Z

Hi!

> > I've no idea how to debug a reboot, but if the system hangs it's possible to
> > add "lcall $0xffff,$0" early in the wakeup assembler code. If the system
> > reboots immediatly then, the kernels wakeup code was reached and the kernel
> > hangs later during resume.
>
> Ok, I've just tried that. The system still just freezes.
>
> > Is it somehow possible to localize and debug the BIOS code?
>
> Hmm. It's certainly possible for me to get a dump of the BIOS - is any
> BIOS code actually executed on resume? If so, checking through that may
> well be helpful.

Yes, parts of BIOS definitely are ran during resume. You have your
DRAM initialized when Linux attempts to wake up :-).

Pavel

-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20