From owner-cvs-all Tue Jan 8 12:50:17 2002 Delivered-To: cvs-all@freebsd.org Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by hub.freebsd.org (Postfix) with ESMTP id 8B66737B419; Tue, 8 Jan 2002 12:50:06 -0800 (PST) Received: (from wkb@localhost) by freebie.xs4all.nl (8.11.6/8.11.6) id g08Knwc17141; Tue, 8 Jan 2002 21:49:58 +0100 (CET) (envelope-from wkb) Date: Tue, 8 Jan 2002 21:49:58 +0100 From: Wilko Bulte To: Ian Dowse Cc: Sheldon Hearn , John Baldwin , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/release/sysinstall install.c Message-ID: <20020108214958.A17116@freebie.xs4all.nl> References: <20020108193027.A16263@freebie.xs4all.nl> <200201082003.aa40140@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200201082003.aa40140@salmon.maths.tcd.ie>; from iedowse@maths.tcd.ie on Tue, Jan 08, 2002 at 08:03:03PM +0000 X-OS: FreeBSD 4.5-PRERELEASE X-PGP: finger wilko@freebsd.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jan 08, 2002 at 08:03:03PM +0000, Ian Dowse wrote: > In message <20020108193027.A16263@freebie.xs4all.nl>, Wilko Bulte writes: > > > >What still puzzles me is why it works for some us without problems. > >Does anyone have ideas on that one? > > I think it may relate to the size of the file being loaded by boot1. > What size is /boot/loader on the alpha? A 16k data or directory -r-xr-xr-x 1 root wheel 186224 Jan 5 22:33 loader FreeBSD ds10.wbnet 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #7: Sat Jan 5 22:59:47 CET 2002 root@ds10.wbnet:/usr/obj/usr/src/sys/DS10 alpha > block written to the data buffer `iobuf' will overwrite the 8k > indirection buffer `mapbuf', and a 16k indirection block written > there will overwrite other globals. So if there are no indirection > blocks then maybe it will work (size <= 196608 bytes). There is also it fits ;-) > an optimisation in readit() where block-aligned data is read directly > into the caller's buffer, which may confuse things. > > In the i386 case it probably works for similar reasons, though the > data layout is quite different. I suspect that loading a kernel > directly from boot2 will fail reliably on a 16k/2k filesystem. > > Ian ---end of quoted text--- -- | / o / /_ _ email: wilko@FreeBSD.org |/|/ / / /( (_) Bulte Arnhem, The Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message