From root@ns4.cpcpipe.ru  Fri Mar 21 04:14:10 2003
Return-Path: <root@ns4.cpcpipe.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BCBDF37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 Mar 2003 04:14:10 -0800 (PST)
Received: from ns4.cpcpipe.ru (nat1.OCC.cpc.ru [194.186.52.132])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BB62E43F75
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 Mar 2003 04:14:09 -0800 (PST)
	(envelope-from root@ns4.cpcpipe.ru)
Received: from root by ns4.cpcpipe.ru with local (Exim 4.12)
	id 18wLPL-0000Dq-00
	for FreeBSD-gnats-submit@freebsd.org; Fri, 21 Mar 2003 15:13:59 +0300
Message-Id: <E18wLPL-0000Dq-00@ns4.cpcpipe.ru>
Date: Fri, 21 Mar 2003 15:13:59 +0300
From: Ilia Starkov <star0413@ns4.cpcpipe.ru>
Reply-To: Ilia Starkov <star0413@ns4.cpcpipe.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: debug screen appear when dial-in user try to login	
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         50163
>Category:       kern
>Synopsis:       debug screen appear when dial-in user try to login
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    maxim
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 21 04:20:13 PST 2003
>Closed-Date:    Thu Mar 27 04:58:57 PST 2003
>Last-Modified:  Thu Mar 27 04:58:57 PST 2003
>Originator:     Ilia Starkov
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD m42dns01.cpcpipe.ru 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Thu Mar 20 13:31:14 MSK 2003 root@m42dns01.cpcpipe.ru:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
System chashed (debug screen appear) when dial-in user 
coming through mgetty and trying to login  pppd.
When both ethernet cards are not active system just hang
not going to debug mode at the moment of dail-in pppd login.
Bug come in March, before this system was OK last two month
with -current also.
 
>How-To-Repeat:
	mgetty 1.1.30-Dec16
	pppd 2.3.5
	CHAP-auth 
	FreeBSD 5.0-current 
	Compaq Deskpro EN
	Pentium 866, 128 RAM
	2 Ethernet cards: onboard (fxp0) and PCI (fxp1).

>Fix:

	I don't know


>Release-Note:
>Audit-Trail:

From: Maxim Konovalov <maxim@macomnet.ru>
To: Ilia Starkov <star0413@ns4.cpcpipe.ru>
Cc: bug-followup@freebsd.org
Subject: Re: kern/50163: debug screen appear when dial-in user try to login
Date: Sun, 23 Mar 2003 20:18:58 +0300 (MSK)

 Please try a patch below.
 
 Index: if_ppp.c
 ===================================================================
 RCS file: /home/ncvs/src/sys/net/if_ppp.c,v
 retrieving revision 1.90
 diff -u -r1.90 if_ppp.c
 --- if_ppp.c	4 Mar 2003 23:19:51 -0000	1.90
 +++ if_ppp.c	23 Mar 2003 17:05:28 -0000
 @@ -1571,7 +1571,7 @@
        rv = IF_HANDOFF(&sc->sc_inq, m, NULL);
      else
        rv = netisr_queue(isr, m);
 -    if (rv) {
 +    if (!rv) {
  	if (sc->sc_flags & SC_DEBUG)
  	    if_printf(ifp, "input queue full\n");
  	ifp->if_iqdrops++;
 
 %%%
 
 -- 
 Maxim Konovalov, maxim@macomnet.ru, maxim@FreeBSD.org
Responsible-Changed-From-To: freebsd-bugs->maxim 
Responsible-Changed-By: maxim 
Responsible-Changed-When: Tue Mar 25 05:30:33 PST 2003 
Responsible-Changed-Why:  
I have a patch for the bug and will commit it soon. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50163 

From: Johan Karlsson <johan@freebsd.org>
To: Bug followup <bug-followup@freebsd.org>
Cc:  
Subject: Re: kern/50163: debug screen appear when dial-in user try to login
Date: Tue, 25 Mar 2003 19:48:23 +0100

 See the followup in PR 50266, which I will close.
State-Changed-From-To: open->closed 
State-Changed-By: maxim 
State-Changed-When: Thu Mar 27 04:58:05 PST 2003 
State-Changed-Why:  
Fixed in rev. 1.91 src/sys/net/if_ppp.c. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50163 
>Unformatted:
