From owner-freebsd-current@FreeBSD.ORG Wed Mar 12 14:38:01 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 465151065674 for ; Wed, 12 Mar 2008 14:38:01 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: from web33706.mail.mud.yahoo.com (web33706.mail.mud.yahoo.com [68.142.201.203]) by mx1.freebsd.org (Postfix) with SMTP id 1A30E8FC13 for ; Wed, 12 Mar 2008 14:38:01 +0000 (UTC) (envelope-from wearabnet@yahoo.ca) Received: (qmail 94249 invoked by uid 60001); 12 Mar 2008 14:38:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=uwkP19GhkoBKQAjC3Kooxz+XcCemxzVFgM1c8mSWMEvLsv5kmC/nLnF8+Zm3TisIwK90rNmcRXfwOx95cWlh/iT9+suOFzfYsoploD2SO+1exIaY180zHB+UHi4Qsxlb7ZmUMYPTeAEdtUmCJX1A0xn4oAVY/tPuEV/keuD1Qls=; X-YMail-OSG: zj3dDuUVM1lhxGmlCOp10CrySq5BwIiX1JIywhTioBKHSh2ny8lxgUa3YoBLeeGvaIL6MfKDLUcRZHDo_PpyZKzfPmqOmSsXoa4gqg1tMgDr_m0- Received: from [89.211.3.3] by web33706.mail.mud.yahoo.com via HTTP; Wed, 12 Mar 2008 07:38:00 PDT X-Mailer: YahooMailRC/902.35 YahooMailWebService/0.7.162 Date: Wed, 12 Mar 2008 07:38:00 -0700 (PDT) From: Abdullah Ibn Hamad Al-Marri To: pyunyh@gmail.com MIME-Version: 1.0 Message-ID: <486345.93466.qm@web33706.mail.mud.yahoo.com> Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Daniel Gerzo , FreeBSD CURRENT Subject: Re: re(4) problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2008 14:38:01 -0000 ----- Original Message ---- > From: Pyun YongHyeon > To: Abdullah Ibn Hamad Al-Marri > Cc: Daniel Gerzo ; FreeBSD CURRENT > Sent: Wednesday, March 12, 2008 5:31:34 AM > Subject: Re: re(4) problem > > On Tue, Mar 11, 2008 at 11:34:12AM -0700, Abdullah Ibn Hamad Al-Marri wrote: > > ----- Original Message ---- > > > From: Pyun YongHyeon > > > To: Daniel Gerzo > > > Cc: current@FreeBSD.org; yongari@FreeBSD.org > > > Sent: Tuesday, March 11, 2008 5:24:41 AM > > > Subject: Re: re(4) problem > > > > > > On Mon, Mar 10, 2008 at 09:38:32PM +0100, Daniel Gerzo wrote: > > > > Hello Daniel, > > > > > > > > Monday, March 10, 2008, 4:26:49 PM, you wrote: > > > > > > > > > Hello Pyun, > > > > > > > > >> Since you're using MSI, would you try attached patch? > > > > >> Sorry, I don't have PCIe based hardware and RealTek's datasheet for > > > > >> PCIe variants is too poor to get useful information. > > > > >> > > > > >> -- > > > > >> Regards, > > > > >> Pyun YongHyeon > > > > > > > > > Thank you for your quick reply, I will test your patch ASAP, but I > have one > > > > > simple question: > > > > > > > > > Should I apply this patch on top of > > > > > http://people.freebsd.org/~yongari/re/re.HEAD.patch > > > > > or what is this patch aginst? > > > > > > > > > Thank you. > > > > > > > > Or better, please send me (or place somewhere on your home page) the > > > > complete if_re.c and if_rlreg.h which should adress my problems, so > > > > that I can test it easily. > > > > > > > > > > Done. > > > http://people.freebsd.org/~yongari/re/if_re.c > > > http://people.freebsd.org/~yongari/re/if_rlreg.h > > > The above files would build on CURRENT/RELENG_7/7.0-RELEASE. > > > > > > I'm not sure whether it helps or not. > > > > > > > Your efforst are greatly appreciated! > > > > > > > > -- > > > > Best regards, > > > > Daniel mailto:danger@FreeBSD.org > > > > > > > > > > -- > > > Regards, > > > Pyun YongHyeon > > > > Ok, here is the ping to 2 servers using same nic to another server using fxp > in same lan. > > > > ping -c 100 -s 5000 after using > > http://people.freebsd.org/~yongari/re/if_re.c > > http://people.freebsd.org/~yongari/re/if_rlreg.h > > > > re0: port 0xc000-0xc0ff mem > 0xd0020000-0xd0020fff irq 17 at device 0.0 on pci3 > > re0: Using 2 MSI messages > > miibus0: on re0 > > rgephy0: PHY 1 on miibus0 > > rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > > re0: Ethernet address: 00:19:d1:a7:a4:72 > > re0: [FILTER] > > re0: [FILTER] > > > > 100 packets transmitted, 100 packets received, 0.0% packet loss > > round-trip min/avg/max/stddev = 2.410/2.429/2.587/0.019 ms > > > > Here without. > > > > re0: port 0xd000-0xd0ff mem > 0xf2000000-0xf2000fff irq 17 at device 0.0 on pci3 > > re0: Using 2 MSI messages > > miibus0: on re0 > > rgephy0: PHY 1 on miibus0 > > rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > > re0: Ethernet address: 00:1a:4d:4f:76:07 > > re0: [FILTER] > > re0: [FILTER] > > > > 100 packets transmitted, 99 packets received, 1.0% packet loss > > round-trip min/avg/max/stddev = 632.148/633.103/640.812/0.872 ms > > > > So as I could tell the ping latency got fixed by using latest changes. > > > > Sorry, I don't know what exact issues you had. Just pinging wouldn't > prove anything. Did you encounter random network loss without any > relevant messages in console prior to trying latest patch? > If you know a way that can reliably reproduce re(4) issue would you > try to reproduce it again? > > Thanks. > -- > Regards, > Pyun YongHyeon > My problem was packet loss, and that was very clear when I did ping it earlier. For now, there is no packet loss yet. Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping