Bug 9527

Summary: s2ram resume doesn't restore previous console state
Product: Drivers Reporter: Arkadiusz Miskiewicz (arekm)
Component: Console/FramebuffersAssignee: James Simmons (jsimmons)
Status: RESOLVED INSUFFICIENT_DATA    
Severity: normal CC: rjw, rui.zhang, stefan.seyfried
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.24-rc4 from git Subsystem:
Regression: No Bisected commit-id:
Bug Depends on:    
Bug Blocks: 7216, 56331    

Description Arkadiusz Miskiewicz 2007-12-08 04:31:27 UTC
Most recent kernel where this bug did not occur: The bug is there from beginning.
Distribution: PLD/Linux Th
Hardware Environment: Thinkpad Z60m 2529FKG
Software Environment: suspend-0.8-0.20071029.1.i686
Problem Description:

When using s2ram then after resume console isn't set back to original state. It appears to be "bigger" than physical screen so for example you need to press enter several times for latest entered text to be visible on screen.

Running "service console restart" sets console back to proper state. Probably reset(1) would also "fix" console (didn't test this one).

There are some unfinished patches to handle this:
http://sourceforge.net/mailarchive/forum.php?thread_name=200604050934.49209.arekm%40maven.pl&forum_name=suspend-devel

but probably fixing this in kernel would be nicer.

Steps to reproduce:
s2ram
resume
see the console
Comment 1 Rafael J. Wysocki 2007-12-08 12:43:30 UTC
Well, I haven't seen these symptoms so far.

What kind of console do you use?
Comment 2 Arkadiusz Miskiewicz 2007-12-08 18:39:37 UTC
vga=6

font ter-v14n (termites from http://www.is-vn.bg/hamster/jimmy-en.html)

Do you use default font or some custom one? Try custom/nonstandard one.
Comment 3 Rafael J. Wysocki 2007-12-12 16:03:56 UTC
Hm, I always use the default font.  Well ...

For now, I have no idea how to fix it.
Comment 4 Zhang Rui 2008-11-19 23:16:53 UTC
are you using Intel graphics?
if yes, please update to the latest kernel, retry with i915 driver loaded/built in, does the problem still exist?
Comment 5 Arkadiusz Miskiewicz 2008-11-19 23:20:46 UTC
No, radeon mobile x600.
Comment 6 ykzhao 2009-02-12 01:05:46 UTC
It seems that this is a drm issue related with radeon graphics driver.

Hi, Rui
    How about assign this to the drm category?
    Thanks.
Comment 7 Arkadiusz Miskiewicz 2009-02-12 01:25:57 UTC
It's not drm related because it happens on pure text console with no X.
Comment 8 Zhang Rui 2009-02-12 01:41:12 UTC
seems like a console problem. :)
Comment 9 James Simmons 2010-02-16 15:52:24 UTC
I sthis still a problem. If it is could you please post your dmesg output and your kernel config file.