Path: csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod From: Juergen Gross Newsgroups: linux.kernel Subject: Re: Hibernate resume bug around 3,18-rc2 - Full PAT support Date: Fri, 20 Nov 2015 09:50:02 +0100 Message-ID: References: X-Original-To: vasvir@iit.demokritos.gr X-Enigmail-Draft-Status: N1110 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 35 Organization: linux.* mail to news gateway X-Original-Cc: linux-kernel@vger.kernel.org, Toshi Kani , "Luis R. Rodriguez" X-Original-Date: Fri, 20 Nov 2015 09:47:08 +0100 X-Original-Message-ID: <564EDE0C.9060002@suse.com> X-Original-References: <564CF10E.6000905@iit.demokritos.gr> <564D6090.9020604@suse.com> <564D91ED.4090403@suse.com> <564E32A4.7010406@iit.demokritos.gr> <564EAEB3.4000107@iit.demokritos.gr> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1273847 On 20/11/15 06:25, Vassilis Virvilis wrote: > On 11/19/2015 10:35 PM, Vassilis Virvilis wrote: >> >> I compiled and I am running 4.3 right now. >> > > It failed this morning. Last night I did 3 hibernate / resume cycles. In > the last one I I also turned off the PSU (this seems to push it over the > edge - but it may be random behavior) and it worked. This morning 7h > later failed to resume - but it didn't hang on _lapic_resume. This time > it rebooted - and I seem to recall this behavior for 4.2+ kernels. I > forgot to mention it because my testing with 4.x kernels were one month > before. > > So 4.3 kernel - reboots on resume after a long hibernation time. > > I am testing with 4.3 and nopat right now. I've just found a potential issue: In case MTRR is disabled by the BIOS the PAT register of the boot processor won't be restored after resume. Can you check whether pr_info("MTRR: Disabled\n") has been executed in early boot? If yes, this might be a BIOS option. Juergen -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/