Handbook 19.7 Diskless Operation: bug in configuring swap text
Ceri Davies
ceri at FreeBSD.org
Wed Feb 11 19:26:33 UTC 2004
On Tue, Feb 10, 2004 at 11:11:24AM +0900, Rob wrote:
>
> Ceri Davies wrote:
> >On Sun, Feb 08, 2004 at 09:00:34PM +0900, Rob wrote:
> >
> >>Hi,
> >>
> >>Section "19.7.1.6 Configuring Swap", on diskless operation, has a mistake,
> >>that drove me almost crazy. It says there:
> >>
> >>----------------------------------------------------------------
> >>
> >>/etc/bootptab would use the following syntax instead:
> >>
> >>T128="192.168.4.4:/netswapvolume/netswap":T129=64000
> >>
> >>----------------------------------------------------------------
> >>
> >>The T129 here is totally wrong, because this T129 is a syntax error and
> >>stops bootpd from working properly!
> >>
> >>So the second line above should be replaced by:
> >>
> >>T128="192.168.4.4:/netswapvolume/netswap":T129=0000fa00
> >
> >Rob, would an equivalent be:
> >
> > T128="192.168.4.4:/netswapvolume/netswap":T129="64000"
> >
> >I think that would be clearer for most users.
>
>
> No, that doesn't work, unfortunately.
>
> Using the quoted decimal number, the kernel initially boots, but panics as
> soon as it tries configuring the swap space. The message is something like:
>
> [...]
> bootp panic: expected 4 bytes for swaplen not 6 bytes
> rebooting....
>
> Using unquoted hex numbers solvs this problem.
OK, corrected. Thanks for the submission.
Ceri
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20040211/d68ffb3a/attachment.sig>
More information about the freebsd-doc
mailing list