Re: [PATCH] Netdump for review and testing -- preliminary version

From: Sergey Kandaurov <pluknet_at_gmail.com>
Date: Thu, 30 Sep 2010 10:22:45 +0400
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
Received on Thu Sep 30 2010 - 04:22:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:07 UTC