Re: [Fwd: What do people think about not installing a stripped /kernel ?]

From: Matthew Dillon (dillon_at_apollo.backplane.com)
Date: 10/20/04

  • Next message: Garance A Drosihn: "Re: [Fwd: What do people think about not installing a stripped /kernel ?]"
    Date: Wed, 20 Oct 2004 14:29:48 -0700 (PDT)
    To: Julian Elischer <julian@elischer.org>
    
    

        The key point here, folks, is the KISS principle. The idea is to make
        life easier for (1) inexperienced BSD users especially those who are
        doing new installs from scratch and (2) the developers that have to field
        bug reports from the former, and (3) To do it without adding more confusion
        or complication to the installation operation or the recovery/savecore
        operation or the directory layout. God knows you have enough of that
        already. savecore already copies /kernel to /var/crash, I'm just making
        it copy a kernel with debug symbols for convenience. People already gdb
        running kernels, I'm just making it easier to do so without having to
        save a separate copy of the kernel.debug somewhere else where it winds
        up getting out of sync with what is actually running. We already have to
        field lots of bug reports from users who know enough to get a core, but
        don't have a useful kernel to debug the core with. This saves a step.
        In fact, we enable core dumps in our installs now and once we fix up
        /var/crash's size (for new installs), even total newbies will be able to
        provide useful cores to us.

        That is what is being addressed here.

        The idea is decidedly NOT to hack things to pieces with alternative
        debug files that will confuse more people then it helps, even if you
        do make 'savecore' do the right thing. And the idea is most decidedly
        NOT to make things easier for the *experienced* developers who cannot
        otherwise be bothered to add a simple option to their kernel config
        to revert to a stripped install if space is an issue, or add a single
        strip command to their full custom flash card installer, or things of
        that ilk. Those are really silly arguments IMHO.

        In anycase, the only real issue vis-a-vie FreeBSD is the space
        consideration on your CDs, and that only effects the decision whether
        to include a debug kernel on the CD or a stripped kernel on the CD and
        doesn't really prevent implementation of the idea generally. As Julian
        said (and I brought this up on our lists too), it's easy enough for the
        installer to strip the kernel it installs. I would strongly recommend
        making the room, because a release CD hits the target audience for this
        square on the peg. We've been going with packageless and sourceless
        release CDs and only one or two people grumbled about having to download
        things over a modem, and even those had downloaded the ISO over their
        modem so it wouldn't even have helped to include them on the CD.

        pkg_add -r is your friend, and the internet is now far more wide-spread
        then it was a decade ago. Maybe the time is ripe for the change in your
        HEAD.

                                                    -Matt

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


  • Next message: Garance A Drosihn: "Re: [Fwd: What do people think about not installing a stripped /kernel ?]"

    Relevant Pages

    • Re: [Fwd: What do people think about not installing a stripped /kernel ?]
      ... it copy a kernel with debug symbols for convenience. ... don't have a useful kernel to debug the core with. ... we enable core dumps in our installs now and once we fix up ...
      (freebsd-current)
    • Fedora Core 3 Kernel 2.6.12-1.1381_FC3
      ... It installs and works fine w/kernel 2.6.9-1.667 either smp or or not. ... But all my other clients are on the latest kernel 2.6.12-1.1387 so I would like to update this one as well. ... The original kernel sees the disk just fine but when I upgrade the kernel it seems like it can't see the disk at all. ... There seems to be problem with the resources but it only happens with the new Core 3 kernel. ...
      (Fedora)
    • Re: 6.2-STABLE => 7.0-STABLE Upgrade root partition more full
      ... Filesystem 1K-blocks Used Avail Capacity Mounted on ... installs debugging symbols for the kernel and modules by default. ... problems as long as you don't need to debug the kernel. ...
      (freebsd-stable)
    • Re: 6.2-STABLE => 7.0-STABLE Upgrade root partition more full
      ... Filesystem 1K-blocks Used Avail Capacity Mounted on ... installs debugging symbols for the kernel and modules by default. ... problems as long as you don't need to debug the kernel. ...
      (freebsd-stable)
    • [patch 1/2] infrastructure to debug (dynamic) objects
      ... problem spot are kernel timers, where the detection of the problem ... While working on a timer related bug report I had to hack in ... This debug hack was fine for temporary use, ...
      (Linux-Kernel)