From owner-freebsd-stable Wed Mar 28 15:57:51 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smarthost-1.mail.telinco.net (smarthost-1.mail.telinco.net [212.1.128.90]) by hub.freebsd.org (Postfix) with ESMTP id 8873937B71E for ; Wed, 28 Mar 2001 15:57:47 -0800 (PST) (envelope-from harry_newton@telinco.co.uk) Received: from ppp-1-120.cvx5.telinco.net ([212.1.152.120] helo=basilisk.locus) by smarthost-1.mail.telinco.net with esmtp (Exim 3.22 #2) id 14iPov-0000ZB-00 for freebsd-stable@freebsd.org; Thu, 29 Mar 2001 00:57:46 +0100 Received: from localhost ([127.0.0.1] helo=basilisk.locus) by basilisk.locus with smtp (Exim 3.20 #1) id 14iPoH-0000Ct-00 for freebsd-stable@freebsd.org; Thu, 29 Mar 2001 00:57:05 +0100 Received: (qmail 797 invoked by uid 1001); 28 Mar 2001 23:57:05 -0000 To: freebsd-stable@freebsd.org Subject: KLD at boot time From: Harry Newton Organization: GAUDEAMUS X-Op.135: Muss es sein ? Es muss sein X-Attribution: HN X-GnuPG-Fingerprint: 497E C8CD 0553 5EB4 1AE3 3BF5 D041 39E0 35E4 7F8B Message-ID: <86r8zhfnw5.fsf@basilisk.locus> User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: 29 Mar 2001 00:57:05 +0100 Lines: 31 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ( 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 can easily work round this by either doing what I've suggested above, or just using kldload when the system's up, but I suspect there's a small problem somewhere: I think the dependencies may be slightly askew. -- Harry Newton harry_newton at telinco.co.uk www.gaudeamus.telinco.co.uk/html/gpg.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message