Prev: UMDF CreateWdfFile problem
Next: XPSDrv Font Subsetting
From: Wayne on 27 Apr 2010 02:47 Hi there, I am implementing crash dump feature of storport virtual miniport driver. My storport virtual miniport driver service the disk child device enumerated by my bus driver. It needs an interface, a data structure pointer including some routines and context, from bus driver to deal with I/O. In normal mode, I send a query interface to bus driver to get that pointer, works fine. But in dump mode, I have no idea of how to do that because IRQL is too high. WDK document tell me that I can use MINIPORT_DUMP_POINTERS->MiniportPrivateDumpData to store some context which will be passed to PORT_CONFIGURATION_INFORMATION->Reserved member. The fact is that whatever I fill in MiniportPrivateDumpData, I always get a invalid pointer like 6D756400 in FindAdapter routine of crash dump mode. Some guys told me that crash dump feature of Storport Virtual Miniport is supported in some commercial product. Not sure if they this approach. So my question is how can I get that interface pointer from my bus driver in crash dump mode of my Stortport Virtual Miniport driver? Some guys maybe read this thread from ntdev list, sorry for that. -- thanks wayne
From: Pavel A. on 27 Apr 2010 07:31 What if your bus driver exports this data to your miniport _before_ crash occurs? -- pa "Wayne" <wayne.gong(a)oracle.com> wrote in message news:1AC29C04-3781-4C2D-9DA6-92FFE0E7043E(a)microsoft.com... > Hi there, > > I am implementing crash dump feature of storport virtual miniport driver. > My > storport virtual miniport driver service the disk child device enumerated > by > my bus driver. It needs an interface, a data structure pointer including > some > routines and context, from bus driver to deal with I/O. In normal mode, I > send a query interface to bus driver to get that pointer, works fine. But > in > dump mode, I have no idea of how to do that because IRQL is too high. > > WDK document tell me that I can use > MINIPORT_DUMP_POINTERS->MiniportPrivateDumpData to store some context > which > will be passed to PORT_CONFIGURATION_INFORMATION->Reserved member. The > fact > is that whatever I fill in MiniportPrivateDumpData, I always get a invalid > pointer like 6D756400 in FindAdapter routine of crash dump mode. Some guys > told me that crash dump feature of Storport Virtual Miniport is supported > in > some commercial product. Not sure if they this approach. > > So my question is how can I get that interface pointer from my bus driver > in > crash dump mode of my Stortport Virtual Miniport driver? > > Some guys maybe read this thread from ntdev list, sorry for that. > > -- > thanks > wayne
|
Pages: 1 Prev: UMDF CreateWdfFile problem Next: XPSDrv Font Subsetting |