[5365] in Release_7.7_team

home help back first fref pref prev next nref lref last post

Re: using wanboot for Sun installs

daemon@ATHENA.MIT.EDU (Robert Basch)
Wed Nov 30 11:44:11 2005

In-Reply-To: <1122748179.7836.26.camel@anhedonia.mit.edu>
Mime-Version: 1.0 (Apple Message framework v746.2)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <FF2923AE-04BD-418B-82A2-F70250AA58D5@mit.edu>
Cc: release-team@mit.edu
Content-Transfer-Encoding: 7bit
From: Robert Basch <rbasch@MIT.EDU>
Date: Wed, 30 Nov 2005 11:43:58 -0500
To: Robert A Basch <rbasch@mit.edu>
X-Spam-Score: 1.217
X-Spam-Level: * (1.217)
X-Spam-Flag: NO

On Jul 30, 2005, at 2:29 PM, Robert A Basch wrote:
> In recent testing, though, I encountered an apparent bug in the
> wanboot software.  For certain values of the client-id parameter,
> the value returned by netbootinfo (the magic program which
> retrieves wanboot parameter settings) has trailing garbage.  I
> will pursue this problem with Sun.  But even if this bug cannot
> be fixed, I think we can deal with it by prepending the IP address
> to the identifier (assuming that any garbage is trailing), instead
> of appending.

Not too surprisingly, Sun has not shown much interest in this, as
netbootinfo is considered a private interface; their install does
not use netbootinfo to get the client-id setting.  But I found that
the setting is available as a property in the PROM device tree
information,  accessible via the libdevinfo APIs.  So I decided to
write a tool to obtain the value, instead of relying on netbootinfo;
this is in /mit/install/solaris/diskless/getpromprop.c, if anyone is
interested.  (This information is also shown in "prtconf -p -v" output",
but I decided writing the tool was less painful than parsing that
output).  I still plan to prepend the IP address to the identifier,
since the DHCP configuration I gave to Mark keys on the suffix,
and I don't see a compelling reason to change it back.

Bob

home help back first fref pref prev next nref lref last post