NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: misc/38425 (savecore confused if getbootfile(3) fails)
The following reply was made to PR misc/38425; it has been noted by GNATS.
From: Tom Spindler <dogcow%babymeat.com@localhost>
To: YAMAMOTO Takashi <yamt%mwd.biglobe.ne.jp@localhost>
Cc: tls%rek.tjls.com@localhost, gnats-bugs%NetBSD.org@localhost,
misc-bug-people%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
simonb%NetBSD.org@localhost
Subject: Re: misc/38425 (savecore confused if getbootfile(3) fails)
Date: Mon, 15 Jun 2009 05:20:55 -0700
> talking about the right solution, savecore should not use /dev/ksyms
> or info from the live kernel at all. we should store necessary info
> in the dump itself. (as freebsd does?)
Well, the only thing that the current booted kernel filename is
used for is in the check_free() routine; if you eliminate that,
savecore works as expected. I'm somewhat tempted to just remove the
func entirely, as these days it's difficult to guess what the size
of the coredump + size of the kernel will actually be - especially
if they're gzipped.
Home |
Main Index |
Thread Index |
Old Index