From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932169AbeCKKY5 (ORCPT ); Sun, 11 Mar 2018 06:24:57 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:54693 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932120AbeCKKYz (ORCPT ); Sun, 11 Mar 2018 06:24:55 -0400 From: "Rafael J. Wysocki" To: Andrew Worsley Cc: Pavel Machek , "Rafael J. Wysocki" , kernel list , Linux-pm mailing list , Len Brown , 844788@bugs.debian.org Subject: Re: 4.16-rc3 fails to resume on MacBookPro10,1 - Date: Sun, 11 Mar 2018 11:25:33 +0100 Message-ID: <1796290.BApLEM9bFY@aspire.rjw.lan> In-Reply-To: References: <20180310131605.GA28296@amd> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sunday, March 11, 2018 5:52:47 AM CET Andrew Worsley wrote: > > --94eb2c04c64405d3da05671bccce > Content-Type: text/plain; charset="UTF-8" > > On 11 March 2018 at 00:16, Pavel Machek wrote: > > Hi! > > > >> > Ok, I've just tested linux-next, and it works ok for me on thinkpad > >> > x60. (But that's probably rather different configuration from the > >> > macbook). > >> > > >> > Unfortunately, I could not deduce anything useful from the > >> > backtraces. Andrew, could you try v4.15 with KPTI disabled ? > >> > > >> > Thanks, > >> > Pavel > >> > >> This is 4.15 kernel with KPTI disabled: > >> % grep PAGE_TABLE .config > >> # CONFIG_PAGE_TABLE_ISOLATION is not set > >> > >> As I expected it appears no more infomative to me. > >> > >> What I really need is some clue as to what is supposed to be happening > >> at this point. > > > > You may want to add some printks to see where it hangs. > > > > But maybe before that, you may want to test CPU hotplug, and make sure > > s2ram works, etc... > > > > Perhaps basic-pm-debugging.txt is good place to start? > > > > Best regards, > > Pavel > > -- > > Ok - all the test modes work but a full s2ram hangs (never comes back) > and obviously the resume full save to disk fails. So there probably is a common cause to these failures and it most likely is low-level. It also seems to be specific to your system as S2RAM works for me w/ 4.16-rc4 on a few machines and hibernation appears to work here too. > I attach the following files: > > echo reboot > /sys/power/disk > echo disk > /sys/power/state > Then saved dmesg to file dmesg-reboot-disk-ok.txt It is better to file a bug at bugzilla.kernel.org for these things, as they don't always go through email in a good shape. Thanks, Rafael