Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 1997 08:36:47 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Rusell Cattelan <cattelan@thebarn.com>
Cc:        freebsd-bugs@freebsd.org
Subject:   Re: pppd hangs or reboots machine.
Message-ID:  <Pine.BSF.3.95q.970430083354.13137H-100000@herring.nlsystems.com>
In-Reply-To: <199704292035.PAA12562@fuckme.thebarn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29 Apr 1997, Rusell Cattelan wrote:

> I don't have alot of details of why this is happening yet, but I
> mentioning it just in case somebody has some ideas.
> 
> The system is running 3.0-current like April 27th.
> 
> Basically if the phone connection goes down while the pppd ppp link is
> running; the system will either completely lock up or just reboot
> (no panic message just reboot). I usally take a minute or so before 
> it will actually hang.
> 
> The other end is also a 3.0-current system but only as of about a 
> month ago, it doesn't seem to have a problem when the link goes down.
> 
> It probably should be noted that the system with the problem has and
> internal modem (Cardinal if it make a difference) and the other system 
> has an external modem.
> 
> 
> One other thing; I have been trying to get an SGI box to talk to both
> pppd and ppp on a freebsd machine... they do not want to talk to each
> other. the lcp phase fails miserably. 
> They won't agree on the magic numbers.
> 
> Any suggestions?

I was digging through the code in isa.c which calculates interrupt masks
and I noticed that it special cases SLIP to make sure that all ttys
interupts are masked by splnet but doesn't do the same for kernel-mode
ppp.  This was an old bug I fixed in the 2.0 days; it seems to have
reappeared.

As a workaround, you might try /usr/sbin/ppp.  Since it does all its work
in user mode, there are no interrupt mask hassles with it.

--
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.970430083354.13137H-100000>