debugging streaming minidriver

hi
How to use Windbg for debugging streaming minidriver?
Do I need to install driver in the target PC?
If so how do I do it?I cannot install it manually as driver INF file is a part of
Image INF (which comes with OS)?
Hope I will get help on this?

Thanks
Jaya

An easy preliminary way (just to continue with your debugging) is just
to try and overwrite the actual driver (.sys) in the directory
where it currently is. I did this for serial.sys and it works on my
machine (Windows 2000). Reboot your machine for your driver to be
loaded.

You normally have to configure your ddk tools for ‘checked’ version
for your driver to write debug information to your debugger. I am
using DbgView on 2000 and it is very intuitive. Don’t you have to use
WinDbg as a remote debugger (via serial cross connect (null modem)
between two machines ) ? If so then DbgView is much simpler (Assuming
you have NT).

On some Windows 2000 machines I have found that the OS removes the new
driver file and re-installs the old. It seems to have a daemon that
continually checks if all the kernel components are present and
correct and if not it replaces them automatically. I am not sure how
to overcome this problem yet. Maybe somebody has some work-around to
solve this problem

I am quite new with drivers so maybe there are better ways to do it.
Eventually you will have to do it the correct way - via some setup
file. This is just an interim to get you going and focus on changing
the driver.

-----Original Message-----
From: Jayalakshmi [mailto:xxxxx@bpltelecom.com]
Sent: 18 March 2003 15:08
To: NT Developers Interest List
Subject: [ntdev] debugging streaming minidriver

hi
How to use Windbg for debugging streaming minidriver?
Do I need to install driver in the target PC?
If so how do I do it?I cannot install it manually as driver INF file
is a part of
Image INF (which comes with OS)?
Hope I will get help on this?

Thanks
Jaya


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

To replace a pre-equipped driver, you need to boot into safe mode. This
way, the system will not replace it with the version from the box.

Mathieu Routhier

-----Original Message-----
From: Henko Gouws (H) [mailto:xxxxx@telkom.co.za]
Sent: Tuesday, March 18, 2003 8:26 AM
To: NT Developers Interest List
Subject: [ntdev] RE: debugging streaming minidriver

An easy preliminary way (just to continue with your debugging) is just to
try and overwrite the actual driver (.sys) in the directory where it
currently is. I did this for serial.sys and it works on my machine (Windows
2000). Reboot your machine for your driver to be loaded.

You normally have to configure your ddk tools for ‘checked’ version for your
driver to write debug information to your debugger. I am using DbgView on
2000 and it is very intuitive. Don’t you have to use WinDbg as a remote
debugger (via serial cross connect (null modem) between two machines ) ? If
so then DbgView is much simpler (Assuming you have NT).

On some Windows 2000 machines I have found that the OS removes the new
driver file and re-installs the old. It seems to have a daemon that
continually checks if all the kernel components are present and correct and
if not it replaces them automatically. I am not sure how to overcome this
problem yet. Maybe somebody has some work-around to solve this problem

I am quite new with drivers so maybe there are better ways to do it.
Eventually you will have to do it the correct way - via some setup file.
This is just an interim to get you going and focus on changing the driver.
-----Original Message-----
From: Jayalakshmi [mailto:xxxxx@bpltelecom.com]
Sent: 18 March 2003 15:08
To: NT Developers Interest List
Subject: [ntdev] debugging streaming minidriver
hi
How to use Windbg for debugging streaming minidriver?
Do I need to install driver in the target PC?
If so how do I do it?I cannot install it manually as driver INF file is a
part of
Image INF (which comes with OS)?
Hope I will get help on this?

Thanks
Jaya


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

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

thanks - this will solve my problem as well

regards
Henko
-----Original Message-----
From: Mathieu Routhier [mailto:xxxxx@guillemot.com]
Sent: 18 March 2003 16:11
To: NT Developers Interest List
Subject: [ntdev] RE: debugging streaming minidriver

To replace a pre-equipped driver, you need to boot into safe mode.
This way, the system will not replace it with the version from the
box.

Mathieu Routhier

-----Original Message-----
From: Henko Gouws (H) [mailto:xxxxx@telkom.co.za]
Sent: Tuesday, March 18, 2003 8:26 AM
To: NT Developers Interest List
Subject: [ntdev] RE: debugging streaming minidriver

An easy preliminary way (just to continue with your debugging) is just
to try and overwrite the actual driver (.sys) in the directory
where it currently is. I did this for serial.sys and it works on my
machine (Windows 2000). Reboot your machine for your driver to be
loaded.

You normally have to configure your ddk tools for ‘checked’ version
for your driver to write debug information to your debugger. I am
using DbgView on 2000 and it is very intuitive. Don’t you have to use
WinDbg as a remote debugger (via serial cross connect (null modem)
between two machines ) ? If so then DbgView is much simpler (Assuming
you have NT).

On some Windows 2000 machines I have found that the OS removes the new
driver file and re-installs the old. It seems to have a daemon that
continually checks if all the kernel components are present and
correct and if not it replaces them automatically. I am not sure how
to overcome this problem yet. Maybe somebody has some work-around to
solve this problem

I am quite new with drivers so maybe there are better ways to do it.
Eventually you will have to do it the correct way - via some setup
file. This is just an interim to get you going and focus on changing
the driver.
-----Original Message-----
From: Jayalakshmi [mailto:xxxxx@bpltelecom.com]
Sent: 18 March 2003 15:08
To: NT Developers Interest List
Subject: [ntdev] debugging streaming minidriver
hi
How to use Windbg for debugging streaming minidriver?
Do I need to install driver in the target PC?
If so how do I do it?I cannot install it manually as driver INF file
is a part of
Image INF (which comes with OS)?
Hope I will get help on this?

Thanks
Jaya


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

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

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

Yes, you need to install the driver on target PC. Work around the installation issues for this.

Max

----- Original Message -----
From: Jayalakshmi
To: NT Developers Interest List
Sent: Tuesday, March 18, 2003 4:07 PM
Subject: [ntdev] debugging streaming minidriver

hi
How to use Windbg for debugging streaming minidriver?
Do I need to install driver in the target PC?
If so how do I do it?I cannot install it manually as driver INF file is a part of
Image INF (which comes with OS)?
Hope I will get help on this?

Thanks
Jaya


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

The “daemon” you’re speaking about is called System File Protection, and www.osr.com had an utility to disable it.
I can email it to you if you will have problems finding it.

Max
----- Original Message -----
From: Henko Gouws (H)
To: NT Developers Interest List
Sent: Tuesday, March 18, 2003 4:26 PM
Subject: [ntdev] RE: debugging streaming minidriver

An easy preliminary way (just to continue with your debugging) is just to try and overwrite the actual driver (.sys) in the directory where it currently is. I did this for serial.sys and it works on my machine (Windows 2000). Reboot your machine for your driver to be loaded.

You normally have to configure your ddk tools for ‘checked’ version for your driver to write debug information to your debugger. I am using DbgView on 2000 and it is very intuitive. Don’t you have to use WinDbg as a remote debugger (via serial cross connect (null modem) between two machines ) ? If so then DbgView is much simpler (Assuming you have NT).

On some Windows 2000 machines I have found that the OS removes the new driver file and re-installs the old. It seems to have a daemon that continually checks if all the kernel components are present and correct and if not it replaces them automatically. I am not sure how to overcome this problem yet. Maybe somebody has some work-around to solve this problem

I am quite new with drivers so maybe there are better ways to do it. Eventually you will have to do it the correct way - via some setup file. This is just an interim to get you going and focus on changing the driver.
-----Original Message-----
From: Jayalakshmi [mailto:xxxxx@bpltelecom.com]
Sent: 18 March 2003 15:08
To: NT Developers Interest List
Subject: [ntdev] debugging streaming minidriver

hi
How to use Windbg for debugging streaming minidriver?
Do I need to install driver in the target PC?
If so how do I do it?I cannot install it manually as driver INF file is a part of
Image INF (which comes with OS)?
Hope I will get help on this?

Thanks
Jaya


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

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