From nobody@FreeBSD.org  Tue Apr 30 02:26:04 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 72BBD37B416
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Apr 2002 02:26:03 -0700 (PDT)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g3U9Q3761717;
	Tue, 30 Apr 2002 02:26:03 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200204300926.g3U9Q3761717@freefall.freebsd.org>
Date: Tue, 30 Apr 2002 02:26:03 -0700 (PDT)
From: FUJIMOTO Kou <fujimoto@j.dendai.ac.jp>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ppp warns "Bad magic" repeatedly
X-Send-Pr-Version: www-1.0

>Number:         37590
>Category:       bin
>Synopsis:       ppp warns "Bad magic" repeatedly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    brian
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 30 02:30:00 PDT 2002
>Closed-Date:    Sat May 11 04:19:09 PDT 2002
>Last-Modified:  Sat May 11 04:19:09 PDT 2002
>Originator:     FUJIMOTO Kou
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Tokyo Denki University
>Environment:
FreeBSD fosters.huz.203.141.147.136.user.at.il24.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Apr 30 10:40:28 JST 2002     root@fosters.huz.203.141.147.136.user.at.il24.net:/usr/obj/usr/src/sys/FOSTERS  i386
>Description:
ppp(1) CVSuped at 29th Apr repeatedly claims: 
Apr 30 13:12:45 fosters ppp[150]: tun0: Warning: deflink: lqr_RecvEcho: Bad magic: expected 0x00000000, got 0x87264107
The warnings has appeared just after rebuild process, 
but I didn't overwrite /etc/ppp/ppp.conf with mergemaster 
so ppp.conf never change. 

>How-To-Repeat:
Every 10 minutes /var/log/messages indicates "last message repeated xx times"...
Each of the expected number (0x00000000) and "got" number (0x87264107) is always same.  

>Fix:
      
>Release-Note:
>Audit-Trail:

From: "K. Fujimoto" <fujimoto@eva.hi-ho.ne.jp>
To: freebsd-gnats-submit@FreeBSD.org, fujimoto@j.dendai.ac.jp
Cc:  
Subject: Re: bin/37590: ppp warns "Bad magic" repeatedly
Date: Tue, 30 Apr 2002 23:56:33 +0900

 > Each of the expected number (0x00000000) and "got" number (0x87264107)
 is always same.
 
 Deeper investigation shows that the latter changes when system reboot.
 
Responsible-Changed-From-To: freebsd-bugs->brian 
Responsible-Changed-By: brian 
Responsible-Changed-When: Tue Apr 30 10:15:17 PDT 2002 
Responsible-Changed-Why:  
ppp's mine 

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

From: "K. Fujimoto" <fujimoto@eva.hi-ho.ne.jp>
To: freebsd-gnats-submit@FreeBSD.org, fujimoto@j.dendai.ac.jp
Cc:  
Subject: Re: bin/37590: ppp warns "Bad magic" repeatedly
Date: Wed, 01 May 2002 04:11:32 +0900

 This is a multi-part message in MIME format.
 
 --Boundary_(ID_QGKPtndCt8mBjQY2Vdd/gw)
 Content-type: text/plain; charset=iso-2022-jp
 Content-transfer-encoding: 7BIT
 
 > Could the submitter enable LCP logging (with ``set log +LCP'' in the 
 > profile in ppp.conf) and follow up with the resulting log entries ?
 
 Okay, I attach ppp.log with both LCP logs and lqr warnings.
 
 --Boundary_(ID_QGKPtndCt8mBjQY2Vdd/gw)
 Content-type: text/plain; name=ppplog.txt; charset=iso-2022-jp
 Content-disposition: inline; filename=ppplog.txt
 Content-transfer-encoding: 8BIT
 
 May  1 03:43:06 fosters ppp[155]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "brasa01kkasumi04O(^H^HM-^@^A^L^H̳ ^H^U^G^H") 
 May  1 03:43:07 fosters ppp[155]: tun0: Phase: Received NGM_PPPOE_SUCCESS (hook "tun0") 
 May  1 03:43:07 fosters ppp[155]: tun0: Phase: deflink: carrier -> lcp 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: FSM: Using "deflink" as a transport 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: State change Initial --> Closed 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: State change Closed --> Stopped 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: RecvConfigReq(1) state = Stopped 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MRU[4] 1454 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05) 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MAGICNUM[6] 0xddd17d4b 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MRU[4] 1454 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MAGICNUM[6] 0x34bf0b47 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  QUALPROTO[8] proto c025, interval 30000ms 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: SendConfigAck(1) state = Stopped 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MRU[4] 1454 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05) 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MAGICNUM[6] 0xddd17d4b 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: LayerStart 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: State change Stopped --> Ack-Sent 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: RecvConfigAck(1) state = Ack-Sent 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MRU[4] 1454 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MAGICNUM[6] 0x34bf0b47 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  QUALPROTO[8] proto c025, interval 30000ms 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: State change Ack-Sent --> Opened 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: LayerUp 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: SendIdent(0) state = Opened 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MAGICNUM 34bf0b47 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  TEXT user-ppp 3.0.2 (built May  1 2002) 
 May  1 03:43:07 fosters ppp[155]: tun0: Phase: bundle: Authenticate 
 May  1 03:43:07 fosters ppp[155]: tun0: Phase: deflink: his = CHAP 0x05, mine = none 
 May  1 03:43:07 fosters ppp[155]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from brasa01kkasumi040) 
 May  1 03:43:07 fosters ppp[155]: tun0: Phase: Chap Output: RESPONSE (--stuff deleted--) 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: RecvConfigReq(1) state = Opened 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MRU[4] 1454 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05) 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MAGICNUM[6] 0x8aa96811 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: LayerDown 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: SendConfigReq(2) state = Opened 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MRU[4] 1454 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MAGICNUM[6] 0x84a30de3 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  QUALPROTO[8] proto c025, interval 30000ms 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: SendConfigAck(1) state = Opened 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MRU[4] 1454 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05) 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MAGICNUM[6] 0x8aa96811 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: State change Opened --> Ack-Sent 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: RecvConfigNak(2) state = Ack-Sent 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  QUALPROTO[8] proto c025, interval 60000ms 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: SendConfigReq(3) state = Ack-Sent 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MRU[4] 1454 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MAGICNUM[6] 0x84a30de3 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  QUALPROTO[8] proto c025, interval 30000ms 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: RecvConfigNak(3) state = Ack-Sent 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  QUALPROTO[8] proto c025, interval 60000ms 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: SendConfigReq(4) state = Ack-Sent 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MRU[4] 1454 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MAGICNUM[6] 0x84a30de3 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  QUALPROTO[8] proto c025, interval 30000ms 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: RecvConfigNak(4) state = Ack-Sent 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  QUALPROTO[8] proto c025, interval 60000ms 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: SendConfigReq(5) state = Ack-Sent 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MRU[4] 1454 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MAGICNUM[6] 0x84a30de3 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  QUALPROTO[8] proto c025, interval 30000ms 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: RecvConfigNak(5) state = Ack-Sent 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  QUALPROTO[8] proto c025, interval 60000ms 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: SendConfigReq(6) state = Ack-Sent 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MRU[4] 1454 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MAGICNUM[6] 0x84a30de3 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  QUALPROTO[8] proto c025, interval 30000ms 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: RecvConfigNak(6) state = Ack-Sent 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  QUALPROTO[8] proto c025, interval 60000ms 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: SendConfigReq(7) state = Ack-Sent 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MRU[4] 1454 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MAGICNUM[6] 0x84a30de3 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  QUALPROTO[8] proto c025, interval 30000ms 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: RecvConfigRej(7) state = Ack-Sent 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: SendIdent(1) state = Ack-Sent 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MAGICNUM 84a30de3 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  TEXT user-ppp 3.0.2 (built May  1 2002) 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  QUALPROTO[8] proto c025, interval 30000ms 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: SendConfigReq(8) state = Ack-Sent 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MRU[4] 1454 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MAGICNUM[6] 0x84a30de3 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: RecvConfigAck(8) state = Ack-Sent 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MRU[4] 1454 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MAGICNUM[6] 0x84a30de3 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: State change Ack-Sent --> Opened 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: LayerUp 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: SendEchoRequest(0) state = Opened 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: SendIdent(2) state = Opened 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  MAGICNUM 84a30de3 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP:  TEXT user-ppp 3.0.2 (built May  1 2002) 
 May  1 03:43:07 fosters ppp[155]: tun0: Phase: deflink: lcp -> open 
 May  1 03:43:07 fosters ppp[155]: tun0: Phase: bundle: Network 
 May  1 03:43:07 fosters ppp[155]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from lns11soka040) 
 May  1 03:43:07 fosters ppp[155]: tun0: Phase: Chap Output: RESPONSE (--stuff deleted--) 
 May  1 03:43:07 fosters ppp[155]: tun0: LCP: deflink: RecvEchoReply(0) state = Opened 
 May  1 03:43:07 fosters ppp[155]: tun0: Warning: deflink: lqr_RecvEcho: Bad magic: expected 0x00000000, got 0x8aa96811 
 May  1 03:43:09 fosters ppp[155]: tun0: Phase: Chap Input: SUCCESS 
 May  1 03:43:09 fosters ppp[155]: tun0: LCP: deflink: RecvEchoRequest(1) state = Opened 
 May  1 03:43:09 fosters ppp[155]: tun0: LCP: deflink: RecvEchoReq: magic 0x8aa96811 is wrong, expecting 0x00000000 
 May  1 03:43:09 fosters ppp[155]: tun0: LCP: deflink: SendEchoReply(1) state = Opened 
 May  1 03:43:10 fosters ppp[155]: tun0: LCP: deflink: RecvProtocolRej(2) state = Opened 
 May  1 03:43:10 fosters ppp[155]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected! 
 May  1 03:43:10 fosters ppp[155]: tun0: LCP: deflink: SendIdent(3) state = Opened 
 May  1 03:43:10 fosters ppp[155]: tun0: LCP:  MAGICNUM 84a30de3 
 May  1 03:43:10 fosters ppp[155]: tun0: LCP:  TEXT user-ppp 3.0.2 (built May  1 2002) 
 May  1 03:43:38 fosters ppp[155]: tun0: LCP: deflink: SendEchoRequest(1) state = Opened 
 May  1 03:43:38 fosters ppp[155]: tun0: LCP: deflink: RecvEchoReply(1) state = Opened 
 May  1 03:43:38 fosters ppp[155]: tun0: Warning: deflink: lqr_RecvEcho: Bad magic: expected 0x00000000, got 0x8aa96811 
 May  1 03:44:09 fosters ppp[155]: tun0: LCP: deflink: SendEchoRequest(2) state = Opened 
 May  1 03:44:09 fosters ppp[155]: tun0: LCP: deflink: RecvEchoReply(2) state = Opened 
 May  1 03:44:09 fosters ppp[155]: tun0: Warning: deflink: lqr_RecvEcho: Bad magic: expected 0x00000000, got 0x8aa96811 
 May  1 03:44:09 fosters ppp[155]: tun0: LCP: deflink: RecvEchoRequest(2) state = Opened 
 May  1 03:44:09 fosters ppp[155]: tun0: LCP: deflink: RecvEchoReq: magic 0x8aa96811 is wrong, expecting 0x00000000 
 May  1 03:44:09 fosters ppp[155]: tun0: LCP: deflink: SendEchoReply(2) state = Opened 
 May  1 03:44:39 fosters ppp[155]: tun0: LCP: deflink: SendEchoRequest(3) state = Opened 
 May  1 03:44:39 fosters ppp[155]: tun0: LCP: deflink: RecvEchoReply(3) state = Opened 
 May  1 03:44:39 fosters ppp[155]: tun0: Warning: deflink: lqr_RecvEcho: Bad magic: expected 0x00000000, got 0x8aa96811 
 May  1 03:45:09 fosters ppp[155]: tun0: LCP: deflink: RecvEchoRequest(3) state = Opened 
 May  1 03:45:09 fosters ppp[155]: tun0: LCP: deflink: RecvEchoReq: magic 0x8aa96811 is wrong, expecting 0x00000000 
 May  1 03:45:09 fosters ppp[155]: tun0: LCP: deflink: SendEchoReply(3) state = Opened 
 May  1 03:45:10 fosters ppp[155]: tun0: LCP: deflink: SendEchoRequest(4) state = Opened 
 May  1 03:45:10 fosters ppp[155]: tun0: LCP: deflink: RecvEchoReply(4) state = Opened 
 May  1 03:45:10 fosters ppp[155]: tun0: Warning: deflink: lqr_RecvEcho: Bad magic: expected 0x00000000, got 0x8aa96811 
 May  1 03:45:40 fosters ppp[155]: tun0: LCP: deflink: SendEchoRequest(5) state = Opened 
 May  1 03:45:40 fosters ppp[155]: tun0: LCP: deflink: RecvEchoReply(5) state = Opened 
 May  1 03:45:40 fosters ppp[155]: tun0: Warning: deflink: lqr_RecvEcho: Bad magic: expected 0x00000000, got 0x8aa96811 
 May  1 03:46:09 fosters ppp[155]: tun0: LCP: deflink: RecvEchoRequest(4) state = Opened 
 May  1 03:46:09 fosters ppp[155]: tun0: LCP: deflink: RecvEchoReq: magic 0x8aa96811 is wrong, expecting 0x00000000 
 May  1 03:46:09 fosters ppp[155]: tun0: LCP: deflink: SendEchoReply(4) state = Opened 
 May  1 03:46:11 fosters ppp[155]: tun0: LCP: deflink: SendEchoRequest(6) state = Opened 
 May  1 03:46:11 fosters ppp[155]: tun0: LCP: deflink: RecvEchoReply(6) state = Opened 
 May  1 03:46:11 fosters ppp[155]: tun0: Warning: deflink: lqr_RecvEcho: Bad magic: expected 0x00000000, got 0x8aa96811 
 May  1 03:46:42 fosters ppp[155]: tun0: LCP: deflink: SendEchoRequest(7) state = Opened 
 May  1 03:46:42 fosters ppp[155]: tun0: LCP: deflink: RecvEchoReply(7) state = Opened 
 May  1 03:46:42 fosters ppp[155]: tun0: Warning: deflink: lqr_RecvEcho: Bad magic: expected 0x00000000, got 0x8aa96811 
 May  1 03:47:09 fosters ppp[155]: tun0: LCP: deflink: RecvEchoRequest(5) state = Opened 
 May  1 03:47:09 fosters ppp[155]: tun0: LCP: deflink: RecvEchoReq: magic 0x8aa96811 is wrong, expecting 0x00000000 
 May  1 03:47:09 fosters ppp[155]: tun0: LCP: deflink: SendEchoReply(5) state = Opened 
 May  1 03:47:12 fosters ppp[155]: tun0: LCP: deflink: SendEchoRequest(8) state = Opened 
 May  1 03:47:12 fosters ppp[155]: tun0: LCP: deflink: RecvEchoReply(8) state = Opened 
 May  1 03:47:12 fosters ppp[155]: tun0: Warning: deflink: lqr_RecvEcho: Bad magic: expected 0x00000000, got 0x8aa96811 
 May  1 03:47:43 fosters ppp[155]: tun0: LCP: deflink: SendEchoRequest(9) state = Opened 
 May  1 03:47:43 fosters ppp[155]: tun0: LCP: deflink: RecvEchoReply(9) state = Opened 
 May  1 03:47:43 fosters ppp[155]: tun0: Warning: deflink: lqr_RecvEcho: Bad magic: expected 0x00000000, got 0x8aa96811 
 May  1 03:48:09 fosters ppp[155]: tun0: LCP: deflink: RecvEchoRequest(6) state = Opened 
 
 --Boundary_(ID_QGKPtndCt8mBjQY2Vdd/gw)--
State-Changed-From-To: open->closed 
State-Changed-By: brian 
State-Changed-When: Sat May 11 04:16:12 PDT 2002 
State-Changed-Why:  
A fix was committed to -current (fsm.c 1.64) and will be MFC'd shortly 
re@ permitting 

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