From owner-freebsd-stable@FreeBSD.ORG Mon Aug 7 20:48:35 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 2040316A4DF; Mon, 7 Aug 2006 20:48:35 +0000 (UTC) (envelope-from davidch@broadcom.com) Received: from MMS3.broadcom.com (mms3.broadcom.com [216.31.210.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8585E43D49; Mon, 7 Aug 2006 20:48:34 +0000 (GMT) (envelope-from davidch@broadcom.com) Received: from 10.10.64.154 by MMS3.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.2.0)); Mon, 07 Aug 2006 13:48:17 -0700 X-Server-Uuid: B238DE4C-2139-4D32-96A8-DD564EF2313E Received: by mail-irva-10.broadcom.com (Postfix, from userid 47) id 741042AF; Mon, 7 Aug 2006 13:48:17 -0700 (PDT) Received: from mail-irva-8.broadcom.com (mail-irva-8 [10.10.64.221]) by mail-irva-10.broadcom.com (Postfix) with ESMTP id 4F8D22AE; Mon, 7 Aug 2006 13:48:17 -0700 (PDT) Received: from mail-irva-12.broadcom.com (mail-irva-12.broadcom.com [10.10.64.146]) by mail-irva-8.broadcom.com (MOS 3.7.5a-GA) with ESMTP id ECA78361; Mon, 7 Aug 2006 13:48:10 -0700 (PDT) Received: from NT-IRVA-0750.brcm.ad.broadcom.com (nt-irva-0750 [10.8.194.64]) by mail-irva-12.broadcom.com (Postfix) with ESMTP id 5A11069CA4; Mon, 7 Aug 2006 13:48:10 -0700 (PDT) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Mon, 7 Aug 2006 13:48:09 -0700 Message-ID: <09BFF2FA5EAB4A45B6655E151BBDD90301AB707F@NT-IRVA-0750.brcm.ad.broadcom.com> In-Reply-To: Thread-Topic: Re: Re: bce0: Error mapping mbuf into TX chain! Thread-Index: Aca42559j5PdVHR6ScqP6kqfO+zswQBhG3LQ From: "David (Controller AE) Christensen" To: "Scott Wilson" , pyunyh@gmail.com X-TMWD-Spam-Summary: SEV=1.1; DFV=A2006080707; IFV=2.0.6,4.0-7; RPD=4.00.0004; RPDID=303030312E30413031303230322E34344437413637432E303032372D412D; ENG=IBF; TS=20060807204822; CAT=NONE; CON=NONE; X-MMS-Spam-Filter-ID: A2006080707_4.00.0004_2.0.6,4.0-7 X-WSS-ID: 68C9789B1OO11370813-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Cc: stable@freebsd.org, davidch@freebsd.org, Eric Hodel Subject: 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: Mon, 07 Aug 2006 20:48:35 -0000 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=3D/dev/zero bs=3D1" > /dev/null Does this same command fail for you too? Dave=20 > -----Original Message----- > From: Scott Wilson [mailto:scott.wilson@gmail.com]=20 > Sent: Saturday, August 05, 2006 3:08 PM > To: pyunyh@gmail.com > Cc: Doug Ambrisko; David (Controller AE) Christensen;=20 > stable@freebsd.org; davidch@freebsd.org; Eric Hodel > Subject: Re: Re: Re: bce0: Error mapping mbuf into TX chain! >=20 > 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=20 > 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:=20 > /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=20 > 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. :-( > > >=20 > 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. >=20 > Here are the relevant details on the interface.... >=20 > 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 >=20 > I could make a machine available remotely to someone if it would help. >=20 > Any other advice on how I can help move this forward would be greatly > appreciated! >=20 > thanks, >=20 > scott >=20 >=20