From owner-freebsd-current Sat Nov 6 16:55:46 1999 Delivered-To: freebsd-current@freebsd.org Received: from dingo.cdrom.com (castles549.castles.com [208.214.165.113]) by hub.freebsd.org (Postfix) with ESMTP id 7B1A814DBF for ; Sat, 6 Nov 1999 16:55:43 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id QAA08334; Sat, 6 Nov 1999 16:46:54 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199911070046.QAA08334@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Julian Elischer Cc: current@freebsd.org Subject: Re: Old KLD bug.. In-reply-to: Your message of "Sat, 06 Nov 1999 16:38:38 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 06 Nov 1999 16:46:53 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > If I have a KLD module that has a registered dependency on some other > module, > then when I load the forst module it will load the second. > this is all well and good but it ALWYA loads it, > even when it's already in the kernel.. > > if kldstat can see it, then surely the loading modules should be able to > work it out. > > This has been partly fixed in -current (it loads but doesn't link) > but in 3.x it actually links the new one over the existing one, > which is kinda wrong.. > > Is there anyone that understands this stuff that has an idea of ho to fix > this? Yes. See my posts previously on making the distinction between 'file' and 'module'. You've just acquired some new programming talent there; I'm sure I could dope out enough of what was worked out last time we talked about this to give her something to work on. 8) -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message