Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 2004 14:31:03 -0700
From:      Peter Wemm <peter@wemm.org>
To:        freebsd-amd64@freebsd.org
Cc:        amd64@freebsd.org
Subject:   Re: Beware of dragons in module loader code!
Message-ID:  <200405171431.03384.peter@wemm.org>
In-Reply-To: <200405161836.17539.peter@wemm.org>
References:  <200405161836.17539.peter@wemm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 16 May 2004 06:36 pm, Peter Wemm wrote:
> I've committed the support changes and enabled the new module loader,
> but beware!  It does still blow up!  Consequently, I did *NOT* remove
> the 'NO_MODULES' override in GENERIC etc because there are a number
> of system daemons that will try and load things during startup.  If
> this suddenly started loading modules, it Would Be A Bad Thing.
>
> On an unrelated note, I could really use some eyes looking at the
> sys/kern/link_elf_obj.c file.  Somewhere, I have a bug (or a series
> of bugs) that is causing significant memory trashing. 

Turns out that there were multiple bugs, some in my code (which I fixed 
as a side effect of something else), and the big one was in the kernel 
linker itself (not my bug! :-).

Anyway, the guts of kldload(8) support is there now.  Now for kldxref(8) 
and loader(8).  Whee.
-- 
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5



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