Date: Mon, 15 Mar 1999 17:15:48 +0100 (CET) From: Michael Reifenberger <root@nihil.plaut.de> To: FreeBSD-Current <current@freebsd.org> Subject: PCIC (at least) and KLD's misbehaves Message-ID: <Pine.BSF.4.10.9903151655090.394-100000@nihil.plaut.de>
next in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9903151655090.394-100000>