Re: [PATCH][v6] PM / hibernate: Print the possible panic reason when resuming with inconsistent e820 map

2016-08-28 Thread Andreas Mohr
Hi, [no properly binding reference via In-Reply-To: available thus manually re-creating, sorry] > > So we can print warning in hibernation_die_notifier without > > introducing a global variable? > > > > Actually, I'd kill the machine right away. > > if (memcmp(result, buf, MD5_DIGEST_SIZE)) {

RE: [PATCH][v6] PM / hibernate: Print the possible panic reason when resuming with inconsistent e820 map

2016-08-28 Thread Chen, Yu C
Yu C > > > Cc: joeyli; Rafael J. Wysocki; linux...@vger.kernel.org; linux- > > > ker...@vger.kernel.org > > > Subject: Re: [PATCH][v6] PM / hibernate: Print the possible panic > > > reason when resuming with inconsistent e820 map > > > > > > On

Re: [PATCH][v6] PM / hibernate: Print the possible panic reason when resuming with inconsistent e820 map

2016-08-28 Thread Pavel Machek
r...@vger.kernel.org > > Subject: Re: [PATCH][v6] PM / hibernate: Print the possible panic reason > > when > > resuming with inconsistent e820 map > > > > On Sun 2016-08-28 10:07:10, Chen Yu wrote: > > > Hi, > > > On Fri, Aug 26, 2016 at 09:56:54PM +0200,

RE: [PATCH][v6] PM / hibernate: Print the possible panic reason when resuming with inconsistent e820 map

2016-08-28 Thread Chen, Yu C
> -Original Message- > From: Pavel Machek [mailto:pa...@ucw.cz] > Sent: Sunday, August 28, 2016 8:48 PM > To: Chen, Yu C > Cc: joeyli; Rafael J. Wysocki; linux...@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH][v6] PM / hibernate: Print the

Re: [PATCH][v6] PM / hibernate: Print the possible panic reason when resuming with inconsistent e820 map

2016-08-28 Thread Pavel Machek
On Sun 2016-08-28 10:07:10, Chen Yu wrote: > Hi, > On Fri, Aug 26, 2016 at 09:56:54PM +0200, Pavel Machek wrote: > > Hi! > > > > > > > > What's the progress of this patch? Looks already have experts > > > > > > review it. > > > > > > Why this patch didn't accept? > > > > > This patch is a little

Re: [PATCH][v6] PM / hibernate: Print the possible panic reason when resuming with inconsistent e820 map

2016-08-27 Thread Chen Yu
Hi, On Fri, Aug 26, 2016 at 09:56:54PM +0200, Pavel Machek wrote: > Hi! > > > > > > What's the progress of this patch? Looks already have experts review > > > > > it. > > > > > Why this patch didn't accept? > > > > This patch is a little overkilled, and I have saved another simpler > > > > versio

Re: [PATCH][v6] PM / hibernate: Print the possible panic reason when resuming with inconsistent e820 map

2016-08-26 Thread Pavel Machek
Hi! > > > > What's the progress of this patch? Looks already have experts review it. > > > > Why this patch didn't accept? > > > This patch is a little overkilled, and I have saved another simpler > > > version to only check the md5 hash (as people suggested) for it. I can > > > post it later. >

Re: [PATCH][v6] PM / hibernate: Print the possible panic reason when resuming with inconsistent e820 map

2016-08-25 Thread Chen Yu
On Wed, Aug 24, 2016 at 09:36:10AM +0800, joeyli wrote: > > > What's the progress of this patch? Looks already have experts review it. > > > Why this patch didn't accept? > > This patch is a little overkilled, and I have saved another simpler > > version to only check the md5 hash (as people sugges

Re: [PATCH][v6] PM / hibernate: Print the possible panic reason when resuming with inconsistent e820 map

2016-08-23 Thread joeyli
On Tue, Aug 23, 2016 at 06:01:55PM +0800, Chen Yu wrote: > Hi, > thanks for your interest :) > On Tue, Aug 23, 2016 at 05:45:27PM +0800, joeyli wrote: > > Hi all, > > > > On Wed, Oct 21, 2015 at 01:21:40PM +0800, Chen Yu wrote: > > > On some platforms, there is occasional panic triggered when try

Re: [PATCH][v6] PM / hibernate: Print the possible panic reason when resuming with inconsistent e820 map

2016-08-23 Thread Chen Yu
Hi, thanks for your interest :) On Tue, Aug 23, 2016 at 05:45:27PM +0800, joeyli wrote: > Hi all, > > On Wed, Oct 21, 2015 at 01:21:40PM +0800, Chen Yu wrote: > > On some platforms, there is occasional panic triggered when trying to > > resume from hibernation, a typical panic looks like: > > >

Re: [PATCH][v6] PM / hibernate: Print the possible panic reason when resuming with inconsistent e820 map

2016-08-23 Thread joeyli
Hi all, On Wed, Oct 21, 2015 at 01:21:40PM +0800, Chen Yu wrote: > On some platforms, there is occasional panic triggered when trying to > resume from hibernation, a typical panic looks like: > > "BUG: unable to handle kernel paging request at 880085894000 > IP: [] load_image_lzo+0x8c2/0xe70

[PATCH][v6] PM / hibernate: Print the possible panic reason when resuming with inconsistent e820 map

2015-10-20 Thread Chen Yu
On some platforms, there is occasional panic triggered when trying to resume from hibernation, a typical panic looks like: "BUG: unable to handle kernel paging request at 880085894000 IP: [] load_image_lzo+0x8c2/0xe70" This is because e820 map has been changed by BIOS before/after hibernation