lkml.org 
[lkml]   [2009]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectMaybe we can make no_console_suspend fine grained?
From
Date
Currently, if the no_console_suspend isn't set, as soon as system begins
the suspend, at core printk level output is suppressed.

However, I want to have a simple and clean way to have all console
messages in the memory, because on my laptop memory isn't cleared on
reboots.

My first approach was just to put printk buffer at predefined address.
This wasn't favored by kernel developers, and even I myself found this
to be not such great solution.

Other approach is to create a console driver, however it won't be used
by printk ether during suspend and resume.

So, maybe we can add a flag that console should always be used,
regardless of no_console_suspend?
(This is the particular console is safe for that purpose)

I can even make the new console pm aware, thus make is possible to avoid
collisions between every stage of the hibernation.
( Which happen today because resume kernel overwrites the printk
predefined buffer, and that is annoying because my system works just
fine now, but I want to keep that feature on)

Best regards,
Maxim Levitsky



\
 
 \ /
  Last update: 2009-12-02 18:37    [W:0.030 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site