public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arkadiusz Miskiewicz <a.miskiewicz@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>,
	Andreas Schwab <schwab@linux-m68k.org>,
	Struan Bartlett <struan.bartlett@gmail.com>
Subject: Re: Support for netconsole as default tty/console?
Date: Mon, 31 Mar 2014 20:33:31 +0200	[thread overview]
Message-ID: <201403312033.31492.a.miskiewicz@gmail.com> (raw)
In-Reply-To: <20140331111833.76af70e0@alan.etchedpixels.co.uk>

On Monday 31 of March 2014, One Thousand Gnomes wrote:
> On Sat, 29 Mar 2014 15:54:24 +0100
> 
> Andreas Schwab <schwab@linux-m68k.org> wrote:
> > Struan Bartlett <struan.bartlett@gmail.com> 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

      parent reply	other threads:[~2014-03-31 18:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-29 12:22 Support for netconsole as default tty/console? Struan Bartlett
2014-03-29 14:54 ` Andreas Schwab
2014-03-30  8:44   ` Struan Bartlett
2014-03-30 11:39     ` Andreas Schwab
2014-03-31 10:18   ` One Thousand Gnomes
2014-03-31 10:26     ` Andreas Schwab
2014-03-31 12:32       ` One Thousand Gnomes
2014-03-31 12:34         ` Andreas Schwab
2014-04-01  8:34           ` Struan Bartlett
2014-04-02 10:26             ` Takashi Iwai
2014-03-31 18:33     ` Arkadiusz Miskiewicz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201403312033.31492.a.miskiewicz@gmail.com \
    --to=a.miskiewicz@gmail.com \
    --cc=gnomes@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=schwab@linux-m68k.org \
    --cc=struan.bartlett@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox