From owner-freebsd-amd64@FreeBSD.ORG Fri Dec 28 00:46:38 2007 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD28416A418 for ; Fri, 28 Dec 2007 00:46:38 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9C8B513C447 for ; Fri, 28 Dec 2007 00:46:38 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so5413972waf.3 for ; Thu, 27 Dec 2007 16:46:38 -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=XpzDKX7fklbWi4KKT0AuAjjJzr1275AzYdt+4EE+gD0=; b=sPDv4qPGOInXP/nxt7khN9nVTaxcOgrEYEqkZSCraK+cEAtLOu/g/2Og0/qJLrEkzdw88axnPjXpN1g31Lt6wPVFkmRJDcM8Yf5rTzv7yjWxwb7a8LMCcMwSsbwg4aVjOr7ylD14oYjv/1ax+8NjP0AWzMc4GY0NusKMgZW46kg= 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=cL8KaHvF2Nr0pmkVpv30nwkWgXhMimfnqyvdySrH/yL9QHNbs/KO/a1lyWuW0+OfWjBX3UHpeW3PWEm1XE8D0iw217h21jSpeO5g3tODMWAwkwOy3O63a8yrnvwAq9n+heMmQYCy6w5KGpJ9LfntwJAw3zZ0ryi9iI3QOdAPP74= Received: by 10.114.14.1 with SMTP id 1mr7189384wan.9.1198801254281; Thu, 27 Dec 2007 16:20:54 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id k23sm4376449waf.15.2007.12.27.16.20.51 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 27 Dec 2007 16:20:52 -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 lBS0K3tI009100 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 Dec 2007 09:20:03 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id lBS0K12u009099; Fri, 28 Dec 2007 09:20:01 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Fri, 28 Dec 2007 09:20:01 +0900 From: Pyun YongHyeon To: Torfinn Ingolfsen Message-ID: <20071228002001.GA8872@cdnetworks.co.kr> References: <1825008839.105809.1198750560154.JavaMail.nobody@mail54.abv.bg> <20071227162155.9a9bd2f1.torfinn.ingolfsen@broadpark.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071227162155.9a9bd2f1.torfinn.ingolfsen@broadpark.no> User-Agent: Mutt/1.4.2.1i Cc: freebsd-amd64@freebsd.org Subject: Re: amd64/119047: Not correct working RealTek 8168/8111B PCIe Gigabit Ethernet X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2007 00:46:38 -0000 On Thu, Dec 27, 2007 at 04:21:55PM +0100, Torfinn Ingolfsen wrote: > Hmm, this sounds kind of like the problem I have with my Asus M2A-VM HDMI motherboard. Also running FreeBSD / amd64 (currently 7.0-beta4). > More details below. For users who are suffering from re(4) instability issues please try the following patch. The patch shall fix bus_dma(9) issues and will enable TSO capability as well as 64bit dma support. http://people.freebsd.org/~yongari/re/re.HEAD.patch or http://people.freebsd.org/~yongari/re/if_re.c http://people.freebsd.org/~yongari/re/if_rlreg.h Please report back the result as I have plan to commit the patch after 7.0 goes out. > > On Thu, 27 Dec 2007 12:16:00 +0200 (EET) > Mario Pavlov wrote: > > > Hi, > > I'm experiencing exactly the same problem > > after reboot everything is OK but after some time all network > > transfers are getting worse and worse. The packet loss goes above 50% > > Can you see errors with 'netstat -i'? In my case, neither 'netstat -i' nor 'netstat -m' reports any signs of trouble. > > My problem is that ssh connections _to_ the machine closes unexpectedly with "bad packet length" or somesuch. > Any ssh connections _from_ the machine seems to be unaffected. > > > you can easily reproduce this, without waiting days, with the > > fallowing steps: > > I must try this. > > > I've tried this with windows and it appears to be working > > there...haven't tried it with linux I've tried different kernel > > configuration but the result is still the same I've tried to listen > > with tcpdump but it seemed normal except for the packet loss (I can > > see all requests but not all responses are returned) > > > > my motherboard is Asus P5B with chipset Intel P965 and integrated > > RealTek 8168/8111B PCIe Gigabit Ethernet > > What does 'pciconf -lv | grep -B 4 network' show? > On my Asus M2A-VM HDMI motherboard I get this: > tingo@kg-vm$ pciconf -lv | grep -B 4 network > subclass = VGA > re0@pci0:2:0:0: class=0x020000 card=0x81aa1043 chip=0x816810ec rev=0x01 hdr=0x00 > vendor = 'Realtek Semiconductor' > device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC' > class = network > > Hmm, ethernet is probably better: > tingo@kg-vm$ pciconf -lv | grep -B 4 ethernet > re0@pci0:2:0:0: class=0x020000 card=0x81aa1043 chip=0x816810ec rev=0x01 hdr=0x00 > vendor = 'Realtek Semiconductor' > device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC' > class = network > subclass = ethernet > > The machine is running 7.0-beta4: > tingo@kg-vm$ uname -a > FreeBSD kg-vm.kg4.no 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Sun Dec 2 16:34:41 UTC 2007 root@myers.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > > -- > Torfinn -- Regards, Pyun YongHyeon