From owner-cvs-all Mon Sep 14 07:36:35 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA12699 for cvs-all-outgoing; Mon, 14 Sep 1998 07:36:35 -0700 (PDT) (envelope-from owner-cvs-all) Received: from korin.warman.org.pl (korin.nask.waw.pl [148.81.160.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA12645; Mon, 14 Sep 1998 07:36:10 -0700 (PDT) (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.9.1/8.8.5) with SMTP id PAA04200; Mon, 14 Sep 1998 15:26:22 +0200 (CEST) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Mon, 14 Sep 1998 15:26:21 +0200 (CEST) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: Peter Wemm cc: Poul-Henning Kamp , Andrzej Bialecki , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/i386/i386 machdep.c In-Reply-To: <199809141225.UAA10464@spinner.netplex.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 14 Sep 1998, Peter Wemm wrote: > Poul-Henning Kamp wrote: > > In message <199809141147.EAA18800@freefall.freebsd.org>, Andrzej Bialecki wri > te > > s: > > >abial 1998/09/14 04:47:41 PDT > > > > > > Modified files: > > > sys/i386/i386 machdep.c > > > Log: > > > This implements retrieving the contents of message buffer via sysctl(3) > > > as "machdep.msgbuf". It's needed in case of using stripped kernels, where > > > normal dmesg (which has to use kvm) doesn't work. > > > > > > The buffer is unwound, meaning that the data will be linear, possibly > > > with some leading NULLs. > > > > Now dmesg should be changed to use this interface, so that one less > > program needs access to /dev/kmem... > > I've found dmesg's ability to extract the msgbuf from a crashdump to be > invalueable.. ie: "dmesg -N kernel.41 -M vmcore.41". It would be a shame > to loose this ability without some other replacement. The same goes for > ps(1). Me too. When this sysctl started working, I thought I'd suggest the same what Poul-Hennig suggested, but then looked at the manpage... Andrzej Bialecki -------------------- ++-------++ ------------------------------------- ||PicoBSD|| FreeBSD in your pocket? Go and see: Research & Academic |+-------+| "Small & Embedded FreeBSD" Network in Poland | |TT~~~| | http://www.freebsd.org/~picobsd/ -------------------- ~-+==---+-+ -------------------------------------