Re: [Swsusp-devel] Re: swsusp problems [was Re: Your opinion on themerge?]

From: Markus Gaugusch
Date: Wed Mar 24 2004 - 17:07:23 EST


On Mar 24, Pavel Machek <pavel@xxxxxx> wrote:

> On Út 23-03-04 23:52:58, Dmitry Torokhov wrote:
> > most often is your love for "panic"ing instead of trying to recover. In that
> > case you understandably want as many preceding messages as possible left
> > intact on the screen to diagnose the problem. If error recovery is ever done
> > then some eye-candy probably won't hurt.
>
> Except when error recovery does not work.
The most valuable tool of all swsusp developers and testers was and is the
serial console. If there are errors that haven't been found yet by anyone
(and a lot already have been found and fixed!), it's time to dig out the
console cable, record it and report it. That's what happend all the time
in the last year or so.
In all cases, I never could do much with the text on the screen. Apart
from being hard to paste into emails, it also scrolled away in most cases
(or worse: everything was just hanging and I had to increase debug level
which produced even more output that wouldn't fit on screen). By the way -
higher debug levels disable nice output automatically (AFAIR).

> > 'top' running on console overwriting the very same messages. Should we ban
> > top?
>
> Its bad idea to run top when kernel messages are not redirected
> somewhere. Unfortunately eye-candy makes that choice for you, and does
> the wrong thing automatically.
> Pavel
Did I say redirect to serial console or what? ;-)

Markus

--
__________________ /"\
Markus Gaugusch \ / ASCII Ribbon Campaign
markus(at)gaugusch.at X Against HTML Mail
/ \
-
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/