Hi,
the way KLD's are handled seems to be bogus.

I have -current and build with PCCARD support into the kernel
( controller card0 & device pcic0 & device pcic1 )

if /etc/rc.pccard gets executed it does a:
...
if [ "X$pccard_enable" = X"YES" ] ; then
       if kldload pcic; then       
...
This leads to a second load (and execution) of pcic.ko which is bogus because
the driver is allready initialized.

I think this is a general problem of not using semaphores for this kind of
configuration.

Shouldn't be the solution the usage of *.ko objects regardless if they are
linked statically into the kernel or dynamically during startup or the
definition of semaphores for each logical device which gets set if statically
build.

Bye!
----
Michael Reifenberger
Plaut Software GmbH, R/3 Basis



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to