From owner-svn-src-head@freebsd.org Tue Sep 22 00:20:09 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A45EA06EEC for ; Tue, 22 Sep 2015 00:20:09 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5D611175D for ; Tue, 22 Sep 2015 00:20:09 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: by pacex6 with SMTP id ex6so130791013pac.0 for ; Mon, 21 Sep 2015 17:20:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=nOIl+N+WLXAcEY9kzr6Lvc0mkN+wPi3Zg50aoTGKiAs=; b=K9zmTkuVVDY/Tn1eR995M+NbU8RXC88XKnwUGH1aLUmQFPacG0uZcTcoWKlC5gHYVr AcAGHnkjYdGP3+3RbzNoTlSSs3miK+UXF7rpvVm17G5yuZXnk94xy3az50LBZCwyMO1I hOQgkPev3yui5eUbm1+vvK3J6WSTyIwhNhzZ6t95hbZp47JffdtHUIYDuD/PoNRe+C7J ewh6TPCK6LSiXeneknGcSAF/a5Blhe2sB6mEuj8ryWX2xz9SToepkroXuBlgMPjlRrOS JlZ8nbCXNHOiM5gFeRCkeeH3JVbGcnBJXNaS2ZGTVmsV2hbwZ4Yv1WIVJ/WXMVAnARGl UdgA== X-Gm-Message-State: ALoCoQlL2u8c9xF1TDxm9rXDi61BEergXD8w3lNE6wxdu4oN+mhJ/ajJkrq/l2OZZPncK8ZAShJd X-Received: by 10.66.131.10 with SMTP id oi10mr28016223pab.87.1442879878854; Mon, 21 Sep 2015 16:57:58 -0700 (PDT) Received: from ip-100-127-128-187.compute.internal.netflix.com ([69.53.245.18]) by smtp.gmail.com with ESMTPSA id a2sm26877790pas.47.2015.09.21.16.57.57 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 21 Sep 2015 16:57:58 -0700 (PDT) Sender: Warner Losh Subject: Re: svn commit: r287934 - head/sys/boot/efi/loader Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: multipart/signed; boundary="Apple-Mail=_F8E1F80B-230E-49C1-9DC4-2A9A640EE68A"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5 From: Warner Losh In-Reply-To: Date: Mon, 21 Sep 2015 17:57:56 -0600 Cc: Rui Paulo , John Baldwin , "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Message-Id: <4103BB2E-6B7B-4AC9-8F7F-06F30717867E@bsdimp.com> References: <13e1fdb2-6e22-4371-95e4-a556c357fa8d@me.com> To: Adrian Chadd X-Mailer: Apple Mail (2.2104) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2015 00:20:09 -0000 --Apple-Mail=_F8E1F80B-230E-49C1-9DC4-2A9A640EE68A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I have both a modules-only kernel (checked in as MINIMAL, but it needs a little love). I also have most of the modules loading automatically infrastructure in place, except for some code to parse data and create devd.conf scripts on boot. Konstantin asked that I write this before pushing the bulk of my work in. There will be a chore to convert all the PCI drivers in the tree to mark the PNP data (maybe tweaking it a bit), but it=E2=80=99s pure grunt = work. I=E2=80=99ve done all the USB and (less relevantly) PC Card. Warner > On Sep 21, 2015, at 12:24 PM, Adrian Chadd = wrote: >=20 > Hi, >=20 > Warner has been working on the modular kernel thing. But honestly, I > think we should just start biting that bullet and ship a modules-only > GENERIC by default.. >=20 >=20 > -a >=20 >=20 > On 21 September 2015 at 11:02, Rui Paulo wrote: >> So, we're going to keep ignoring the problem and keep patching things = up? >> It's a bit sad that a single driver (pmspcv) is able to cause so much >> problems. >>=20 >> -- >> Rui Paulo >>=20 >>=20 >> On Sep 17, 2015, at 01:36 PM, John Baldwin wrote: >>=20 >> Author: jhb >> Date: Thu Sep 17 20:36:46 2015 >> New Revision: 287934 >> URL: https://svnweb.freebsd.org/changeset/base/287934 >>=20 >> Log: >> The EFI boot loader allocates a single chunk of contiguous memory to >> hold the kernel, modules, and any other loaded data. This memory = block >> is relocated to the kernel's expected location during the transfer of >> control from the loader to the kernel. >>=20 >> The GENERIC kernel on amd64 has recently grown such that a kernel + = zfs.ko >> no longer fits in the default staging size. Bump the default size = from >> 32MB to 48MB to provide more breathing room. >>=20 >> PR: 201679 >> Reviewed by: imp >> MFC after: 1 week >> Differential Revision: https://reviews.freebsd.org/D3666 >>=20 >> Modified: >> head/sys/boot/efi/loader/copy.c >>=20 >> Modified: head/sys/boot/efi/loader/copy.c >> = =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 >> --- head/sys/boot/efi/loader/copy.c Thu Sep 17 20:36:34 2015 >> (r287933) >> +++ head/sys/boot/efi/loader/copy.c Thu Sep 17 20:36:46 2015 >> (r287934) >> @@ -38,7 +38,7 @@ __FBSDID("$FreeBSD$"); >> #include >>=20 >> #ifndef EFI_STAGING_SIZE >> -#define EFI_STAGING_SIZE 32 >> +#define EFI_STAGING_SIZE 48 >> #endif >>=20 >> #define STAGE_PAGES ((EFI_STAGING_SIZE) * 1024 * 1024 / 4096) >>=20 >=20 --Apple-Mail=_F8E1F80B-230E-49C1-9DC4-2A9A640EE68A Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJWAJmEAAoJEGwc0Sh9sBEAMdYQAKDgS4AzjsJRjbq4NX8f7Yqk ZrpfmL7uUMCMPrCrH8qFkzr4DuDyMmsO81RtiOLR3c0M2WmQ3aH5TFlUBLpWKIR5 MgLSP7dDf60HIa/II24Oj0ahMcrHNQ6UJ2yoK6guAorf8ahe47vZk9/+4D+xJL79 y+4m+/Z/upM64qYTKKBLS0+LX8qegbDv0LlfJ4ZN5rUE1zNqyM8zMROmfRnfBZLd 4icLD4GdOVzqvnK+sNt6HU/yzp7s1nFFZvks86IJxiPq1Lr4r0XqiyNQ/pJoIUcF aPave073rfxlfRIeuB+dSdjLVV64IY1d0gFJKiDnI1oUizcom/Bpzjn6QOaYGwju kK4L9rZBzNEosrXB/0bQXs9JJ3ydk2T/8c1SlYS23piuUJvDuj+cCn2xKKtmsFQt gQQdR6Zfy3oT3V+PMiV2rBnV+oQw52GA21sc5P/Xrs1VbafJeSvlwyfAwPI3H/L/ YI20x2/YAcL+mvgxIYKKGtDkyW3nhQZcH4eaLhf9qBnIlZCnb0X5ivB32dIok9Bn 7pQaAOHbUFLsx7/Z5QUTHfw1KRCe+XQVwFh4+3iAwd6f2FA22zUp2HloKSgYU8Vr 96njOkPFcEjo6/LrcLSaXeq6la2oBFtYbKHwg3D/713XIRarzp1QoZQQlGetrEMN UfgzriVats2VXxe6LAkT =bGen -----END PGP SIGNATURE----- --Apple-Mail=_F8E1F80B-230E-49C1-9DC4-2A9A640EE68A--