From owner-freebsd-current@FreeBSD.ORG Thu Feb 21 07:54:48 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F77B16A407 for ; Thu, 21 Feb 2008 07:54:48 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.freebsd.org (Postfix) with ESMTP id 1423F13C469 for ; Thu, 21 Feb 2008 07:54:47 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so3595391pyb.10 for ; Wed, 20 Feb 2008 23:54:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=L9WxZFd5TFduqufZhgq8xr5fQN/iYOfGo0V1+AUVczE=; b=Y+mw4qsNhDTO/tS+a3o5UoAAxQXlRysJbY9ixJxrfmlfoGKfRdiB6CCy9v4HvR66CSzIJ/1QVNvHHMxRZtCA/Hc5m3av7Xgwvns1xttj0TdYTt+JnG+XaBmE5te+2z0dcNZiNUN8XOtnHyGqU/TlyfLvW5r2tOjA21odCuKo99Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=tTNwEiYslSAvprvI/gIn04ibW1emvTIB/36xOEbtC3A098UWBgDWMOSqa5i8SYs0tNAS+AEhM+vmAfCp7vducGpQjrfhftqWe0+EVNzIqux5xzXr5skPi4R76809vFm6fEAlYBc0SBe2KuHpcBZzPaB90ahu0i1G+VsJao/U4sk= Received: by 10.142.214.5 with SMTP id m5mr7352737wfg.51.1203580486640; Wed, 20 Feb 2008 23:54:46 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id 30sm24547629wff.11.2008.02.20.23.54.43 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Feb 2008 23:54:45 -0800 (PST) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m1L7se4E027777 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 Feb 2008 16:54:40 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m1L7sco4027776; Thu, 21 Feb 2008 16:54:38 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Thu, 21 Feb 2008 16:54:38 +0900 From: Pyun YongHyeon To: Niki Denev Message-ID: <20080221075438.GD26427@cdnetworks.co.kr> References: <1203570954.1696.2.camel@localhost> <2e77fc10802202343j2ac419bay89a2442a4832b2d@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2e77fc10802202343j2ac419bay89a2442a4832b2d@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: FreeBSD Current , "Eric L. Chen" , Robert Backhaus Subject: Re: Packet corruption in re0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2008 07:54:48 -0000 On Thu, Feb 21, 2008 at 07:43:18AM +0000, Niki Denev wrote: > On Thu, Feb 21, 2008 at 5:15 AM, Eric L. Chen wrote: > > > > > > On Thu, 2008-02-21 at 11:03 +1000, Robert Backhaus wrote: > > > I am experiencing roughly 15% packet corruption on the re interface on > > > my freebsd 7/amd64 box. > > > > > > FreeBSD gw.flexi.robbak.com 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #8: > > > Tue Feb 5 09:49:55 EST 2008 > > > root@gw.flexi.robbak.com:/usr/obj/usr/src/sys/GW amd64 > > > > > > The attached 3 files demonstrate the problem: "ping" shows the output > > > of ping -c 100, and shows 15% packet loss. "tcpdump" shows the packets > > > leaving, and some of the lost packets being returned with addresses, > > > ports and data corrupted. The data in these packets seems to be coming > > > from other packets passing through other interfaces at the time. > > > "remote-tcpdump" shows the packets being received and returned from > > > the other machine. Note that some packets are being corrupted on the > > > way out, too. > > > > > > Just to make troubleshooting difficult, this problem only shows up > > > after the system has been up for roughly 36 hours, depending on the > > > amount of traffic. > > > > > > I am using the latest bios that I am aware of. The bios that I > > > recently applied did include a firmware update for the realtek > > > interface, but this did not affect the problem. > > > _______________________________________________ > > > > I disabled some hw features and works fine. > > like this (/etc/rc.conf) > > ifconfig_re0="inet 192.168.1.10 netmask 255.255.255.0 -rxcsum -txcsum > > -tso -lr > > o" > > > > /Eric > > > > I experienced the same problems shortly after upgrading to 7.0-PRE > After about a day and something of uptime my ssh shells began to drop > with messages about corrupted/mismatched checksums. > I "fixed" the problem by putting an em(4) interface in the machine, > because I need it to be online and accessible remotely at all times. > There had been several bus_dma(9) related bugs in re(4) for a long time and I guess I fixed most of them. Hiding actual bugs by replacing interfaces is not a good way to fix root cause of the issue. If you can reproduce above issues in HEAD please let me know. -- Regards, Pyun YongHyeon