Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 1999 11:56:25 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Greg Hormann <ghormann@ns.kconline.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Errors from savecore/kvm_mkdb (one more try)
Message-ID:  <19990818115624.V7187@freebie.lemis.com>
In-Reply-To: <Pine.BSF.4.05.9908171941430.6631-100000@ns.kconline.com>; from Greg Hormann on Tue, Aug 17, 1999 at 07:45:54PM -0500
References:  <Pine.BSF.4.05.9908171941430.6631-100000@ns.kconline.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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