From owner-freebsd-current Tue Feb 12 3: 2: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by hub.freebsd.org (Postfix) with ESMTP id 00B7737B420 for ; Tue, 12 Feb 2002 03:01:57 -0800 (PST) Received: from laptop.6bone.nl (penguin.ripe.net [193.0.1.232]) by birch.ripe.net (8.11.6/8.11.6) with SMTP id g1CAwVL19524; Tue, 12 Feb 2002 11:58:31 +0100 Received: (nullmailer pid 1937 invoked by uid 1000); Tue, 12 Feb 2002 10:58:30 -0000 Date: Tue, 12 Feb 2002 11:58:30 +0100 From: Mark Santcroos To: Brooks Davis Cc: freebsd-current@FreeBSD.ORG Subject: Re: Ethernet tunnel device Message-ID: <20020212115830.H474@laptop.6bone.nl> References: <20020211032336.A2135@kashmir.etowns.net> <20020211121432.A22389@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020211121432.A22389@Odin.AC.HMC.Edu>; from brooks@one-eyed-alien.net on Mon, Feb 11, 2002 at 12:14:32PM -0800 X-Handles: MS6-6BONE, MS18417-RIPE 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 On Mon, Feb 11, 2002 at 12:14:32PM -0800, Brooks Davis wrote: > It sounds like there's some sort of a bug in the close code. You are > sure the previous instance is really gone, right? If it is, that's > another issue. The tapclose() function is not called at all in this case. (I've put some debugging statement in the tap driver) I don't understand because I do see a successful close() from vmware (using ktrace). Writing a simple app that opens '/dev/vmnet1' and closes it again works fine. What would be the difference for this simple case and the vmware case? (I also made a linux binary of the same simple program and that one works too, just to be sure) Making a simple (and very possible wrong) conclusion is that the open call gets lost between userland and the driver. (vfs layer?) Any hints on where too look further would be very helpful. Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message