Date: Mon, 7 Apr 2003 17:41:06 -0700 (PDT) From: Nate Lawson <nate@root.org> To: Maxime Henrion <mux@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/fxp if_fxp.c Message-ID: <Pine.BSF.4.21.0304071738050.25939-100000@root.org> In-Reply-To: <Pine.BSF.4.21.0304071506160.25611-100000@root.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0304071738050.25939-100000>