From owner-freebsd-stable@FreeBSD.ORG Sat Aug 5 03:10:51 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7001216A4DA for ; Sat, 5 Aug 2006 03:10:51 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62A6A43D45 for ; Sat, 5 Aug 2006 03:10:50 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by py-out-1112.google.com with SMTP id c59so360993pyc for ; Fri, 04 Aug 2006 20:10:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=AoXePE3KypnXSatsCPyv+wZew2y9iqAQLihVbQL4sldYvVzhzMO9DG7V3ehkIs8qzMsQSip4CoxA3Nc0tdb+Pq6TiqGX5937vbEKPbgSwG46jjhKLfvCwCKzR5pZGyau34cr+/OjN4kjjfOgp6VGlJnJcM+mU4ibQRKxpR9Rl4M= Received: by 10.64.143.4 with SMTP id q4mr1812211qbd; Fri, 04 Aug 2006 20:10:50 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.gmail.com with ESMTP id 8sm2581806nzn.2006.08.04.20.10.47; Fri, 04 Aug 2006 20:10:49 -0700 (PDT) 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 k753AGkh001353 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 5 Aug 2006 12:10:16 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id k753AAXe001352; Sat, 5 Aug 2006 12:10:10 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Sat, 5 Aug 2006 12:10:10 +0900 From: Pyun YongHyeon To: Scott Wilson Message-ID: <20060805031009.GB946@cdnetworks.co.kr> References: <09BFF2FA5EAB4A45B6655E151BBDD903018924E0@NT-IRVA-0750.brcm.ad.broadcom.com> <200607130513.k6D5DTdb074868@ambrisko.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: stable@freebsd.org, "David \(Controller AE\) Christensen" , davidch@freebsd.org, Eric Hodel Subject: Re: Re: bce0: Error mapping mbuf into TX chain! 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, 05 Aug 2006 03:10:51 -0000 On Fri, Aug 04, 2006 at 03:52:40PM +0200, Scott Wilson wrote: > On 7/13/06, Doug Ambrisko wrote: > >David (Controller AE) Christensen writes: > >| Sorry, I've been out on vacation and just got back into town. I'll MFC > >| the patch within the next day or two. > > > >I'll let you merge in the down/up fix that I put into -current. > > > >Doug A. > > Hi, I just had a bce interface lock up with the same problem: > > Aug 4 07:00:16 pe3 kernel: bce0: /usr/src/sys/dev/bce/if_bce.c(4644): > Error mapping mbuf into TX chain! > Aug 4 07:00:47 pe3 last message repeated 368 times > .... > > running v 1.2.2.5 of if_bce.c from RELENG_6 which has the > defragmentation patch mentioned in this thread. Any suggestions on > how I can help find a fix? > > scott Hmm... I can see several bus_dma(9) related bugs in bce(4). For architectures that have IOMMU hardware it may have corrupted DMA mapping and I'm pretty sure it wouldn't work on sparc64. When it has to handle many fragmented frame or has insufficient number of free Tx descriptors it would show unexpected results. Unfortunately I don't have hardwares supported by bce(4) and fixing requiries a working hardware. :-( -- Regards, Pyun YongHyeon