Re: Support for netconsole as default tty/console?

From: Arkadiusz Miskiewicz
Date: Mon Mar 31 2014 - 14:33:46 EST


On Monday 31 of March 2014, One Thousand Gnomes wrote:
> 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.

Is there a way to get two devices working as console? For example I would like
to have console on tty0 and on netconsole at the same time. Right now only
one, last console gets all userspace messages.

> Alan

--
Arkadiusz MiÅkiewicz, arekm / maven.pl
--
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/