Date: Wed, 25 Jul 2001 15:46:37 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Randall Hopper <aa8vb@nc.rr.com> Cc: stable@FreeBSD.ORG Subject: Re: kldunload --> SYSTEM FREEZE Message-ID: <20010725154637.A15193@Odin.AC.HMC.Edu> In-Reply-To: <20010725182403.A17617@nc.rr.com>; from aa8vb@nc.rr.com on Wed, Jul 25, 2001 at 06:24:03PM -0400 References: <20010725182403.A17617@nc.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 25, 2001 at 06:24:03PM -0400, Randall Hopper wrote: > Was experimenting with mods to the DRI modules on -stable, and half = to > my surprise when I first tried a "kldunload mga.ko" (to then reload the n= ew > version) my system locked hard. I know what happened. But I'm wondering, > what "should" happen. >=20 > Would you say: >=20 > a) Doh! Well of "course" it's going to lock up stupid! Don't do th= at! >=20 > b) It really shouldn't lock up. It should flat refuse to unload, but > something is apparently broken. >=20 > c) It should unload, but a pre-unload "cleanup hook" probably isn't > implemented. It should really be c, but if not c then b. Many drivers were converted to the KLD framework with bogus unloads which just return EINVAL which should stop the unload according to the code in kern/kern_linker.c. -- 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 --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7X0xMXY6L6fI4GtQRAvP/AKCk1HYiD7HE9DNwsg+toYkn5dfl0wCgn1S2 rfGWF5HL2O/jgVlpJ44djGw= =yklG -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010725154637.A15193>