Re: Support for netconsole as default tty/console?
From: Takashi Iwai
Date: Wed Apr 02 2014 - 06:26:48 EST
At Tue, 1 Apr 2014 10:34:27 +0200,
Struan Bartlett wrote:
>
> On 31 March 2014 14:34, Andreas Schwab <schwab@xxxxxxx> wrote:
> > One Thousand Gnomes <gnomes@xxxxxxxxxxxxxxxxxxx> writes:
> >
> >> It's however implemented and present. The rest is between you and the
> >> relevant Kconfig maintainer. I'm sure you count as an expert ;-)
> >
> > Indeed.
> >
> > http://lists.opensuse.org/opensuse-kernel/2014-03/msg00071.html
>
> I have just completed an implementation of a tty driver for
> netconsole, which I was about to submit as a patch. When the kernel
> command line is set accordingly (console=netcon0), it has the desired
> effect of taking over output to /dev/console when it is loaded. Would
> you say this work is wasted, or that it's worth submitting the patch
> anyway?
>
> There are differences to the ttyprintk approach. ttyprintk is
> currently kernel-only, and not available as a module.
Actually, this can be easily fixed. I'm going to submit a patch (and
another fix patch for the driver's error path).
Note that they don't mean to object against your patching netconsole.
I find also it more convenient to use directly netconsole.
thanks,
Takashi
--
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/