From owner-freebsd-current@FreeBSD.ORG Wed Sep 29 08:28:45 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86F87106566B; Wed, 29 Sep 2010 08:28:45 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 220AC8FC08; Wed, 29 Sep 2010 08:28:44 +0000 (UTC) Received: by qwd6 with SMTP id 6so434422qwd.13 for ; Wed, 29 Sep 2010 01:28:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=r0mq1Ep7QBUjnbRTStJF8pxeksUC1tELp2UOBIhCu80=; b=wkzEfEeotMzuXC3Y4dyts3eTk3w2hgxrZ+1f7D/6S+WOlj+lE4lCygowpxCHaJR3yO lt9FGqd6ke116276CKfMMIm4cU944QzRDqFNcAKEYdgwRbeV4JO2Ll0WXJWOX4/AddcI jDMpjQTbUTUKlafiqa60hdYHOlbnkvAKswow4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=xXOAxu0dRSZw7zinGg5cPY6yQOApCxmYIhg2SQfnA5Jk0DSiGGyc1TZRD4e78hBrPR HiRsvgEnC6K7d6x4jDadQ0/RWhbYfc/CXd7UB1i1d9bHWV3HkE6stdAOsjm2935WEVaY GeMkz+vO4IGUOrT7pTeTgRr+JcPeLnz+rVEvM= MIME-Version: 1.0 Received: by 10.229.224.137 with SMTP id io9mr941125qcb.206.1285748924152; Wed, 29 Sep 2010 01:28:44 -0700 (PDT) Received: by 10.229.50.8 with HTTP; Wed, 29 Sep 2010 01:28:44 -0700 (PDT) In-Reply-To: References: Date: Wed, 29 Sep 2010 12:28:44 +0400 Message-ID: From: Sergey Kandaurov To: Attilio Rao Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-net@freebsd.org, Ryan Stone , FreeBSD Current , Ed Maste Subject: Re: [PATCH] Netdump for review and testing -- preliminary version X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2010 08:28:45 -0000 [just don't know what namely need to test, so] All made according to your instructions. The only way I could trigger netdump was to run its ddb command by hand. Neither debug.kdb.enter nor debug.kdb.panic don't do it. Some numbers and output (bit verbose but again don't know what need to show here) Entered through debug.kdb.panic, thus Panicstring. db> netdump ----------------------------------- netdump in progress. searching for server.. dumping to xx.xxx.xx.xx (00:1a:64:d3:4f:20) ----------------------------------- Physical memory: 2026 MB Dumping 1154 MB: 1139 1123 1107 1091 1075 1059 1043 1027 1011 995 979 963 947 931 915 899 883 867 851 835 819 803 787 771 755 739 723 707 691 675 659 643 627 611 595 579 563 547 531 515 499 483 467 451 435 419 403 387 371 355 339 323 307 291 275 259 243 227 211 195 179 163 147 131 115 99 83 67 51 35 19 3 Dump complete netdump finished. cancelling normal dump # ls -hl /home/fooserv/crash/ total 1182930 -rw-r--r-- 1 root wheel 404B Sep 29 12:05 info.fooserv.0 -rw-r--r-- 1 root wheel 1.1G Sep 29 12:05 vmcore.fooserv.0 Dump from fooserv [xx.xxx.xx.xx] Architecture: amd64 Architecture version: 2 Dump length: 1210687488B (1154 MB) blocksize: 8192 Dumptime: Wed Sep 29 11:55:30 2010 Hostname: fooserv Versionstring: FreeBSD 9.0-CURRENT #51: Wed Sep 29 07:18:24 UTC 2010 root@fooserv:/usr/obj/usr/src/sys/GENERIC Panicstring: kdb_sysctl_panic Header parity check: Pass Dump complete I tried to netdump a bit later again, but it couldn't find server, which runs though, and client traffic was seen on server-side (w/o reply). db> netdump ----------------------------------- netdump in progress. searching for server.. . . . . . . . . . . . Failed to contact netdump server As for netdumpserv, it misses #include before __FBSDID(); I happily tested it on 7.3-amd64. -- wbr, pluknet