Can anyone help me out
i have built a sample driver and got a .sys binary file
i have copied it into the %root directory%\system32\drivers directory
now i wanna see its debug log info
how could i do that
pls help me out
Thanx in advance
Can anyone help me out
i have built a sample driver and got a .sys binary file
i have copied it into the %root directory%\system32\drivers directory
now i wanna see its debug log info
how could i do that
pls help me out
Thanx in advance
You could try connecting a debugger like WinDBG or if you only want to
See debug output you could try debugview from www.sysinternals.com
Regards
Ben
-----Original Message-----
From: praveen [mailto:xxxxx@indiatimes.com]
Sent: 12 November 2003 09:43
To: Windows File Systems Devs Interest List
Subject: [ntfsd] .sys file
Can anyone help me out
i have built a sample driver and got a .sys binary file
i have copied it into the %root directory%\system32\drivers directory
now i wanna see its debug log info
how could i do that
pls help me out
Thanx in advance
You are currently subscribed to ntfsd as: xxxxx@des.co.uk
To unsubscribe send a blank email to xxxxx@lists.osr.com
Pay attention also to Windows SFP (System File Protection) feature. You can
find some info and SFP tool on www.osronline.com. WBR Primoz
-----Original Message-----
From: xxxxx@des.co.uk [mailto:xxxxx@des.co.uk]
Sent: Wednesday, November 12, 2003 10:59 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] RE: .sys file
You could try connecting a debugger like WinDBG or if you only want to See
debug output you could try debugview from www.sysinternals.com
Regards
Ben
-----Original Message-----
From: praveen [mailto:xxxxx@indiatimes.com]
Sent: 12 November 2003 09:43
To: Windows File Systems Devs Interest List
Subject: [ntfsd] .sys file
Can anyone help me out
i have built a sample driver and got a .sys binary file
i have copied it into the %root directory%\system32\drivers directory now i
wanna see its debug log info how could i do that pls help me out
Thanx in advance
You are currently subscribed to ntfsd as: xxxxx@des.co.uk
To unsubscribe send a blank email to xxxxx@lists.osr.com
You are currently subscribed to ntfsd as: xxxxx@hermes.si To
unsubscribe send a blank email to xxxxx@lists.osr.com
Hello,
Can anyone help me out
i have built a sample driver and got a .sys binary file
i have copied it into the %root directory%\system32\drivers directory
copying to %windir%\system32\drivers alone is not enough, you have to add
appropriate registry entries to get the driver running.
now i wanna see its debug log info
Then you can use tools such as debugview as Ben and Primoz has suggested.
Regards,
Elias
Hi, you can also load the driver using the osrloader tool from osr (you
can download it at www.osronline.com after you have registered), and you
can see the debug output using their dbgmon utility, or you can use
remote debugging (if you have another nt machine) and log the debug
output through WinDbg (avaiable at www.microsoft.com).
Of course remote debugging is the best thing to use, but I understand
that not everyone can have 2 nt machines at home :).
If you want to register the driver within the system, you have to add an
entry to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services, where you
have to set some values (for example start order, image path, type,
etc…), for an example, have a look at some .inf file found in the src
directory of the ddk.
If you want to load the driver on your own, for example through a
user-mode application, then you can use the service control manager’s
api, such as OpenSCManager, CreateService, ControlService, StartService
and so on.
Hope this solves your problem :).
Lorenzo
> Of course remote debugging is the best thing to use, but I understand
that not everyone can have 2 nt machines at home :).
Why remote debugging is the best thing to use? Of course if we deal with
display driver I understand it.
Thank you
Leonid
----- Original Message -----
From: “Lorenzo”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Wednesday, November 12, 2003 9:08 AM
Subject: [ntfsd] Re: .sys file
> Hi, you can also load the driver using the osrloader tool from osr (you
> can download it at www.osronline.com after you have registered), and you
> can see the debug output using their dbgmon utility, or you can use
> remote debugging (if you have another nt machine) and log the debug
> output through WinDbg (avaiable at www.microsoft.com).
> Of course remote debugging is the best thing to use, but I understand
> that not everyone can have 2 nt machines at home :).
> If you want to register the driver within the system, you have to add an
> entry to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services, where you
> have to set some values (for example start order, image path, type,
> etc…), for an example, have a look at some .inf file found in the src
> directory of the ddk.
> If you want to load the driver on your own, for example through a
> user-mode application, then you can use the service control manager’s
> api, such as OpenSCManager, CreateService, ControlService, StartService
> and so on.
>
> Hope this solves your problem :).
>
> Lorenzo
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@v-one.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
This is not really the correct place to be discussing such issues, try ntdev
or
The windbg mailing list.
But, to answer your question. Remote debugging is preferable because it
allows
You a greater deal of control of the machine being debugged.
SoftICE is a good local debugger, but, as I did, you will soon become
frustrated
By it’s limitations. The best thing I can recommend is spending some time
Learning how to use WinDBG.
Ben
-----Original Message-----
From: Leonid Meyerovich [mailto:xxxxx@v-one.com]
Sent: 12 November 2003 14:15
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Re: .sys file
Of course remote debugging is the best thing to use, but I understand
that not everyone can have 2 nt machines at home :).
Why remote debugging is the best thing to use? Of course if we deal with
display driver I understand it.
Thank you
Leonid
----- Original Message -----
From: “Lorenzo”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Wednesday, November 12, 2003 9:08 AM
Subject: [ntfsd] Re: .sys file
> Hi, you can also load the driver using the osrloader tool from osr (you
> can download it at www.osronline.com after you have registered), and you
> can see the debug output using their dbgmon utility, or you can use
> remote debugging (if you have another nt machine) and log the debug
> output through WinDbg (avaiable at www.microsoft.com).
> Of course remote debugging is the best thing to use, but I understand
> that not everyone can have 2 nt machines at home :).
> If you want to register the driver within the system, you have to add an
> entry to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services, where you
> have to set some values (for example start order, image path, type,
> etc…), for an example, have a look at some .inf file found in the src
> directory of the ddk.
> If you want to load the driver on your own, for example through a
> user-mode application, then you can use the service control manager’s
> api, such as OpenSCManager, CreateService, ControlService, StartService
> and so on.
>
> Hope this solves your problem :).
>
> Lorenzo
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@v-one.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
—
You are currently subscribed to ntfsd as: xxxxx@des.co.uk
To unsubscribe send a blank email to xxxxx@lists.osr.com