Re: Configuration of current kernel

From: David Adam (zanchey_at_ucc.gu.uwa.edu.au)
Date: 03/10/05

  • Next message: h p: "Re: Configuration of current kernel"
    Date: Thu, 10 Mar 2005 22:52:15 +0800 (WST)
    To: h p <regnans@gmail.com>
    
    

    Helge,

    Firstly, this really isn't the right list for these questions. You should
    be sending them to freebsd-questions@freebsd.org instead.

    However, I'll do my best to help you out.

    Features like ext2fs (and, in fact, any file system that you don't want to
    boot off), snd_emu101k, and just about anything that goes in your kernel
    config (there are some notable exceptions, and you shouldn't leave out
    anything that you need to get your machine booting) can be left out of
    your kernel config file and instead loaded as modules.

    When you compile a kernel, it's a bit different to Linux, in that EVERY
    kernel module gets compiled and can (usually) be kldloaded later. This
    means that the compile takes a bit longer but you often don't have to
    recompile to add things like new sound cards or network cards.

    When you're reading the NOTES file, remember to read both
    /usr/src/sys/conf/NOTES and /usr/src/sys/<arch>/conf/NOTES, as there are
    options that are common across architectures (like ALTQ) and then those
    that are specific to various architectures.

    I'm aware that the above doesn't make a whole heap of sense, particularly
    if you come from a Linux kernel background. I learned FreeBSD first, and I
    think it will probably help if you can forget everything you think that
    you know about compiling kernels. Also, I've been at the GNOME 2.10
    Release Party here in Perth, so there may be factual errors in things that
    I've written (listen out for us on LUGRadio, though!)

    Cheers,

    David Adam
    zanchey@ucc.gu.uwa.edu.au

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


  • Next message: h p: "Re: Configuration of current kernel"

    Relevant Pages

    • Re: Distributions
      ... | general there are a lot of packages for people to use. ... kernel, have to run on a multitude of different systems, they tend to be ... and slower than if you compile those packages, ... can have that stability with virtually any distro. ...
      (Debian-User)
    • Re: Distributions
      ... Ubuntu is based on Debian, ... | general there are a lot of packages for people to use. ... kernel, have to run on a multitude of different systems, they tend to be larger ... and slower than if you compile those packages, ...
      (Debian-User)
    • Problems with custom kernel fbsd 6.2
      ... My kernel for freebsd 6.2 is not compiling but only with my custom config. ... I was able to compile it with the GENERIC kernel included, but my modified one will not compile. ... # Power management support ...
      (freebsd-questions)
    • Re: [PATCH] 2.6 workaround for Athlon/Opteron prefetch errata
      ... >optimisations independently of each other', is fairly simple, (in ... >concept), and elegant, (as it lets you compile the most finely tuned ... >Up to now, selecting a CPU to compile for basically means, "Use ... it's silly to include them all in a kernel for a 386. ...
      (Linux-Kernel)
    • [duke@spacebox.net: oops related crash]
      ... 00000000-0009ffff: System RAM ... 00100000-0020c991: Kernel code ... I just got this while trying to compile pciutils - ... oops through ksymoops and I've attached the output. ...
      (Linux-Kernel)