From owner-freebsd-current Sun Apr 14 17:16:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id 1011B37B416; Sun, 14 Apr 2002 17:16:35 -0700 (PDT) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [IPv6:fec0::1:12]) by Awfulhak.org (8.12.2/8.11.6) with ESMTP id g3F0GWEv013556; Mon, 15 Apr 2002 01:16:32 +0100 (BST) (envelope-from brian@freebsd-services.com) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.12.2/8.12.2) with ESMTP id g3F0GVOF001880; Mon, 15 Apr 2002 01:16:31 +0100 (BST) (envelope-from brian@freebsd-services.com) Message-Id: <200204150016.g3F0GVOF001880@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: qhwt@myrealbox.com Cc: brian@FreeBSD.org, current@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/ppp Makefile async.c async.h atm.c bundle.c ccp.c ccp.h chap.c chap.h chat.c command.c datalink.c datalink.h defs.c defs.h ether.c exec.c i4b.c lcp.c lcp.h main.c mppe.c netgraph.c netgraph.h physical.c physical.h route.c tcp.c ... In-Reply-To: Message from qhwt@myrealbox.com of "Sun, 14 Apr 2002 15:29:28 +0900." <20020414062928.GA378.qhwt@myrealbox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 15 Apr 2002 01:16:31 +0100 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Hello. > > > brian 2002/03/30 04:30:11 PST > > > Modified files: > > usr.sbin/ppp Makefile async.c async.h atm.c bundle.c > > ccp.c ccp.h chap.c chap.h chat.c > > command.c datalink.c datalink.h defs.c > > defs.h ether.c exec.c i4b.c lcp.c lcp.h > > main.c mppe.c physical.c physical.h > > route.c tcp.c tty.c udp.c > > : > > > 1.126 +13 -17 src/usr.sbin/ppp/bundle.c > > In the 6th chunk, a decrement to bundle.unit after succeeding ID0kldload() > is lost. This results in the unit number of tun device set to 1(tun1) > instead of 0(tun0) when if_tun.ko is not yet kldload'ed() before ppp is > invoked. If I exit from ppp and start it again, ppp uses tun0, leaving > tun1 behind. After that and receiving a few megabytes, I've experienced > a mysterious panic (getnewvnode: free vnode isn't). The panic itself, though, > is something similar to that I'm always seeing whenever I didn't kill > pccardd before doing acpiconf -s3, so it might be unrelated to this issue. > Anyway, a patch is attached. > > Regards. [.....] Committed - thanks. I'd seen that it was doing this, but hadn't got around to tracking it down :*) I don't think the vnode thing is associated. That's probably a locking problem that jhb may (or may not) have fixed already. -- Brian http://www.freebsd-services.com/ Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message