From owner-freebsd-current Fri Feb 15 21:44:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 6313937B416 for ; Fri, 15 Feb 2002 21:44:51 -0800 (PST) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id g1G5iU307717; Fri, 15 Feb 2002 21:44:30 -0800 Date: Fri, 15 Feb 2002 21:44:30 -0800 From: Brooks Davis To: Terry Lambert Cc: Mark Santcroos , freebsd-current@FreeBSD.ORG Subject: Re: Ethernet tunnel device Message-ID: <20020215214430.A7255@Odin.AC.HMC.Edu> References: <20020211032336.A2135@kashmir.etowns.net> <20020211170131.A79104@laptop.6bone.nl> <20020212074327.A3466@laptop.6bone.nl> <20020213111358.A3235@kashmir.etowns.net> <20020213111937.A10146@Odin.AC.HMC.Edu> <3C6B0BFD.F27F040F@mindspring.com> <20020216004146.A57907@laptop.6bone.nl> <3C6DD38B.BF38EC80@mindspring.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3C6DD38B.BF38EC80@mindspring.com>; from tlambert2@mindspring.com on Fri, Feb 15, 2002 at 07:35:39PM -0800 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 --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 15, 2002 at 07:35:39PM -0800, Terry Lambert wrote: > I saw your message. It wasn't clear to me that you were > simply exiting in the test, instead of actually closing > the descriptor. I suspect that vmware just exits, and > expects a resource tracking close on exit to free the > reference count. If the Linux ABI code has not been > updated with all the necessary hand waving (old code was > OK, new code is broke ::=3D that's what's happening), then > that could easily cause the problem, whereas a test case > that does all the right manual shutdown would not have a > problem. I think there's something else going on. You can hold open a vmnet device by the simple expedient of "cat /dev/vmnet0" and when I tested with a Linux cat and killed it with a "kill -9" it closed the descriptor properly. Some things I haven't tried, but though might have an effect were using fork or linux threads to create multiple refrences to the device and then closing them oddly. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8bfG9XY6L6fI4GtQRAgVhAJ0XzkEEZ6+s4en8+179LyidgQberQCfb+z9 c6NkxZNqb74TMUX+zVKjcR4= =BPfZ -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message