Subject: Re: Loading LKMs at boot yields unresolved symbols, but from commandline
To: Quentin Garnier <firstname.lastname@example.org>
From: Jeff Rizzo <email@example.com>
Date: 03/04/2005 10:47:36
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
Content-Type: text/plain; charset=ISO-8859-15
Quentin Garnier wrote:
>On Fri, Mar 04, 2005 at 09:32:02AM -0800, Jeff Rizzo wrote:
>>The problem: if I load the LKMs from the commandline, it's fine.
>>However, when I configure things in lkm.conf for boot-time load, I get
>>undefined reference errors. This is *with* the -s flag.
>Hmm. At first I thought it was kern/29133, but I'm not that sure.
>I'm wondering a bit about the part in /etc/rc.lkm where it adds
>-A unconditionally (well, as long as the kernel is readable). Could
>you try with that part commented out? (It begins with booted_kernel.)
Sure enough, with that part commented out, it loads just fine. What do
you think the best general-purpose solution is?
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (Darwin)
-----END PGP SIGNATURE-----