Re: Suspend to RAM fault in VT when resuming

From: Pavel Machek
Date: Tue Mar 13 2007 - 17:25:30 EST


Hi1

> I've chased one of the 'Suspend to RAM' resume problems to a specific
> line in drivers/char/vt.c, see attached 2.6.21-rc3 diff with

Has suspend/resume ever worked on that hardware?

> TRACE_RESUME() instrumentation. The macro scr_writew resolves to '*addr
> = val', which appears to be causing the problem. I've verified that the
> pointer is not NULL, but don't know if its really valid. Its pretty
> tough to tell what is happening, but on a Dell XPS it just hangs. A Dell
> Precision blinks the keyboard lights.

It is possible that video is not initialized at that point, and that
hardware goes seriously unhappy when you access non-existing vga. Does
it resume ok when you completely disable video support?


Pavel


--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/