Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2000 18:59:19 GMT
From:      Salvo Bartolotta <bartequi@neomedia.it>
To:        cjc@cc942873-a.ewndsr1.nj.home.com
Cc:        freebsd-questions@FreeBSD.ORG, mdharnois@home.com
Subject:   Re: why are all modules built?
Message-ID:  <20000529.18591900@bartequi.ottodomain.org>
In-Reply-To: <20000529133852.H58958@cc942873-a.ewndsr1.nj.home.com>
References:  <868zwtv0lu.fsf@mharnois.workgroup.net> <20000529124412.F58958@cc942873-a.ewndsr1.nj.home.com> <86og5pb730.fsf@mharnois.workgroup.net> <20000529133852.H58958@cc942873-a.ewndsr1.nj.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 5/29/00, 6:38:52 PM, "Crist J. Clark"
<cjc@cc942873-a.ewndsr1.nj.home.com> wrote regarding Re: why are all
modules built?:


> On Mon, May 29, 2000 at 12:26:59PM -0500, Michael Harnois wrote:
> > On Mon, 29 May 2000 12:44:12 -0400, "Crist J. Clark"
<cjc@cc942873-a.ewndsr1.nj.home.com> said:
> >
> >     > I don't believe a kernel build builds any modules. The kld(4)'=
s
> >     > are only built at a make-world, IIRC. Or is that not what you
> >     > are talking about?
> >
> > I'm talking about what is under
> > /usr/src/sys/compile/[mykernel]/modules. For example, in my tree,
> > vesa.o was built this morning, when I rebuilt the kernel, although I=

> > don't have VESA defined and haven't done a make world since yesterda=
y.

> Dunno how you did that. None of the compile/<kernel> directories for
> any of my 3.4 or 4.0 systems have a modules/ directory. You did do,

>   # cd /usr/src/sys/i386/conf
>   # config MYKERNEL
>   # cd ../../compile/MYKERNEL
>   # make depend
>   # make
>   # make install

> Or something to that effect, right? To be sure to wipe out any
> previous information,

>   # cd /usr/src/sys/i386/conf
>   # config -r MYKERNEL
>   # cd ../../compile/MYKERNEL
>   # make clean depend all install

> Should do the trick.
> --
> Crist J. Clark                           cjclark@home.com



Dear Crist J. Clark,

I am afraid Michael Harnois is right.

Under -CURRENT, there IS such a .../compile/[mykernel]/modules
directory.

This issue, ie the mechanism to prevent kernel and modules from being
out of sync with each other, has recently been discussed in the
-current forum as I recall. Also, AFAICR,  there was a thread dealing
with "panic in the morning", or something like that, about these
specific problems.

HTH,
Salvo





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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