Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

New Windbg

OSR_Community_UserOSR_Community_User Member Posts: 110,217
I am using Win 2k free build on the test system and hence the retail build
of symbols
from customer support CD.

I am debugging an NDIS 4.0 driver on Win 2k, keep getting the
following :

Exception code - 0x00000050 (Page_fault_in_nonpaged_area)

_warning: symbols checksum and time stamp is wrong for ntdll.dll
symbol file could not be found for the following: dump_wmilib.sys,
dump_atapi.sys,win32k.sys

Since there is only one build out so far for Win 2k and Win 2k symbol files,
how
could symbols checksum and time stamp be wrong ?

How can it find the path for all other symbols and not just the above ?

Any help would be appreciated !

Naseem

Comments

  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    Are you sure you are using the newest WinDBG we released - version
    5.1.2240.1 ? (see previous messages for more info about this).
    The error messages you mention are somewhat different than what comes out
    in the current debugger (unless you reworded them)

    It's normal to get erorrs about checksums and timestamps in certain cases.
    win32k.sys and a number of other drivers are paged by the OS, and when you
    crash we can't page in the image header to get this information. So you
    get warnings about this when loading symbols - it just means the debugger
    can not verify if it's loading the correct symbol file. But the symbols
    should load fine if they are in the symbol path.

    -Andre
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    Hi all,

    I have written a miniport driver for usb device on Windows 2000.
    How do I use Windbg to debug my driver?
    Please can anyone send me details information regarding on Debugging?

    Thanks in advance,
    Syed.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Internals & Software Drivers 15 November 2021 Live, Online
Writing WDF Drivers TBD Live, Online
Developing Minifilters 7 February 2022 Live, Online
Kernel Debugging 21 March 2022 Live, Online