Storport miniport crashes if interrupt is not handled.

hi,
i am writing a storport miniport driver. till now i am not using any interrupt from the hardware so i have not put any isr handler in HW_INIT_DATA datastructure. Driver installes properly but problem occurs during rebooting. my system crashes. if i just put a blank handler which just returns true during interrupt then it slow down my system.
does anybody have any idea what to do if i dont want to handle ISR?
thanks,
Hitesh

If this is a hardware device based storage adapter it has to have an ISR and
you cannot return TRUE if the interrupt is not for you. Try returning FALSE.
However if your device is causing an interrupt, you cannot ignore it, you
have to process it by at a minimum shutting off the interrupt as per your
device specifications.

Mark Roddy

On Tue, Jul 13, 2010 at 10:50 PM, wrote:

> hi,
> i am writing a storport miniport driver. till now i am not using any
> interrupt from the hardware so i have not put any isr handler in
> HW_INIT_DATA datastructure. Driver installes properly but problem occurs
> during rebooting. my system crashes. if i just put a blank handler which
> just returns true during interrupt then it slow down my system.
> does anybody have any idea what to do if i dont want to handle ISR?
> thanks,
> Hitesh
>
> —
> 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
>

thanks mark,
yes i have to hadle it, but i also tried the same hardware in windows xp with scsiport miniport driver and i am able to ignore the interrut by not providing any ISR handler in my driver entry routine.
there is no issue with scsiport miniport driver, but it creates problem only with storport driver.

thanks,
hitesh

So scsiport and storport are different. Provide an ISR and return FALSE if
the interrupt is not for you. The WDK indicates that:

*HwInterrupt*

Pointer to the miniport driver’s *HwStorInterrupt* routine, *which is a
required entry point for all miniport drivers*

Mark Roddy

On Wed, Jul 14, 2010 at 12:40 AM, wrote:

> thanks mark,
> yes i have to hadle it, but i also tried the same hardware in windows xp
> with scsiport miniport driver and i am able to ignore the interrut by not
> providing any ISR handler in my driver entry routine.
> there is no issue with scsiport miniport driver, but it creates problem
> only with storport driver.
>
> thanks,
> hitesh
>
> —
> 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
>