Re: Support for netconsole as default tty/console?

From: One Thousand Gnomes
Date: Mon Mar 31 2014 - 06:18:50 EST


On Sat, 29 Mar 2014 15:54:24 +0100
Andreas Schwab <schwab@xxxxxxxxxxxxxx> wrote:

> Struan Bartlett <struan.bartlett@xxxxxxxxx> writes:
>
> > Adding console=netconsole to the command line does not appear to have
> > the desired effect. I am not sure if this is because netconsole,
> > unlike the serial console, does not provide a tty. Can anyone advise
> > if this understanding is correct? If so, is there an independent
> > solution to this problem?
>
> It should not be hard to add a tty driver to netconsole, there are many
> examples to borrow from.

Samo Pogacnik added a generic solution a few years ago. The ttyprintk
driver provides you with a tty/console whose 'hardware' is printk and
thus whatever system log device you are using.

Alan
--
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/