From owner-freebsd-stable@FreeBSD.ORG Fri Feb 10 14:36: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 BAC741065760 for ; Fri, 10 Feb 2012 14:36:08 +0000 (UTC) (envelope-from buki@dev.null.cz) Received: from dev.null.cz (dev.null.cz [IPv6:2a01:430:34:0:2:0:dead:babe]) by mx1.freebsd.org (Postfix) with ESMTP id 44E618FC13 for ; Fri, 10 Feb 2012 14:36:08 +0000 (UTC) Received: from dev.null.cz (localhost [127.0.0.1]) by dev.null.cz (8.14.4/8.14.4) with ESMTP id q1AEa10Q019892 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 10 Feb 2012 15:36:06 +0100 (CET) (envelope-from buki@dev.null.cz) Received: (from buki@localhost) by dev.null.cz (8.14.4/8.14.4/Submit) id q1AEa1wc019891 for freebsd-stable@freebsd.org; Fri, 10 Feb 2012 15:36:01 +0100 (CET) (envelope-from buki) Date: Fri, 10 Feb 2012 15:36:01 +0100 From: "Marek 'Buki' =?utf-8?Q?Kozlovsk=C3=BD?=" To: freebsd-stable@freebsd.org Message-ID: <20120210143601.GB42565@dev.null.cz> References: <20120210145604.Horde.ewjpSpjmRSRPNSH0YRHxgAk@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rQAi4ZBraoACHIeu" Content-Disposition: inline In-Reply-To: <20120210145604.Horde.ewjpSpjmRSRPNSH0YRHxgAk@webmail.leidinger.net> User-Agent: Mutt/1.5.21 (2010-09-15) 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 14:36:08 -0000 --rQAi4ZBraoACHIeu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 10, 2012 at 02:56:04PM +0100, Alexander Leidinger wrote: > Hi, >=20 > 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. >=20 > 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). >=20 > 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). >=20 > 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. >=20 > --=20 > Cheit's Lament: > If you help a friend in need, he is sure to remember you-- > the next time he's in need. >=20 > http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 > http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 Buki --rQAi4ZBraoACHIeu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk81K1EACgkQPzhIkpLLm09yJwCgyi5xAYIer0TAijygi2B1D4fC ss4AnA09mFyrmCBKV+hj2lmjnHqrky3k =07eo -----END PGP SIGNATURE----- --rQAi4ZBraoACHIeu--