Problems loading my WDM driver in Vista RC2

Posted: 10-27-2006, 05:56 PM
I am still having problems loading my driver in VISTA.

I have managed using, "Safe Mode" to disable my driver in the Device
Manager and then restart Vista. I go back into the Device Manager and
enable my driver. I see that the device LED lights up, which means
that the driver has loaded the firmware. However, I get no response
from the Device Manager (the circle is still going round and round). I
try to load an app and it says there are not devices installed.

When I reboot Vista, I have to start it in safe mode to disable the
driver. Otherwise, Vista appears to be hang up when my driver gets
loaded.

This driver was build using Windows 2000 and works just find in
Windows 2000/xp.

The driver controls a special interface device used for military
applications. The only thing I can think of is that I do name the
device when I call IoCreateDevice. Is that a problem in Vista.

I really don't know what is going on. Has anybody out there had a
problem with their WDM driver in Vista?

Is there any changes I must do in the INF file?

John
Reply With Quote

Responses to "Problems loading my WDM driver in Vista RC2"

john
Guest
Posts: n/a
 
Re: Problems loading my WDM driver in Vista RC2
Posted: 10-27-2006, 11:32 PM
On Fri, 27 Oct 2006 09:56:20 -0700, john <jvasquez@getntds.spam.com>
wrote:
>I am still having problems loading my driver in VISTA.
>
>I have managed using, "Safe Mode" to disable my driver in the Device
>Manager and then restart Vista. I go back into the Device Manager and
>enable my driver. I see that the device LED lights up, which means
>that the driver has loaded the firmware. However, I get no response
>from the Device Manager (the circle is still going round and round). I
>try to load an app and it says there are not devices installed.
>
>When I reboot Vista, I have to start it in safe mode to disable the
>driver. Otherwise, Vista appears to be hang up when my driver gets
>loaded.
>
>This driver was build using Windows 2000 and works just find in
>Windows 2000/xp.
>
>The driver controls a special interface device used for military
>applications. The only thing I can think of is that I do name the
>device when I call IoCreateDevice. Is that a problem in Vista.
>
>I really don't know what is going on. Has anybody out there had a
>problem with their WDM driver in Vista?
>
>Is there any changes I must do in the INF file?
>
>John

UPDATE:

Using windbg, I did
!devnode drivernode

I got stuff plus
ServiceName is MyDriver
State = DeviceNodeStartPending

The flags line had this
Flags (0x000000f0) DNF_ENUMERATED, DNF_IDS_QUERIED,
DNF_HAS_BOOT_CONFIG,DNF_BOOT_CONFIG_RESERVED

What does this mean? If I'm reading this right, the Device is Pending
in the PNP_START_DEVICE. I can see from the debg print statements that
I'm returning to Vista with a status of zero.

Can somebody please help me? Point me in the right direction. This
driver does work in Windows XP.


Reply With Quote
Doron Holan [MS]
Guest
Posts: n/a
 
Re: Problems loading my WDM driver in Vista RC2
Posted: 10-28-2006, 07:08 PM
did you complete teh start irp as well as return STATUS_SUCCESS (you should
actually return with the value of StartIrp->IoStatus.Status otherwise driver
verifier will complain)?

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"john" <jvasquez@getntds.spam.com> wrote in message
news:ef15k2dr1t8s23hidvcgjc2ghdq5hh9ktu@4ax.com...
> On Fri, 27 Oct 2006 09:56:20 -0700, john <jvasquez@getntds.spam.com>
> wrote:
>
>>I am still having problems loading my driver in VISTA.
>>
>>I have managed using, "Safe Mode" to disable my driver in the Device
>>Manager and then restart Vista. I go back into the Device Manager and
>>enable my driver. I see that the device LED lights up, which means
>>that the driver has loaded the firmware. However, I get no response
>>from the Device Manager (the circle is still going round and round). I
>>try to load an app and it says there are not devices installed.
>>
>>When I reboot Vista, I have to start it in safe mode to disable the
>>driver. Otherwise, Vista appears to be hang up when my driver gets
>>loaded.
>>
>>This driver was build using Windows 2000 and works just find in
>>Windows 2000/xp.
>>
>>The driver controls a special interface device used for military
>>applications. The only thing I can think of is that I do name the
>>device when I call IoCreateDevice. Is that a problem in Vista.
>>
>>I really don't know what is going on. Has anybody out there had a
>>problem with their WDM driver in Vista?
>>
>>Is there any changes I must do in the INF file?
>>
>>John
>
>
> UPDATE:
>
> Using windbg, I did
> !devnode drivernode
>
> I got stuff plus
> ServiceName is MyDriver
> State = DeviceNodeStartPending
>
> The flags line had this
> Flags (0x000000f0) DNF_ENUMERATED, DNF_IDS_QUERIED,
> DNF_HAS_BOOT_CONFIG,DNF_BOOT_CONFIG_RESERVED
>
> What does this mean? If I'm reading this right, the Device is Pending
> in the PNP_START_DEVICE. I can see from the debg print statements that
> I'm returning to Vista with a status of zero.
>
> Can somebody please help me? Point me in the right direction. This
> driver does work in Windows XP.
>
>

Reply With Quote
john
Guest
Posts: n/a
 
Re: Problems loading my WDM driver in Vista RC2
Posted: 10-30-2006, 04:41 PM
On Sat, 28 Oct 2006 11:08:52 -0700, "Doron Holan [MS]"
<doronh@nospam.microsoft.com> wrote:
>did you complete teh start irp as well as return STATUS_SUCCESS (you should
>actually return with the value of StartIrp->IoStatus.Status otherwise driver
>verifier will complain)?
>
>d
Yes I did. I verified that I was returning STATUS_SUCCESS in the
STartIrp->IoStatus.Status.

I must be doing something wrong where in XP it works but Vista it
doesn't.

Any other ideas?

John
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
driver loading Fabio De Dominicis Windows XP Device Drivers 0 04-14-2006 09:05 AM
how do i stop a bad driver from loading MDesigns Windows XP Device Drivers 1 05-26-2004 03:54 PM
Problems loading SOund Driver Martin Windows XP Device Drivers 0 12-30-2003 09:56 PM
Video Driver not loading EJ Windows XP Device Drivers 1 12-23-2003 03:57 PM
PS/2 keyboard driver not loading. Stu Windows XP Accessibility 3 09-04-2003 11:23 PM


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90