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
to destroy the device using ifconfig gives an error > too which (i believe) it should because destroy is not > for ethernet tunnel device if I am not wrong. > > but there are no options to destroy the ethernet tunnel > device in ifconfig Should there be? > > I cant t

Re: Ethernet tunnel device

2002-02-11 Thread Brooks Davis
notification of last delete in devfs so deleting a node doesn't do anyway. > trying to destroy the device using ifconfig gives an error > too which (i believe) it should because destroy is not > for ethernet tunnel device if I am not wrong. >=20 > but there are no options t

Ethernet tunnel device

2002-02-11 Thread whoever
from /dev ifconfig still lists them !! may be its because of devfs ... but there ought to be someway. trying to destroy the device using ifconfig gives an error too which (i believe) it should because destroy is not for ethernet tunnel device if I am not wrong. but there are no options to

Ethernet tunnel device

2002-02-11 Thread whoever
from /dev ifconfig still lists them !! may be its because of devfs ... but there ought to be someway. trying to destroy the device using ifconfig gives an error too which (i believe) it should because destroy is not for ethernet tunnel device if I am not wrong. but there are no options to