From owner-freebsd-stable@FreeBSD.ORG Fri Feb 10 15:05:08 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91998106566B for ; Fri, 10 Feb 2012 15:05:08 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 12A098FC16 for ; Fri, 10 Feb 2012 15:05:07 +0000 (UTC) Received: by bkcjg1 with SMTP id jg1so2473081bkc.13 for ; Fri, 10 Feb 2012 07:05:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4Ogx8lOf7KIAt5eUy2kSnFXZl3o3QFw6oYFzRVT4r7Q=; b=L0HAEIRic96b5tetcIRi7hIoK1RM0wefNyuQavlIqlWx9SxWUCsK7ai+345MNed9mO Rr8/F4wh5bKRid5dnlcw6brHqohnQu6Ex7NQLIHh0OTb6wJIcY7EY0MKBC7m+zjUvCDE 4KW0L8sZOOslX/5UFoPujDpsY3uUYbBRLEz+U= MIME-Version: 1.0 Received: by 10.204.129.198 with SMTP id p6mr2606628bks.96.1328886306824; Fri, 10 Feb 2012 07:05:06 -0800 (PST) Received: by 10.204.187.17 with HTTP; Fri, 10 Feb 2012 07:05:06 -0800 (PST) In-Reply-To: <20120210143601.GB42565@dev.null.cz> References: <20120210145604.Horde.ewjpSpjmRSRPNSH0YRHxgAk@webmail.leidinger.net> <20120210143601.GB42565@dev.null.cz> Date: Fri, 10 Feb 2012 16:05:06 +0100 Message-ID: From: Andreas Nilsson To: =?ISO-8859-1?Q?Marek_=27Buki=27_Kozlovsk=FD?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: Reducing the need to compile a custom kernel X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2012 15:05:08 -0000 2012/2/10 Marek 'Buki' Kozlovsk=FD > On Fri, Feb 10, 2012 at 02:56:04PM +0100, Alexander Leidinger wrote: > > Hi, > > > > during some big discussions in the last monts on various lists, one > > of the problems was that some people would like to use > > freebsd-update but can't as they are using a custom kernel. With all > > the kernel modules we provide, the need for a custom kernel should > > be small, but on the other hand, we do not provide a small > > kernel-skeleton where you can load just the modules you need. > > > > This should be easy to change. As a first step I took the generic > > kernel and removed all devices which are available as modules, e.g. > > the USB section consists now only of the USB_DEBUG option (so that > > the module is build like with the current generic kernel). I also > > removed some storage drivers which are not available as a module. > > The rationale is, that I can not remove CAM from the kernel config > > if I let those drivers inside (if those drivers are important > > enough, someone will probably fix the problem and add the missing > > pieces to generate a module). > > > > Such a kernel would cover situations where people compile their own > > kernel because they want to get rid of some unused kernel code (and > > maybe even need the memory this frees up). > > > > The question is, is this enough? Or asked differently, why are you > > compiling a custom kernel in a production environment (so I rule out > > debug options zhich are not enabled in GENERIC)? Are there options > > which you add which you can not add as a module (SW_WATCHDOG comes > > to my mind)? If yes, which ones and how important are they for you? > > I need (not on every machine, granted) IPSEC and MROUTING > > > Bye, > > Alexander. > > > > -- > > Cheit's Lament: > > If you help a friend in need, he is sure to remember you-- > > the next time he's in need. > > > > http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063= FE7 > > http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077= 137 > > Buki > IPFIREWALL_DEFAULT_TO_ACCEPT, DEVICE_POLLING and HZ=3D1000. /Andreas