Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jun 2010 17:34:40 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        David Rhodus <sdrhodus@gmail.com>
Cc:        current@freebsd.org
Subject:   Re: Auto doadump()
Message-ID:  <20100603173440.d665828d.wmoran@potentialtech.com>
In-Reply-To: <AANLkTilKLPfEfoSfjaXEO4s7L0o5KNHNad7gnFFM6Bjo@mail.gmail.com>
References:  <AANLkTilKLPfEfoSfjaXEO4s7L0o5KNHNad7gnFFM6Bjo@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to David Rhodus <sdrhodus@gmail.com>:

> Is there a rc.conf variable to automatically save core on a panic and reboot ?
> Setting dumpdev="AUTO"  doesn't seem to do the trick.

Did you also set dumpdir?  Is dumpdir set to a location with enough
disk space to hold a kernel dump?  Is the swap device large enough to
hold the entire contents of memory + a little?

The docs are here:
http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/



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