From owner-freebsd-questions Thu Jul 31 18:23:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA15382 for questions-outgoing; Thu, 31 Jul 1997 18:23:03 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA15367 for ; Thu, 31 Jul 1997 18:22:49 -0700 (PDT) Received: from awfulhak.org (dev.lan.awfulhak.org [10.0.1.5]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id CAA00693; Fri, 1 Aug 1997 02:12:47 +0100 (BST) Received: from dev.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.6/8.8.6) with ESMTP id CAA19494; Fri, 1 Aug 1997 02:12:47 +0100 (BST) Message-Id: <199708010112.CAA19494@awfulhak.org> X-Mailer: exmh version 2.0zeta 7/24/97 To: Terry Todd cc: freebsd-questions@FreeBSD.ORG Subject: Re: No buffer space available In-reply-to: Your message of "Wed, 30 Jul 1997 18:01:17 CDT." <199707302301.SAA09724@badger.tltodd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 01 Aug 1997 02:12:47 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > I posted this once before and didn't hear anything back but that may > have been because various people were on vacation. This happened > again last week and I had maxconcur set to 8. My system is set up > with a dedicated 28.8 dial up using pppd. 99% of the time it just > sits there and runs happily along. I really like FreeBSD. > Here's the main symptom that something is wrong: > ping: sendto: No buffer space available > After it gets in this state it will never recover by itself. > Is there something else that I need to do if it happens again? [.....] You could try the following patch (in /sys/net). It *may* fix things, otherwise you could try iijppp (ppp). *** slcompress.c.orig Mon Jun 23 20:06:31 1997 --- slcompress.c Sun Jun 22 06:51:12 1997 *************** *** 217,222 **** --- 217,224 ---- comp->last_cs = lcs; hlen += th->th_off; hlen <<= 2; + if (hlen > m->m_len) + return TYPE_IP; goto uncompressed; found: *************** *** 247,252 **** --- 249,256 ---- deltaS = hlen; hlen += th->th_off; hlen <<= 2; + if (hlen > m->m_len) + return TYPE_IP; if (((u_short *)ip)[0] != ((u_short *)&cs->cs_ip)[0] || ((u_short *)ip)[3] != ((u_short *)&cs->cs_ip)[3] || -- Brian , Don't _EVER_ lose your sense of humour....