From nobody  Wed Jan 29 06:43:39 1997
Received: (from nobody@localhost)
          by freefall.freebsd.org (8.8.5/8.8.5) id GAA02910;
          Wed, 29 Jan 1997 06:43:39 -0800 (PST)
Message-Id: <199701291443.GAA02910@freefall.freebsd.org>
Date: Wed, 29 Jan 1997 06:43:39 -0800 (PST)
From: mike@outerware.com
To: freebsd-gnats-submit@freebsd.org
Subject: User PPP hangs machine hard periodically
X-Send-Pr-Version: www-1.0

>Number:         2611
>Category:       bin
>Synopsis:       User PPP hangs machine hard periodically
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 29 06:50:01 PST 1997
>Closed-Date:    Sun Feb 23 10:20:12 PST 1997
>Last-Modified:  Sun Feb 23 10:21:06 PST 1997
>Originator:     Mike Shappell
>Release:        2.2Beta
>Organization:
Outerware, Inc.
>Environment:
FreeBSD gw 2.2-BETA_A
>Description:
Since I started using FreeBSD as a dial on demand internet router, we have experienced problems with the user PPP daemon.  It appears the more the daemon dials, the more likely it is to fail.  When our link was in use as a full time connection we rarely had problems with PPP failing.

When the link was modified to connect a couple of times a day the link fails approximately every day or two.  The first symptom of the failure is that we are not connnected and cannot connect.  Generally when we look at the state of PPP it believe we are connected, when in fact the connection no longer exists.  If under these circumstances we attempt to close the link or reboot the machine, FreeBSD hangs hard (CTRL- ALT-DEL does not reset the machine).  At this point our only recourse seems to be to power-cycle the machine.

This problem occurs with the GENERIC kernel.  We have built our own kernel with normal serial support (the one we currently use) and with the Hayes ESP support enabled.  Both cause the failure (although I think it may have been more frequent with the ESP kernel).  The link is using a Hayes ESP card configured as COM1.

Some times the PPP process runs for days (up to a week) others it dies within a day.  We also found that if we start using the link as soon as it establishes its connection with the ISP, there is a good chance that the PPP process with die with a message to the screen that it has failed.  In this case the machine is not hung and we can restart the process.

Given the state of PPP after the failure, it may be possible that the ISP has terminated our connection confusing the PPP process?  But this does not explain the hard hang of the FreeBSD machine.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:

From: Bruce Evans <bde@zeta.org.au>
To: freebsd-gnats-submit@FreeBSD.ORG, mike@outerware.com
Cc:  Subject: Re: bin/2611: User PPP hangs machine hard periodically
Date: Thu, 30 Jan 1997 03:15:48 +1100

 >This problem occurs with the GENERIC kernel.  We have built our own kernel with normal serial support (the one we currently use) and with the Hayes ESP support enabled.  Both cause the failure (although I think it may have been more frequent with the ES P kernel).  The link is using a Hayes ESP card configured as COM1.
 
 Please use lines shorter than 80 characters.
 
 Changes made a couple of months ago trigger a hardware bug in the ESP.
 See PR 2270.  For the sumbmitter of PR 2270, it hangs after every close.
 Apparently there is a problem even if ESP support is not configured.
 
 This should be fixed in 2.2R.
 
 Meanwhile, don't configure ESP support (it doesn't really work), and
 delete the 2 outb() statements in siostop() in /usr/src/sys/i386/isa/sio.c.
 
 Bruce
State-Changed-From-To: open->closed 
State-Changed-By: mpp 
State-Changed-When: Sun Feb 23 10:20:12 PST 1997 
State-Changed-Why:  
Duplicate or PR# 2270. 
>Unformatted:
