From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 10 11:24:25 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EFAC9DD4 for ; Mon, 10 Dec 2012 11:24:25 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by mx1.freebsd.org (Postfix) with ESMTP id 67BDE8FC15 for ; Mon, 10 Dec 2012 11:24:24 +0000 (UTC) Received: by mail-wi0-f170.google.com with SMTP id hq7so1066839wib.1 for ; Mon, 10 Dec 2012 03:24:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=2b7MyPy1b7/Y+RLQ1tLw/MJckjQ5pDyLPvI7tfaZo8Y=; b=jzJCFa3Qso82VRsmREHn55+qyWGvdB3HU0QpTgS9XmlaG7etSABo/B9mzQLEisqFtZ YpPohMmRxV8qlfX4jp5PCyij6nZzDGilMBpwZzf+vt37xrhxO/DtXETxXh5bTqW7gLLk 3vwVflTzkjZ57wZb6se+xJlvSA/VtlBlh6WKs5uzGesnG5TiEhMZlA4J5uYGf3xnDtup hy9go6F1bZ/gW0VeL+heLjp2eOVq9wLO7xCamaXgq7NrwDye3cZCYESFzOdVSNkSH16h kKc9dSt9FgjRwijDiMxnfSN10hXoBZBLKCkdAypvFq6T6tHsSA668aAvgOOaCNkJM5xL b1uA== Received: by 10.216.209.130 with SMTP id s2mr5436789weo.86.1355138663668; Mon, 10 Dec 2012 03:24:23 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id h19sm9624152wiv.7.2012.12.10.03.24.22 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 10 Dec 2012 03:24:22 -0800 (PST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: kernel module parallel build? From: Fleuriot Damien In-Reply-To: Date: Mon, 10 Dec 2012 12:24:21 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <6C48F39A-83D9-4EA0-A7C5-99484FF00D3F@my.gd> References: <5083D84E.50903@freebsd.org> <201212041052.51476.jhb@freebsd.org> <201212051142.18361.jhb@freebsd.org> <0EC857C9-4C1B-467D-8499-B493401B64BC@bsdimp.com> <20E25F79-2C53-45FD-BB7F-060AC9B26245@my.gd> To: Garrett Cooper X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQmIs1sdOZdRgVg/IBS143CSB7Wx1OsdLtxCHVdJZYW+tNaaByhtykHbd5xyggTPgHXz0px9 Cc: "freebsd-hackers@freebsd.org" , AndreOppermann , FreeBSD Current , Ryan Stone X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2012 11:24:26 -0000 On Dec 6, 2012, at 1:28 AM, Garrett Cooper wrote: > On Wed, Dec 5, 2012 at 3:51 PM, Damien Fleuriot wrote: >=20 > ... >=20 >> All trolling aside, I believe an awesome fix to be setting module = override in /etc/make.conf to only build the 4-5 specific modules one = needs. >>=20 >> To be honest I think this configuration tweak should be advertised a = bit more as it definitely speeds up kernel builds. >>=20 >> I would be happy to check if this is advertised in the handbook in = the "rebuilding kernel" section and enhance its visibility if required. >>=20 >> I can provide en_US and fr_FR. >=20 > +1. Please write it up if you can; it's much quicker/better than the > kitchen sink approach if you know what you're doing and don't have to > build for a large set of platforms. > Thanks! > -Garrett I've had a look at the handbook and the MODULES_OVERRIDE bit is already = well written and definitely visible: = http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-bui= lding.html I believe no rewrite is necessary. However, I fail to see any mention of nextboot. It might be a good idea to let people know they can boot their new = kernel just once to see if it works, and revert to their old kernel if = boot should fail.