* netconsole as normal console for userspace messages? @ 2009-08-30 0:12 Arkadiusz Miskiewicz 2009-09-01 10:16 ` Jarek Poplawski 0 siblings, 1 reply; 5+ messages in thread From: Arkadiusz Miskiewicz @ 2009-08-30 0:12 UTC (permalink / raw) To: netdev Hi, Can netconsole be somehow used to see userspace messages, too? Something similar to console=ttySX... just =netconsole. -- Arkadiusz Miśkiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: netconsole as normal console for userspace messages? 2009-08-30 0:12 netconsole as normal console for userspace messages? Arkadiusz Miskiewicz @ 2009-09-01 10:16 ` Jarek Poplawski 2009-09-01 15:15 ` Matt Mackall 0 siblings, 1 reply; 5+ messages in thread From: Jarek Poplawski @ 2009-09-01 10:16 UTC (permalink / raw) To: Arkadiusz Miskiewicz; +Cc: netdev, Matt Mackall On 30-08-2009 02:12, Arkadiusz Miskiewicz wrote: > Hi, Hi, > > Can netconsole be somehow used to see userspace messages, too? Something > similar to console=ttySX... just =netconsole. > AFAIK it can't, but AFAICR some time ago the netconsole maintainer gave some hope to some Debian guy with a similar question. Jarek P. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: netconsole as normal console for userspace messages? 2009-09-01 10:16 ` Jarek Poplawski @ 2009-09-01 15:15 ` Matt Mackall 2009-09-01 16:00 ` Arkadiusz Miskiewicz 0 siblings, 1 reply; 5+ messages in thread From: Matt Mackall @ 2009-09-01 15:15 UTC (permalink / raw) To: Jarek Poplawski; +Cc: Arkadiusz Miskiewicz, netdev On Tue, 2009-09-01 at 10:16 +0000, Jarek Poplawski wrote: > On 30-08-2009 02:12, Arkadiusz Miskiewicz wrote: > > Hi, > Hi, > > > > > Can netconsole be somehow used to see userspace messages, too? Something > > similar to console=ttySX... just =netconsole. > > > > AFAIK it can't, but AFAICR some time ago the netconsole maintainer > gave some hope to some Debian guy with a similar question. It is, as they say, just a simple matter of programming to get a full bidirectional console out of it. As cool as that would be, I just haven't had time for it. -- http://selenic.com : development and support for Mercurial and Linux ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: netconsole as normal console for userspace messages? 2009-09-01 15:15 ` Matt Mackall @ 2009-09-01 16:00 ` Arkadiusz Miskiewicz 2009-09-01 17:34 ` Matt Mackall 0 siblings, 1 reply; 5+ messages in thread From: Arkadiusz Miskiewicz @ 2009-09-01 16:00 UTC (permalink / raw) To: Matt Mackall; +Cc: Jarek Poplawski, netdev On Tuesday 01 of September 2009, Matt Mackall wrote: > On Tue, 2009-09-01 at 10:16 +0000, Jarek Poplawski wrote: > > On 30-08-2009 02:12, Arkadiusz Miskiewicz wrote: > > > Hi, > > > > Hi, > > > > > Can netconsole be somehow used to see userspace messages, too? > > > Something similar to console=ttySX... just =netconsole. > > > > AFAIK it can't, but AFAICR some time ago the netconsole maintainer > > gave some hope to some Debian guy with a similar question. > > It is, as they say, just a simple matter of programming to get a full > bidirectional console out of it. As cool as that would be, I just > haven't had time for it. Unidirectional console would be enough for me but it seems that netconsole isn't capable even for that (userspace messages). -- Arkadiusz Miśkiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: netconsole as normal console for userspace messages? 2009-09-01 16:00 ` Arkadiusz Miskiewicz @ 2009-09-01 17:34 ` Matt Mackall 0 siblings, 0 replies; 5+ messages in thread From: Matt Mackall @ 2009-09-01 17:34 UTC (permalink / raw) To: Arkadiusz Miskiewicz; +Cc: Jarek Poplawski, netdev On Tue, 2009-09-01 at 18:00 +0200, Arkadiusz Miskiewicz wrote: > On Tuesday 01 of September 2009, Matt Mackall wrote: > > On Tue, 2009-09-01 at 10:16 +0000, Jarek Poplawski wrote: > > > On 30-08-2009 02:12, Arkadiusz Miskiewicz wrote: > > > > Hi, > > > > > > Hi, > > > > > > > Can netconsole be somehow used to see userspace messages, too? > > > > Something similar to console=ttySX... just =netconsole. > > > > > > AFAIK it can't, but AFAICR some time ago the netconsole maintainer > > > gave some hope to some Debian guy with a similar question. > > > > It is, as they say, just a simple matter of programming to get a full > > bidirectional console out of it. As cool as that would be, I just > > haven't had time for it. > > Unidirectional console would be enough for me but it seems that netconsole > isn't capable even for that (userspace messages). Yes. What's needed is to add a low-level tty interface and register it with the tty core. Most of that is attaching the tty_ops->write() method to netpoll's send_msg in the obvious way. Just about all the other methods are optional or trivial. Once you've got unidirectional working, bidirectional is approximately one line of additional code to attach the read side: call tty_insert_flip_string(my_tty, buf, len) in netpoll's receive function. -- http://selenic.com : development and support for Mercurial and Linux ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-09-01 17:35 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-08-30 0:12 netconsole as normal console for userspace messages? Arkadiusz Miskiewicz 2009-09-01 10:16 ` Jarek Poplawski 2009-09-01 15:15 ` Matt Mackall 2009-09-01 16:00 ` Arkadiusz Miskiewicz 2009-09-01 17:34 ` Matt Mackall
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).