From owner-freebsd-amd64@FreeBSD.ORG Thu Dec 27 17:06:51 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 B045316A417 for ; Thu, 27 Dec 2007 17:06:51 +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 4056613C4D3 for ; Thu, 27 Dec 2007 17:06:51 +0000 (UTC) (envelope-from freebsd@abv.bg) Received: from mail52.abv.bg (mail52.ni.bg [192.168.151.19]) by smtp-out.abv.bg (Postfix) with ESMTP id F2F2114AEB8 for ; Thu, 27 Dec 2007 19:06:38 +0200 (EET) DomainKey-Signature: a=rsa-sha1; s=smtp-out; d=abv.bg; c=simple; q=dns; b=kdpy+N2RTU5BYnGHYBRjDAgrjL8bMhHlxRw+jFTr6ayuBdV0Haa+5jMpzAfleJpBM 4HIP2zBJ/0IGTKj48aSPK2RMXwJv9Aiur2hWlknTEAwP5qCbB2mNChBe7Z6II8gaMD0 TYOKvc8iZbxbJhirBvRoBv+yaRFPfr+qUvd5kMA= DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=abv.bg; s=smtp-out; t=1198775198; bh=kQqelVs6xEBnhUAIWIBpSXPLjy8=; h=Received:Date:From: To:Message-ID:Subject:DomainKey; b=XDx6/kz29k5vnPoduvcNpNZzBq9DTVa vX5+86AOk2R0e2ovVQ9A3Lw1c3nfeIrp5wCD2+X3jLGqf3tOLD4c53A2tH3H5Lo1Pcy 3LOXA/y//kEKgkdorSI+oKKc4ZogOiWuhYF1gGfBg2mJ5NXpQb/OPvzx3tebIR5Pxp7 518TTo= Received: from mail52.abv.bg (localhost.localdomain [127.0.0.1]) by mail52.abv.bg (Postfix) with ESMTP id ABFBB8AECE for ; Thu, 27 Dec 2007 19:06:47 +0200 (EET) Date: Thu, 27 Dec 2007 19:06:47 +0200 (EET) From: Mario Pavlov To: freebsd-amd64@freebsd.org Message-ID: <424352075.119591.1198775207700.JavaMail.nobody@mail52.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: Thu, 27 Dec 2007 17:06:51 -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 >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. > >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 here is the output from these commands: # netstat -i Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll re0 1500 00:1d:60:2a:4f:56 3398658 0 6617403 0 0 re0 1500 192.168.20.0 192.168.20.1 3372490 - 6617341 - - dc0 1500 00:08:a1:27:88:1c 461424 0 267683 0 0 dc0 1500 my.public.ip e-soul 284738 - 267109 - - rl0 1500 00:19:e0:0e:a7:fa 30436 0 46058 0 0 rl0 1500 192.168.10.0 192.168.10.1 51 - 0 - - lo0 16384 840 0 840 0 0 lo0 16384 your-net localhost 840 - 840 - - # netstat -m 259/701/960 mbufs in use (current/cache/total) 256/550/806/65536 mbuf clusters in use (current/cache/total/max) 256/289 mbuf+clusters out of packet secondary zone in use (current/cache) 0/374/374/12800 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) 576K/2771K/3348K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/0/0 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 49051 requests for I/O initiated by sendfile 0 calls to protocol drain routines # pciconf -lv | grep -B 4 network subclass = VGA re0@pci0:3: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 = ATA dc0@pci0:5:1:0: class=0x020000 card=0x50323030 chip=0x91021282 rev=0x40 hdr=0x00 vendor = 'Davicom Semiconductor Inc.' device = 'DM9102/A/AF 10/100 Mbps Fast Ethernet Controller' class = network subclass = ethernet rl0@pci0:5:2:0: class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter' class = network # pciconf -lv | grep -B 4 ethernet re0@pci0:3: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 -- dc0@pci0:5:1:0: class=0x020000 card=0x50323030 chip=0x91021282 rev=0x40 hdr=0x00 vendor = 'Davicom Semiconductor Inc.' device = 'DM9102/A/AF 10/100 Mbps Fast Ethernet Controller' class = network subclass = ethernet rl0@pci0:5:2:0: class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter' class = network subclass = ethernet # uname -a FreeBSD e-soul.org 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #1: Thu Dec 27 13:05:12 EET 2007 noDrugs@e-soul.org:/usr/obj/usr/src/sys/Ss amd64 ----------------------------------------------------------------- Коментирай и гласувай за най-лудия фен на Rihanna! vivarihanna.zoom.bg