From owner-cvs-all Wed Jan 9 8: 4:18 2002 Delivered-To: cvs-all@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 0E2EE37B41A; Wed, 9 Jan 2002 08:04:10 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 9 Jan 2002 16:04:09 +0000 (GMT) To: freebsd-alpha@freebsd.org Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/boot/i386/boot2 boot2.c In-Reply-To: Your message of "Wed, 09 Jan 2002 07:46:17 PST." <200201091546.g09FkHP38373@freefall.freebsd.org> Date: Wed, 09 Jan 2002 16:04:09 +0000 From: Ian Dowse Message-ID: <200201091604.aa76776@salmon.maths.tcd.ie> 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 In message <200201091546.g09FkHP38373@freefall.freebsd.org>, Ian Dowse writes: >iedowse 2002/01/09 07:46:17 PST > > Modified files: > sys/boot/i386/boot2 boot2.c > Log: > Increase BSIZEMAX from 8k to 16k, so that we can reliably boot from > filesystems with 16k blocks. A similar change is required on the alpha. Could someone check that the following patch fixes the problem with 16k/2k filesystems on the alpha? Boot1 would fail to load correctly any files larger than 192k, so the bug generally only affected -current where /boot/loader is greater than that size, or the case where you load a kernel directly from boot1. Ian Index: sys.c =================================================================== RCS file: /dump/FreeBSD-CVS/src/sys/boot/alpha/boot1/sys.c,v retrieving revision 1.4 diff -u -r1.4 sys.c --- sys.c 1 Sep 1999 09:11:07 -0000 1.4 +++ sys.c 9 Jan 2002 15:45:13 -0000 @@ -51,7 +51,7 @@ static char buf[BUFSIZE], fsbuf[SBSIZE], iobuf[MAXBSIZE]; #endif -#define BUFSIZE 8192 +#define BUFSIZE 16384 #define MAPBUFSIZE BUFSIZE static char buf[BUFSIZE], fsbuf[BUFSIZE], iobuf[BUFSIZE]; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message