From owner-freebsd-current Mon Mar 15 8:39:45 1999 Delivered-To: freebsd-current@freebsd.org Received: from ns.plaut.de (ns.plaut.de [194.39.177.166]) by hub.freebsd.org (Postfix) with ESMTP id A1F18150C7 for ; Mon, 15 Mar 1999 08:39:35 -0800 (PST) (envelope-from root@nihil.plaut.de) Received: from totum.plaut.de (totum.plaut.de [194.39.177.9]) by ns.plaut.de (8.8.8/8.8.7) with ESMTP id RAA17232 for ; Mon, 15 Mar 1999 17:39:16 +0100 (CET) (envelope-from root@nihil.plaut.de) Received: (from uucp@localhost) by totum.plaut.de (8.8.7/8.7.3) with UUCP id RAA01616 for current@freebsd.org; Mon, 15 Mar 1999 17:39:16 +0100 (MET) Received: from localhost (root@localhost) by nihil.plaut.de (8.9.2/8.8.8) with ESMTP id RAA00633 for ; Mon, 15 Mar 1999 17:15:48 +0100 (CET) (envelope-from root@nihil.plaut.de) Date: Mon, 15 Mar 1999 17:15:48 +0100 (CET) From: Michael Reifenberger To: FreeBSD-Current Subject: PCIC (at least) and KLD's misbehaves Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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