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

Subject: Using Driver Verifier under W2k - report error
From: Vladimir Michl <vladimir.michl,AT,hlubocky,DOT,del,DOT,cz>
Date: Wed, 20 Nov 2002 11:46:18 +0100

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 | >> ]