Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2008 15:40:48 -0400 (EDT)
From:      Mike Andrews <mandrews@fark.com>
To:        Jeremy Chadwick <koitsu@freebsd.org>
Cc:        Damian Weber <dweber@htw-saarland.de>, freebsd-stable@freebsd.org
Subject:   Re: RELENG_6_3 ping and DUP packets
Message-ID:  <20080411153109.I22573@beast.int.bit0.com>
In-Reply-To: <20080411065256.GA95213@eos.sc1.parodius.com>
References:  <396418019.20080409104542@serebryakov.spb.ru> <5f67a8c40804100944k3984ab8fp95b5d4b22f92dd30@mail.gmail.com> <Pine.BSO.4.64.0804102140550.30252@isl-s-02.htw-saarland.de> <C73D9407-5492-43F4-9BE6-E05C98661107@mac.com> <Pine.BSO.4.64.0804110842280.21736@isl-s-02.htw-saarland.de> <20080411065256.GA95213@eos.sc1.parodius.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 10 Apr 2008, Jeremy Chadwick wrote:

> On Fri, Apr 11, 2008 at 08:48:10AM +0200, Damian Weber wrote:
>>> From: Chuck Swiger <cswiger@mac.com>
>>> To: Damian Weber <dweber@htw-saarland.de>
>>> 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.

FYI, this did NOT solve it for me, even though it did solve it for the 
original poster.  But I did find the solution for my system...

While rebooting to try disabling MSI, I noticed that the machine was still 
pingable during the reboot (and returning just one response each), while 
the thing was still doing its POST routines -- which of course made me do 
a few double-takes, given that the FreeBSD kernel wasn't even running :) 
Weirder is that the responses all had the bogus 255 TTL that the dupes had 
when the system was up.  Once the system did finish booting, the dupes 
returned.

Turns out this Intel S3000AHV motherboard has a built-in management 
thingie that's kind of IPMI-ish but apparently not quite actually IPMI (at 
least ipmitool and freeipmi want nothing to do with it).  Somehow it had 
gotten itself enabled and was pulling an IP from the DHCP server, and 
bridging itself through the onboard LAN.  So ping replies were coming from 
both the management CPU and the main CPU when the system was up, and just 
the management CPU when the system was down.  The reason the other Intel 
S3000AH* system I have didn't do this is because that other system just 
happens to be the DHCP server for its subnet -- and the reason the other 
systems w/ the same chipset didn't do it is because they're all Supermicro 
boxes with different management CPU's.

So, yeah, short version, goofy pilot error, nothing wrong with FreeBSD, at 
least in RELENG_7.  Maybe there's an MSI issue in RELENG_6_3 though that 
the original poster was hitting, but at least in my case that wasn't it.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080411153109.I22573>