9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: ron minnich <rminnich@lanl.gov>
To: 9fans@cse.psu.edu
Subject: [9fans] dhcpd and other CPU server fun.
Date: Mon, 21 Apr 2003 00:14:37 -0600	[thread overview]
Message-ID: <Pine.LNX.4.44.0304210003180.15159-100000@maxroach.lanl.gov> (raw)


I am fooling around with a vmware auth/kfs/etc. server (hostname p9) and a
vmware virtual-floppy-booting CPU server (hostname cpu2) until I get my
little battery-powered CPU server done.

The CPU server has an entry in ndb/local on the auth/kfs/etc. server.  In
that entry it has fs=p9 and auth=p9 entires, as well as the usual dom=
etc. entries. There is an empty plan9.ini on the virtual floppy. When boot
comes up I get the [il] prompt and hit return.

The behaviour of the CPU server at that point is not repeatable in this
sense: sometimes, the CPU server just proceeds to boot, without prompting
for the IP address of the fs or auth server. Other times, it asks for the
IP addresses.

Now I'm curious. There is no entry in the standard DHCP packet for custom
entries like auth and fs, right? I've read the DHCP RFCs and it seems not
flexible enough for arbitrary named parameters, but maybe I misread it.

How does the auth= and fs= stuff get communicated to a CPU server in this
case? Is there a secondary il-based set of packets that passes that info
on? How solid is the dhcp server on Plan 9 anyway? It seems to not always
respond correctly. Anyone out there using it on a reasonably frequent (as
in booting) basis?

The other thing I'm seeing is that the CPU server will get completely hung
on the way up. The CPU server and auth server send packets out to each
other, to no avail. Is this (I'm guessing) a VMWare thing, or is there
something else going on? Anyone else seen this either with vmware or real
hardware?

Finally, sometimes when the CPU server comes up, it has the right IP
address, and you can even cpu -h to it by its right hostname, but ndb/cs
has set the wrong sysname in /dev/sysname. Again, this is pretty random.
 From one boot to the next it happens or it doesn't.  Any idea why this
would happen?

Thanks

ron



             reply	other threads:[~2003-04-21  6:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-21  6:14 ron minnich [this message]
2003-04-21  6:34 ` nigel
2003-04-21 12:09 ` David Presotto
2003-04-21 16:02   ` ron minnich
2003-04-21 14:29 ` Russ Cox

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.0304210003180.15159-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).