Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 2015 18:02:43 +0000 (GMT)
From:      Rui Paulo <rpaulo@me.com>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r287934 - head/sys/boot/efi/loader
Message-ID:  <13e1fdb2-6e22-4371-95e4-a556c357fa8d@me.com>

next in thread | raw e-mail | index | archive | help
So, we're going to keep ignoring the problem and keep =EF=BB=BFpatching th=
ings up?  It's a bit sad that a single driver (pmspcv) is able to cause so=
 much problems.=0A=0A--=0ARui Paulo=0A=0A=0AOn Sep 17, 2015, at 01:36 PM, =
John Baldwin <jhb@FreeBSD.org> wrote:=0A=0A> Author: jhb=0A> Date: Thu Sep=
 17 20:36:46 2015=0A> New Revision: 287934=0A> URL: https://svnweb.freebsd=
.org/changeset/base/287934=0A>=0A> Log:=0A> The EFI boot loader allocates =
a single chunk of contiguous memory to=0A> hold the kernel, modules, and a=
ny other loaded data. This memory block=0A> is relocated to the kernel's e=
xpected location during the transfer of=0A> control from the loader to the=
 kernel.=0A>=0A> The GENERIC kernel on amd64 has recently grown such that =
a kernel + zfs.ko=0A> no longer fits in the default staging size. Bump the=
 default size from=0A> 32MB to 48MB to provide more breathing room.=0A>=0A=
> PR:                201679=0A> Reviewed by:        imp=0A> MFC after:  1 =
week=0A> Differential Revision:        https://reviews.freebsd.org/D3666=0A=
>=0A> Modified:=0A> head/sys/boot/efi/loader/copy.c=0A>=0A> Modified: head=
/sys/boot/efi/loader/copy.c=0A> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A> --- head/sys/boot/efi/loade=
r/copy.c      Thu Sep 17 20:36:34 2015    (r287933)=0A> +++ head/sys/boot/=
efi/loader/copy.c        Thu Sep 17 20:36:46 2015        (r287934)=0A> @@ =
-38,7 +38,7 @@ __FBSDID("$FreeBSD$");=0A> #include <efilib.h>=0A>=0A> #ifn=
def EFI_STAGING_SIZE=0A> -#define      EFI_STAGING_SIZE    32=0A> +#define=
    EFI_STAGING_SIZE        48=0A> #endif=0A>=0A> #define    STAGE_PAGES  =
((EFI_STAGING_SIZE) * 1024 * 1024 / 4096)=0A>=0A=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13e1fdb2-6e22-4371-95e4-a556c357fa8d>