From owner-p4-projects@FreeBSD.ORG Tue Apr 6 23:46:36 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id AA82516A4D0; Tue, 6 Apr 2004 23:46:36 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83E8716A4CE; Tue, 6 Apr 2004 23:46:36 -0700 (PDT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A1C343D39; Tue, 6 Apr 2004 23:46:36 -0700 (PDT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id A22FEACAEB; Wed, 7 Apr 2004 08:08:28 +0200 (CEST) Date: Wed, 7 Apr 2004 08:08:28 +0200 From: Pawel Jakub Dawidek To: Peter Wemm Message-ID: <20040407060828.GF661@darkness.comp.waw.pl> References: <200404070047.i370lZZ3024818@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ChQOR20MqfxkMJg9" Content-Disposition: inline In-Reply-To: <200404070047.i370lZZ3024818@repoman.freebsd.org> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: Perforce Change Reviews Subject: Re: PERFORCE change 50544 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Apr 2004 06:46:37 -0000 --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--