cvs commit: src/sys/dev/fxp if_fxp.c
Nate Lawson
nate at root.org
Mon Apr 7 17:41:06 PDT 2003
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
More information about the cvs-src
mailing list