Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 2010 10:22:45 +0400
From:      Sergey Kandaurov <pluknet@gmail.com>
To:        Ryan Stone <rysto32@gmail.com>
Cc:        attilio@freebsd.org, FreeBSD Current <current@freebsd.org>
Subject:   Re: [PATCH] Netdump for review and testing -- preliminary version
Message-ID:  <AANLkTimNO8snKZG5cqM_YdaQm%2BLri6C_Dpr0d1boM-Ac@mail.gmail.com>
In-Reply-To: <AANLkTimNakivzwG8j=vB6TxevOtznanFT7XXUp2OZG2U@mail.gmail.com>
References:  <AANLkTikA5OUYD1A9pqCqVEZ5qk%2BVECq8x-fnRXnpp0KE@mail.gmail.com> <AANLkTinpvSS7%2B=QKyvOpMjPLaTKi%2BYueOi0dK1wzQTWZ@mail.gmail.com> <AANLkTikcSYY_3jT8sMJHRSn%2BxWh5fuPK3wide0JRd=7p@mail.gmail.com> <AANLkTi=cBZWVtQFbEyBdBxhysYW7tXsL_bdi7dNSmGgY@mail.gmail.com> <AANLkTimNakivzwG8j=vB6TxevOtznanFT7XXUp2OZG2U@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimNO8snKZG5cqM_YdaQm%2BLri6C_Dpr0d1boM-Ac>