Osr Virtual storport miniport sample question

I was trying to learn about Virtual storport development and was playing with the Osr Virtual storport miniport sample. It works great in all cases except when I try to remove the adapter from device manager or devcon it hangs in the remove.

I have noticed that the hang happens only after I have created a disk and done some IO to it, (I dont receive any ScsiStopAdapter). If I try to remove the adapter without creating any disk it works fine and i receive ScsiStopAdapter call.

Any suggestions how to make it work.

-V

Make sure you complete all requests sent to your miniport

d

Bent from my phone


From: xxxxx@gmail.commailto:xxxxx
Sent: ?7/?13/?2013 3:01 PM
To: Windows System Software Devs Interest Listmailto:xxxxx
Subject: [ntdev] Osr Virtual storport miniport sample question

I was trying to learn about Virtual storport development and was playing with the Osr Virtual storport miniport sample. It works great in all cases except when I try to remove the adapter from device manager or devcon it hangs in the remove.

I have noticed that the hang happens only after I have created a disk and done some IO to it, (I dont receive any ScsiStopAdapter). If I try to remove the adapter without creating any disk it works fine and i receive ScsiStopAdapter call.

Any suggestions how to make it work.

-V


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

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</mailto:xxxxx></mailto:xxxxx>

I tried tracking all the request received and completed and I see that all of them are completed. I think there may be some adapter param which is being returned is wrong.
-V