Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2010 12:28:44 +0400
From:      Sergey Kandaurov <pluknet@gmail.com>
To:        Attilio Rao <attilio@freebsd.org>
Cc:        freebsd-net@freebsd.org, Ryan Stone <rstone@sandvine.com>, FreeBSD Current <current@freebsd.org>, Ed Maste <emaste@sandvine.com>
Subject:   Re: [PATCH] Netdump for review and testing -- preliminary version
Message-ID:  <AANLkTinpvSS7%2B=QKyvOpMjPLaTKi%2BYueOi0dK1wzQTWZ@mail.gmail.com>
In-Reply-To: <AANLkTikA5OUYD1A9pqCqVEZ5qk%2BVECq8x-fnRXnpp0KE@mail.gmail.com>
References:  <AANLkTikA5OUYD1A9pqCqVEZ5qk%2BVECq8x-fnRXnpp0KE@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[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 <sys/cdefs.h> before __FBSDID();
I happily tested it on 7.3-amd64.

-- 
wbr,
pluknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinpvSS7%2B=QKyvOpMjPLaTKi%2BYueOi0dK1wzQTWZ>