[PATCH] Netdump for review and testing -- preliminary version
Sergey Kandaurov
pluknet at gmail.com
Thu Sep 30 06:22:47 UTC 2010
The 1st error is caught :).
Prior actions was triggering netdump, leaving db>
and entering again, then trigger netdump once more.
Dumping 1146 MB: 1131 1115 1099 1083 1067 1051 1035 1019 1003 987 971
955 939 923 907 891 875 859 843 827 811 795. . . . . . . . . . .
** DUMP FAILED (ERROR 60) **
Failed to dump the actual raw datas
Then I was able to leave ddb back to the working system.
P.S.
What about to start netdumpsrv from rc.d ? It's very simple.
%%%
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: netdumpsrv
# REQUIRE: NETWORKING
# KEYWORD: shutdown
. /etc/rc.subr
name="netdumpsrv"
rcvar=`set_rcvar`
command="/usr/sbin/${name}"
pidfile="/var/run/${name}.pid"
load_rc_config $name
run_rc_command "$1"
%%%
--
wbr,
pluknet
More information about the freebsd-current
mailing list