Problems with 'make world' stuff

Scott W wegster at mindcore.net
Tue Oct 28 14:18:57 PST 2003


Jason Williams wrote:

> Once I had my sources updated, I did the following:
>
> I booted into single mode:
>
> cd /usr/src
> make buildworld
>
> cd /usr/src
> make buildkernel
> make installkernel
>
> I rebooted to test the kernel and that is where I ran into trouble. I 
> did not type make installworld as suggested in the handbook. It said 
> to test the kernel first.
>
> I was told I did not have to run mergemaster since this was a brand 
> new install of 4.8. Is that incorrect?
>
> I appreciate your help.
>
> Jason


I've seen the same problem when building 'world' and the kernel at the 
same time.  I'm not sure if this is the 'correct' way to do it, but the 
logical (and in both of my cases) sequence is:
make buildworld - compiles only
make installworld- installs the new system binaries

reboot
make buildkernel - now building against the 'new' user space libraries, 
utils, etc
make installkernel

reboot and you should be OK.

What appears make have happened is you missed the 'make installworld' 
step, so userspace libraries and tools were not up to date.  I'd try:
cd/ /usr/src
make installworld
make installkernel

reboot and post if any change, but I suspect that will fix it..

HTH,

Scott

> At 05:08 PM 10/28/2003 -0500, you wrote:
>
>> Did you build a new kernel as well as world? did you run mergemaster?
>>
>>
>> On Tue, 2003-10-28 at 16:57, Jason Williams wrote:
>> > Hello everyone.
>> >
>> > Im pretty new to building my own world here, but im excited to 
>> learn it.
>> >
>> > I followed the handbook as suggested on how to make world.
>> >
>> > I installed FreeBSD 4.8 on my workstation. I installed cvsup and 
>> configured
>> > my stable-supfile as well as my ports-supfile. I updated my ports 
>> no problem.
>> > Here are the contents of my stable-supfile:
>> >
>> > *default host=cvsup12.FreeBSD.org
>> > *default base=/usr/local/etc/cvsup
>> > *default prefix=/usr
>> > *default release=cvs tag=RELENG_4
>> > *default delete use-rel-suffix
>> >
>> > I did a: cvsup -g -L 2 stable-supfile and it did its work.
>> >
>> > I then proceeded as in the handbook.
>> >
>> > After I booted to my new kernel (I noticed it said FreeBSD 4.9 
>> stable, so I
>> > booted correctly).
>> >
>> > However, im having some problems when I test the kernel: 
>> Specifically with
>> > 'top' and 'ps'
>> >
>> > # top
>> > kvm_open: proc size mismatch (34048 total, 1060 chunks)
>> > top: Out of memory.
>> >
>> > # ps
>> > ps: proc size mismatch (29792 total, 1060 chunks)
>> >
>> > At this point, I was going to go back and retry doing everything as
>> > suggested in the handbook.
>> >
>> > In the meantime, anyone have any idea what im missing or what is 
>> going on?
>> >
>> > I appreciate it.
>> >
>> > Cheers,
>> >
>> > Jason
>> >
>> > _______________________________________________
>> > freebsd-questions at freebsd.org mailing list
>> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> > To unsubscribe, send any mail to 
>> "freebsd-questions-unsubscribe at freebsd.org"
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
>




More information about the freebsd-questions mailing list