Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1213791yba; Thu, 4 Apr 2019 06:31:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqyY7CCnAV7Ffh1FlitOeyCcVUOkqC2RNPIXc0IrlEqGt6iiUTWaNTOjIun3SQQN/nX5Wuam X-Received: by 2002:a65:6205:: with SMTP id d5mr5859508pgv.61.1554384719647; Thu, 04 Apr 2019 06:31:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554384719; cv=none; d=google.com; s=arc-20160816; b=tPdsXzcAsJ3I7NEtCHujAtejwJj2Kk0N44zSUhFxD2fy7VHD6u6/F/BZHT1nt4erd/ ZutUP2VN7pxPiQT9sFzrNKb+OW+femqgZfC5Qfm7YYTvBipSLgL6hLDjKcfoa/AsHcs2 W8qFbf2KhRpot4R3rVURa3kLMx8Bn/MJj35mfTN0iZEgItGJ3yvQtVVCGe3+HSgMfIMQ 2Iwe6wPCvGcr+60Ru5cRb9w0dOAduyz3M9MBfcoo4R3uHCZnFRgEmn8Ul6AefOUUGYku E43doq5cFI4NVDa/6INCx5jChHzLJWts+L4r0QoIszGg0NNoF/2Kc7HGtR0E7GcxxQ4i ECvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:cc:references:to:subject; bh=PY96Gxj1k7WGBpAlxdnefzO5t0pdCzomg3n7vj8Diao=; b=Mkn6MssZSeYQbx7H7X2+1o6maIeejrw48ApT19MbYaO34Pl/yyQjM3cOyIWuUHxk1x gmWzDsYOQ4UbIw3N6D5NNVaG/wsmZWV2TWvbAGU6S9Buqz6w3KBhBAQ/jWrekQlnMPLi Kn0H1+fmKWKSVii0XqcwhnM8r99Z/MgfFMHy9ooulXZSSGMv4eQc1y0UYtEwQhOHuvTA nAJ7CVbOI91XibXygQjktx5DBFj3cjoWPhA5C5+y0ppEMTwgGppbz6BLfmgJz36dVWcD i2i2CGoLlSwcnCqicajD4OL0dAHRSMpqoQft0Q8lC4wlNpOBAHklnQ684h9kv52RFYZW Eeeg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t15si16645133pgq.235.2019.04.04.06.31.44; Thu, 04 Apr 2019 06:31:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730016AbfDDNa2 (ORCPT + 99 others); Thu, 4 Apr 2019 09:30:28 -0400 Received: from lhrrgout.huawei.com ([185.176.76.210]:32917 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727398AbfDDNa2 (ORCPT ); Thu, 4 Apr 2019 09:30:28 -0400 Received: from LHREML714-CAH.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 1B6CF9FF3180C0DCAA6E; Thu, 4 Apr 2019 14:29:57 +0100 (IST) Received: from [10.204.65.150] (10.204.65.150) by smtpsuk.huawei.com (10.201.108.37) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 4 Apr 2019 14:29:52 +0100 Subject: Re: Unable to suspend lenovo t61 To: Zdenek Kabelac References: <6972b2f2-7538-e51a-c5e0-e1ed08d95e04@redhat.com> CC: LKML , "linux-integrity@vger.kernel.org" From: Roberto Sassu Message-ID: <1e3e499e-63e8-dbf5-3a0e-7dd78807c369@huawei.com> Date: Thu, 4 Apr 2019 15:29:52 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <6972b2f2-7538-e51a-c5e0-e1ed08d95e04@redhat.com> Content-Type: text/plain; charset="iso-8859-2"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.204.65.150] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Zdenek I add in CC linux-integrity@vger.kernel.org. Please have a look at: https://lore.kernel.org/linux-integrity/20190329094212.GC21379@linux.intel.com/T/#t The patch suggested in the discussion should help. Regards Roberto On 4/4/2019 3:04 PM, Zdenek Kabelac wrote: > Hello > > > Recently after trying kernels above 5.1.0-0.rc0.git4.2.fc31.x86_64 on my > Fedora Rawhide - I cannot suspend Lenovo T61 laptop (2.2 C2D CPU,? 4G RAM) > > I can only guess it can be related to this TPM reported error: > > ---- > PM: suspend exit > PM: suspend entry (s2idle) > PM: Syncing filesystems ... done. > Freezing user space processes ... (elapsed 0.001 seconds) done. > OOM killer disabled. > Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done. > printk: Suspending console(s) (use no_console_suspend to debug) > sd 0:0:0:0: [sda] Synchronizing SCSI cache > sd 0:0:0:0: [sda] Stopping disk > tpm tpm0: tpm_try_transmit: send(): error -5 > tpm tpm0: Error (-5) sending savestate before suspend > PM: __pnp_bus_suspend(): tpm_pm_suspend+0x0/0x80 returns -5 > PM: dpm_run_callback(): pnp_bus_suspend+0x0/0x10 returns -5 > PM: Device 00:05 failed to suspend: error -5 > PM: Some devices failed to suspend, or early wake event detected > sd 0:0:0:0: [sda] Starting disk > thinkpad_acpi: ACPI backlight control delay disabled > usb 3-2: reset full-speed USB device number 2 using uhci_hcd > ata4.00: ACPI cmd ef/03:42:00:00:00:a0 (SET FEATURES) filtered out > ata4.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out > ata3: SATA link down (SStatus 0 SControl 300) > PM: resume devices took 1.009 seconds > OOM killer enabled. > Restarting tasks ... done. > PM: suspend exit > sleep[3690]: Failed to suspend system. System resumed again: > Input/output error > ---- > > Here are some other tpm message visible on 5.1.0-0.rc3.git1.2.fc31.x86_64 > (but they are shown in similar way on usable & suspendable -rc0) > > Non-volatile memory driver v1.3 > Linux agpgart interface v0.103 > battery: ACPI: Battery Slot [BAT0] (battery present) > tpm_tis 00:05: 1.2 TPM (device-id 0xFFFF, rev-id 255) > tpm tpm0: [Hardware Error]: Adjusting reported timeouts: A > 10000->10000us B 10000->10000us C 0->750000us D 0->750000us > tpm tpm0: TPM is disabled/deactivated (0x6) > ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 3 ports 3 Gbps 0x5 impl SATA > mode > ahci 0000:00:1f.2: flags: 64bit ncq sntf pm led clo pio slum part ccc > scsi host0: ahci > scsi host1: ahci > scsi host2: ahci > ata1: SATA max UDMA/133 abar m2048@0xfe226000 port 0xfe226100 irq 27 > ata2: DUMMY > .... > mip6: Mobile IPv6 > NET: Registered protocol family 17 > RAS: Correctable Errors collector initialized. > microcode: sig=0x6fa, pf=0x80, revision=0x95 > microcode: Microcode Update Driver: v2.2. > registered taskstats version 1 > Loading compiled-in X.509 certificates > Loaded X.509 cert 'Fedora kernel signing key: > 1662e00568f2df66b8eaccc8f8971f03bb9d8329' > zswap: loaded using pool lzo/zbud > Key type big_key registered > Key type encrypted registered > ima: Allocated hash algorithm: sha1 > ima: Error Communicating to TPM chip > ima: Error Communicating to TPM chip > ima: Error Communicating to TPM chip > ima: Error Communicating to TPM chip > ima: Error Communicating to TPM chip > ima: Error Communicating to TPM chip > ima: Error Communicating to TPM chip > ima: Error Communicating to TPM chip > No architecture policies found > PM:?? Magic number: 15:928:528 > rtc_cmos 00:02: setting system clock to 2019-04-04T11:31:05 UTC > (1554377465) > ata4.00: ATAPI: MATSHITADVD-RAM UJ-842 z, RC01, max UDMA/33 > Unstable clock detected, switching default tracing clock to > "global"#012If you want to keep using the local clock, then add:#012 > "trace_clock=local"#012on the kernel command line > ata3: SATA link down (SStatus 0 SControl 300) > ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) > > > If there is more info needed let me know. > > Regards > > Zdenek > -- HUAWEI TECHNOLOGIES Duesseldorf GmbH, HRB 56063 Managing Director: Bo PENG, Jian LI, Yanli SHI