From owner-freebsd-amd64@FreeBSD.ORG Fri Dec 28 19:43:21 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 5149B16A419 for ; Fri, 28 Dec 2007 19:43:21 +0000 (UTC) (envelope-from freebsd@abv.bg) Received: from smtp-out.abv.bg (smtp-out.abv.bg [194.153.145.70]) by mx1.freebsd.org (Postfix) with ESMTP id B8C2413C4EC for ; Fri, 28 Dec 2007 19:43:20 +0000 (UTC) (envelope-from freebsd@abv.bg) Received: from mail51.abv.bg (mail51.ni.bg [192.168.151.12]) by smtp-out.abv.bg (Postfix) with ESMTP id 1090E14ADF6 for ; Fri, 28 Dec 2007 21:43:08 +0200 (EET) DomainKey-Signature: a=rsa-sha1; s=smtp-out; d=abv.bg; c=simple; q=dns; b=j2vdBtrlhmbByf65S14Q5ImieMHF+lgfqdBNvFeO3i8Dyc3lhuIjsG7vMqYTODwXh 5M7WuKy+78Z4+5YndUvFHDKGrAk4NUHWfvbQ3PMkilzop7Qfa9YZ+pHy2/mQAP+wp6U vzgBzkc7HmX3kfZjRn1LIMbJNMGuPMcjL9laiLQ= DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=abv.bg; s=smtp-out; t=1198870988; bh=qpmo1H/DZIvuqBNXwpgRBwFvUPA=; h=Received:Date:From: To:Message-ID:Subject:DomainKey; b=uNj9Uq/Y1NDO2dDH/J42hNc3YZdFslT 6HJzRdn1X12nazMudB25FKwcW1nz7jqbftFTAFzLUi4kHDMvDMH7gWiTDOa//Y/aoJo mBcF+SA8muCxJ6h6liYJU6IFO2V5IDffqzyugtFobm6MxX5xkL2dD1GufEmxlF5d6PN WpO39U= Received: from mail51.abv.bg (localhost.localdomain [127.0.0.1]) by mail51.abv.bg (Postfix) with ESMTP id 694C41BD651 for ; Fri, 28 Dec 2007 21:43:13 +0200 (EET) Date: Fri, 28 Dec 2007 21:43:13 +0200 (EET) From: Mario Pavlov To: freebsd-amd64@freebsd.org Message-ID: <308089437.146523.1198870993429.JavaMail.nobody@mail51.abv.bg> Subject: Re: Re: amd64/119047: Not correct working RealTek 8168/8111B PCIe X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 19:43:21 -0000 Gigabit Ethernet MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 8bit X-Priority: 3 X-Mailer: AbvMail 1.0 X-Originating-IP: 78.128.21.208 >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 works for me, thanks! :)