5.4 kernel crashdump not consistently working
kris at obsecurity.org
Fri Dec 1 12:22:37 PST 2006
On Fri, Dec 01, 2006 at 11:48:06AM -0800, Cheng Jin wrote:
> i have run into this strange problem of kernel crashdump not
> working consistently under FreeBSd 5.4. we have bunch of development
> machines with identical physical configurations, and every one of
> them is setup to save the vmcore after a panic. The difference
> as far as i could tell is the FreeBSD 5.4 version, which
> different people installed using different methods, CD, network, CVS...
> I followed the instructions found on the official FreeBSD site
> as far as i could tell.
> including in the kernel config file the following options
> options DDB
> options KDB
> options GDB
> options KDB_UNATTENDED
> include in the /etc/rc.conf file
> dumpdev="/dev/ad0s1b" # 2GB swap partition with 1GB of physical memory
> dumpdir="/usr/crash" #
> and making sure the dir exists
> crashdump works on some of these machines, but not on others, and
> on those that don't work, i just see
> Dumping 1014MB
> and the system just sits there. I added a printf line into the
> dumpsys function, and it seems that it just loops without ever
> writing anything to disk. for those that are curious about the
> details, the variables "i", "mb" are always just zero, "count goes
> up everytime i press a key, and "va" stays at the same memory
> address, and left never decreases.
> Comments would be greatly appreciated.
Some disk drivers seem to have problems dumping (each driver has its
own dump routine so there is scope for bugs especially on less
commonly used devices). Try a later version of FreeBSD, e.g. 6.1 or
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20061201/779946c2/attachment.pgp
More information about the freebsd-questions