Date: Mon, 15 Mar 2021 12:06:37 +0300 From: Mamontov Roman <mr.xanto@gmail.com> To: "Alexander V. Chernikov" <melifaro@ipfw.ru> Cc: FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Re: Troubles with netdump(4) Message-ID: <184858182.20210315120637@gmail.com> In-Reply-To: <44FCBDFB-8962-4F5D-BFCE-682662524245@ipfw.ru> References: <1903978782.20210310130715@gmail.com> <44FCBDFB-8962-4F5D-BFCE-682662524245@ipfw.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
=0D=0A>> Next =A0I =A0try =A0netdumping =A0to =A0another =A0FreeBSD-host = =A0(virtual machine on VMWare=20 >> hypervisor): >> root@host-3:~ # uname -mv >> FreeBSD 12.2-STABLE r369412 GENERIC =A0amd64 >> root@host-3:~ # ifconfig em0 >> em0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1= 500 >> =A0 =A0 =A0 =A0options=3D81009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VL= AN_HWCSUM,VLAN_HWFILTER> >> =A0 =A0 =A0 =A0inet 192.168.7.18 netmask 0xffffff00 broadcast 192.168.7.= 255 >> =A0 =A0 =A0 =A0media: Ethernet autoselect (1000baseT <full-duplex>) >> =A0 =A0 =A0 =A0status: active >> =A0 =A0 =A0 =A0nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> >> root@host-3:~ # >>=20 >> And netdumping to this host are still slow (~the same 5KB/s).=20 >>=20 >> Next step another FreeBSD-host (virtual machine on VirtualBox hypevisor): >> root@host-4:~ # uname -mv >> FreeBSD 12.2-STABLE r369412 GENERIC =A0amd64 >> root@host-4:~ # ifconfig em0 >> em0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1= 500 >> =A0 =A0 =A0 =A0options=3D81009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VL= AN_HWCSUM,VLAN_HWFILTER> >> =A0 =A0 =A0 =A0inet 192.168.7.19 netmask 0xffffff00 broadcast 192.168.7.= 255 >> =A0 =A0 =A0 =A0media: Ethernet autoselect (1000baseT <full-duplex>) >> =A0 =A0 =A0 =A0status: active >> =A0 =A0 =A0 =A0nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> >> root@host-4:~ # >>=20 >> Both (host-3 and host-4) are installed from FreeBSD-12.2-STABLE-amd64-20= 210304-r369412-bootonly.iso >> When =A0I =A0caused =A0a =A0kernel panic by sysctl debug.kdb.panic on ho= st-4, netdumping to=20 >> host-3 show the same 5 KB/s. > netdump requires explicit acks from the other side. > Could you try dumping the exchange between the dumping host and the serve= r to > verify that acks are sent immediately after receiving the next chunk? Sure. There is a dump: https://disk.yandex.ru/d/i27n1m-I80DaEg What should be tuned: netdumpd, netdumpd-host or something else? Now I can't completely done netdump: there frequenly error: ** DUMP FAILED (ERROR 60) ** Cannot dump: unknown error (error=3D60). and panic inside iflib: https://pastebin.com/1BTTjGLJ
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?184858182.20210315120637>