Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Apr 2004 08:08:28 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Peter Wemm <peter@FreeBSD.org>
Cc:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   Re: PERFORCE change 50544 for review
Message-ID:  <20040407060828.GF661@darkness.comp.waw.pl>
In-Reply-To: <200404070047.i370lZZ3024818@repoman.freebsd.org>
References:  <200404070047.i370lZZ3024818@repoman.freebsd.org>

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

--ChQOR20MqfxkMJg9
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 06, 2004 at 05:47:35PM -0700, Peter Wemm wrote:
+> http://perforce.freebsd.org/chv.cgi?CH=3D50544
+>=20
+> Change 50544 by peter@peter_daintree on 2004/04/06 17:47:08
+>=20
+> 	mark runtime kldload as done.
+> 	add new entry for kldxref and loader preload support.
+>=20
[...]
+> +kld preload support, teach the loader how to read new-style .ko files,
+> +as well as kldxref.  kldxref should be easy, it should be able to just
+> +read the modmetadata section directly, apply the relocs for that sectio=
n,
+> +and use that to find the pointers to the other sections.

It would be cool, if we will be able to read (from kernel) modmetadata
before module is loaded. I think this is what is stopping as to check
if module with the same name already exists.

I may be wrong, while I haven't spend enough time on this yet.
If we are able to get only modmetadata from .ko from inside the kernel
(before loading module), tell me how, so we can fix this long-standing
KLD issue.

--=20
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd@FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!

--ChQOR20MqfxkMJg9
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAc5rcForvXbEpPzQRAmcQAKCCakAwQnGD+8uA5Erfz3N9kgZyQgCgypsf
IXzhqBqQp2kGjioVFVXzjxs=
=9NMY
-----END PGP SIGNATURE-----

--ChQOR20MqfxkMJg9--



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