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

From: Dimitry Andric (dimitry_at_andric.com)
Date: 10/20/04

  • Next message: Matthew Dillon: "Re: [Fwd: What do people think about not installing a stripped /kernel ?]"
    Date: Wed, 20 Oct 2004 23:11:04 +0200
    To: Scott Long <scottl@freebsd.org>
    
    
    

    On 2004-10-20 at 21:47:20 Scott Long wrote:

    > I tend to agree. What do you think of my proposal to have installkernel
    > (optionally or whatever) put unstriped binaries somewhere outside of the
    > root partition?

    Yes, that is a very nice solution, although you also might say that
    having "two versions" of the same kernel file could be confusing
    (and/or wasteful). Also, please note that you might want debug
    versions of all kernel modules in the same place, since those can
    cause crashes too, alas.

    May I suggest /var/crash as a possible location? :) Since you'll be
    looking in there anyway if you need to debug a crash dump.

    (On the other hand, I've been installing debug kernels for the past
    year or so, always using make installkernel.debug, and then renaming
    all /boot/kernel/*.debug files to their basenames, but this is rather
    cumbersome. However, you always have all debugging info in one
    place.)

    
    



  • Next message: Matthew Dillon: "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 ?]
      ... having "two versions" of the same kernel file could be confusing ... versions of all kernel modules in the same place, ... looking in there anyway if you need to debug a crash dump. ...
      (freebsd-current)
    • [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)
    • Re: Error 4309 returned when writing files
      ... kernel (or at least debug version of filesys) and enable all debug zones ... I enabled KITL and the kernel debugger in my retail build and set ... on Sector 4040 ...
      (microsoft.public.windowsce.platbuilder)
    • Re: Capturing debug messages using CeLog on a release terminal
      ... Don't set the shipbuild flag in your retail kernel (because it will #define RETAILMSG and DEBUGMSG into nirvana) and don't set Enable CE Target control and don't set Enable Kernel Debugger. ... I'm not entirely sure if DEBUGMSGs (as opposed to RETAILMSGs) still work when replacing dll's in a retail build with their debug counterparts. ...
      (microsoft.public.windowsce.platbuilder)
    • [tip:x86/doc] x86/doc: mini-howto for using earlyprintk=dbgp
      ... +USB2 Debug port key and a debug cable, ... Host/target system needs to have USB debug port capability. ... You need to enable the following kernel config option: ...
      (Linux-Kernel)

  • Quantcast