Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2006 12:10:10 +0900
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        Scott Wilson <scott.wilson@gmail.com>
Cc:        stable@freebsd.org, "David \(Controller AE\) Christensen" <davidch@broadcom.com>, davidch@freebsd.org, Eric Hodel <drbrain@segment7.net>
Subject:   Re: Re: bce0: Error mapping mbuf into TX chain!
Message-ID:  <20060805031009.GB946@cdnetworks.co.kr>
In-Reply-To: <abf642980608040652w5687664dte85fbca1fbb1d490@mail.gmail.com>
References:  <09BFF2FA5EAB4A45B6655E151BBDD903018924E0@NT-IRVA-0750.brcm.ad.broadcom.com> <200607130513.k6D5DTdb074868@ambrisko.com> <abf642980608040652w5687664dte85fbca1fbb1d490@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 04, 2006 at 03:52:40PM +0200, Scott Wilson wrote:
 > On 7/13/06, Doug Ambrisko <ambrisko@ambrisko.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060805031009.GB946>