Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 May 2003 13:49:12 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Paul Richards <paul@freebsd-services.com>
Cc:        Peter Wemm <peter@wemm.org>
Subject:   Re: cvs commit: src/sys/boot/i386/libi386 i386_module.c
Message-ID:  <XFMail.20030509134912.jhb@FreeBSD.org>
In-Reply-To: <1052499754.619.61.camel@cf.freebsd-services.com>

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

On 09-May-2003 Paul Richards wrote:
> On Fri, 2003-05-09 at 18:04, John Baldwin wrote:
>> On 09-May-2003 Paul Richards wrote:
>> > On Thu, May 01, 2003 at 10:25:37AM -0700, Peter Wemm wrote:
>> >> John Baldwin wrote:
>> >> > 
>> >> > On 30-Apr-2003 Peter Wemm wrote:
>> >> > > peter       2003/04/30 15:02:39 PDT
>> >> > > 
>> >> > >   FreeBSD src repository
>> >> > > 
>> >> > >   Modified files:
>> >> > >     sys/boot/i386/libi386 i386_module.c 
>> >> > >   Log:
>> >> > >   ACPI will always be present on AMD64 - it will never be an autodetect
>> >> > >   module.
>> >> > 
>> >> > I would require it in the kernel rather than load it as a module then.
>> >> 
>> >> Exactly.  But I was just getting annoyed with this warning during
>> >> development while I had it stubbed out.
>> > 
>> > You might still want it as a module even if it's mandatory so that
>> > you can choose which version to load from the bootloader when your
>> > testing new versions.
>> 
>> That would only work if the kernel linker supported that.  At
>> the moment it doesn't. :)
> 
> I don't follow, I do this all the time?
> 
> or do you mean that having it mandatory would not work if it's also a
> module?

Trying to kldload something that is already present in the kernel
either fails or results in a kernel panic.  If you are already
rebooting to test it, then you might as well build a new kernel
as a new module each time.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



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