Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Feb 2002 19:32:32 +0100
From:      Mark Santcroos <marks@ripe.net>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Ethernet tunnel device
Message-ID:  <20020216193232.B57907@laptop.6bone.nl>
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
On Fri, Feb 15, 2002 at 07:35:39PM -0800, Terry Lambert wrote:
> > > Maybe it's losing an open instance in the resource
> > > track on close?  That seems the most likely culprit...
> > 
> > Do you mean in the linux emu case?
> > If so, please see my message stating that I also used a linux emu program
> > to test this.
> > If not, can you please be a bit more detailed?
> 
> Yes.
> 
> 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 ::= 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.

Hi Terry,

I did do an explicit close() in my test.
However, using ktrace I also see a explicit close from vmware.
That one doesn't reach the tap device however.

So we are back to the original question, where does the close gets lost.

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




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