From owner-freebsd-stable@FreeBSD.ORG Wed Aug 9 08:47:19 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 570A616A4E1 for ; Wed, 9 Aug 2006 08:47:19 +0000 (UTC) (envelope-from scott.wilson@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEA4043D46 for ; Wed, 9 Aug 2006 08:47:17 +0000 (GMT) (envelope-from scott.wilson@gmail.com) Received: by nf-out-0910.google.com with SMTP id g2so93744nfe for ; Wed, 09 Aug 2006 01:47:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V6Qu4m4EblD5vn5IjGYx6cglWEJrCn3NTodhGbdpa9NH6xnoaP9YVAsde7TiACHPkNFfM3GgJJul4vTyGI6OQKn0YrYo+XTTmahRbbHKgjeFE5CCv19lbR4CYB3uAX0ktNdcfbthAB90KNceVrnLqhQP3DN9Ktna9DA9QFnFlUk= Received: by 10.78.170.6 with SMTP id s6mr231801hue; Wed, 09 Aug 2006 01:47:09 -0700 (PDT) Received: by 10.78.70.10 with HTTP; Wed, 9 Aug 2006 01:47:09 -0700 (PDT) Message-ID: Date: Wed, 9 Aug 2006 10:47:09 +0200 From: "Scott Wilson" To: "David (Controller AE) Christensen" In-Reply-To: <09BFF2FA5EAB4A45B6655E151BBDD90301AB707F@NT-IRVA-0750.brcm.ad.broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <09BFF2FA5EAB4A45B6655E151BBDD90301AB707F@NT-IRVA-0750.brcm.ad.broadcom.com> Cc: pyunyh@gmail.com, stable@freebsd.org, davidch@freebsd.org, Eric Hodel Subject: Re: RE: Re: Re: bce0: Error mapping mbuf into TX chain! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2006 08:47:19 -0000 Hi Dave, On 8/7/06, David (Controller AE) Christensen wrote: > Scott, > > What are you doing when this problem occurs? Is it something I can > easily duplicate here? When I tested the fix on -CURRENT I used the > following command suggested by Doug to bring out the failure quickly: > > ssh "dd if=/dev/zero bs=1" > /dev/null > > Does this same command fail for you too? Yes, that brought the interface to a halt very quickly! To answer what I was doing on the machine, it's running mysql with a fairly large database and most of the 8G of ram in the machine devoted to mysql. I'm running the amd64 on a Dell 1950 with Woodcrest series (5100) Xeon processors and BCM5708 NICs. cheers, scott > > -----Original Message----- > > From: Scott Wilson [mailto:scott.wilson@gmail.com] > > Sent: Saturday, August 05, 2006 3:08 PM > > To: pyunyh@gmail.com > > Cc: Doug Ambrisko; David (Controller AE) Christensen; > > stable@freebsd.org; davidch@freebsd.org; Eric Hodel > > Subject: Re: Re: Re: bce0: Error mapping mbuf into TX chain! > > > > On 8/5/06, Pyun YongHyeon wrote: > > > 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. :-( > > > > > > > I see ... I am running amd64 on some dell poweredge 1950 boxes. > > They're xeon processors, but have chosen amd64 because they have 8gig > > of ram each. > > > > Here are the relevant details on the interface.... > > > > bce0: mem > > 0xf4000000-0xf5ffffff irq 16 at device 0.0 on pci9 > > bce0: ASIC ID 0x57081010; Revision (B1); PCI-X 64-bit 133MHz > > miibus0: on bce0 > > brgphy0: on miibus0 > > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, > > 1000baseTX-FDX, auto > > > > I could make a machine available remotely to someone if it would help. > > > > Any other advice on how I can help move this forward would be greatly > > appreciated! > > > > thanks, > > > > scott > > > > > >