From owner-freebsd-stable@FreeBSD.ORG Wed Mar 3 10:59:10 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFD3A16A4CE for ; Wed, 3 Mar 2004 10:59:10 -0800 (PST) Received: from enterprise.sd73.bc.ca (romulus-net.sd73.bc.ca [142.24.13.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2808743D2F for ; Wed, 3 Mar 2004 10:59:10 -0800 (PST) (envelope-from fcash-ml@sd73.bc.ca) Received: from mailtest.sd73.bc.ca (mailtest.sd73.bc.ca [10.10.10.14]) i23IoCrT017769; Wed, 3 Mar 2004 10:50:12 -0800 Received: from 192.168.0.185 (SquirrelMail authenticated user fcash) by mailtest.sd73.bc.ca with HTTP; Wed, 3 Mar 2004 10:59:09 -0800 (PST) Message-ID: <49656.192.168.0.185.1078340349.squirrel@mailtest.sd73.bc.ca> In-Reply-To: <20040303184634.8ADD9170D4@www.wcborstel.nl> References: <49180.192.168.0.185.1078334195.squirrel@mailtest.sd73.bc.ca> <20040303184634.8ADD9170D4@www.wcborstel.nl> Date: Wed, 3 Mar 2004 10:59:09 -0800 (PST) From: "Freddie Cash" To: "Jorn Argelo" User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-RAVMilter-Version: 8.4.1(snapshot 20020919) (enterprise.sd73.bc.ca) cc: stable@freebsd.org Subject: Re: Standard sbc and pcm support in GENERIC kernel? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 18:59:10 -0000 > Personally I always recompile the kernel when I install FreeBSD on > a system. So I always put in sbc and psm when required. I never > really knew what kernel modules I should use actually. I didn't really know which sound modules to use either. Then someone mentioned /dev/sndstat to me and pointed me to the snd_driver.ko (5.x) and snd.ko (4.x) modules. Loading this module loads every sound module that FreeBSD supports. Then you look in the sndstat file to see which driver(s) the kernel determined works for your hardware. Then you just load those driver(s). :) > As for important servers, I wouldn't let an important server run on > the GENERIC kernel. I would build one myself, and pull out some > unwanted things to grab some performance. So one can easily get > rid of sound support as well. IMO, the GENERIC kernel should include just those devices required to boot the most common hardware configurations. It shouldn't include anything beyond the basic filesystems, CPU features, harddrive support, and vga video. No USB, no Firewire, no screensavers, no PCMCIA/Cardbus, no ethernet, and so on. Everything beyond that should be done via modules. sysinstall should be able to detect the hardware and load the needed modules and create a custom loader.conf based on those modules. If the admin wants to recompile the kernel to support his hardware, then they can do so. But, that's just me. :) And I don't know the first thing about the boot process, hardware detection, or sysinstall to even begin to wonder if this is possible or not. It's my little pipe dream. :D -- Freddie Cash fcash-ml@sd73.bc.ca