Hi, > > Typing "call doadump" in the kernel debugger does work. Is there no way to > > have the kernel automatically do a dump when the system panics and there > > is no debugger compiled in? > > That should be the default behavior if a dumpdev is set (in rc.conf with > "dumpdev" or manually with the dumpon(8) command). This is a little bit off-topic, but I set the rc.conf(5) dumpdev variable to "AUTO". This should work (this is from rc.d/dumpon) : %%% case ${dumpdev} in [Nn][Oo] | '') ;; [Aa][Uu][Tt][Oo]) while read dev mp type more ; do [ "${type}" = "swap" ] || continue [ -c "${dev}" ] || continue if /sbin/dumpon -v "${dev}" 2>/dev/null; then # Make a symlink in devfs for savecore ln -s ${dev} /dev/dumpdev return 0 fi done </etc/fstab %%% Nevertheless, when my box panices, it drops to DDB and I always need to call doadump() manually. Regards, -- Jeremie Le Hen jeremie at le-hen dot orgReceived on Tue Mar 08 2005 - 06:33:32 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:29 UTC