From owner-freebsd-arch Thu Nov 9 11:20:54 2000 Delivered-To: freebsd-arch@freebsd.org Received: from earth.backplane.com (placeholder-dcat-1076843399.broadbandoffice.net [64.47.83.135]) by hub.freebsd.org (Postfix) with ESMTP id 3075737B479 for ; Thu, 9 Nov 2000 11:20:52 -0800 (PST) Received: (from dillon@localhost) by earth.backplane.com (8.11.1/8.9.3) id eA9JKos10894; Thu, 9 Nov 2000 11:20:50 -0800 (PST) (envelope-from dillon) Date: Thu, 9 Nov 2000 11:20:50 -0800 (PST) From: Matt Dillon Message-Id: <200011091920.eA9JKos10894@earth.backplane.com> To: Warner Losh Cc: arch@FreeBSD.ORG Subject: Re: Silly question References: <200011091906.eA9J6Ms10566@earth.backplane.com> <200011091903.MAA43016@harmony.village.org> <200011091911.MAA43086@harmony.village.org> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :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