From owner-freebsd-questions@FreeBSD.ORG Mon Aug 3 22:53:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44193106566B for ; Mon, 3 Aug 2009 22:53:06 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id B55408FC08 for ; Mon, 3 Aug 2009 22:53:05 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz2 with SMTP id 2so2602668bwz.43 for ; Mon, 03 Aug 2009 15:53:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=VaNeRDYl79miwLUC/6KYYYruG02HEzsKPSZN/gSmiss=; b=K8cP2+y/2FblD6kXfF45zp4SCjiXLK3AowfzL/1oOi0Gg3c5M821Fa8YtmHcG89Xhv KAjQJw/KsA0LRsbMLI5gn1OS+Rc+9jF0u7V0BmIS3mU/6y1gOGyAwctrBP/J+OSz5NVF RqJwcQ9o8AU3eoixuALmqDdtshScWZ3EftRvM= 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:content-transfer-encoding; b=qh50dS28qTMxvrHJUutNYLHi5KY1PEpAx3hzehPW0KVSEOvGy8RwDDSF+67vnPBUWV RwyMEnQnOXhDZea1TYrA3XsnIo+y2hF9HxCo4kuiH43MIyPAZhEVWCi2dR0MJcxEdmXd LhfgRKiiiCY8qOP7UaGJg7oFzKrsqbxuF9FSE= MIME-Version: 1.0 Received: by 10.223.124.147 with SMTP id u19mr2828492far.28.1249339984293; Mon, 03 Aug 2009 15:53:04 -0700 (PDT) In-Reply-To: <4A7753A0.7040006@vnode.se> References: <4A7753A0.7040006@vnode.se> Date: Mon, 3 Aug 2009 18:53:04 -0400 Message-ID: <4ad871310908031553i7c69708fv9d162514816c3e10@mail.gmail.com> From: Glen Barber To: Joel Dahl Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Weird networking issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2009 22:53:06 -0000 On Mon, Aug 3, 2009 at 5:16 PM, Joel Dahl wrote: > Yesterday I noticed something weird with one of my mail servers (FreeBSD > 7.2), which is located far away from me. =A0At first I thought it was my = mail > client that was misbehaving since a couple of mails that I retrieved from > the server looked...odd. =A0Characters were missing, and the mail headers= were > sometimes (perhaps 1 out of 100 mails) sort of scrambled. > > This server isn't doing anything really useful, except handling a few mai= ls > every day. =A0No load at all and it has been running for a few months wit= hout > any problems. > > Anyway, after some time I realized that Thunderbird probably wasn't the > problem. =A0I discovered that ssh connections suddenly dropped (seems ran= dom) > when I was connected to the server. =A0Often with messages like: > > Received disconnect from x.x.x.x: 2: Bad packet length 3365265859. > > I tried to ping it and I constantly got 5-15% packet loss. =A0The same > symptoms are there if I connect to it from other places, so my home > connection isn't the problem. =A0I get 0 packet loss if I ping the gatewa= y > which the server is behind from my home connection. > > Anyway, while I was connected to the machine (and scratching my head) I d= id > a csup from the server to fetch ports and other stuff, but that failed ev= ery > time, with different messages: > > 1st try: > > =A0Edit ports/Mk/bsd.port.mk > =A0Add delta 1.625 2009.08.03.15.36.58 miwi > =A0Edit ports/UPDATING > =A0Add delta 1.845 2009.08.03.19.08.48 dougb > csup: inflate: invalid stored block lengths > > 2nd try: > > =A0Edit ports/devel/libvc/Makefile > =A0Add delta 1.11 2009.08.02.19.33.28 mezz > =A0Edit ports/devel/libytnef/Makefile > =A0Add delta 1.6 2009.08.02.19.33.28 mezz > Receiver: Protocol error > > 3rd try: > > Edit ports/devel/p5-threads-shared/distinfo > =A0Add delta 1.4 2009.07.22.17.25.14 pgollucci > =A0Edit ports/devel/p5-usb/pkg-plist > =A0Add delta 1.3 2009.07.30.23.04.41 pgollucci > csup: inflate: invalid distance too far back > > Ok. =A0So something is messed up. > > Checked my other server (located at the same place) to see if there were = any > problems (it is running VMware ESXI with 4 virtual machines, all running > FreeBSD 7.2.), but all of the virtual hosts were fine. =A0No packet loss,= no > ssh problems, no nothing. =A0This server is connected to the same switch = and > behind the same gateway. =A0So are also a bunch of Windows servers. =A0No= ne of > them have any problems. > > Checked the logs on my mail server to see if there were anything weird...= and > the logs were filled with this: > > arp: x.x.x.x moved from 00:16:c7:24:69:ae to 00:16:cf:24:69:ae on bge0 > arp: x.x.x.x moved from 00:16:cf:24:69:ae to 00:16:c7:24:69:ae on bge0 > arp: x.x.x.x moved from 00:16:c7:24:69:ae to 00:16:cf:24:69:ae on bge0 > arp: x.x.x.x moved from 00:16:cf:24:69:ae to 00:16:c7:24:69:ae on bge0 > arp: x.x.x.x moved from 00:16:c7:24:69:ae to 00:16:cf:24:69:ae on bge0 > arp: x.x.x.x moved from 00:16:cf:24:69:ae to 00:16:c7:24:69:ae on bge0 > arp: x.x.x.x moved from 00:16:c7:24:69:ae to 00:16:cf:24:69:ae on bge0 > arp: x.x.x.x moved from 00:16:cf:24:69:ae to 00:16:c7:24:69:ae on bge0 > > x.x.x.x is my gateway which all my servers are behind. =A0These messages > started yesterday, about the same time that the problems appeared. > > Any ideas? :-) > I have 2: 1.) Bad NIC 2.) Bad CPU A while back, I found out I had a bad CPU after replacing everything else on the machine -- I would still receive CRC mismatch errors with portsnap(8). The NIC is more probable IMHO, but both should be suspect here. --=20 Glen Barber