From owner-svn-src-head@freebsd.org Mon Sep 21 23:54:07 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 9957EA05F61; Mon, 21 Sep 2015 23:54:07 +0000 (UTC) (envelope-from rpaulo@me.com) Received: from st11p02im-asmtp002.me.com (st11p02im-asmtp002.me.com [17.172.220.114]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6D9E81AA4; Mon, 21 Sep 2015 23:54:07 +0000 (UTC) (envelope-from rpaulo@me.com) Received: from st11p02im-spool002.me.com ([17.172.220.214]) by st11p02im-asmtp002.me.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTP id <0NV100XX0U8NZ150@st11p02im-asmtp002.me.com>; Mon, 21 Sep 2015 22:53:13 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2015-09-21_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 kscore.is_bulkscore=3.33066907387547e-16 compositescore=0.988224937070463 phishscore=0 kscore.is_spamscore=0 rbsscore=0.988224937070463 recipient_to_sender_totalscore=0 spamscore=0 urlsuspectscore=0.988224937070463 adultscore=0 kscore.compositescore=0 circleOfTrustscore=0 suspectscore=0 recipient_domain_to_sender_totalscore=0 bulkscore=0 recipient_domain_to_sender_domain_totalscore=0 recipient_to_sender_domain_totalscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1412110000 definitions=main-1509210324 MIME-version: 1.0 Received: from localhost ([17.172.220.163]) by st11p02im-spool002.mac.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTP id <0NV100SK9U8NC420@st11p02im-spool002.mac.com>; Mon, 21 Sep 2015 22:53:11 +0000 (GMT) To: Adrian Chadd Cc: jhb@freebsd.org, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org From: Rui Paulo Subject: Re: svn commit: r287934 - head/sys/boot/efi/loader Date: Mon, 21 Sep 2015 22:53:11 +0000 (GMT) X-Mailer: iCloud MailClient15E.bfdff5b MailServer15E43.20056 X-Originating-IP: [12.218.212.178] Message-id: <35a0f1b6-0236-4b0e-b919-00cab07429be@me.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Mon, 21 Sep 2015 23:54:07 -0000 No, that doesn't work very well. Not only the modules don't auto-load, th= e way the modules are compiled is different. See, for example, cam ctl wh= ich doesn't compile the sg code when it's built into the kernel, but compi= les it when it's built as a module. The sg code is currently buggy and ca= uses insta-panics with GNOME 3 (perhaps the auto-mounter in hald (?)=EF=BB= =BF).=0A=0A--=0ARui Paulo=0A=0A=0AOn Sep 21, 2015, at 11:24 AM, Adrian Cha= dd wrote:=0A=0A> Hi,=0A>=0A> Warner has been work= ing on the modular kernel thing. But honestly, I=0A> think we should just = start biting that bullet and ship a modules-only=0A> GENERIC by default..=0A= >=0A>=0A> -a=0A>=0A>=0A> On 21 September 2015 at 11:02, Rui Paulo wrote:=0A>> So, we're going to keep ignoring the problem and keep = patching things up?=0A>> It's a bit sad that a single driver (pmspcv) is a= ble to cause so much=0A>> problems.=0A>>=0A>> --=0A>> Rui Paulo=0A>>=0A>>=0A= >> On Sep 17, 2015, at 01:36 PM, John Baldwin 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= >>=0A>> Log:=0A>> The EFI boot loader allocates a single chunk of contiguo= us memory to=0A>> hold the kernel, modules, and any other loaded data. Thi= s memory block=0A>> is relocated to the kernel's expected 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>>=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/loader/copy.c Thu Sep 17 20:36:34 201= 5=0A>> (r287933)=0A>> +++ head/sys/boot/efi/loader/copy.c Thu Sep 17 20:36= :46 2015=0A>> (r287934)=0A>> @@ -38,7 +38,7 @@ __FBSDID("$FreeBSD$");=0A>>= #include =0A>>=0A>> #ifndef EFI_STAGING_SIZE=0A>> -#define EFI_= STAGING_SIZE 32=0A>> +#define EFI_STAGING_SIZE 48=0A>> #endif=0A>>=0A>> #d= efine STAGE_PAGES ((EFI_STAGING_SIZE) * 1024 * 1024 / 4096)=0A>>=0A=