Skip site navigation (1)Skip section navigation (2)
Date:      29 Mar 2001 00:57:05 +0100
From:      Harry Newton <harry_newton@telinco.co.uk>
To:        freebsd-stable@freebsd.org
Subject:   KLD at boot time
Message-ID:  <86r8zhfnw5.fsf@basilisk.locus>

next in thread | raw e-mail | index | archive | help
( 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86r8zhfnw5.fsf>