Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 2003 15:28:10 -0600
From:      Jon Noack <noackjr@alumni.rice.edu>
To:        Zoran Kikic <kikic@magic-garden.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: AW: just a hint: kmem_map too small - 5.2-CURRENT-20031209
Message-ID:  <3FDA32EA.7010906@alumni.rice.edu>
In-Reply-To: <19B481CA418DC04CA76EEF2B90B905F11DF1D9@srv-mail.magic-garden.local>
References:  <19B481CA418DC04CA76EEF2B90B905F11DF1D9@srv-mail.magic-garden.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/12/2003 7:01 AM, Zoran Kikic wrote:
>>This isn't the recommended method of updating a system.
>>Did you do a "make buildworld"?  See src/UPDATING.
>>
>>-- 
>>Steve
>>
> 
> 
> hm, I did 'cd /usr/src && make && make buildworld && make installworld'
> after the kernel rebuild.
> 
> 
> Zoran

See also the handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

To summarize (replacing "MYKERNEL" with the name of your kernel config 
file):
1) "cd /usr/src"
2) "make buildworld"
3) "make buildkernel KERNCONF=MYKERNEL"
4) "make installkernel KERNCONF=MYKERNEL"
5) Reboot into single-user mode to test kernel (also mount and swapon)
6) "cd /usr/src"
7) "make installworld"
8) "mergemaster"
9) "shutdown -r now"

Most of the time you can skip steps 5 and 6 (useful when administrating 
a machine remotely), but this is not supported and has gotten me into 
trouble on several occasions.  Then again, I would have known not to 
skip them if I had read UPDATING...

Jon Noack



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