Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 1995 16:50:04 -0800 (PST)
From:      bmk@dtr.com
To:        dayton@sci.brooklyn.cuny.edu (Dayton Clark)
Cc:        bmk@dtr.com, eblood@winky.reno.nv.us, questions@FreeBSD.org
Subject:   Re: SLIP vs PPP
Message-ID:  <199501120050.QAA15824@dtr.com>
In-Reply-To: <9501121703.AA28621@sci.brooklyn.cuny.edu> from "Dayton Clark" at Jan 12, 95 12:03:03 pm

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

> I've looked for the patch without success, could you send it to me?


Here it is... 


Path: news.teleport.com!news.reed.edu!usenet.ee.pdx.edu!insosf1.infonet.net!convex!iphase.com!mark
From: mark@iphase.com (Mark Veteikis)
Newsgroups: comp.os.386bsd.questions
Subject: Re: PPP crashes on 2.0.
Date: 15 Dec 1994 17:11:21 GMT
Organization: Interphase Corporation, Dallas TX.
Lines: 44
Message-ID: <3cptbp$re8@que.iphase.com>
References: <3cmvhn$8jn@shore.shore.net> <3cpchc$60g@guillotine.mtl.dmr.ca>
NNTP-Posting-Host: mark@wildcat.iphase.com

In article <3cpchc$60g@guillotine.mtl.dmr.ca>,
Jean-Pierre Lamarche  <lamarcjp@dmr.ca> wrote:
>witr@rwwa.com (Robert Withrow) wrote:
>>
>> I hate to bring this up, but (after reading the faq) I don't
>> think I ``qualify'' for using -current, but these PPP crashes
>> are keeping me from being able to use 2.0.  Is there some
>> other way to get the PPP ``patches''?
>> 
>> I tried using the if_ppp.c from -current, but it causes link-time
>> errors for the kernel...
>
>What do you mean by PPP crash?
>
>Does ppp stop working or does your system crash.
>
>Ever since we upgraded our gateway to Freebsd2.0 two weeks ago our 
>system crashes once to twince a day. It simply reboot without any 
>messages in /var/log/messages to give us a clue of any kind. We have
>a 28 800 ppp link with our provider and 4 slip links available for 
>our users.
>
>I have been unable to do anything about it so far...

I run a "stock" 2.0R and experienced the crashes.

This single line fix (courtesy Terry Lambert/Gene Stark) has resolved all
PPP panics..

*** if_ppp.c.orig       Tue Nov 22 07:38:43 1994
--- if_ppp.c    Tue Nov 22 07:39:17 1994
***************
*** 432,437 ****
--- 432,438 ----
            m_freem(m0);
            return (ENOBUFS);
        }
+       m->m_len = 0;
        if (uio->uio_resid >= MCLBYTES / 2)
            MCLGET(m, M_DONTWAIT);
        len = M_TRAILINGSPACE(m);
-- 
Mark Veteikis     mark@iphase.com         1-214-919-9257
Interphase Corp.  13800 Senlac Dallas Tx. 75234



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199501120050.QAA15824>