[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IRP_MN_SET_POWER - will do some more digging.


  • To: Paul Durrant <xadimgnik@xxxxxxxxx>, "win-pv-devel@xxxxxxxxxxxxxxxxxxxx" <win-pv-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Martin Harvey <martin.harvey@xxxxxxxxxx>
  • Date: Mon, 17 Oct 2022 13:59:14 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gWqowEFwOVzGf7nRJiHS9o+KHSQbj5wE5TjDYywUcMA=; b=EyQkx5f4h1cSiNpYaK+TecjdIygKaDop6UGmaP78E1Ex3W6Q9FsZH+hoK+kzUMU91w3EdKxEgA/Z06wzUb2TKvAPbu6ywG2ow9f7nhwHGEhaSa6ja8xUx8rNvRgzNnTGG3N0r8qk2P7ParCbnftCChWZAsry1A9ZDkENVUUSlw+P7Q6qrmqUzrTXiuVAkQmcsgXnMGAhR0/J5NVNvCMUXkTL0zwM7ELS6ahsYlhBzXeURgNl1EZxTZPLHmBr6Jj3n26NX5L8B3XuoA4mT6Re6sWla81DR7WPTUHUbXPt4TYniVxl0AR+BLkTPNY0rWeKjD5vWydqSvpbbWfJPW+/+w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NX/8jfOZCMg5WOhhXXArZvapBUpiuCMQyNaKBpHv13wqt0Vpbkd8pWTYGwjvfM2ps8zInAjoygWdHBTHDkp56BBMK99WBYK2LN2ZmuVFtVWyLxNJSd+HfOEsIDVYyqDm3piuwxjjJoOMHlOYCzh19uEMfQvBPAjzixBu/mXpjYFPpRC3UXtGzlByA2X3H+XQiO0hJ0F1izSGLJM7S0ds/IF4qR3x0zRQN9Fr3htDM1ngw0sOPWyWsVcWDqNvPN6VjNkpI0AknS/nXQeT7ORLnkE3oQy0R2Sj4yn8VNUa0oIKHt6z0FcQIHJAEWSPua2WpfEgwfgrs1Y5qMdFjWz+CQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Delivery-date: Mon, 17 Oct 2022 13:59:27 +0000
  • Ironport-data: A9a23:C8pnla2szlvjTjkpovbD5cxwkn2cJEfYwER7XKvMYLTBsI5bpzwBn zBNWTuAbv+ON2ajKo1/O9jl8hhT78CBmN5nTwFppC1hF35El5HIVI+TRqvS04F+DeWYFR46s J9OAjXkBJppJpMJjk71atANlVEliefSAOKU5NfsYkhZXRVjRDoqlSVtkus4hp8AqdWiCkaGt MiaT/f3YTdJ4BYpdDNJg06/gEk35q6r4GpH5gVWic1j5zcyqVFEVPrzGonpR5fIatE8NvK3Q e/F0Ia48gvxl/v6Ior4+lpTWhRiro/6ZWBiuFIPM0SRqkEqShgJ+rQ6LJIhhXJ/0F1lqTzTJ OJl7vRcQS9xVkHFdX90vxNwS0mSNoUekFPLzOTWXWV+ACQqflO1q8iCAn3aMqUDqudqGXsW1 MUjDwIhX0mhrceWmrK0H7wEasQLdKEHPas5k1Q5l3T8MqxjRprOBaLX+dVfwTE8wNhUGurTb NYYbjwpawncZxpIOREcD5dWcOWA3yGjNWEH7gzL4/Zni4TQ5FUZPLzFNdPPZt2MA8VchFiVt 0rN/njjAwFcP9uaodaA2iL23raWzH2qMG4UPKWez8xokUyL/C8SVT0OZ2mXjt36pnfrDrqzL GRRoELCt5Ma5EWnT9zyWRy7iHGBtx8YHdFXFoUS9wCLj7LKpgqUGGUAZjpAc8A98t87QyQw0 V2ElM+vAiZg2IB5UlqY/7aQ6DatYy4cKDZYYTdeFVdVpd7+vIs0kxTDCM55F7K4hcH0Hje2x C2WqC85hPMYistjO7iHwG0rSgmE/vDhJjPZLC2MNo55xmuVvLKYWrE=
  • Ironport-hdrordr: A9a23:PQ8FcK6FEQuhwqOV9wPXwXaBI+orL9Y04lQ7vn2ZFiY5TiXIra qTdaogviMc0AxhIE3I6urwQ5VoJkmsvqKdgLNhdYtKOTOLhILGFvAH0WKP+Vzd8mjFh5dgPM RbAuJD4b/LfD9HZK/BiWHWferIguP3lpxA7t2urEuFODsaDp2ImD0JaDpzfHcXeCB2Qb4CUL aM7MtOoDStPV4NaN6gO3UDV+/f4/XWiZPPe3c9dlIawTjLqQntxK/xEhCe0BtbeShI260e/W /MlBG8zrm/ssu81gTX2wbonttrcZrau5V+7f63+4gowwbX+0WVjUNaKv+/VQUO0aCSAZAR4Z zxSlkbToBOAjjqDxuISFPWqnTdOXAVmjLfIBaj8AfeiN28SzQgB8Vbg4VFNhPf9ko7pdl5lL lGxmSDqvNsfGT9dQnGlq31vitR5z6JiGtnlfRWg21UUIMYZrMUpYsD/FlNGJNFGC7h8ogoHO RnEcmZvZ9tABqnRmGcunMqzM2nX3w1EBvDSk8eutaN2zwTmHxi1UMXyMEWg39F/pMgTJtP4f jCL81T5cdzZ95Tabg4CPYKQMOxBGCISRXQMHiKKVCiD60DM2Klke+E3Fz03pDYRHUl9upCpH 2aaiImiYcbQTORNeSemJtW7xvKXGKxGTzw18A23ekIhoHB
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>
  • Thread-index: AQHY4jCj8vYSZV6/00qovQBitzRGzQ==
  • Thread-topic: IRP_MN_SET_POWER - will do some more digging.

Okay, well regardless of discussion about the power model, we still see these 
occasionally, it's an open question at the moment as to whether it's the IRP 
handling (which you have nicely serialized), or whether pci is expecting some 
different ordering somewhere.

I can probably find time to do some more digging.

0: kd> !analyze -v
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

DRIVER_POWER_STATE_FAILURE (9f)
A driver has failed to complete a power IRP within a specific time.
Arguments:
Arg1: 0000000000000003, A device object has been blocking an Irp for too long a 
time
Arg2: ffffc70d76838060, Physical Device Object of the stack
Arg3: fffff80372e0b960, nt!TRIAGE_9F_POWER on Win7 and higher, otherwise the 
Functional Device Object of the stack
Arg4: ffffc70d79580010, The blocked IRP

Debugging Details:
------------------

Implicit thread is now ffffc70d`79015080
Page 17b4 not present in the dump file. Type ".hh dbgerr004" for details
Page 17b4 not present in the dump file. Type ".hh dbgerr004" for details
Page 500 not present in the dump file. Type ".hh dbgerr004" for details
Page 500 not present in the dump file. Type ".hh dbgerr004" for details
Page 500 not present in the dump file. Type ".hh dbgerr004" for details

KEY_VALUES_STRING: 1

    Key  : Analysis.CPU.Sec
    Value: 2

    Key  : Analysis.DebugAnalysisProvider.CPP
    Value: Create: 8007007e on CAMMARTINHARL01

    Key  : Analysis.DebugData
    Value: CreateObject

    Key  : Analysis.DebugModel
    Value: CreateObject

    Key  : Analysis.Elapsed.Sec
    Value: 4

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 72

    Key  : Analysis.System
    Value: CreateObject


BUGCHECK_CODE:  9f

BUGCHECK_P1: 3

BUGCHECK_P2: ffffc70d76838060

BUGCHECK_P3: fffff80372e0b960

BUGCHECK_P4: ffffc70d79580010

DRVPOWERSTATE_SUBCODE:  3

FAULTING_THREAD:  ffffc70d79015080

ADDITIONAL_DEBUG_TEXT:  DXG Power IRP timeout.

IRP_ADDRESS: ffffc70d79580010

DEVICE_OBJECT: ffffc70d76838060

DRIVER_OBJECT: ffffc70d76806e60

IMAGE_NAME:  pci.sys

MODULE_NAME: pci

FAULTING_MODULE: fffff804942c0000 pci

PROCESS_NAME:  System

STACK_TEXT:  
ffffb681`79866540 fffff803`710ff46d : ffffc70d`00000000 00000000`00000001 
00000000`00000004 00000000`00000004 : nt!KiSwapContext+0x76
ffffb681`79866680 fffff803`710fef0f : 00000000`00000000 fffff804`947fefd4 
00000000`00000000 ffffc70d`7664b578 : nt!KiSwapThread+0x17d
ffffb681`79866730 fffff803`71100ce7 : ffffc70d`00000000 00000000`00000000 
ffffc70d`795801b8 00000000`00000000 : nt!KiCommitThreadWait+0x14f
ffffb681`798667d0 fffff804`947ff1d5 : ffffb681`798668b0 ffffc70d`00000000 
00000000`00000000 00000000`00000000 : nt!KeWaitForSingleObject+0x377
ffffb681`79866880 fffff804`947feb1b : ffffc70d`79580001 ffffffff`ee1e5d00 
ffffc70d`79580010 00000000`00000003 : dxgkrnl!DpiFdoHandleDevicePower+0x1e5
ffffb681`79866910 fffff804`993fff05 : ffffc70d`76f5b030 ffffb681`79866ad9 
00000000`00000000 ffffc70d`795801b8 : dxgkrnl!DpiDispatchPower+0x8b
ffffb681`79866a30 fffff804`993ff3c4 : ffffc70d`76f5b030 ffffc70d`76adaa00 
ffffc70d`79015080 ffffc70d`76f5b030 : nvlddmkm+0xe2ff05
ffffb681`79866b40 fffff803`711be4e2 : ffffc70d`79015080 ffffb681`79866bf0 
fffff803`71391600 fffff803`71391680 : nvlddmkm+0xe2f3c4
ffffb681`79866b70 fffff803`7119c7fd : ffffffff`fa0a1f00 fffff803`711be304 
ffffc70d`77a59180 00000000`0000014e : nt!PopIrpWorker+0x1de
ffffb681`79866c10 fffff803`711f6e96 : fffff803`713d3180 ffffc70d`79015080 
fffff803`7119c7bc 00000000`00000246 : nt!PspSystemThreadStartup+0x41
ffffb681`79866c60 00000000`00000000 : ffffb681`79867000 ffffb681`79861000 
00000000`00000000 00000000`00000000 : nt!KiStartSystemThread+0x16


STACK_COMMAND:  .thread 0xffffc70d79015080 ; kb

IMAGE_VERSION:  10.0.14393.4530

SYMBOL_NAME:  pci!KsrGetFirmwareInformation <PERF> (pci+0x0)+0

BUCKET_ID_FUNC_OFFSET:  0

FAILURE_BUCKET_ID:  
0x9F_3_POWER_DOWN_DXG_POWER_IRP_TIMEOUT_pci!KsrGetFirmwareInformation__PERF__(pci+0x0)

OS_VERSION:  10.0.14393.5356

BUILDLAB_STR:  rs1_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

FAILURE_ID_HASH:  {53d336d3-c267-16ba-08dd-28b3916e530f}

Followup:     MachineOwner
---------

0: kd> .thread ffffc70d7682b040
Implicit thread is now ffffc70d`7682b040
0: kd> kv
  *** Stack trace for last set context - .thread/.cxr resets it
 # Child-SP          RetAddr           : Args to Child                          
                                 : Call Site
00 ffffb681`761bb540 fffff803`710ff46d : ffffb681`00000000 00000000`00000001 
ffffb681`761bb940 00000000`00000000 : nt!KiSwapContext+0x76
01 ffffb681`761bb680 fffff803`710fef0f : ffffc70d`7682b040 ffffc70d`7682b140 
00000000`00000000 00000000`00000000 : nt!KiSwapThread+0x17d
02 ffffb681`761bb730 fffff803`710b98b6 : ffffc70d`00000000 ffffc70d`00000000 
ffffb681`00000049 ffffb681`761bb8f0 : nt!KiCommitThreadWait+0x14f
03 ffffb681`761bb7d0 fffff804`942c37f7 : ffffffff`ffffffff fffff804`942c3e52 
ffffc70d`00000000 fffff804`942c5d16 : nt!KeDelayExecutionThread+0x106
04 ffffb681`761bb850 fffff804`942d26b6 : 00000000`00000000 00000000`00000000 
ffffffff`fffc1707 ffffc70d`79580000 : pci!PciStallForPowerChange+0x127
05 ffffb681`761bb8e0 fffff804`942d24a8 : ffffc70d`7683000b ffffc70d`768381b0 
ffffc70d`79580010 fffff803`713d3180 : pci!PciSetHardwarePowerStateDispatch+0xfe
06 ffffb681`761bb940 fffff804`942d1d65 : ffffc70d`768381b0 ffffc70d`79580010 
ffffc70d`76838738 ffffc70d`7682ea40 : pci!PciPowerDownDevice+0x150
07 ffffb681`761bb990 fffff804`942c633d : ffffc70d`765fac60 ffffc70d`795800e0 
00000000`00000000 fffff804`93564b9f : pci!PciDevice_SetPower+0x175
08 ffffb681`761bb9f0 fffff804`9358a6e2 : ffffc70d`765fac60 00000000`00000000 
ffffc70d`79580128 00790074`00690074 : pci!PciDispatchPnpPower+0xcd
09 ffffb681`761bba50 fffff804`93564416 : ffffc70d`7682ea40 00000000`00000000 
ffffc70d`765fac60 00000000`00000000 : ACPI!ACPIFilterIrpSetPower+0xe2
0a ffffb681`761bbab0 fffff804`943a3458 : 00000000`00000007 ffffc70d`7683c880 
00000000`00000080 00000000`00000004 : ACPI!ACPIDispatchIrp+0x2d6
0b ffffb681`761bbb30 fffff804`943a58d9 : ffffc70d`79580010 00000000`00000004 
fffff804`00000004 006c0069`00000000 : xenfilt!FdoForwardIrpSynchronously+0x78 
[E:\jenkins\workspace\win-xenbus_master\local\src\xenfilt\fdo.c @ 524] 
0c ffffb681`761bbb90 fffff804`943a653a : ffffc70d`7664b560 00000000`00000080 
fffff804`943a6520 ffffc70d`7664b560 : xenfilt!PdoDevicePower+0x109 
[E:\jenkins\workspace\win-xenbus_master\local\src\xenfilt\pdo.c @ 1625] 
0d ffffb681`761bbbe0 fffff803`7119c7fd : ffffc70d`7682b040 fffff804`943a6520 
006e0069`00660065 00620020`00640065 : xenfilt!ThreadFunction+0x1a 
[E:\jenkins\workspace\win-xenbus_master\local\src\xenfilt\thread.c @ 109] 
0e ffffb681`761bbc10 fffff803`711f6e96 : fffff803`713d3180 ffffc70d`7682b040 
fffff803`7119c7bc 00740073`0075006d : nt!PspSystemThreadStartup+0x41
0f ffffb681`761bbc60 00000000`00000000 : ffffb681`761bc000 ffffb681`761b6000 
00000000`00000000 00000000`00000000 : nt!KiStartSystemThread+0x16
0: kd> !irp ffffc70d79580010 
Irp is active with 5 stacks 1 is current (= 0xffffc70d795800e0)
 No Mdl: No System Buffer: Thread 00000000:  Irp stack trace.  
     cmd  flg cl Device   File     Completion-Context
>[IRP_MJ_POWER(16), IRP_MN_SET_POWER(2)]
            0 e0 ffffc70d76838060 00000000 fffff8049358a710-fffff80493589a80 
Success Error Cancel 
               \Driver\pci      ACPI!ACPIDeviceIrpDeviceFilterRequest
                        Args: 00016600 00000001 00000004 00000005
 [IRP_MJ_POWER(16), IRP_MN_SET_POWER(2)]
            0 e1 ffffc70d7682ea40 00000000 fffff804943a1cd0-ffffb681761bbb60 
Success Error Cancel pending
               \Driver\ACPI     xenfilt!DriverQueryCompletion
                        Args: 00016600 00000001 00000004 00000005
 [IRP_MJ_POWER(16), IRP_MN_SET_POWER(2)]
            0 e1 ffffc70d7683c9b0 00000000 fffff8049472f0c0-ffffb681798668b0 
Success Error Cancel pending
               \Driver\xenfilt  dxgkrnl!DpiFdoPowerCompletionRoutine
                        Args: 00016600 00000001 00000004 00000005
 [IRP_MJ_POWER(16), IRP_MN_SET_POWER(2)]
            0 e1 ffffc70d76f5b030 00000000 fffff803711bdd20-ffffc70d78cd62a0 
Success Error Cancel pending
               \Driver\nvlddmkm nt!PopRequestCompletion
                        Args: 00016600 00000001 00000004 00000005
 [N/A(0), N/A(0)]
            0  0 00000000 00000000 00000000-ffffc70d78cd62a0    

                        Args: 00000000 00000000 00000000 00000000

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.