Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2002 21:44:30 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        Mark Santcroos <marks@ripe.net>, freebsd-current@FreeBSD.ORG
Subject:   Re: Ethernet tunnel device
Message-ID:  <20020215214430.A7255@Odin.AC.HMC.Edu>
In-Reply-To: <3C6DD38B.BF38EC80@mindspring.com>; from tlambert2@mindspring.com on Fri, Feb 15, 2002 at 07:35:39PM -0800
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020215214430.A7255>