!usbkd.usbportmddevext
如果因错误检查 0xFE 而生成的崩溃转储中存在 usbport!_DEVICE_EXTENSION 结构,!usbkd.usbportmddevext 命令将显示该结构。
!usbkd.usbportmddevext
Usbkd.dll
只有在调试因 Bug Check 0xFE: BUGCODE_USB_DRIVER 而生成的崩溃转储文件时才能使用此命令。
下面是 !usbportmddevext 的输出示例。
1: kd> !analyze -v
*** ...
BUGCODE_USB_DRIVER (fe)
...
1: kd> !usbkd.usbportmddevext
USBPORT.SYS DEVICE_EXTENSION DATA:
Hcd FDO Extension:
Sig:4f444648 HFDO
CurrentPnpFunc: 0x00000008
PnpFuncHistoryIdx: 0x0000000d
CurrentPowerFunc: 0x00000000
PowerFuncHistoryIdx: 0x00000000
PnpLogIdx: 0x00000002
IoRequestCount: 0x00000007
IoRequestAsyncCallbackCount: 0xffffffff
IoRequestAllow: 0x00000000
Pnp Func History (idx 13)
...
[02] pnp 13 (0d) IRP_MN_FILTER_RESOURCE_REQUIREMENTS
[...
Power Func History (idx 0)
[01] pnp 255 (ff) ??? (x0) PowerDeviceUnspecified
...
**Power and Wake -----------------------------------------------
selective suspend:on (1)
PowerFlags (00000080):
*---FDO---*
PMDebug: 0x00000000
MinAllocedBw: 0x00000000
MaxAllocedBw: 0x00000000
## ...
## XDPC HISTORY_UsbHcIntDpc
State History (idx 2)
EVENT, STATE, NEXT
Log[3] @ 000000d9e7c615cc
Ev_Xdpc_Worker XDPC_DpcQueued XDPC_Running
## ...
## XDPC HISTORY_UsbDoneDpc
State History (idx 0)
EVENT, STATE, NEXT
Log[1] @ 000000d9e7c61774
Ev_Xdpc_Worker XDPC_DpcQueued XDPC_Running
## ...
## XDPC HISTORY_UsbMapDpc
State History (idx 3)
EVENT, STATE, NEXT
Log[4] @ 000000d9e7c6196c
## ...
## XDPC HISTORY_UsbIocDpc
State History (idx 0)
EVENT, STATE, NEXT
Log[1] @ 000000d9e7c61b04
Ev_Xdpc_Worker XDPC_DpcQueued XDPC_Running
...