Re: [PATCH] kernel/printk: do not turn off bootconsole inprintk_late_init if keep_bootcon

From: Andrew Morton
Date: Fri Aug 19 2011 - 20:11:36 EST


On Tue, 9 Aug 2011 17:02:33 -0700
Nishanth Aravamudan <nacc@xxxxxxxxxx> wrote:

> It seems that commit 7bf693951a8e5f7e600a45b74d91d962a453146e doesn't
> always achieve what it aims, as printk_late_init() runs it
> unconditionally turns off all boot consoles. With this patch, I am able
> to see more messages on the boot console in KVM guests than I can
> without, when keep_bootcon is specified.
>
> Signed-off-by: Nishanth Aravamudan <nacc@xxxxxxxxxx>
> Cc: David S. Miller <davem@xxxxxxxxxxxxx>
> Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
> Cc: Greg KH <gregkh@xxxxxxx>

The patch is applicable to 2.6.39.x and to 3.0.x but I'm unable to work
out if the end-user impact is sufficiently serious to warrant
backporting the fix into those kernels.

Please let us know you opinion on this.
--
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/