Re: Ethernet tunnel device

2002-02-20 Thread Alfred Perlstein
* Terry Lambert <[EMAIL PROTECTED]> [020220 11:13] wrote: > Mark Santcroos wrote: > > > I managed to create a simple linux program that had the same problem. From > > there on it was easy... > > > > The problem was created by Alfred's locking commit of Jan 13. > > (No hard feelings, it helped me

Re: Ethernet tunnel device

2002-02-20 Thread Terry Lambert
Mark Santcroos wrote: > On Sat, Feb 16, 2002 at 01:02:09AM -0800, Terry Lambert wrote: > > Pretty clearly, if it happens, and the process is truly > > gone, then there is a resource track cleanup that's > > missing (perhaps it's a reference that results from the > > Linux mmap resource track clean

Re: Ethernet tunnel device

2002-02-20 Thread Alfred Perlstein
* Mark Santcroos <[EMAIL PROTECTED]> [020220 03:52] wrote: > > It was indeed a linux_compat specific resource cleanup issue. > > I managed to create a simple linux program that had the same problem. From > there on it was easy... > > The problem was created by Alfred's locking commit of Jan 13

Re: Ethernet tunnel device

2002-02-20 Thread Mark Santcroos
On Sat, Feb 16, 2002 at 01:02:09AM -0800, Terry Lambert wrote: > Pretty clearly, if it happens, and the process is truly > gone, then there is a resource track cleanup that's > missing (perhaps it's a reference that results from the > Linux mmap resource track cleanup not releasing it?). It was i

Re: Ethernet tunnel device

2002-02-16 Thread Mark Santcroos
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 pro

Re: Ethernet tunnel device

2002-02-16 Thread Terry Lambert
Brooks Davis wrote: > 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 ha

Re: Ethernet tunnel device

2002-02-15 Thread Brooks Davis
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 > ref

Re: Ethernet tunnel device

2002-02-15 Thread Terry Lambert
Mark Santcroos wrote: > On Wed, Feb 13, 2002 at 04:59:41PM -0800, Terry Lambert wrote: > > > There's one difference between vmware and a little hacked up test app. > > > Linux emulation. It certaintly shouldn't matter, but it might be worth > > > compiling the test program on a linux machine and

Re: Ethernet tunnel device

2002-02-15 Thread Mark Santcroos
Hi Terry, On Wed, Feb 13, 2002 at 04:59:41PM -0800, Terry Lambert wrote: > > There's one difference between vmware and a little hacked up test app. > > Linux emulation. It certaintly shouldn't matter, but it might be worth > > compiling the test program on a linux machine and seeing it it leaves

Re: Ethernet tunnel device

2002-02-13 Thread Terry Lambert
Brooks Davis wrote: > On Wed, Feb 13, 2002 at 11:13:58AM -0800, whoever wrote: > > how come it gets lost in the vmware case and not in your simple app. > > also does ifconfig report that the vmnet device is opened by the pid > > of your app between open and close of the simple app? > > There's on

Re: Ethernet tunnel device

2002-02-13 Thread Mark Santcroos
On Wed, Feb 13, 2002 at 11:32:06AM -0800, whoever wrote: > > There's one difference between vmware and a little hacked up test app. > > Linux emulation. It certaintly shouldn't matter, but it might be worth > > compiling the test program on a linux machine and seeing it it leaves > > the device i

Re: Ethernet tunnel device

2002-02-13 Thread whoever
On Wed, Feb 13, 2002 at 11:19:37AM -0800, Brooks Davis wrote: > On Wed, Feb 13, 2002 at 11:13:58AM -0800, whoever wrote: > > > > how come it gets lost in the vmware case and not in your simple app. > > also does ifconfig report that the vmnet device is opened by the pid > > of your app between op

Re: Ethernet tunnel device

2002-02-13 Thread Brooks Davis
On Wed, Feb 13, 2002 at 11:13:58AM -0800, whoever wrote: > > how come it gets lost in the vmware case and not in your simple app. > also does ifconfig report that the vmnet device is opened by the pid > of your app between open and close of the simple app? There's one difference between vmware a

Re: Ethernet tunnel device

2002-02-13 Thread whoever
FROM: Mark SantcroosDATE: 02/12/2002 02:58:30SUBJECT: RE: Ethernet tunnel device 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

Re: Ethernet tunnel device

2002-02-12 Thread Mark Santcroos
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 de

Re: Ethernet tunnel device

2002-02-11 Thread Mark Santcroos
On Mon, Feb 11, 2002 at 03:23:36AM -0800, whoever wrote: > I am running FreeBSD current and barely got vmware > working on it. > Now I have another problem which I cant resolve. > If I close down the vmware program and restart I get an > error that vmnet(1,2,3,0 whatever) device is busy > and c

Re: Ethernet tunnel device

2002-02-11 Thread Brooks Davis
--lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 11, 2002 at 03:23:36AM -0800, whoever wrote: > clearly the device is opened by the previous=20 > instance of the program and is not closed.=20 > delet