 |
|
 |
|
Next: copyhostent
|
| Author |
Message |
External

Since: Aug 29, 2006 Posts: 38
|
(Msg. 1) Posted: Fri Oct 27, 2006 9:56 am
Post subject: Problems loading my WDM driver in Vista RC2 Archived from groups: microsoft>public>windowsxp>device_driver>dev (more info?)
|
|
|
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 >> Stay informed about: Problems loading my WDM driver in Vista RC2 |
|
| Back to top |
|
 |  |
External

Since: Aug 29, 2006 Posts: 38
|
(Msg. 2) Posted: Fri Oct 27, 2006 3:32 pm
Post subject: Re: Problems loading my WDM driver in Vista RC2 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Fri, 27 Oct 2006 09:56:20 -0700, john <jvasquez DeleteThis @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. >> Stay informed about: Problems loading my WDM driver in Vista RC2 |
|
| Back to top |
|
 |  |
External

Since: Jan 28, 2004 Posts: 42
|
(Msg. 3) Posted: Sat Oct 28, 2006 11:08 am
Post subject: Re: Problems loading my WDM driver in Vista RC2 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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 DeleteThis @getntds.spam.com> wrote in message
news:ef15k2dr1t8s23hidvcgjc2ghdq5hh9ktu@4ax.com...
> On Fri, 27 Oct 2006 09:56:20 -0700, john <jvasquez DeleteThis @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.
>
> >> Stay informed about: Problems loading my WDM driver in Vista RC2 |
|
| Back to top |
|
 |  |
External

Since: Aug 29, 2006 Posts: 38
|
(Msg. 4) Posted: Mon Oct 30, 2006 8:41 am
Post subject: Re: Problems loading my WDM driver in Vista RC2 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Sat, 28 Oct 2006 11:08:52 -0700, "Doron Holan [MS]"
<doronh.TakeThisOut@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 >> Stay informed about: Problems loading my WDM driver in Vista RC2 |
|
| Back to top |
|
 |  |
| Related Topics: | driver loading - so: updated the switch /bootlog in the boot.ini allows to create the logfile ntbtlog.txt, which contains alerts of successful or unsuccessful system driver loading process. when I examine this file, I see that a specific driver, is correctly loaded but....
Question about loading driver - Hello, I am creating a kernel mode driver (.sys file). This driver will only be used for a program I create that uses hardware that will only be in systems my company creates. My question is how to load the driver. Does it have to be loaded at power....
KeQueryTickCount on AMD64 Vista. - I'm building my driver for AMD64 Vista and getting this function unresolved. I checked the wlh\amd64\ntoskrnl.lib from the latest nt6 ddk (the one I'm linking with) and the KeQueryCountTick() is not there anymore (the i386\ntoskrnl.lib counterpart still....
porting to windows vista - NdisSendPackets do not work - Someone can help me?? Andre Siqueira escreveu: > I'm not "locking" the user buffer because I allocate memory and > then copy the user buffer with NdisMoveMemory. > > I don't use NetBuffers because I want the code run in NDIS &g...
obtaining vista logo for ndis+wdm drivers - Hi everyone, In the "Windows Logo Program 3.0" document I read the following paragraph: "A driver for an Ethernet device must make only NDIS or WDF calls. Any calls to kernel mode components are not allowed." Yet I am not sure what... |
|
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum
|
|
|
|
 |
|
|