9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: ron minnich <rminnich@lanl.gov>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] port/devcons.c is not port-able
Date: Tue, 13 Jul 2004 20:47:11 -0600	[thread overview]
Message-ID: <Pine.LNX.4.44.0407132043170.4048-100000@maxroach.lanl.gov> (raw)
In-Reply-To: <e0ee16c8ebd3d7f0b4ddcd5ef01edf07@collyer.net>

On Tue, 13 Jul 2004, Geoff Collyer wrote:

> It's just not the amount of mechanism at issue, but the odds of a
> panic message or other serious complaint being seen, for instance.  If
> you've got console prints going only to a pipe, and the process
> reading the pipe blocks, for a while prints will go into pipe
> buffering (and not be seen) and then finally kernel processes doing
> prints will start to block when the pipe buffering fills.

yes but ... it was not just a pipe. The thing I was proposing was to allow
multiple console devices while
- removing the hardcode junk that is in there now (What happens
  when you have a machine with NO uart and NO display -- I have
  some now -- simple -- no console output). port/devcons.c is no longer
  portable.
- avoiding the hellish Linux 'structs with lots of initialized pointers'
  since in Plan 9 you can just do a namec() and get to the device
  that way.

So using a pipe did not at all rule out using a serial port, AND a window,
AND a tcp connection, AND vga if you were that crazy.

Anyway, I'll stop talking and at some point try to implement it.

> The current devcons is messy but pragmatic.  Plugging your serial
> consoles into a console server gives you remote access to the consoles
> and logging.

asuming you have a serial console. I have an HP K8 node with no serial
console at all. This is going to be the common case soon -- those serial
connectors are huge, require odd voltages, and vendors want them to go
away.

ron



  reply	other threads:[~2004-07-14  2:47 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-13 13:57 ron minnich
2004-07-14  1:24 ` Geoff Collyer
2004-07-14  2:10   ` ron minnich
2004-07-14  2:30     ` Geoff Collyer
2004-07-14  2:47       ` ron minnich [this message]
2004-07-14  2:34     ` andrey mirtchovski
2004-07-14  2:47       ` ron minnich
2004-07-14  2:51         ` Kenji Okamoto
2004-07-14  4:40           ` Dan Cross
2004-07-14 13:33           ` OT: " Dave Lukes
2004-07-14 14:08             ` ron minnich
2004-07-14 15:31               ` Jack Johnson
2004-07-14  5:00         ` Skip Tavakkolian
2004-07-14 10:34         ` matt
2004-07-14 14:04           ` ron minnich
2004-07-14 14:04           ` Dave Lukes
2004-07-14 15:03             ` ron minnich
2004-07-14 16:13               ` boyd, rounin
2004-07-14 14:52           ` boyd, rounin
2004-07-14  2:49       ` Kenji Okamoto
2004-07-14  4:36       ` Dan Cross
2004-07-14  2:38     ` Kenji Okamoto
2004-07-14  2:49       ` ron minnich
2004-07-14  5:15         ` Geoff Collyer
2004-07-14  6:36           ` Geoff Collyer
2004-07-14 13:47           ` ron minnich
2004-07-14 18:29             ` Dan Cross
2004-07-14 18:53               ` boyd, rounin
2004-07-14 19:42               ` ron minnich
2004-07-14 20:14                 ` Charles Forsyth
2004-07-14 20:19                 ` Frank Palazzolo
2004-07-14 20:18                   ` Charles Forsyth
2004-07-14 21:06                     ` Geoff Collyer
2004-07-14 21:31                   ` boyd, rounin
2004-07-14  4:31 ` Dan Cross
     [not found] <00aba352392cbadebd943e05d1e17412@plan9.ucalgary.ca>
2004-07-15  3:14 ` Geoff Collyer

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=Pine.LNX.4.44.0407132043170.4048-100000@maxroach.lanl.gov \
    --to=rminnich@lanl.gov \
    --cc=9fans@cse.psu.edu \
    /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;
as well as URLs for NNTP newsgroup(s).