From owner-svn-src-head@freebsd.org Tue Sep 22 06:30:01 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 39438A02C8E for ; Tue, 22 Sep 2015 06:30:01 +0000 (UTC) (envelope-from scott4long@yahoo.com) Received: from nm36-vm10.bullet.mail.gq1.yahoo.com (nm36-vm10.bullet.mail.gq1.yahoo.com [98.136.216.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0D009114D for ; Tue, 22 Sep 2015 06:30:00 +0000 (UTC) (envelope-from scott4long@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1442903065; bh=dDJPIIPVSUF3KSnp5m9fnZaVox0RNAnyPOQs0KnhOVc=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject; b=ZTSvCcfQ/m+VQTOzSwKi6JcqVXWjuThQ4/Zsu80/NbQN5hUl/qVRyBYAZvaTtyURcf6YaBj1zvVGxhVDQCWSIR2qzq/m+Zeqhw+Cow4MBD3vzM5OHwKOHg0dnDxJi39RSZ/oBWXhZrDnIb+KRY3Jq0TowDt7JQ+ZYycPaazERYw5zQrA1mUbR7Wl9r5X+2MGw47qQRIC2atEl8nXBMBCV+Nqqo/ggQYp0u7aoQ876Kuna/pMPAydyY8DKxYGjsMOapiAcGGqsUx9OX5b2g/PmEseAW4Fyw391WaTjjr0Jo+4NFutA5JQtC+sJig1MUl9SchTR46UIqHc3Ir27bNCqA== Received: from [127.0.0.1] by nm36.bullet.mail.gq1.yahoo.com with NNFMP; 22 Sep 2015 06:24:25 -0000 Received: from [98.137.12.175] by nm36.bullet.mail.gq1.yahoo.com with NNFMP; 22 Sep 2015 06:21:28 -0000 Received: from [98.136.164.65] by tm14.bullet.mail.gq1.yahoo.com with NNFMP; 22 Sep 2015 06:21:28 -0000 Received: from [127.0.0.1] by smtp227.mail.gq1.yahoo.com with NNFMP; 22 Sep 2015 06:21:28 -0000 X-Yahoo-Newman-Id: 417741.30552.bm@smtp227.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-4 X-YMail-OSG: MroOKLwVM1l9WkJP8u44rhIzT.CIrDQjg2_QTEC6Ob1KaCm ZOgB9S0p0oVgbUyFAD6w8jJFW66uC6CYlT4NzjFhoHZ1zB4Hi138zJIiKfgp VP4SisSY1_D_EnzoyJ5e8H2LqztJW6pZxJPzOP3VNO4nv_q_1ry4IuhKEBIR 3k64PTnafQDYn82UJYZ0JyFfM4HYJmgpXJ1DCYs73gd_j5YgOppi9.2fQtN. _VO9itO3XQaweZy4k8q9F6XOzhxVwGcL67rz8rTN9_HpY_PhdIXZGbdROehM kYLH7tElsv2U20iqFtBVYpvHdw50y99a_oVSbpiQ2cZ.iZNAOfCAE9x8dFlA 9bln10VHjzqDPuzenLhzEsrbteWOl1wfsUaFo0lotcLuG4i9Xbd5u1lJyWbt ua6_jfSknVHv28hFMWz4uARWqKooopqd0hny4JaS2bwHTIGiDefHhLeYHvpg 3LA3aYcHtsSBwGrfzMOOlAQPS4jF1smpTjp.Ph9oOJroqX3DSP.H58n8GCXs 0.8GHy2WL1yz9RQ_P4PmB9r_Diy1FZvSQCJ50amAXkGOltVDwYvA- X-Yahoo-SMTP: clhABp.swBB7fs.LwIJpv3jkWgo2NU8- Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: svn commit: r287934 - head/sys/boot/efi/loader From: Scott Long In-Reply-To: <35a0f1b6-0236-4b0e-b919-00cab07429be@me.com> Date: Mon, 21 Sep 2015 23:21:27 -0700 Cc: Adrian Chadd , jhb@freebsd.org, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <1F2C327F-433E-4FA6-A083-4565A32C1146@yahoo.com> References: <35a0f1b6-0236-4b0e-b919-00cab07429be@me.com> To: Rui Paulo 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 06:30:01 -0000 As a side note, I=E2=80=99m still waiting for feedback on the patch I = sent you for scsi_sg. I=E2=80=99d like to get this fixed. Scott > On Sep 21, 2015, at 3:53 PM, Rui Paulo wrote: >=20 > No, that doesn't work very well. Not only the modules don't = auto-load, the way the modules are compiled is different. See, for = example, cam ctl which doesn't compile the sg code when it's built into = the kernel, but compiles it when it's built as a module. The sg code is = currently buggy and causes insta-panics with GNOME 3 (perhaps the = auto-mounter in hald (?)). > -- > Rui Paulo >=20 >=20 > On Sep 21, 2015, at 11:24 AM, 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 >>>=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 >>>=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