Re: Editing and compiling FreeBSD source

From: M. Warner Losh (imp_at_bsdimp.com)
Date: 09/20/04

  • Next message: gerarra_at_tin.it: "Re: FreeBSD Kernel buffer overflow"
    Date: Sun, 19 Sep 2004 23:24:50 -0600 (MDT)
    To: mymuss@gmail.com
    
    

    In message: <c1e1c6a504091916341602b881@mail.gmail.com>
                Andrew Novikov <mymuss@gmail.com> writes:
    : Could someone please explan me the difference between:
    :
    : make buildkernel
    : make installkernel

    If you've done a make buildworld, this should always work, reguardless
    of what tools you have installed in the base system. There are a
    number of nobs to make these faster. This even works accross
    different releases (eg, you can build a 5 kernel on a 4 box) most of
    the time too.

    : config
    : cd ../../compile/.....
    : make depend
    : make
    : make install

    This uses system tools, so they have to be in sync with the kernel.
    This is often more convenient when you are building lots of kernels to
    debug some problem in the kernel, but isn't any faster than the above
    if you are starting from dirt.

    Warner
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: gerarra_at_tin.it: "Re: FreeBSD Kernel buffer overflow"

    Relevant Pages

    • 6.1 kernel unable to find /dev ?
      ... the previously-good kernel would no longer ... | exec /sbin/oinit: error 20 ... | Automatic reboot in 15 seconds - press a key on the console to abort ... Should I perhaps to a make installkernel installworld ...
      (freebsd-stable)
    • Re: 6.1 kernel unable to find /dev ?
      ... I saw two types of panics ... | Automatic reboot in 15 seconds - press a key on the console to abort ... Or there is a bad kernel module in the mix that is randomly corrupting data. ... Should I perhaps to a make installkernel installworld ...
      (freebsd-stable)
    • Re: FreeBSD 5.1-Release freezes
      ... I only installed the base system + man pages and the port ... if I run with this kernel the ... > make installkernel KERNCONF=SOCKETD) ... You do mention that you are using MAC. ...
      (freebsd-current)
    • Re: New Kernel Breaks IPFW
      ... > I just cvsup'd my src today and was going to buildworld later tonight ... > rebooted, ipfw fell over, specifically, even after ipfw firewall enable, ... Probably because the ABI between ipfwand it's kernel counterpart has ... back in case of problems), mount fs and installkernel, mergemaster), ...
      (freebsd-current)
    • Re: FreeBSD 5.1-Release freezes
      ... if I run with this kernel the ... > make installkernel KERNCONF=SOCKETD) ... Try compiling options MAC_DEBUG into your ... If you have DDB compiled into the kernel (which you probably will ...
      (freebsd-current)