From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758303AbaDBK0k (ORCPT ); Wed, 2 Apr 2014 06:26:40 -0400 Received: from cantor2.suse.de ([195.135.220.15]:34153 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756603AbaDBK0h (ORCPT ); Wed, 2 Apr 2014 06:26:37 -0400 Date: Wed, 02 Apr 2014 12:26:36 +0200 Message-ID: From: Takashi Iwai To: Struan Bartlett Cc: Andreas Schwab , One Thousand Gnomes , linux-kernel@vger.kernel.org Subject: Re: Support for netconsole as default tty/console? In-Reply-To: References: <87r45lqcm7.fsf@igel.home> <20140331111833.76af70e0@alan.etchedpixels.co.uk> <20140331133204.0c9d8358@alan.etchedpixels.co.uk> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Tue, 1 Apr 2014 10:34:27 +0200, Struan Bartlett wrote: > > On 31 March 2014 14:34, Andreas Schwab wrote: > > One Thousand Gnomes 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