From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 17 19:34:41 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A94581065673 for ; Fri, 17 Feb 2012 19:34:41 +0000 (UTC) (envelope-from alex-goncharov@comcast.net) Received: from QMTA11.westchester.pa.mail.comcast.net (qmta11.westchester.pa.mail.comcast.net [76.96.59.211]) by mx1.freebsd.org (Postfix) with ESMTP id 4DF308FC14 for ; Fri, 17 Feb 2012 19:34:40 +0000 (UTC) Received: from omta17.westchester.pa.mail.comcast.net ([76.96.62.89]) by QMTA11.westchester.pa.mail.comcast.net with comcast id b58S1i01g1vXlb85B7ahWX; Fri, 17 Feb 2012 19:34:41 +0000 Received: from hans3 ([66.30.197.229]) by omta17.westchester.pa.mail.comcast.net with comcast id b7ah1i00P4xSlmi3d7ahkC; Fri, 17 Feb 2012 19:34:41 +0000 Received: from algo by hans3 with local (Exim 4.77 (FreeBSD)) (envelope-from ) id 1RyTZo-000J0R-0Y; Fri, 17 Feb 2012 14:34:40 -0500 From: Alex Goncharov To: matt In-reply-to: <4F3EA5F2.9070804@gmail.com> (message from matt on Fri, 17 Feb 2012 11:09:38 -0800) References: <4F3E8225.9030501@FreeBSD.org> <4F3E8C26.3080900@FreeBSD.org> <4F3EA5F2.9070804@gmail.com> Message-Id: Sender: Alex Goncharov Date: Fri, 17 Feb 2012 14:34:40 -0500 Cc: freebsd-hackers@freebsd.org, mav@FreeBSD.org Subject: Re: 8 to 9: Kernel modularization -- did it change? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alex Goncharov List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Feb 2012 19:34:41 -0000 ,--- You/matt (Fri, 17 Feb 2012 11:09:38 -0800) ----* | For what it's worth, it's just a change in GENERIC. It's not hard to | compile a kernel with different options, That's what I've been doing for years, with e.g. # options INET6 # IPv6 communications protocols # device cbb # cardbus (yenta) bridge # device pccard # PC Card (16-bit) bus # device cardbus # CardBus (32-bit) bus in my kernel configuration on 8; there was no snd_hda there, and this is why I asked about the possibly new kernel modularization in 9. | So recompile GENERIC without snd_hda, you're a power user. Yes, I see it in 9 now: uname -sr; grep -iE 'snd|hda' /usr/src/sys/amd64/conf/GENERIC => FreeBSD 8.2-STABLE uname -sr; grep -iE 'snd|hda' /usr/src/sys/amd64/conf/GENERIC => FreeBSD 9.0-STABLE device snd_es137x # Ensoniq AudioPCI ES137x device snd_hda # Intel High Definition Audio device snd_ich # Intel, NVidia and other ICH AC'97 Audio device snd_uaudio # USB Audio device snd_via8233 # VIA VT8233x Audio The presence of /boot/kernel/snd_hda.ko in 9 did confuse me. | The handbook is an excellent resource if you've never done it. It's | actually nice to have a minimal kernel config available for any kind | of testing. Or reboot a few times, it's not that bad! That's another thing for me to decide on: as I said, I used to eliminate building some parts of the kernel but have recently decided that it might be easier to just use GENERIC -- the resources and sizes are no longer worth worrying about. I have a better understanding of the situation now and will do some adjustments. Thanks, -- Alex -- alex-goncharov@comcast.net --