[ofw] Add Assert to debug BS while deleting WDF device

Tzachi Dar tzachid at mellanox.co.il
Sun Dec 5 05:33:48 PST 2010


For the good and for the bad, once opensm (or other user process) is running and opening the device, the stack can not go down.

Stopping the stack will result in "reboot required"

Thanks
Tzachi

> -----Original Message-----
> From: ofw-bounces at lists.openfabrics.org [mailto:ofw-
> bounces at lists.openfabrics.org] On Behalf Of Hefty, Sean
> Sent: Friday, December 03, 2010 1:58 AM
> To: Uri Habusha; ofw at lists.openfabrics.org; Smith, Stan; Fabian Tillier
> Subject: Re: [ofw] Add Assert to debug BS while deleting WDF device
> 
> > The function that fails is WdfDeviceCreateSymbolicLink that returns
> > STATUS_OBJECT_NAME_COLLISION (0xC0000035L). It doesn't happen
> consistently
> > but it happens from time to time.
> 
> Does the following describe your testing?
> 
> 1 Load the stack
> 2 Start opensm
> 3 Unload the stack
> 4 Reload the stack
> 5 Unload the stack
> 6 crash on unload
> 
> I'm wondering if Windows maintains the symbolic link (or is slow to
> destroy it) if an application actively using it when the kernel removes
> it.  If so, this would explain the failure to recreate it at step 4
> above.  And if this is the case, then I'm not sure what a fix would
> be..
> 
> - Sean
> _______________________________________________
> ofw mailing list
> ofw at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw



More information about the ofw mailing list