From owner-freebsd-doc@FreeBSD.ORG Wed Feb 11 11:26:33 2004 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A64216A4CE for ; Wed, 11 Feb 2004 11:26:33 -0800 (PST) Received: from shaft.techsupport.co.uk (shaft.techsupport.co.uk [212.250.77.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B1AA43D1D for ; Wed, 11 Feb 2004 11:26:33 -0800 (PST) (envelope-from setantae@submonkey.net) Received: from cpc2-cdif3-6-0-cust204.cdif.cable.ntl.com ([81.103.67.204] helo=shrike.submonkey.net ident=mailnull) by shaft.techsupport.co.uk with esmtp (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.30; FreeBSD) id 1Ar00F-000Lsr-Tp; Wed, 11 Feb 2004 19:26:32 +0000 Received: from setantae by shrike.submonkey.net with local (Exim 4.30; FreeBSD) id 1Ar00D-0004BM-5m; Wed, 11 Feb 2004 19:26:29 +0000 Date: Wed, 11 Feb 2004 19:26:29 +0000 From: Ceri Davies To: Rob Message-ID: <20040211192629.GG8821@submonkey.net> Mail-Followup-To: Ceri Davies , Rob , freebsd-doc@FreeBSD.org References: <402624E2.8010607@users.sourceforge.net> <20040209214025.GI449@submonkey.net> <40283DCC.1060702@users.sourceforge.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DqhR8hV3EnoxUkKN" Content-Disposition: inline In-Reply-To: <40283DCC.1060702@users.sourceforge.net> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.4i Sender: Ceri Davies cc: freebsd-doc@FreeBSD.org Subject: Re: Handbook 19.7 Diskless Operation: bug in configuring swap text X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2004 19:26:33 -0000 --DqhR8hV3EnoxUkKN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 10, 2004 at 11:11:24AM +0900, Rob wrote: >=20 > 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 mista= ke, > >>that drove me almost crazy. It says there: > >> > >>---------------------------------------------------------------- > >> > >>/etc/bootptab would use the following syntax instead: > >> > >>T128=3D"192.168.4.4:/netswapvolume/netswap":T129=3D64000 > >> > >>---------------------------------------------------------------- > >> > >>The T129 here is totally wrong, because this T129 is a syntax error and= =20 > >>stops bootpd from working properly! > >> > >>So the second line above should be replaced by: > >> > >>T128=3D"192.168.4.4:/netswapvolume/netswap":T129=3D0000fa00 > > > >Rob, would an equivalent be: > > > > T128=3D"192.168.4.4:/netswapvolume/netswap":T129=3D"64000" > > > >I think that would be clearer for most users. >=20 >=20 > No, that doesn't work, unfortunately. >=20 > Using the quoted decimal number, the kernel initially boots, but panics as > soon as it tries configuring the swap space. The message is something lik= e: >=20 > [...] > bootp panic: expected 4 bytes for swaplen not 6 bytes > rebooting.... >=20 > Using unquoted hex numbers solvs this problem. OK, corrected. Thanks for the submission. Ceri --=20 --DqhR8hV3EnoxUkKN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAKoHkocfcwTS3JF8RAjKqAJ9T7Hj38URjPXpiHhUQkBS2A2ev+QCgiCSr aG4O5Arj7UlFFomohRcf1dY= =dw2k -----END PGP SIGNATURE----- --DqhR8hV3EnoxUkKN--