Find faulty driver with Windbg

Hi!

In my home computer, I have Windows XP SP1 installed. My HD is a 18 GB
SCSI one and I have an ADSL line.
Sometimes, my machine becomes slow, and I couldn’t isolate if it’s a HD
fault or a NDIS driver (maybe the firewall) fault. Nothing in the Event
Viewer.
I would like to know if there’s any way to find the “bad driver”, using
Windbg. In some IFSKIT PPTs, I saw something about breaking in the
thread scheduler, but I’m not sure if it’s the easier way.
I don’t know too much about DEVICE drivers, I develop File System
Filters…

Thanks…

Strauss
PS: What about a GeekFest in a sunny brazilian beach?? :slight_smile:

Another way to do this would be to have VTune fired up ready to go with “no
application” to run. Then just “start” VTune, and it will (hopefully) show
you where in the system it’s spending it’s time.

Just a thought…

[VTune is also EXCELLENT for finding out where you’re spending time in your
own driver, or application, of course].


Mats

-----Original Message-----
From: Rodrigo Strauss [mailto:xxxxx@scua.com.br]
Sent: Monday, February 02, 2004 4:35 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Find faulty driver with Windbg

Hi!

In my home computer, I have Windows XP SP1 installed.
My HD is a 18 GB
SCSI one and I have an ADSL line.
Sometimes, my machine becomes slow, and I couldn’t
isolate if it’s a HD
fault or a NDIS driver (maybe the firewall) fault. Nothing in
the Event
Viewer.
I would like to know if there’s any way to find the
“bad driver”, using
Windbg. In some IFSKIT PPTs, I saw something about breaking in the
thread scheduler, but I’m not sure if it’s the easier way.
I don’t know too much about DEVICE drivers, I develop
File System
Filters…

Thanks…

Strauss
PS: What about a GeekFest in a sunny brazilian beach?? :slight_smile:


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@3dlabs.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

VTune is really cool. Besides it, there are some alternatives:

KernRate.exe shipped with DDK (free)
TrueTime (part of DriverStudio)

Calvin Guan, Software Engineer xxxxx@nospam.ati.com
ATI Technologies Inc. Markham ON. Canada
Tel: (905) 882-2600 Ext. 8654

-----Original Message-----
From: xxxxx@3Dlabs.com [mailto:xxxxx@3Dlabs.com]
Sent: Monday, February 02, 2004 11:41 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Find faulty driver with Windbg

Another way to do this would be to have VTune fired up ready
to go with “no
application” to run. Then just “start” VTune, and it will
(hopefully) show
you where in the system it’s spending it’s time.

Just a thought…

[VTune is also EXCELLENT for finding out where you’re
spending time in your
own driver, or application, of course].


Mats

> -----Original Message-----
> From: Rodrigo Strauss [mailto:xxxxx@scua.com.br]
> Sent: Monday, February 02, 2004 4:35 PM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] Find faulty driver with Windbg
>
>
> Hi!
>
> In my home computer, I have Windows XP SP1 installed.
> My HD is a 18 GB
> SCSI one and I have an ADSL line.
> Sometimes, my machine becomes slow, and I couldn’t
> isolate if it’s a HD
> fault or a NDIS driver (maybe the firewall) fault. Nothing in
> the Event
> Viewer.
> I would like to know if there’s any way to find the
> “bad driver”, using
> Windbg. In some IFSKIT PPTs, I saw something about breaking in the
> thread scheduler, but I’m not sure if it’s the easier way.
> I don’t know too much about DEVICE drivers, I develop
> File System
> Filters…
>
>
> Thanks…
>
>
> Strauss
> PS: What about a GeekFest in a sunny brazilian beach?? :slight_smile:
>
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@3dlabs.com
> To unsubscribe send a blank email to
xxxxx@lists.osr.com
>


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@ati.com
To unsubscribe send a blank email to xxxxx@lists.osr.com