From owner-freebsd-stable Wed Mar 28 21:52:53 2001 Delivered-To: freebsd-stable@freebsd.org Received: from pop3.ids.net (pop3.ids.net [155.212.1.107]) by hub.freebsd.org (Postfix) with ESMTP id 9895D37B72B for ; Wed, 28 Mar 2001 21:52:49 -0800 (PST) (envelope-from CGiordano@ids.net) Received: from ids.net (dialup160g.egr-ri.ids.net [155.212.223.160]) by pop3.ids.net (8.10.1/8.10.1) with ESMTP id f2T5qg300568; Thu, 29 Mar 2001 00:52:42 -0500 (EST) Message-ID: <3AC2CD71.D9A7653E@ids.net> Date: Thu, 29 Mar 2001 00:51:45 -0500 From: "Christopher M. Giordano" Reply-To: CGiordano@ids.net X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.3-RC i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-stable@FreeBSD.org Cc: Harry Newton Subject: Re: KLD at boot time References: <86r8zhfnw5.fsf@basilisk.locus> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Harry Newton wrote: > > ( 4.3-RC FreeBSD 4.3-RC #0: Wed Mar 28 ) > I was just playing around with putting the support for my Soundblaster > Live card in modules, when I came across a quirk: > > In /boot/loader.conf: > > snd_emu10k1_load="YES" > snd_pcm_load="YES" > > ( having removed device pcm from kernel config file ). > > But this doesn't work ! The boot messages give: > > Preloaded elf module "snd_emu10k1.ko" at 0xc035e0fb > link_elf: symbol sndbuf_getbps undefined > Preload elf module "snd_pcm.ko" at 0xc035e19c > > Changing the order of the lines in /boot/loader.conf makes no > difference. However, if I unload the modules by hand at boot time, and > then explicitly load them in the right order ( pcm then emu10k1 ) > and then boot, there's no problem. I experienced similar effects with the Sound Blaster 16 module. Try omitting the "snd_pcm_load" line altogether and let the loader figure out the dependencies on its own. That has worked for me. Chris Giordano CGiordano@ids.net -- The problem with people who have no vices is that generally you can be pretty sure they're going to have some pretty annoying virtues. -- Elizabeth Taylor To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message