From owner-freebsd-stable@FreeBSD.ORG Sat Sep 17 20:05:11 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFEC5106566C; Sat, 17 Sep 2011 20:05:11 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7A56A8FC08; Sat, 17 Sep 2011 20:05:11 +0000 (UTC) Received: by iadk27 with SMTP id k27so5795959iad.13 for ; Sat, 17 Sep 2011 13:05:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=JQ/f6j6AiOpI+HCDNe7vjBTSycyGuVVZi5XN8sAd5gg=; b=vKEcceyol41eqiPwT6v3N+CW1TZlg9mWx68tlCOP/5Kikg38TgiRRPn+OoxHsOTwGN D8g0g1xBS3BHF8OY6PmEx0jnEu2urNx11Zz3kbbhxzHisM5xj/ANb+H8vJ62BZKqqtNB AyYE2I+ISsHX2TOI084R1YkkB3RbNQZMPvb9Q= Received: by 10.68.14.7 with SMTP id l7mr1316956pbc.426.1316289910399; Sat, 17 Sep 2011 13:05:10 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id e8sm47398460pbc.8.2011.09.17.13.05.06 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 17 Sep 2011 13:05:07 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Sat, 17 Sep 2011 13:05:08 -0700 From: YongHyeon PYUN Date: Sat, 17 Sep 2011 13:05:08 -0700 To: Eugene Grosbein Message-ID: <20110917200508.GA13993@michelle.cdnetworks.com> References: <4E722B70.9010201@rdtc.ru> <201109151314.50549.jhb@freebsd.org> <4E7238C3.1060008@rdtc.ru> <20110915181524.GA6557@michelle.cdnetworks.com> <4E724BCD.4040607@rdtc.ru> <20110915191944.GB6557@michelle.cdnetworks.com> <4E72D465.8050900@rdtc.ru> <20110916191355.GA9916@michelle.cdnetworks.com> <4E74A8C6.2070608@rdtc.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4E74A8C6.2070608@rdtc.ru> User-Agent: Mutt/1.4.2.3i Cc: stable@freebsd.org, John Baldwin , yongari@freebsd.org Subject: Re: busdma MFC broke ipfw fwd for RELENG_6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2011 20:05:12 -0000 On Sat, Sep 17, 2011 at 09:03:50PM +0700, Eugene Grosbein wrote: > 17.09.2011 02:13, YongHyeon PYUN пишет: > > On Fri, Sep 16, 2011 at 11:45:25AM +0700, Eugene Grosbein wrote: > >> 16.09.2011 02:19, YongHyeon PYUN пишет: > >>> On Fri, Sep 16, 2011 at 02:02:37AM +0700, Eugene Grosbein wrote: > >>>> 16.09.2011 01:15, YongHyeon PYUN пишет: > >>>> > >>>>> I remember re(4) in 6.x also have a couple of bus_dma(9) bugs. How > >>>>> about applying the following revision? > >>>>> http://svnweb.freebsd.org/base?view=revision&revision=175337 > >>>>> Not sure whether it shall apply cleanly. > >>>> > >>>> It does not and there is too much differences in the code for my skills to apply manually :-) > >>>> > >>>>> Alternatively try replacing BUS_DMA_ALLOCNOW to 0 in > >>>>> bus_dma_tag_create(9). > >>>> > >>>> I'm not sure I undersdand this right... Do you mean this change? > >>> > >>> No, change BUS_DMA_ALLOCNOW used in re(4). > >> > >> With clean RELENG_6 sources and the only following patch, > >> the problem still persists. > >> > > > > :-( > > I have back-ported re(4)/rl(4) for latest 6.x. > > http://people.freebsd.org/~yongari/re/6.x/README.txt > > Just compile tested and not sure whether it fixes the issue. > > I confirm that the problem disappears using this driver with clean RELENG_6 sources > and RealTek 8169/8169S/8169SB(L)/8110S/8110SB(L) Gigabit Ethernet: > > re0@pci1:11:0: class=0x020000 card=0x816910ec chip=0x816910ec rev=0x10 hdr=0x00 > vendor = 'Realtek Semiconductor' > device = 'RTL8110SB Single-Chip Gigabit LOM Ethernet Controller' > class = network > subclass = ethernet > cap 01[dc] = powerspec 2 supports D0 D1 D2 D3 current D0 > > Also, this machine uses RT8139 (rl0) for its LAN and it works too. Glad to hear that. Unfortunately I have no plan or time to merge all changes made in re(4)/rl(4) to stable/6 so you may have to stick to this unofficial driver. As you already know, I overhauled these drivers long time ago and there were too many changes. > > Eugene Grosbein