// JP opened flex table

Click to See Complete Forum and Search --> : WINXP PnP Manager fails to dispatch IRP_MN_START_DEVICE


Saurov
April 10th, 2007, 07:05 AM
I have developed a PCIe driver for WINXP using WDM. While installing the device the control is comming to DriverEntry, then AddDevice, then DispatchPnP function to handle IRP_MN_FILTER_RESOURCE_REQUIREMENTS but after that the PnP manger not dispatching the IRP_MN_START_DEVICE.

I tried out the following possibilities and found those are not issues:-

1. Not enough memory in the system and hence the resource allocation is failing - I modified the Bar Mask 0 ( the only enabled bar of the config space) to just 64KB ( from internal of the device ), and also the system has 1 GB Ram. So this possibility can be ruled out

2. The Bar registers are not read/write able - I tried to write and read some value in the enabled bar registers ( just to simulate the PnP enumeration ) in the DriverEntry function and it passed. So this proves that enabled Bar registers are r/w able from host.

Now I am absolutely clueless why the above failure is happening. Suggestions on this topic is highly appreciable

//JP added flex table