From owner-freebsd-questions@FreeBSD.ORG Mon May 7 21:21:15 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7502F106564A for ; Mon, 7 May 2012 21:21:15 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 32EAF8FC0C for ; Mon, 7 May 2012 21:21:15 +0000 (UTC) Received: from r56.edvax.de (port-92-195-20-192.dynamic.qsc.de [92.195.20.192]) by mx01.qsc.de (Postfix) with ESMTP id 3F6133CBB1; Mon, 7 May 2012 23:21:07 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q47LL6nW001969; Mon, 7 May 2012 23:21:06 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 7 May 2012 23:21:06 +0200 From: Polytropon To: Robert Bonomi Message-Id: <20120507232106.975ce099.freebsd@edvax.de> In-Reply-To: <201205072001.q47K1VYf080171@mail.r-bonomi.com> References: <4FA820A2.8060300@bananmonarki.se> <201205072001.q47K1VYf080171@mail.r-bonomi.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, bah@bananmonarki.se Subject: Re: kernel configuration file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 May 2012 21:21:15 -0000 On Mon, 7 May 2012 15:01:31 -0500 (CDT), Robert Bonomi wrote: > > Bernt Hansson wrote: > > 2012-05-06 20:23, Robert Bonomi skrev: > > > > > Including *every* loadable module, whether or not you actually use it. > > > > That's not really true, at least not for me, and I have not made any > > changes to the build environment. The loadable module that I actually > > use is bktr.ko, that one among others does not get built. > > I'd guess that bktr.ko is a 'third-party' module, found in a port, and not > part of the base system. No, it's part of the base system. I've been using bktr _in_ kernel for many years (FreeBSD 5 and 7), but since 8.0, it does not build anymore. However, the module _does_ correctly build. The documentation is in "man 4 bktr". A typical use (with the PAL option, because I don't have "Never The Same Color" here), did work in the past like this: device bktr options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL options BKTR_USE_PLL options BKTR_GPIO_ACCESS options BKTR_USE_FREEBSD_SMBUS Today, I need to use /boot/loader.conf with those entry bktr_load="YES" Works for my Haupauge WinTV PCI video + tuner card, even the options (PAL) seem to magically work! :-) > I found that every loadable kernel module in the base system is, or at least > "was", rebuilt. That's correct so far. Additionally, all components specified by the kernel configuration file will be rebuilt, which in case of _no_ alteration is the content of GENERIC. As I said, there may be parts that one can safely drop (e. g. WLAN, floppy, ISDN or sound for a server). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...