From owner-freebsd-questions Tue Aug 17 19:26:27 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id DB58E14C96 for ; Tue, 17 Aug 1999 19:26:18 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id LAA14808; Wed, 18 Aug 1999 11:56:26 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id LAA14814; Wed, 18 Aug 1999 11:56:25 +0930 (CST) Date: Wed, 18 Aug 1999 11:56:25 +0930 From: Greg Lehey To: Greg Hormann Cc: questions@FreeBSD.ORG Subject: Re: Errors from savecore/kvm_mkdb (one more try) Message-ID: <19990818115624.V7187@freebie.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Greg Hormann on Tue, Aug 17, 1999 at 07:45:54PM -0500 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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