*BSD News Article 15577


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!uunet!psgrain!m2xenix!agora!implode!davidg
From: davidg@implode.rain.com (David Greenman)
Subject: Re: ping gives message sendto: No buffer space available
Organization: Delta Systems, Portland, OR.
Message-ID: <C6HKGs.6ry@implode.rain.com>
Date: Tue, 4 May 1993 04:58:03 GMT
Lines: 30

>I get a strange message from ping ( 486 8Mb, 0.1+patchkit 0.2.2 + we0 ):
>ping machine.xx.xx
>ping: wrote machine.xx.xx 64 chars, ret -1
>ping: sendto: No buffer space available

This is likely caused by a SLIP line not having proper hardware flow
control. The SLIP driver that was released in the BPF package was
changed so that it didn't throw away packets when the interface queue
became full. This happens quite often with SLIP and the result is lots
of dropped packets and recovery delays. The new behaviour just consumes
mbufs until there isn't any more memory in the mbuf buffer map. Neither
of these two solutions are optimal. I suspect that the SLIP driver will
be changed back to the old behavior, but with a larger queue "depth".
(BTW, this change to the SLIP code *wasn't* made by me... even though I
released it. So no flames, please.)

>Is it a bug or is it a feature?

The new behavior as I described generally doesn't cause any problems, and
certainly improves performance...but as you've descovered, there are side
effects.
  ...Now if you're not using SLIP, nevermind; the bug is somewhere else.

-DG

-- 

-DG
---
David Greenman