Date: Mon, 2 Aug 2004 12:37:31 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: "David O'Brien" <obrien@FreeBSD.org> Cc: Mark Murray <mark@grondar.org> Subject: Re: cvs commit: src/sys/modules Makefile Message-ID: <20040802193731.GD6976@Odin.AC.HMC.Edu> In-Reply-To: <20040802192936.GA79661@hub.freebsd.org> References: <20040802182829.GA930@dragon.nuxi.com> <200408021850.i72Io3JB028204@grimreaper.grondar.org> <20040802192936.GA79661@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040802193731.GD6976>