Problem with NDIS(checked_build) debug trace Windows 8

  1. We have followed the procedure to enable the NDIS debug trace.

  2. host machine - windows 7

  3. target machine - windows 8

  4. replaced the ndis.sys checked build in system32\drivers

  5. enabled the registry settings for ndis trace (DebugLevel & DebugSystems)

  6. After this we assume, if we do any ndis activity we should be able to see the
    responce in DbgView

  • But we are not getting any corresponding ndis logs in DbgView (Kernel capture
    is enable)
  1. We tried to use DebugBreakPoint for Ndis.sys (registry)
  • Loaded the MS symbols (ndis.pdb) in WinDbg and tried to break.
  • WinDbg response with NDIS!DriverEntry, but we are not able to break into
    ndis.sys. Also after that if we do any ndis activity then getting following
    error

NETCFG: Failed to access NDIS.SYS, Status=0xc0000022
NETCFG: Failed to access NDIS.SYS, Status=0xc0000022
NETCFG: Failed to access NDIS.SYS, Status=0xc0000022
NETCFG: Failed to access NDIS.SYS, Status=0xc0000022

  • Loaded NdisKd.dll to use ndis debugger extension commands. if I use command
    !ndiskd.dbglevel then getting following error…

Type information missing error for ndisDebugLevel
NDIS debug information is not available. Debug information is only
available on a checked version of ndis.sys.

  1. We also tried this procedure with Win7 to Win 7 checked build as well, but
    couldnt able to get ndis traces.

Can someone pl. responce, what we are missing to enable to ndis trace logs?