Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2001 08:24:58 -0600
From:      "Josh Paetzel" <jpaetzel@hutchtel.net>
To:        "Tim McMillen" <timcm@umich.edu>, "Brent" <bierblb@netins.net>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Installworld (HELP!!)
Message-ID:  <004d01c08548$5c3b3ee0$6100000a@vladsempire.net>
References:  <CLEBKGOHKNELHPEDDJJICEJKCHAA.bierblb@netins.net> <01012223552703.12411@tim.elnsng1.mi.home.com>

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

----- Original Message -----
From: Tim McMillen <timcm@umich.edu>
To: Brent <bierblb@netins.net>; <freebsd-questions@FreeBSD.ORG>
Sent: Monday, January 22, 2001 10:55 PM
Subject: Re: Installworld (HELP!!)


> On Monday January 22, 2001 23:29, Brent wrote:
> > Hey everyone.
>
> Hey back :-)
>
> > I have just upgraded from 4.0-RELEASE to 4.2-RELEASE via make
> > installworld, and it it now done, but now I can getting these types
> > of errors, why is this?
> >
> > "bash-2.03$ w
> > 10:26PM  up 31 days,  3:14, 3 users, load averages: 0.00, 0.01, 0.06
> > USER             TTY      FROM              LOGIN@  IDLE WHAT
> > w: proc size mismatch (51156 total, 1056 chunks): Undefined error: 0"
> >
> > and
> >
> > "bash-2.03$ top
> > kvm_open: proc size mismatch (54288 total, 1056 chunks)
> > top: Out of memory."
> >
> > I haven't recompiled the kernel yet,
>
> I think you've answered your question.
> Rebuild your kernel and the errors should go away.
>
> > because I was told I could wait for that.
>
> Yeah, you can wait, just not very long.  And you can't do much in the
> in-between  :)
> You can wait in the sense that they (build world and
> buildkernel/installkernel) don't have to be done at the exact same
> time, but they do both have to be done.
> This is one of the advantages of the BSD development style, that the
> kernel is developed with the rest to work tightly together.
>
> > Does anyone have an idea why this is doing this?  If a
> > restart is in order - would it be safe (not at the server site)
>
> I would guess you would want to build the kernel first?  I just follow
> what it says in the handbook chapter 19.4 to the letter.
>
> Tim

Someone help me out if I have my head stuck firmly up my nether regions, but
from Brent's first post it isn't clear to me whether he did a make world.

After updating the sources the following three things need to be done:

#make world
#make buildworld KERNEL=MYKERNEL
#make installworld KERNEL=MYKERNEL
reboot

This sequence DOES compile the kernel, does it not?  Please let me know if I
am mistaken.  I used to think that I knew what was going on, but after the
recent discussion of the different ways to compile a new kernel, I am not
sure anymore.

Josh




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?004d01c08548$5c3b3ee0$6100000a>