From owner-freebsd-stable@FreeBSD.ORG Fri Apr 11 09:51:23 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E928106564A for ; Fri, 11 Apr 2008 09:51:23 +0000 (UTC) (envelope-from dweber@htw-saarland.de) Received: from triton.rz.uni-saarland.de (triton.rz.uni-saarland.de [134.96.7.25]) by mx1.freebsd.org (Postfix) with ESMTP id 17B738FC17 for ; Fri, 11 Apr 2008 09:51:22 +0000 (UTC) (envelope-from dweber@htw-saarland.de) Received: from zdve-mailx.htw-saarland.de (zdve-mailx.htw-saarland.de [134.96.208.108]) by triton.rz.uni-saarland.de (8.14.1/8.14.0) with ESMTP id m3B9pKB6015004; Fri, 11 Apr 2008 11:51:20 +0200 Received: from isl-s-02.htw-saarland.de (isl-s-02.htw-saarland.de [134.96.216.92]) by zdve-mailx.htw-saarland.de (8.13.8/8.13.8) with ESMTP id m3B9pKLD011685; Fri, 11 Apr 2008 11:51:20 +0200 (CEST) Date: Fri, 11 Apr 2008 11:51:15 +0200 (CEST) From: Damian Weber To: freebsd-stable@freebsd.org In-Reply-To: <20080411065256.GA95213@eos.sc1.parodius.com> Message-ID: References: <396418019.20080409104542@serebryakov.spb.ru> <5f67a8c40804100944k3984ab8fp95b5d4b22f92dd30@mail.gmail.com> <20080411065256.GA95213@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: ClamAV version 0.92.1, clamav-milter version 0.92.1 on zdve-mailx X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (triton.rz.uni-saarland.de [134.96.7.25]); Fri, 11 Apr 2008 11:51:20 +0200 (CEST) X-AntiVirus: checked by AntiVir MailGate (version: 2.1.2-14; AVE: 7.6.0.84; VDF: 7.0.3.152; host: AntiVir3) Cc: Jeremy Chadwick Subject: Re: RELENG_6_3 ping and DUP packets X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2008 09:51:23 -0000 On Thu, 10 Apr 2008, Jeremy Chadwick wrote: > Date: Thu, 10 Apr 2008 23:52:56 -0700 > From: Jeremy Chadwick > To: Damian Weber > Cc: freebsd-stable@freebsd.org > Subject: Re: RELENG_6_3 ping and DUP packets > > On Fri, Apr 11, 2008 at 08:48:10AM +0200, Damian Weber wrote: > > > From: Chuck Swiger > > > To: Damian Weber > > > Cc: freebsd-stable@freebsd.org > > > Subject: Re: RELENG_6_3 ping and DUP packets > > > > > > On Apr 10, 2008, at 1:58 PM, Damian Weber wrote: > > > > But here is the problem, pinging the machine from remote gives > > > > > > > > A.B.C.X$ ping A.B.C.D > > > > PING A.B.C.D (A.B.C.D): 56 data bytes > > > > 64 bytes from A.B.C.D: icmp_seq=0 ttl=64 time=0.272 ms > > > > 64 bytes from A.B.C.D: icmp_seq=0 ttl=255 time=0.391 ms (DUP!) > > > > > > Please run "tcpdump -e icmp" on this box and repeat your testing. It > > > will be most interesting to know whether you're seeing the same MAC > > > address.... > > > > good point, but it's the same > > > > A.B.C.X# tcpdump -e icmp > > tcpdump: listening on rl0, link-type EN10MB > > 08:41:51.136023 0:20:ed:5f:3:3b 0:19:99:33:7c:9 ip 98: A.B.C.X > A.B.C.D: icmp: echo request > > 08:41:51.136171 0:19:99:33:7c:9 0:20:ed:5f:3:3b ip 98: A.B.C.D: icmp: echo reply > > 08:41:51.136343 0:19:99:33:7c:9 0:20:ed:5f:3:3b ip 98: A.B.C.D: icmp: echo reply > > 08:41:52.138366 0:20:ed:5f:3:3b 0:19:99:33:7c:9 ip 98: A.B.C.X > A.B.C.D: icmp: echo request > > 08:41:52.138447 0:19:99:33:7c:9 0:20:ed:5f:3:3b ip 98: A.B.C.D: icmp: echo reply > > 08:41:52.138692 0:19:99:33:7c:9 0:20:ed:5f:3:3b ip 98: A.B.C.D: icmp: echo reply > > ^C > > 169 packets received by filter > > 0 packets dropped by kernel > > Possibly an interrupt is being called twice on the same packet? > > Shot in the dark, but try disabling MSI/MSI-X and see if the problem > recurs. Put this in /boot/loader.conf: > > hw.pci.enable_msi="0" > hw.pci.enable_msix="0" > > Reboot, and see if the problem continues. Bingo! No duplicates anymore. Is this considered as a permanent solution or just a "hack"? In any case, I've summarized it on http://www-crypto.htw-saarland.de/weber/misc/unix/freebsd-dup-packets/ including the output of the mptable command (MSI disabled/enabled). Thanks a lot, Damian