IoReportResourceUsage used in videoprt.sys?

Hello,

I noticed that under some conditions,video port driver (videoprt.sys,
WXP-sp2) got stuck at processing IRP_MN_START_DEVICE. From the stack back
trace, it appeared that it’s getting stuck at IoReportResourceUsage which
waits for a dispatch object that never gets signaled.

I was wondering why the port driver would call IoReportResourceUsage for a
PNP device? Wasn’t that for legacy driver only?

Thanks,
Calvin

Calvin Guan Software Engineer
ATI Technologies Inc. www.ati.com

ChildEBP RetAddr
f9e81900 804fafe4 nt!KiSwapContext+0x2e
f9e8190c 804f50ec nt!KiSwapThread+0x44
f9e81934 80574abc nt!KeWaitForSingleObject+0x1c0
f9e8198c 805677a9 nt!IopLegacyResourceAllocation+0x24
f9e819b8 80567b48 nt!IoReportResourceUsageInternal+0x65
f9e819f0 f968ce95 nt!IoReportResourceUsage+0x19c
f9e81a20 f96916e9 VIDEOPRT!VpReleaseResources+0x47
f9e81a38 f968c144 VIDEOPRT!VideoPortFindAdapter+0x65
f9e81b98 804ea221 VIDEOPRT!pVideoPortPnpDispatch+0x570
f9e81ba8 f9b64cf7 nt!IopfCallDriver+0x31
f9e81bcc f9b64d7a cfltr!PassRequestDownSyncWithCompletionRoutine+0xb7
[c:\cguan\filterdrivers\wdm\pfido.c @ 61]
f9e81bf4 f9b641ee cfltr!PassRequestDownFromSelf+0x4a
[c:\cguan\filterdrivers\wdm\pfido.c @ 88]
f9e81c54 f9b632f2 cfltr!FFidoDispatchPnp+0x18e
[c:\cguan\filterdrivers\wdm\gfilter.c @ 321]
f9e81c70 804ea221 cfltr!FilterDispatchPnpMain+0x32
[c:\cguan\filterdrivers\wdm\gfilter.c @ 74]
f9e81c80 8056f1ce nt!IopfCallDriver+0x31
f9e81cac 8056f23d nt!IopSynchronousCall+0xb8
f9e81cec 80574d9b nt!IopStartDevice+0x43
f9e81d38 8056ed5c nt!IopReallocateResources+0x107
f9e81d4c 804f10e9 nt!PiProcessResourceRequirementsChanged+0x5a
f9e81d74 805258ee nt!PipDeviceActionWorker+0x117
f9e81dac 805aa2b6 nt!ExpWorkerThread+0xfe
f9e81ddc 805319c6 nt!PspSystemThreadStartup+0x34
00000000 00000000 nt!KiThreadStartup+0x16