Messages in this thread | | | Date | Wed, 02 Apr 2014 12:26:36 +0200 | From | Takashi Iwai <> | Subject | Re: Support for netconsole as default tty/console? |
| |
At Tue, 1 Apr 2014 10:34:27 +0200, Struan Bartlett wrote: > > On 31 March 2014 14:34, Andreas Schwab <schwab@suse.de> wrote: > > One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> 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
| |