Date: Sat, 13 Jan 1996 12:30:32 +0100 (MET) From: Thomas Graichen <graichen@omega.physik.fu-berlin.de> To: fortinde@dmr.ca (Denis Fortin) Cc: questions@freebsd.org Subject: Re: panic: free: multiple frees [FreeBSD-2.0.5] Message-ID: <199601131130.MAA00278@mordillo> In-Reply-To: <199601112056.PAA08550@poterne.mtl.dmr.ca> from "Denis Fortin" at Jan 11, 96 03:56:33 pm
next in thread | previous in thread | raw e-mail | index | archive | help
hasn't Denis Fortin said ? ...
>
> Greetings,
>
> As the title says, our Internet gateway crashes regularly (almost
> daily), but /var/crash is always bare. Yesterday, one of us was sitting
> at the console when it crashed and saw the following message:
>
> panic: free: multiple frees
>
> followed by a comment indicating that a dump was taking place (but,
> /var/crash was still empty).
>
> This is using FreeBSD 2.0.5.
>
> Any suggestions? (how to get a dump would be nice... I could get them
> in the FreeBSD 1.X days, and the FreeBSD 2.0 days, but with 2.1, I'm not
> sure how to do it (dumpon /dev/sd0b doesn't seem to help!?!))
>
in 2.0.5 some lines for the core-dump stuff were missing in
/etc/[rc,sysconfig] - here are the complete parts from 2.1.0:
/etc/rc:
...
# enable dumpdev so that savecore can see it
if [ "X${dumpdev}" != X"NO" ]; then
dumpon ${dumpdev}
fi
# /var/crash should be a directory or a symbolic link
# to the crash directory if core dumps are to be saved.
if [ "X${savecore}" = X"YES" -a -d /var/crash ]; then
echo -n checking for core dump...
savecore /var/crash
fi
...
/etc/sysconfig (you may have to adjust the device):
...
# Set to the name of the device for kernel crashdumps, or `off' to
# disable any statically configured dumpdev, or NO for no change.
# The device should normally be one of the swap devices specified
# in /etc/fstab.
dumpdev=/dev/wd0b
# Set to YES if you want kernel crashdumps to be saved for debugging
savecore=YES
...
t
_______________________________________________________||___________________
__||
Perfection is reached, not when there is no __|| thomas graichen
longer anything to add, but when there __|| freie universitaet berlin
is no longer anything to take away __|| fachbereich physik
__||
- Antoine de Saint-Exupery - __|| graichen@mail.physik.fu-berlin.de
___________________________||__________________graichen@FreeBSD.org_________
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601131130.MAA00278>
