From owner-freebsd-current@FreeBSD.ORG Sat Nov 12 00:23:08 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB79F16A41F for ; Sat, 12 Nov 2005 00:23:08 +0000 (GMT) (envelope-from pete@altadena.net) Received: from puffin.altadena.net (puffin.altadena.net [207.151.161.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D48443D45 for ; Sat, 12 Nov 2005 00:23:08 +0000 (GMT) (envelope-from pete@altadena.net) Received: from nat-gw.home.altadena.net ([66.127.158.99] helo=[192.168.169.28]) by puffin.altadena.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.54) id 1EajAh-000EXl-G4 for current@freebsd.org; Fri, 11 Nov 2005 16:23:07 -0800 Message-ID: <437535E4.2010400@altadena.net> Date: Fri, 11 Nov 2005 16:23:00 -0800 From: Pete Carah Organization: Altadena Internet Communications User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050921) X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Crash using tun device X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Nov 2005 00:23:09 -0000 I now (cvsup as of a day ago, and also from a week ago) see a spontaneous reboot when using the tun device from userland ppp. This occurs with either umodem or an ssh tunnel on the serial side, and crashes immediately after the IP addresses are set. I don't know if it is in route setting or not; the ssh tunnel script doesn't set the default route via the tunnel (shoot self in foot, anyone?). I didn't see this a month or two ago afaik, though it has been a while since I had to use ppp on either laptop. This also occurs whether if_tun is compiled into the kernel or kldloaded, and on a i386 and amd64 at exactly the same time. I'm presuming the problem isn't in /dev/tty or ucom since the ssh tunnel and my terminal interfaces both use tty, and I've done much raw-mode stuff with ucom lately. That leaves if_tun and its routing/arp interface. (though ppp doesn't use arp...), and various kernel interfaces to/from it (note that broadcast networks (ethernet and wlan) work fine. I haven't tried vlan lately in -current, though. The ppp.log shows the ip address setting line and nothing further as far as I can see (though the crash is VERY quick after that line shows up.) -- Pete