From owner-freebsd-questions Mon May 29 10:58:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from aragorn.neomedia.it (aragorn.neomedia.it [195.103.207.6]) by hub.freebsd.org (Postfix) with ESMTP id 9C1C837B618 for ; Mon, 29 May 2000 10:58:20 -0700 (PDT) (envelope-from bartequi@neomedia.it) Received: from bartequi.ottodomain.org (ppp2-pa5.neomedia.it [195.103.207.114]) by aragorn.neomedia.it (8.9.3/8.9.3) with SMTP id TAA28979; Mon, 29 May 2000 19:58:12 +0200 (CEST) From: Salvo Bartolotta Date: Mon, 29 May 2000 18:59:19 GMT Message-ID: <20000529.18591900@bartequi.ottodomain.org> Subject: Re: why are all modules built? To: cjc@cc942873-a.ewndsr1.nj.home.com Cc: freebsd-questions@FreeBSD.ORG, mdharnois@home.com 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> X-Mailer: SuperCalifragilis X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 5/29/00, 6:38:52 PM, "Crist J. Clark" 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" 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/ 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