Re: Support for netconsole as default tty/console?

2014-04-02 Thread Takashi Iwai
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 ;-) > > >

Re: Support for netconsole as default tty/console?

2014-04-02 Thread Takashi Iwai
At Tue, 1 Apr 2014 10:34:27 +0200, Struan Bartlett wrote: On 31 March 2014 14:34, Andreas Schwab sch...@suse.de wrote: One Thousand Gnomes gno...@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

Re: Support for netconsole as default tty/console?

2014-04-01 Thread Struan Bartlett
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. > >

Re: Support for netconsole as default tty/console?

2014-04-01 Thread Struan Bartlett
On 31 March 2014 14:34, Andreas Schwab sch...@suse.de wrote: One Thousand Gnomes gno...@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.

Re: Support for netconsole as default tty/console?

2014-03-31 Thread Arkadiusz Miskiewicz
On Monday 31 of March 2014, One Thousand Gnomes wrote: > On Sat, 29 Mar 2014 15:54:24 +0100 > > Andreas Schwab wrote: > > Struan Bartlett 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, >

Re: Support for netconsole as default tty/console?

2014-03-31 Thread Andreas Schwab
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 Andreas. -- Andreas Schwab, SUSE Labs,

Re: Support for netconsole as default tty/console?

2014-03-31 Thread One Thousand Gnomes
On Mon, 31 Mar 2014 12:26:35 +0200 Andreas Schwab wrote: > One Thousand Gnomes writes: > > > 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. > >

Re: Support for netconsole as default tty/console?

2014-03-31 Thread Andreas Schwab
One Thousand Gnomes writes: > 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. Unfortunately it's an EXPERT setting, thus typically not avaiable.

Re: Support for netconsole as default tty/console?

2014-03-31 Thread One Thousand Gnomes
On Sat, 29 Mar 2014 15:54:24 +0100 Andreas Schwab wrote: > Struan Bartlett 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

Re: Support for netconsole as default tty/console?

2014-03-31 Thread One Thousand Gnomes
On Sat, 29 Mar 2014 15:54:24 +0100 Andreas Schwab sch...@linux-m68k.org wrote: Struan Bartlett struan.bartl...@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

Re: Support for netconsole as default tty/console?

2014-03-31 Thread Andreas Schwab
One Thousand Gnomes gno...@lxorguk.ukuu.org.uk writes: 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. Unfortunately it's an EXPERT setting, thus

Re: Support for netconsole as default tty/console?

2014-03-31 Thread One Thousand Gnomes
On Mon, 31 Mar 2014 12:26:35 +0200 Andreas Schwab sch...@suse.de wrote: One Thousand Gnomes gno...@lxorguk.ukuu.org.uk writes: 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

Re: Support for netconsole as default tty/console?

2014-03-31 Thread Andreas Schwab
One Thousand Gnomes gno...@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 Andreas. -- Andreas Schwab,

Re: Support for netconsole as default tty/console?

2014-03-31 Thread Arkadiusz Miskiewicz
On Monday 31 of March 2014, One Thousand Gnomes wrote: On Sat, 29 Mar 2014 15:54:24 +0100 Andreas Schwab sch...@linux-m68k.org wrote: Struan Bartlett struan.bartl...@gmail.com writes: Adding console=netconsole to the command line does not appear to have the desired effect. I am not

Re: Support for netconsole as default tty/console?

2014-03-30 Thread Andreas Schwab
Struan Bartlett writes: > Thank you. I've begun investigating the sources in drivers/tty. Am I > correct in thinking that this only needs a tty driver, and not also a > serial driver? See arch/m68k/emu/nfcon.c for a somewhat minimal example (only output). Andreas. -- Andreas Schwab,

Re: Support for netconsole as default tty/console?

2014-03-30 Thread Struan Bartlett
On 29 March 2014 15:54, Andreas Schwab wrote: > Struan Bartlett 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

Re: Support for netconsole as default tty/console?

2014-03-30 Thread Struan Bartlett
On 29 March 2014 15:54, Andreas Schwab sch...@linux-m68k.org wrote: Struan Bartlett struan.bartl...@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

Re: Support for netconsole as default tty/console?

2014-03-30 Thread Andreas Schwab
Struan Bartlett struan.bartl...@gmail.com writes: Thank you. I've begun investigating the sources in drivers/tty. Am I correct in thinking that this only needs a tty driver, and not also a serial driver? See arch/m68k/emu/nfcon.c for a somewhat minimal example (only output). Andreas. --

Re: Support for netconsole as default tty/console?

2014-03-29 Thread Andreas Schwab
Struan Bartlett 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

Support for netconsole as default tty/console?

2014-03-29 Thread Struan Bartlett
Hi I help maintain a range of raw metal hosts, VMs, and Amazon EC2 instances that boot Linux within secure private networks. Where possible, we connect raw metal hosts to a central logging server using serial lines, and use the console=ttyS0 kernel command line option to redirect not just kernel

Support for netconsole as default tty/console?

2014-03-29 Thread Struan Bartlett
Hi I help maintain a range of raw metal hosts, VMs, and Amazon EC2 instances that boot Linux within secure private networks. Where possible, we connect raw metal hosts to a central logging server using serial lines, and use the console=ttyS0 kernel command line option to redirect not just kernel

Re: Support for netconsole as default tty/console?

2014-03-29 Thread Andreas Schwab
Struan Bartlett struan.bartl...@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