From owner-cvs-src@FreeBSD.ORG Mon Apr 7 17:41:06 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DB3F37B404 for ; Mon, 7 Apr 2003 17:41:06 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 5FBDE43FB1 for ; Mon, 7 Apr 2003 17:41:04 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 25941 invoked by uid 1000); 8 Apr 2003 00:41:06 -0000 Date: Mon, 7 Apr 2003 17:41:06 -0700 (PDT) From: Nate Lawson To: Maxime Henrion In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/fxp if_fxp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2003 00:41:06 -0000 On Mon, 7 Apr 2003, Nate Lawson wrote: > On Mon, 7 Apr 2003, Jake Burkholder wrote: > > Apparently, On Mon, Apr 07, 2003 at 10:02:44AM -0700, > > Maxime Henrion said words to the effect of; > > > > > Modified files: > > > sys/dev/fxp if_fxp.c > > > Log: > > > Correct the maxsize and maxsegsz parameters for the > > > bus_dma_tag_create() calls. Without this, fxp(4) + PAE > > > would consume insane amounts of bounce pages. > > > > Cool, thanks. Actually it didn't allocate enough bounce pages, so it would > > get ENOMEM from busdma when trying to map mbufs; maxsize was too small. > > > > Jake > > I was getting this in actual testing. Eventually mapping an mbuf returned > ENOMEM and all transmits/receives from my box would halt. I'm testing > again with this change and it seems to be working ok again. > > -Nate Oops, things still hang although it takes longer. The current version does not work. To test, try: dd if=/dev/zero bs=1m | ssh -c arcfour stable-site 'cat > /dev/null' After a minute or two, all network traffic on fxp hangs. If I down and then up the interface, it starts working again (transfers in progress resume also). No errors or console messages, just traffic stops running for a while. Please fix this. -Nate