Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Mar 1997 08:33:57 +0000 (GMT)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Tony Kimball <Anthony.Kimball@East.Sun.COM>
Cc:        current@FreeBSD.ORG
Subject:   Re: Anyone familiar with iijppp NFS failures?
Message-ID:  <Pine.BSF.3.95q.970329083153.4554A-100000@kipper.nlsystems.com>
In-Reply-To: <199703282158.VAA00548@compound.east.sun.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, 28 Mar 1997, Tony Kimball wrote:

> 
> Has anyone seen this?  iijppp fails during NFS traffic:
>   wrote 1500, got -1
>   wrote 672, got -1
>   ...
> Obviously in ip.c:
>   /*
>    *  Pass it to tunnel device
>    */
>   nw = write(tun_out, tunbuff, nb);
>   if (nw != nb)
>     fprintf(stderr, "wrote %d, got %d\r\n", nb, nw);
> Before looking deeper, I thought I'd ask if there were any known
> reasons for this sort of thing to happen.

It would be helpful to know the value of errno at this point.  From
looking at the code, tunwrite can error if it is given a packet which is
too large (EIO), if allocation of mbufs failed or if an input queue was
full (ENOBUFS).

--
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 181 951 1891




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970329083153.4554A-100000>