Software only driver - kmdf

Hi,

Could you please help me.

Os - Win7 x86

I’ would like create my first simple software only kernel mode driver.

I’ve implemented only following functions:

DRIVER_INITIALIZE DriverEntry;

EVT_WDF_DRIVER_DEVICE_ADD EvtDeviceAdd;

EVT_WDF_OBJECT_CONTEXT_CLEANUP EvtDriverContextCleanup;

Please not I have NO device

I’ve turned on WPP, driver has been install successfully as per devcon util (I’ve checked, all files are presents in the C:\Windows\System32\DriverStore\FileRepository and setupapi.dev.log say that all are ok)

I’ve added log session on TraceView but nothing appeared, i’ve reboot PC - log file is empty.

So, I see only driver’s files and know nothing about it :((

How can I check driver status? Is it alive? Where can I find simple working example software only driver?

Thanks,
Sergey

There used to be a ‘nonpnp’ kmdf software only driver sample in the wdk;
maybe it is still there in the current (7.1.7600.0) wdk, but I can’t find
it. I know that it was there in the Vista WDK.

There’s also the option of writing a legacy (NT4) style driver. To the best
of my knowledge, the latest such sample is also in the Vista WDK -
General/IOCTL.

While KMDF is so clearly the right answer for most drivers (that support
it), personally, I think that it really doesn’t offer anything over an NT4
style legacy driver in your case, and is actually more complicated.

Good luck,

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Wednesday, July 14, 2010 5:15 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Software only driver - kmdf

Hi,

Could you please help me.

Os - Win7 x86

I’ would like create my first simple software only kernel mode driver.

I’ve implemented only following functions:

DRIVER_INITIALIZE DriverEntry;

EVT_WDF_DRIVER_DEVICE_ADD EvtDeviceAdd;

EVT_WDF_OBJECT_CONTEXT_CLEANUP EvtDriverContextCleanup;

Please not I have NO device

I’ve turned on WPP, driver has been install successfully as per devcon util
(I’ve checked, all files are presents in the
C:\Windows\System32\DriverStore\FileRepository and setupapi.dev.log say that
all are ok)

I’ve added log session on TraceView but nothing appeared, i’ve reboot PC -
log file is empty.

So, I see only driver’s files and know nothing about it :((

How can I check driver status? Is it alive? Where can I find simple working
example software only driver?

Thanks,
Sergey


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

A Soft Life – Implementing Software-Only Drivers Using KMDF
http://www.osronline.com/article.cfm?id=390

Build it checked and get debugview (http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx) to view the nothing driver log

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-417989-
xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Thursday, July 15, 2010 9:15 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Software only driver - kmdf

Hi,

Could you please help me.

Os - Win7 x86

I’ would like create my first simple software only kernel mode driver.

I’ve implemented only following functions:

DRIVER_INITIALIZE DriverEntry;

EVT_WDF_DRIVER_DEVICE_ADD EvtDeviceAdd;

EVT_WDF_OBJECT_CONTEXT_CLEANUP EvtDriverContextCleanup;

Please not I have NO device

I’ve turned on WPP, driver has been install successfully as per devcon
util (I’ve checked, all files are presents in the
C:\Windows\System32\DriverStore\FileRepository and setupapi.dev.log say
that all are ok)

I’ve added log session on TraceView but nothing appeared, i’ve reboot
PC - log file is empty.

So, I see only driver’s files and know nothing about it :((

How can I check driver status? Is it alive? Where can I find simple
working example software only driver?

Thanks,
Sergey


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

NonPnp is still there … \WinDDK<version>\src\general\ioctl\kmdf\sys.

Do you have WinDbg connected? Did you set a breakpoint in DriverEntry and
step through it? That’s the fastest way to determine if your driver is
loaded or bailed out.

Gary G. Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of M. M. O’Brien
Sent: Wednesday, July 14, 2010 4:17 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Software only driver - kmdf

There used to be a ‘nonpnp’ kmdf software only driver sample in the wdk;
maybe it is still there in the current (7.1.7600.0) wdk, but I can’t find
it. I know that it was there in the Vista WDK.

There’s also the option of writing a legacy (NT4) style driver. To the best
of my knowledge, the latest such sample is also in the Vista WDK -
General/IOCTL.

While KMDF is so clearly the right answer for most drivers (that support
it), personally, I think that it really doesn’t offer anything over an NT4
style legacy driver in your case, and is actually more complicated.

Good luck,

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Wednesday, July 14, 2010 5:15 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Software only driver - kmdf

Hi,

Could you please help me.

Os - Win7 x86

I’ would like create my first simple software only kernel mode driver.

I’ve implemented only following functions:

DRIVER_INITIALIZE DriverEntry;

EVT_WDF_DRIVER_DEVICE_ADD EvtDeviceAdd;

EVT_WDF_OBJECT_CONTEXT_CLEANUP EvtDriverContextCleanup;

Please not I have NO device

I’ve turned on WPP, driver has been install successfully as per devcon util
(I’ve checked, all files are presents in the
C:\Windows\System32\DriverStore\FileRepository and setupapi.dev.log say that
all are ok)

I’ve added log session on TraceView but nothing appeared, i’ve reboot PC -
log file is empty.

So, I see only driver’s files and know nothing about it :((

How can I check driver status? Is it alive? Where can I find simple working
example software only driver?

Thanks,
Sergey


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

That’s the old nonpnp sample?

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gary G. Little
Sent: Wednesday, July 14, 2010 5:28 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Software only driver - kmdf

NonPnp is still there … \WinDDK<version>\src\general\ioctl\kmdf\sys.

Do you have WinDbg connected? Did you set a breakpoint in DriverEntry and
step through it? That’s the fastest way to determine if your driver is
loaded or bailed out.

Gary G. Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of M. M. O’Brien
Sent: Wednesday, July 14, 2010 4:17 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Software only driver - kmdf

There used to be a ‘nonpnp’ kmdf software only driver sample in the wdk;
maybe it is still there in the current (7.1.7600.0) wdk, but I can’t find
it. I know that it was there in the Vista WDK.

There’s also the option of writing a legacy (NT4) style driver. To the best
of my knowledge, the latest such sample is also in the Vista WDK -
General/IOCTL.

While KMDF is so clearly the right answer for most drivers (that support
it), personally, I think that it really doesn’t offer anything over an NT4
style legacy driver in your case, and is actually more complicated.

Good luck,

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Wednesday, July 14, 2010 5:15 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Software only driver - kmdf

Hi,

Could you please help me.

Os - Win7 x86

I’ would like create my first simple software only kernel mode driver.

I’ve implemented only following functions:

DRIVER_INITIALIZE DriverEntry;

EVT_WDF_DRIVER_DEVICE_ADD EvtDeviceAdd;

EVT_WDF_OBJECT_CONTEXT_CLEANUP EvtDriverContextCleanup;

Please not I have NO device

I’ve turned on WPP, driver has been install successfully as per devcon util
(I’ve checked, all files are presents in the
C:\Windows\System32\DriverStore\FileRepository and setupapi.dev.log say that
all are ok)

I’ve added log session on TraceView but nothing appeared, i’ve reboot PC -
log file is empty.

So, I see only driver’s files and know nothing about it :((

How can I check driver status? Is it alive? Where can I find simple working
example software only driver?

Thanks,
Sergey


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Hi Daniel, mm

2 Daniel

Thanks for the article I’ve used it as base, but logs are absent, so I can not check, is it work or not :frowning:

2 mm

I’ve 7600.16385.1, yes you are right the “nonpnp” is present, thanks a lot. I’ll take a look.

mm,

Yes, I’ve windbg, but it not connected to kernel mode. As per “windows driver foundation” (“How to Enable Kernel Debugging for Windows Vista”) i’ve to configure usb or other connector but i’ve no device, so i thought that it’s only available for device drivers not for software only drivers.

I’m not entirely sure what you’re saying here, but you definitely can and
should have windbg connected to the kernel.

Are you saying that you have none of 1394, usb or serial?

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Wednesday, July 14, 2010 5:40 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Software only driver - kmdf

mm,

Yes, I’ve windbg, but it not connected to kernel mode. As per “windows
driver foundation” (“How to Enable Kernel Debugging for Windows Vista”) i’ve
to configure usb or other connector but i’ve no device, so i thought that
it’s only available for device drivers not for software only drivers.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

as per book (the author explain creating driver for USB), so it’s for device, so i’s wrong for me

"To Enable Kernel Debugging on a Windows Vista System
Open a command window with elevated privileges.

Run the following command:

bcdedit /debug on

You must also run an additional BCDEdit command to select and configure the communication link. For example, the following BCDEdit command specifies the debug settings for all operating systems on the computer as an IEEE 1394 connection using channel 32:

bcdedit /dbgsettings 1394 channel:32"

As i write software only driver so I’ve thought above example only for drivers WITH device.

My full environment real PC and virtual PC. Mmm as per your comment i think that kernel mode activation are the same as for “software only” and “device” drivers, is it?

It is, but since you are using a vm, you have to use the serial transport:

http://msdn.microsoft.com/en-us/library/ff538143(VS.85).aspx

What type of virtualization are you using: vmware, virtual pc, et. c.?

Good luck,

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Wednesday, July 14, 2010 5:57 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Software only driver - kmdf

as per book (the author explain creating driver for USB), so it’s for
device, so i’s wrong for me

"To Enable Kernel Debugging on a Windows Vista System Open a command window
with elevated privileges.

Run the following command:

bcdedit /debug on

You must also run an additional BCDEdit command to select and configure the
communication link. For example, the following BCDEdit command specifies the
debug settings for all operating systems on the computer as an IEEE 1394
connection using channel 32:

bcdedit /dbgsettings 1394 channel:32"

As i write software only driver so I’ve thought above example only for
drivers WITH device.

My full environment real PC and virtual PC. Mmm as per your comment i think
that kernel mode activation are the same as for “software only” and “device”
drivers, is it?


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Based on it, but KMDF now.

Gary G. Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of M. M. O’Brien
Sent: Wednesday, July 14, 2010 4:30 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Software only driver - kmdf

That’s the old nonpnp sample?

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gary G. Little
Sent: Wednesday, July 14, 2010 5:28 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Software only driver - kmdf

NonPnp is still there … \WinDDK<version>\src\general\ioctl\kmdf\sys.

Do you have WinDbg connected? Did you set a breakpoint in DriverEntry and
step through it? That’s the fastest way to determine if your driver is
loaded or bailed out.

Gary G. Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of M. M. O’Brien
Sent: Wednesday, July 14, 2010 4:17 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Software only driver - kmdf

There used to be a ‘nonpnp’ kmdf software only driver sample in the wdk;
maybe it is still there in the current (7.1.7600.0) wdk, but I can’t find
it. I know that it was there in the Vista WDK.

There’s also the option of writing a legacy (NT4) style driver. To the best
of my knowledge, the latest such sample is also in the Vista WDK -
General/IOCTL.

While KMDF is so clearly the right answer for most drivers (that support
it), personally, I think that it really doesn’t offer anything over an NT4
style legacy driver in your case, and is actually more complicated.

Good luck,

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Wednesday, July 14, 2010 5:15 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Software only driver - kmdf

Hi,

Could you please help me.

Os - Win7 x86

I’ would like create my first simple software only kernel mode driver.

I’ve implemented only following functions:

DRIVER_INITIALIZE DriverEntry;

EVT_WDF_DRIVER_DEVICE_ADD EvtDeviceAdd;

EVT_WDF_OBJECT_CONTEXT_CLEANUP EvtDriverContextCleanup;

Please not I have NO device

I’ve turned on WPP, driver has been install successfully as per devcon util
(I’ve checked, all files are presents in the
C:\Windows\System32\DriverStore\FileRepository and setupapi.dev.log say that
all are ok)

I’ve added log session on TraceView but nothing appeared, i’ve reboot PC -
log file is empty.

So, I see only driver’s files and know nothing about it :((

How can I check driver status? Is it alive? Where can I find simple working
example software only driver?

Thanks,
Sergey


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

I did not know that.

Thanks,

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gary G. Little
Sent: Wednesday, July 14, 2010 6:12 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Software only driver - kmdf

Based on it, but KMDF now.

Gary G. Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of M. M. O’Brien
Sent: Wednesday, July 14, 2010 4:30 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Software only driver - kmdf

That’s the old nonpnp sample?

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gary G. Little
Sent: Wednesday, July 14, 2010 5:28 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Software only driver - kmdf

NonPnp is still there … \WinDDK<version>\src\general\ioctl\kmdf\sys.

Do you have WinDbg connected? Did you set a breakpoint in DriverEntry and
step through it? That’s the fastest way to determine if your driver is
loaded or bailed out.

Gary G. Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of M. M. O’Brien
Sent: Wednesday, July 14, 2010 4:17 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Software only driver - kmdf

There used to be a ‘nonpnp’ kmdf software only driver sample in the wdk;
maybe it is still there in the current (7.1.7600.0) wdk, but I can’t find
it. I know that it was there in the Vista WDK.

There’s also the option of writing a legacy (NT4) style driver. To the best
of my knowledge, the latest such sample is also in the Vista WDK -
General/IOCTL.

While KMDF is so clearly the right answer for most drivers (that support
it), personally, I think that it really doesn’t offer anything over an NT4
style legacy driver in your case, and is actually more complicated.

Good luck,

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Wednesday, July 14, 2010 5:15 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Software only driver - kmdf

Hi,

Could you please help me.

Os - Win7 x86

I’ would like create my first simple software only kernel mode driver.

I’ve implemented only following functions:

DRIVER_INITIALIZE DriverEntry;

EVT_WDF_DRIVER_DEVICE_ADD EvtDeviceAdd;

EVT_WDF_OBJECT_CONTEXT_CLEANUP EvtDriverContextCleanup;

Please not I have NO device

I’ve turned on WPP, driver has been install successfully as per devcon util
(I’ve checked, all files are presents in the
C:\Windows\System32\DriverStore\FileRepository and setupapi.dev.log say that
all are ok)

I’ve added log session on TraceView but nothing appeared, i’ve reboot PC -
log file is empty.

So, I see only driver’s files and know nothing about it :((

How can I check driver status? Is it alive? Where can I find simple working
example software only driver?

Thanks,
Sergey


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

“nonpnp.sys” IS a driver, regardless that it has no hardware associated with
it. So fire up a Virtual PC session and run WinDbg connected via a named
pipe, or use VirtualKD. It’s been discussed, and cussed, enough here that
not running some form of the 'bag with active breakpoint and “!analyze -v”
is simply inexcusable.

Gary G. Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Wednesday, July 14, 2010 4:40 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Software only driver - kmdf

mm,

Yes, I’ve windbg, but it not connected to kernel mode. As per “windows
driver foundation” (“How to Enable Kernel Debugging for Windows Vista”) i’ve
to configure usb or other connector but i’ve no device, so i thought that
it’s only available for device drivers not for software only drivers.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

I use VMware Workstation 7, i’ve found several articles about kernel debug. I’ll try to connect to kernel mode thru windbg and check driver…

That’s DEFINITELY the next step.

Once you get connected, the FIRST thing you need to do is to make sure that
your symbols are setup correctly:

.sympath srv*c:\sym*http://msdl.microsoft.com/download/symbols
.reload -f -n
lml
lme

[You can replace ‘c:\sym’ with any local directory that you wish to use to
store symbols.]

Make sure that you don’t have lots of symbols errors. You’ll always have
some, but at a minimum, you need to make sure that both ‘nt’ and ‘hal’ do
not have symbol errors.

Good luck,

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Wednesday, July 14, 2010 6:19 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Software only driver - kmdf

I use VMware Workstation 7, i’ve found several articles about kernel debug.
I’ll try to connect to kernel mode thru windbg and check driver…


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

All,

Thanks a lot, I’ll try to do the next step. :slight_smile:

Sergey

Good luck.

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Wednesday, July 14, 2010 6:34 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Software only driver - kmdf

All,

Thanks a lot, I’ll try to do the next step. :slight_smile:

Sergey


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Once you get WinDbg running (per above), you can hard code a breakpoint in your DriverEntry function… just call DbgBreakPoint();

If you get the breakpoint, you can just continue (G in WinDbg)… if you don’t, you know that you’re driver’s not being loaded.

Peter
OSR