<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: Re: Using Driver Verifier under W2k - report error
From: Damion Wilson <dwilson,AT,ibl,DOT,bm>
Date: Wed, 20 Nov 2002 13:52:58 +0100
In-reply-to: <Pine.LNX.4.44.0211201058150.1690-100000@server2.del>

I build using NT4.0 DDK which doesn't even have IRP_MJ_POWER defined. I can 
change the code so that the default behaviour is STATUS_NOT_SUPPORTED, 
though, but I'll have to see what other side effects there are.

I didn't even know about the driver verifier...

DKW

On Wednesday 20 November 2002 06:28 am, Vladimir Michl wrote:
> W2k and later versions have driver verifier (run verifier.exe from
> WINNT\system32\).
>
> The page about verifier is:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ddtools/hh
>/ddtools/dv_962b.asp
>
> I try verification on cipdrvr and this is result.
>
> IO verification level 2:
>  - BSOD with IO System Verification Error (WDM DRIVER ERROR 231)
>    cipdrvr.sys+1c43 at EB4B9C43
>    Meaning of code 231 may be read from
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ddtools/hh
>/ddtools/bccodes_5pyf.asp and is "The caller has completed a successful
> IRP_MJ_POWER instead of passing it down. (IRP specified.)".
>
> I look to cipdrvr.c and see in CipeTapDeviceHook:
>
>     NTSTATUS l_Status = STATUS_SUCCESS;
>     ...
>
>     switch (l_IrpSp->MajorFunction)  {
>     ...
>
>         default:
>             IoCompleteRequest (p_IRP, IO_NO_INCREMENT);
>             break;
>            }
>        }
>     return l_Status;
>    }
>
> It mean, that any unknown MajorFunction is reported as SUCCESS and this
> generate previous error. I think that result for default must be
> STATUS_NOT_SUPPORTED.
> Good may be DbgView for all default responses.
>
> Vladimir
>
> ---------------------------------------------------------------------------
> Vladimír Michl <Vladimir.Michl,AT,hlubocky,DOT,del,DOT,cz> Del a.s., 
> Strojírenská 38,
> &Zcaron;&dcaron;ár nad Sázavou pobo&ccaron;ka Olomoucká 355, 
> Hlubo&ccaron;ky-Mariánské Údolí tel: +420
> 585 353 548, fax: +420 585 352 364 http://hlubocky.del.cz





<< | Thread Index | >> ]    [ << | Date Index | >> ]