I was able to figure out a way to get past this problem in a ‘healthy’
manner. I’ve yet to test it on a single processor box but it feels
like it should work.
I start a spare thread at passive that waits on an event. When it
receives the event it does my shutdown work at passive and completes
the PnP IRP back to storport. This appears to work fine.
-Robert.
On Mon, Dec 13, 2010 at 12:24 PM, Mark Roddy wrote:
> Probably dispatch in startio but less than dispatch in buildio.
>
> Mark Roddy
>
>
>
> On Mon, Dec 13, 2010 at 12:03 PM, Robert Randall
> wrote:
>> Ah, that had not occurred to me… ?The card does not cache any data destined for the persistent storage but it does cache some internal statistics that need to be written out during shutdown. ?Do the various flush notifications occur at PASSIVE or are they at DISPATCH?
>>
>> Robert.
>>
>> On Dec 9, 2010, at 5:09 PM, Mark Roddy wrote:
>>
>>> I don’t understand your response.
>>>
>>> It seems you are caching data in your controller - so you should
>>> register for the various flush notifications.
>>>
>>> Mark Roddy
>>>
>>>
>>>
>>> On Thu, Dec 9, 2010 at 3:29 PM, Robert Randall
>>> wrote:
>>>> Yeah, I found that out. ?Not much I can do with this mess except
>>>> demand at least 2 processors… ?yuck.
>>>>
>>>> On Thu, Dec 9, 2010 at 12:36 PM, Mark Roddy wrote:
>>>>> Not only are interrupts disabled but there is no guarantee that the
>>>>> adapter is even present.
>>>>>
>>>>> Mark Roddy
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Dec 9, 2010 at 12:30 PM, Robert Randall
>>>>> wrote:
>>>>>> Well, now it appears that interrupt handling has been disabled
>>>>>> somehow. ?When I go to execute my shutdown code, I need to send i/o to
>>>>>> the PCI device (HBA) to properly shut it down. ?I send I/O down to the
>>>>>> card but I never receive an interrupt. ?It feels like STORport has
>>>>>> masked my interrupt before calling AdapterControl…
>>>>>>
>>>>>> HELP!
>>>>>> Lost in the woods…
>>>>>> Robert.
>>>>>>
>>>>>> On Wed, Dec 8, 2010 at 12:00 PM, Robert Randall
>>>>>> wrote:
>>>>>>> Oh my, does it ever!! ?Already worried about that one 
>>>>>>>
>>>>>>> On Wed, Dec 8, 2010 at 11:56 AM, ? wrote:
>>>>>>>> I would suggest to you to test your finding in all platforms you are going to use. Implementation of storage stack stuff changes in each version of Windows.
>>>>>>>>
>>>>>>>> Igor Sharovar
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> —
>>>>>>>> NTDEV is sponsored by OSR
>>>>>>>>
>>>>>>>> For our schedule of WDF, WDM, debugging and other seminars visit:
>>>>>>>> http://www.osr.com/seminars
>>>>>>>>
>>>>>>>> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> –
>>>>>>> Robert Randall | xxxxx@gmail.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> –
>>>>>> Robert Randall | xxxxx@gmail.com
>>>>>>
>>>>>> —
>>>>>> NTDEV is sponsored by OSR
>>>>>>
>>>>>> For our schedule of WDF, WDM, debugging and other seminars visit:
>>>>>> http://www.osr.com/seminars
>>>>>>
>>>>>> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>>>>>>
>>>>>
>>>>> —
>>>>> NTDEV is sponsored by OSR
>>>>>
>>>>> For our schedule of WDF, WDM, debugging and other seminars visit:
>>>>> http://www.osr.com/seminars
>>>>>
>>>>> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>>>>>
>>>>
>>>>
>>>>
>>>> –
>>>> Robert Randall | xxxxx@gmail.com
>>>>
>>>> —
>>>> NTDEV is sponsored by OSR
>>>>
>>>> For our schedule of WDF, WDM, debugging and other seminars visit:
>>>> http://www.osr.com/seminars
>>>>
>>>> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>>>>
>>>
>>> —
>>> NTDEV is sponsored by OSR
>>>
>>> For our schedule of WDF, WDM, debugging and other seminars visit:
>>> http://www.osr.com/seminars
>>>
>>> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>>
>>
>> —
>> NTDEV is sponsored by OSR
>>
>> For our schedule of WDF, WDM, debugging and other seminars visit:
>> http://www.osr.com/seminars
>>
>> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>
–
Robert Randall | xxxxx@gmail.com