From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 10 02:59:49 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D973016A4CE; Sat, 10 Jul 2004 02:59:48 +0000 (GMT) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.12.11/8.12.11) with ESMTP id i6A2xlFb014535; Fri, 9 Jul 2004 22:59:47 -0400 (EDT) (envelope-from green@green.homeunix.org) Received: (from green@localhost) by green.homeunix.org (8.12.11/8.12.11/Submit) id i6A2xlMB014534; Fri, 9 Jul 2004 22:59:47 -0400 (EDT) (envelope-from green) Date: Fri, 9 Jul 2004 22:59:46 -0400 From: Brian Fundakowski Feldman To: Jonathan Chen Message-ID: <20040710025946.GF1626@green.homeunix.org> References: <20040701224829.A20882@porthos.spock.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040701224829.A20882@porthos.spock.org> User-Agent: Mutt/1.5.6i cc: freebsd-hackers@freebsd.org Subject: Re: bge on 64-bit pci: corrupt packets X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2004 02:59:49 -0000 On Thu, Jul 01, 2004 at 10:48:29PM -0400, Jonathan Chen wrote: > Hi all, > > I've been experiencing a problem with using bge on 64-bit pci slots. After > looking at this for the whole day, I still have no idea what the problem > is. Perhaps one of you can help... If you suspect it to be an alignment problem, it's easy to test. Look for the bus_dma_tag_create() calls -- all of them use PAGE_SIZE (4096+) or ETHER_ALIGN (2). Did you try changing the ETHER_ALIGNS to 8? -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\