From owner-freebsd-bugs Mon Jan 7 9:20:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8A09B37B404 for ; Mon, 7 Jan 2002 09:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g07HK1o99614; Mon, 7 Jan 2002 09:20:01 -0800 (PST) (envelope-from gnats) Received: from mail.mk.bsdclub.org (motoyuki.as.wakwak.ne.jp [61.205.237.31]) by hub.freebsd.org (Postfix) with ESMTP id 4B41337B404 for ; Mon, 7 Jan 2002 09:15:13 -0800 (PST) Received: from sakura.mk.bsdclub.org (sakura.mk.bsdclub.org [2001:200:341:0:2a0:c9ff:fe20:9aff]) by mail.mk.bsdclub.org (8.11.6+3.4W/3.7W) with ESMTP/inet6 id g07HF7x64816 for ; Tue, 8 Jan 2002 02:15:07 +0900 (JST) Received: (from motoyuki@localhost) by sakura.mk.bsdclub.org (8.11.6/3.7W) id g07HF7V09357; Tue, 8 Jan 2002 02:15:07 +0900 (JST) Message-Id: <200201071715.g07HF7V09357@sakura.mk.bsdclub.org> Date: Tue, 8 Jan 2002 02:15:07 +0900 (JST) From: Motoyuki Konno Reply-To: Motoyuki Konno To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: kern/33653: DSL PPPoE connection error on 4.5-PRERELEASE Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 33653 >Category: kern >Synopsis: DSL PPPoE connection error on 4.5-PRERELEASE >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 07 09:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Motoyuki Konno >Release: FreeBSD 4.5-PRERELEASE i386 >Organization: BSD Club >Environment: System: FreeBSD mserver.mk.bsdclub.org 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #0: Sat Jan 5 00:46:33 JST 2002 motoyuki@mserver.mk.bsdclub.org:/usr/obj/usr/src/sys/MSERVER i386 >Description: ADSL PPPoE/ppp link disconnects with "write (1): Message too long" error. Once this error occurrs, ppp(8) tries to reconnect many times but *never* succeeds. If a superuser kills ppp process and start ppp again, the new ppp process will succeed to connect. -------- /var/log/ppp.log Jan 5 02:44:43 mserver ppp[XX]: tun0: Phase: deflink: write (1): Message too long <-- ERROR OCCURS. Jan 5 02:44:43 mserver ppp[XX]: tun0: CCP: deflink: State change Stopped --> Closed Jan 5 02:44:43 mserver ppp[XX]: tun0: CCP: deflink: State change Closed --> Initial Jan 5 02:44:43 mserver ppp[XX]: tun0: Phase: deflink: open -> lcp Jan 5 02:44:43 mserver ppp[XX]: tun0: IPCP: deflink: LayerDown: 61.205.237.31 Jan 5 02:44:43 mserver ppp[XX]: tun0: IPCP: deflink: State change Opened --> Starting Jan 5 02:44:43 mserver ppp[XX]: tun0: IPCP: deflink: LayerFinish. Jan 5 02:44:43 mserver ppp[XX]: tun0: IPCP: Connect time: 6460 secs: 13638722 octets in, 17080388 octets out Jan 5 02:44:43 mserver ppp[XX]: tun0: IPCP: : 33262 packets in, 29664 packets out Jan 5 02:44:43 mserver ppp[XX]: tun0: IPCP: total 4755 bytes/sec, peak 165967 bytes/sec on Sat Jan 5 02:44:43 2002 Jan 5 02:44:43 mserver ppp[XX]: tun0: IPCP: deflink: State change Starting --> Initial Jan 5 02:44:43 mserver ppp[XX]: tun0: Phase: bundle: Terminate [snip] <-- TRIES TO RECONNECT Jan 5 02:44:46 mserver ppp[XX]: tun0: Phase: deflink: Connected! Jan 5 02:44:46 mserver ppp[XX]: tun0: Phase: deflink: opening -> dial Jan 5 02:44:46 mserver ppp[XX]: tun0: Phase: deflink: dial -> carrier Jan 5 02:44:47 mserver ppp[XX]: tun0: Phase: Received NGM_PPPOE_SUCCESS (hook "tun0") Jan 5 02:44:47 mserver ppp[XX]: tun0: Phase: deflink: carrier -> login Jan 5 02:44:47 mserver ppp[XX]: tun0: Phase: deflink: login -> lcp Jan 5 02:44:47 mserver ppp[XX]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1454 Jan 5 02:44:47 mserver ppp[XX]: tun0: Phase: deflink: write (1): Message too long <-- SAME ERROR OCCURS AGAIN Jan 5 02:44:47 mserver ppp[67]: tun0: Phase: deflink: Disconnected! -------- /var/log/ppp.log -------- /etc/ppp/ppp.conf default: set log Phase IPCP CCP tun command set device PPPoE:fxp1 set speed sync set mru max 1454 set mtu max 1454 set redial 5 0 set ctsrts off set openmode active enable mssfixup provider: accept chap accept pap set authname XXXXXXXX set authkey XXXXXXXX set ifaddr 0.0.0.0/0 0.0.0.0/0 nat enable yes nat same_ports yes nat use_sockets yes add default HISADDR -------- /etc/ppp/ppp.conf >How-To-Repeat: connect to ADSL using PPPoE. >Fix: Unknown. 4-STABLE kernel on Dec/12/2001 or before : OK 4-STABLE kernel on Dec/23/2001 or later : NG So, I think this problem caused by kernel changes between Dec/12 and Dec/23. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message