From owner-cvs-src@FreeBSD.ORG Mon Aug 2 19:37:51 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C34F916A4CE; Mon, 2 Aug 2004 19:37:51 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D02543D53; Mon, 2 Aug 2004 19:37:49 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.10) with ESMTP id i72JbVOF007305; Mon, 2 Aug 2004 12:37:31 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i72JbV2q007304; Mon, 2 Aug 2004 12:37:31 -0700 Date: Mon, 2 Aug 2004 12:37:31 -0700 From: Brooks Davis To: "David O'Brien" Message-ID: <20040802193731.GD6976@Odin.AC.HMC.Edu> References: <20040802182829.GA930@dragon.nuxi.com> <200408021850.i72Io3JB028204@grimreaper.grondar.org> <20040802192936.GA79661@hub.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Xm/fll+QQv+hsKip" Content-Disposition: inline In-Reply-To: <20040802192936.GA79661@hub.freebsd.org> User-Agent: Mutt/1.5.4i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: Mark Murray Subject: Re: cvs commit: src/sys/modules Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2004 19:37:51 -0000 --Xm/fll+QQv+hsKip Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 02, 2004 at 07:29:37PM +0000, David O'Brien wrote: > On Mon, Aug 02, 2004 at 07:50:03PM +0100, Mark Murray wrote: > > "David O'Brien" writes: > > > Please find a way for all your /dev KO's to detect if they are already > > > active and not panic if loaded(initialized) twice. Many of the netwo= rk > > > and SCSI device KO's DTRT. Maybe you can copy their method of handli= ng > > > this. > >=20 > > I am investigating.=20 >=20 > You've been investigating for years. I've reported the problem about > random.ko more than once. So have others: >=20 > Date: Sun, 22 Sep 2002 00:32:39 -0700 > Message-ID: <20020922073239.GA34550@dragon.nuxi.com> >=20 > Date: Sun, 10 Aug 2003 00:36:00 -0700 > Message-ID: <20030810073600.GA61665@dragon.nuxi.com> >=20 > Date: Fri, 15 Aug 2003 09:18:52 -0700 > Message-ID: <20030815161852.GD61152@dragon.nuxi.com> >=20 > Date: Mon, 5 Apr 2004 02:35:53 +0200 > Message-ID: <20040405003553.GG27087@isis.wad.cz >=20 > Date: Mon, 21 Jun 2004 00:01:04 +0800 (CST) > Message-ID: <040620234141A.22488@www.mmlab.cse.yzu.edu.tw> IMO this is a module system bug not a bug in any given module. There's no good reason for the system to succeed at loading a module that's already there regardless of how it got there. I don't understand the module system well enough to know where the bug lies, but I believe the DECLARE_MODULE statement provides more then enough information to avoid duplicates. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --Xm/fll+QQv+hsKip Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBDpf6XY6L6fI4GtQRAkJCAJ0RqkLDNQiZ3sAAR3xyRoQUZObhIACeNMb1 9kIU7JPXtvrGJVEnmmKkyXk= =FttE -----END PGP SIGNATURE----- --Xm/fll+QQv+hsKip--