Date: Tue, 8 Jan 2002 21:49:58 +0100 From: Wilko Bulte <wkb@freebie.xs4all.nl> To: Ian Dowse <iedowse@maths.tcd.ie> Cc: Sheldon Hearn <sheldonh@starjuice.net>, John Baldwin <jhb@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/release/sysinstall install.c Message-ID: <20020108214958.A17116@freebie.xs4all.nl> In-Reply-To: <200201082003.aa40140@salmon.maths.tcd.ie>; from iedowse@maths.tcd.ie on Tue, Jan 08, 2002 at 08:03:03PM %2B0000 References: <20020108193027.A16263@freebie.xs4all.nl> <200201082003.aa40140@salmon.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020108214958.A17116>