Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Nov 2000 11:20:50 -0800 (PST)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        Warner Losh <imp@village.org>
Cc:        arch@FreeBSD.ORG
Subject:   Re: Silly question 
Message-ID:  <200011091920.eA9JKos10894@earth.backplane.com>
References:  <200011091906.eA9J6Ms10566@earth.backplane.com>  <200011091903.MAA43016@harmony.village.org>  <200011091911.MAA43086@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
:ps, top and all that seems to work with a compressed kernel (just
:tried it).  When the system makes a crash dump, doesn't it just splat
:memory into the swap partition in a rather stupid way?  I don't know
:about other programs, but I do know that top just uses kvm_open to get
:its kernel variable needs met.
:
:Warner

    It sounds like it could be made to work.  I don't think we should
    do it by default because you'd still have to gunzip the kernel to
    get anything useful out of it when working on crashdumps, but I can
    see a definite use for a kernel config option to install a compressed
    kernel.  It's one of those things that would have mattered a few years
    ago, but isn't much of an issue now and will be even less of one in 
    the future.

    In fact, something I think would be even more useful to those of us
    who debug crash dumps a lot would be to have a configuration option
    to install a full debug kernel in / rather then a stripped kernel,
    so the crash recovery code copies the full debug kernel into
    /var/crash.  If I forget to copy it manually my crash dumps become
    useless (in regards to gdb'ing them) when I install new kernels.


						-Matt



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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