From owner-freebsd-questions Thu Jan 12 17:14:18 1995 Return-Path: questions-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id RAA17009 for questions-outgoing; Thu, 12 Jan 1995 17:14:18 -0800 Received: from desiree.teleport.com (desiree.teleport.com [192.108.254.11]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id RAA17001 for ; Thu, 12 Jan 1995 17:14:15 -0800 From: bmk@dtr.com Received: (from uucp@localhost) by desiree.teleport.com (8.6.9/8.6.9) with UUCP id RAA26687; Thu, 12 Jan 1995 17:13:46 -0800 Received: (from bmk@localhost) by dtr.com (8.6.9/8.6.9) id QAA15824; Wed, 11 Jan 1995 16:50:04 -0800 Message-Id: <199501120050.QAA15824@dtr.com> Subject: Re: SLIP vs PPP To: dayton@sci.brooklyn.cuny.edu (Dayton Clark) Date: Wed, 11 Jan 1995 16:50:04 -0800 (PST) Cc: bmk@dtr.com, eblood@winky.reno.nv.us, questions@FreeBSD.org In-Reply-To: <9501121703.AA28621@sci.brooklyn.cuny.edu> from "Dayton Clark" at Jan 12, 95 12:03:03 pm Reply-To: bmk@dtr.com X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 2050 Sender: questions-owner@FreeBSD.org Precedence: bulk > <.> > <.> > 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 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