mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Robin Getz <rgetz@blackfin.uclinux.org>
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org
Subject: Re: Boot Consoles question...
Date: Sat, 4 Jul 2009 12:29:04 +0200	[thread overview]
Message-ID: <20090704102904.GB32257@elte.hu> (raw)
In-Reply-To: <200907040017.26921.rgetz@blackfin.uclinux.org>


* Robin Getz <rgetz@blackfin.uclinux.org> wrote:

> Quick question...
> 
> In register_console()
> 
>         if (bcon && ((newcon->flags & (CON_CONSDEV | CON_BOOT)) == 
> CON_CONSDEV)) {
> 		[[snip]]
>                 newcon->flags &= ~CON_PRINTBUFFER;
>         }
> 
> So - when we are switching over from a boot console to a "real" 
> console - we don't back up the console, and print everything out.
> 
> This means that the boot console is on a different device than 
> that "real" console - you don't actually see the full boot message 
> (from log_start) on the "real" console.
> 
> Is this what is intended (that the boot message gets split into 2 
> - 1/3 going into the bootconsole - and the remaining to to the 
> real console?)
> 
> I can understand this when both (boot and real) are the same 
> device (serial) or vga, but where they are not - it is a little 
> confusing to the user - isn't it?

Could be changed i guess ... but is it really an issue? All messages 
should be in the syslog buffer (if it's large enough). One artifact 
could be manual scroll-back - it would perhaps be nice indeed to 
allow the scrollback to the top of the bootlog.

	Ingo

  reply	other threads:[~2009-07-04 10:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-04  4:17 Robin Getz
2009-07-04 10:29 ` Ingo Molnar [this message]
2009-07-04 16:07   ` Robin Getz
2009-07-07 23:49     ` Robin Getz
2009-07-10 10:28       ` Ingo Molnar
2009-07-10 14:28         ` Robin Getz
2009-07-10 16:08           ` Ingo Molnar
2009-07-09 17:08 ` [PATCH] kernel.printk.c - ensure that "console enabled" messages are printed on the console Robin Getz
2009-07-10 10:25   ` Ingo Molnar
2009-07-10 14:13     ` [PATCH] kernel.printk.c - ensure that "console enabled"messages " Robin Getz
2009-07-10 14:16       ` Ingo Molnar
2009-07-10 14:26         ` Mike Frysinger
2009-07-18  0:48     ` [PATCH] kernel.printk.c - ensure that "console enabled" messages " Andrew Morton
2009-07-20  5:29       ` Stephen Rothwell
2009-07-10 10:43   ` [tip:core/printk] printk: Ensure " tip-bot for Robin Getz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090704102904.GB32257@elte.hu \
    --to=mingo@elte.hu \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rgetz@blackfin.uclinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®