Problem with windbg latest Beta version

Hi all

I am having a problem with windbd tool . I am not able to set a break point
on source file . It says code not found though I set all the sym path and
source path and executable image path . This is the message down below I
found on the debugger .
Can anybody help me to solve this problem ?

kd> .reload usbdrv.pdb
Unable to read image header for dmload.sys at eb502000
Unable to read image header for \SystemRoot\System32\DRIVERS\fdc.sys at
eb2c8000
Unable to read image header for \SystemRoot\System32\Drivers\Null.SYS at
eb5db000

Unable to retrieve the PEB address. This is usually caused
by being in the wrong process context or by paging

Module “usbdrv.pdb” was not found in the module list.
Debugger will attempt to load module “usbdrv.pdb” by guessing the base
address.

Please provide the full image name, including the extension (i.e.
kernel32.dll) for more reliable results.
DBGHELP: FindDebugInfoFileEx-> Looking for c:\winnt\symbols\symbols.dbg…
path not found
DBGHELP: FindDebugInfoFileEx-> Looking for c:\winnt\symbols.dbg… file not
found
DBGHELP: FindDebugInfoFileEx-> Looking for c:\winnt\symbols.dbg… file not
found
DBGHELP: FindDebugInfoFileEx-> Looking for .dbg… file not found
DBGHELP: FindExecutableImageEx-> Looking for C:\Program Files\Debugging
Tools for Windows\usbdrv.pdb… no file
DBGHELP: FindExecutableImageEx-> Searching c:\winnt\symbols for
usbdrv.pdb… DBGHELP: FindExecutableImageEx-> Looking for
c:\winnt\symbols\usbdrv.pdb… OK
found
DBGHELP: diaLocatePDB-> Looking for .\usbdrv.pdb… file not found
DBGHELP: diaLocatePDB-> Looking for
c:\winnt\symbols\symbols\pdb\usbdrv.pdb… file not found
DBGHELP: diaLocatePDB-> Looking for c:\winnt\symbols\pdb\usbdrv.pdb… file
not found
DBGHELP: diaLocatePDB-> Looking for c:\winnt\symbols\usbdrv.pdb… unknown
pdb sig OK
DBGHELP: No base address for usbdrv.pdb: Please specify

Thanks in advance

Srinivasa


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Don’t specify the pdb file, specify the executible object, such as
usbdrv.sys. The pdb file must be in your symbol search path.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
Srinivasa Rao Deevi
Sent: Friday, June 08, 2001 9:10 PM
To: NT Developers Interest List
Subject: [ntdev] Problem with windbg latest Beta version

kd> .reload usbdrv.pdb

Module “usbdrv.pdb” was not found in the module list.


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hi Mark

Thanks for the response.
I have tried that also. I don’t know why it cannot find source pah correctly
though after setting paths correctly .


kd> .reload usbdrv.sys

Module “usbdrv.sys” was not found in the module list.
Debugger will attempt to load module “usbdrv.sys” by guessing the base
address.

Please provide the full image name, including the extension (i.e.
kernel32.dll) for more reliable results.
*** WARNING: Unable to verify Timestamp for usbdrv.sys


The above is the response I got from the debugger . Any idea where I am
doing mistake ?
Thanks in advance
srinivas

-----Original Message-----
From: Mark Roddy [mailto:xxxxx@hollistech.com]
Sent: Friday, June 08, 2001 7:14 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Problem with windbg latest Beta version

Don’t specify the pdb file, specify the executible object, such as
usbdrv.sys. The pdb file must be in your symbol search path.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
Srinivasa Rao Deevi
Sent: Friday, June 08, 2001 9:10 PM
To: NT Developers Interest List
Subject: [ntdev] Problem with windbg latest Beta version

kd> .reload usbdrv.pdb

Module “usbdrv.pdb” was not found in the module list.


You are currently subscribed to ntdev as: xxxxx@transilica.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Yeah, I get the same message if I attempt the following:

kd> .reload foobar.sys

Module “foobar.sys” was not found in the module list.
Debugger will attempt to load module “foobar.sys” by guessing the base
address.

Now my test system does not have a driver named ‘foobar.sys’ and I am
guessing that usbdrv.sys is not currently loaded on your system either.

Try !drivers - this will list all of the loaded kernel modules. Or you
can get similar results from the menu bar Debug\Modules. If usbdrv.sys
is not listed, then it is not loaded and consequently it will be very
difficult for windbg to find the symbols.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
Srinivasa Rao Deevi
Sent: Friday, June 08, 2001 10:40 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Problem with windbg latest Beta version

Hi Mark

Thanks for the response.
I have tried that also. I don’t know why it cannot find
source pah correctly though after setting paths correctly .


kd> .reload usbdrv.sys

Module “usbdrv.sys” was not found in the module list.
Debugger will attempt to load module “usbdrv.sys” by guessing
the base address.

Please provide the full image name, including the extension (i.e.
kernel32.dll) for more reliable results.
*** WARNING: Unable to verify Timestamp for usbdrv.sys


The above is the response I got from the debugger . Any idea
where I am doing mistake ?
Thanks in advance
srinivas

-----Original Message-----
From: Mark Roddy [mailto:xxxxx@hollistech.com]
Sent: Friday, June 08, 2001 7:14 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Problem with windbg latest Beta version

Don’t specify the pdb file, specify the executible object,
such as usbdrv.sys. The pdb file must be in your symbol search path.

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of
> Srinivasa Rao Deevi
> Sent: Friday, June 08, 2001 9:10 PM
> To: NT Developers Interest List
> Subject: [ntdev] Problem with windbg latest Beta version
>
>
> kd> .reload usbdrv.pdb
>
> Module “usbdrv.pdb” was not found in the module list.


You are currently subscribed to ntdev as:
xxxxx@transilica.com To unsubscribe send a blank email to
leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@tellink.net
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hi Mark

I could not find the driver in the driver list . The driver is loaded and
unloaded when the deivce is connected and removed . I wanted to set a break
point before it calls the StartDevice by an PNP message . I think may be I
am doing mistake here. How do I set a break point in case of WDM drivers ?
What is the procedure for it ?

Thanks in advance
srinivas

-----Original Message-----
From: Mark Roddy [mailto:xxxxx@hollistech.com]
Sent: Friday, June 08, 2001 7:56 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Problem with windbg latest Beta version

Yeah, I get the same message if I attempt the following:

kd> .reload foobar.sys

Module “foobar.sys” was not found in the module list.
Debugger will attempt to load module “foobar.sys” by guessing the base
address.

Now my test system does not have a driver named ‘foobar.sys’ and I am
guessing that usbdrv.sys is not currently loaded on your system either.

Try !drivers - this will list all of the loaded kernel modules. Or you
can get similar results from the menu bar Debug\Modules. If usbdrv.sys
is not listed, then it is not loaded and consequently it will be very
difficult for windbg to find the symbols.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
Srinivasa Rao Deevi
Sent: Friday, June 08, 2001 10:40 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Problem with windbg latest Beta version

Hi Mark

Thanks for the response.
I have tried that also. I don’t know why it cannot find
source pah correctly though after setting paths correctly .


kd> .reload usbdrv.sys

Module “usbdrv.sys” was not found in the module list.
Debugger will attempt to load module “usbdrv.sys” by guessing
the base address.

Please provide the full image name, including the extension (i.e.
kernel32.dll) for more reliable results.
*** WARNING: Unable to verify Timestamp for usbdrv.sys


The above is the response I got from the debugger . Any idea
where I am doing mistake ?
Thanks in advance
srinivas

-----Original Message-----
From: Mark Roddy [mailto:xxxxx@hollistech.com]
Sent: Friday, June 08, 2001 7:14 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Problem with windbg latest Beta version

Don’t specify the pdb file, specify the executible object,
such as usbdrv.sys. The pdb file must be in your symbol search path.

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of
> Srinivasa Rao Deevi
> Sent: Friday, June 08, 2001 9:10 PM
> To: NT Developers Interest List
> Subject: [ntdev] Problem with windbg latest Beta version
>
>
> kd> .reload usbdrv.pdb
>
> Module “usbdrv.pdb” was not found in the module list.


You are currently subscribed to ntdev as:
xxxxx@transilica.com To unsubscribe send a blank email to
leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@tellink.net
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@transilica.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com