From owner-freebsd-questions Wed Aug 18 4:17:35 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns.kconline.com (ns.kconline.com [207.51.167.3]) by hub.freebsd.org (Postfix) with ESMTP id 8E1DB156CB for ; Wed, 18 Aug 1999 04:17:23 -0700 (PDT) (envelope-from ghormann@ns.kconline.com) Received: from localhost (ghormann@localhost) by ns.kconline.com (8.9.3/8.8.5) with ESMTP id GAA34975; Wed, 18 Aug 1999 06:17:48 -0500 (EST) Date: Wed, 18 Aug 1999 06:17:48 -0500 (EST) From: Greg Hormann To: grog@lemis.com Cc: questions@FreeBSD.ORG Subject: Re: Errors from savecore/kvm_mkdb (one more try) (fwd) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG That was it! Thanks, Greg. > > On Tuesday, 17 August 1999 at 19:45:54 -0500, Greg Hormann wrote: > > > > > > Didn't get any responses the first time. > > > > ------ > > > > I have a 3.1R "play" box at home that panics about once a week. I decided > > to try and save a dump file, so I followed directions in Chapter 22 of > > the Handbook. (After 5 years of owning and working on a FreeBSD servers, > > I have *never* needed a dump file before. Gota love stability.) > > > > Specificly, I used "config -g", set dumpdev="/dev/wd1s1b" in rc.conf, > > compiled the kernel, saved a copy as /kernel.debug, stripped it with > > "strip -g kernel" then did a "make install." > > > > On boot, 2 error messages appeared which bothered me. Couldn't find an > > info in handbook, man pages, or mail archives. These anything to be > > worried about? > > > > savecore /kernel _dumpdev not in namelist > > ... > > kvmm_mkdb: /kernel stripped inappropriate file type or format > > > > Also top didn't work complaining that nlist wasn't defined. > > > > What did I do wrong? > > I'd guess that you forgot the -g on the 'strip' command. Try this: > > $ nm /kernel|grep dumpdev > kernel: no symbols > > If you get the 'no symbols' message, then you've accidentally stripped > the kernel completely. In that case, go back and re-strip the kernel > with -g and reinstall it. You don't need to reboot. You will need to > reissue the 'dumpon' command (tell it the name of the dump device). > > Greg > -- > When replying to this message, please copy the original recipients. > For more information, see http://www.lemis.com/questions.html > See complete headers for address, home page and phone numbers > finger grog@lemis.com for PGP public key > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message