[ofw] Add Assert to debug BS while deleting WDF device
Leonid Keller
leonid at mellanox.co.il
Sun Dec 5 11:41:05 PST 2010
I'm not sure the last statement is right wrt opensm.
HCA driver counts only for IBAL applications.
Opensm is a winmad one and I believe, one can remove the stack while opensm is running.
> -----Original Message-----
> From: ofw-bounces at lists.openfabrics.org [mailto:ofw-
> bounces at lists.openfabrics.org] On Behalf Of Tzachi Dar
> Sent: Sunday, December 05, 2010 3:34 PM
> To: Hefty, Sean; Uri Habusha; ofw at lists.openfabrics.org; Smith, Stan;
> Fabian Tillier
> Subject: Re: [ofw] Add Assert to debug BS while deleting WDF device
>
> 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
> _______________________________________________
> ofw mailing list
> ofw at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
More information about the ofw
mailing list