Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2001 16:44:28 +0100
From:      Josef Karthauser <joe@tao.org.uk>
To:        Bill Paul <wpaul@FreeBSD.ORG>
Cc:        "Brian F. Feldman" <green@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern link_elf.c
Message-ID:  <20010812164428.C797@tao.org.uk>
In-Reply-To: <20010810234655.7A24237B401@hub.freebsd.org>; from wpaul@FreeBSD.ORG on Fri, Aug 10, 2001 at 04:46:55PM -0700
References:  <200108102336.f7ANaUQ85691@green.bikeshed.org> <20010810234655.7A24237B401@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--f+W+jCU1fRNres8c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 10, 2001 at 04:46:55PM -0700, Bill Paul wrote:
> >=20
> > I must be misremembering that at one point you couldn't unload a preloa=
ded=20
> > module...
>=20
> It was probably due to this bug. :)
>=20
> A pre-loaded module looks exactly the same to the system as a module
> loaded after system boot. If you pre-load a driver module on which the
> system depends, i.e. the driver for the disk controller on which your
> root filesystem resides, then you can't unload it without catastrophic
> results. But that's a special case. In my case, I'm trying to unload a
> driver for a network card which is idle, and it works properly now with
> this fix. The only pre-loaded module you can't ever unload under any
> circumstances is "kernel."
>=20
> And if anybody out there says "Wait! I have patches to fix that!" I'll
> scream.

What's the difference between a pre-loaded module, i.e. loaded by
boot/loader, and a pre-compiled in module?  It would be really cool
if one could unload the latter type, and kldload a new version of
it for testing.  AFAIR this wasn't possible last time I tried it.

Joe

--f+W+jCU1fRNres8c
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjt2pFsACgkQXVIcjOaxUBYXgQCgpcd6hBW4tElmpOlEciUCKjf0
7iwAoMDrLee/PEQrExTnldtNC5AX67PU
=iAw6
-----END PGP SIGNATURE-----

--f+W+jCU1fRNres8c--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010812164428.C797>