Re: [REGRESSION] 3.7-rc2 kernel BUG at kernel/power/snapshot.c:517!

From: Rafael J. Wysocki
Date: Tue Oct 30 2012 - 19:40:33 EST


On Tuesday, October 30, 2012 09:35:48 PM Maciej Rutecki wrote:
> On niedziela, 28 paÅdziernika 2012 o 22:45:26 Rafael J. Wysocki wrote:
> > On Sunday, October 28, 2012 10:12:49 PM Maciej Rutecki wrote:
> > > On niedziela, 21 paÅdziernika 2012 o 17:12:28 Maciej Rutecki wrote:
> > > > Error: kernel BUG at kernel/power/snapshot.c:517!
> > > >
> > > > Last known good: 3.6.1
> > > > Bad: 3.7-rc2
> > > >
> > > > Steps to reproduce:
> > > > 1. Boot system with 3.7-rc2 kernel
> > > > 2. Try suspend to disk (s2ram works OK)
> > > >
> > > > System dies on message:
> > > > http://mrutecki.pl/download/kernel/3.7-rc2/swinka/DSCN0280.jpg
> > > >
> > > > lspci:
> > > > http://mrutecki.pl/download/kernel/3.7-rc2/swinka/lspci.txt
> > > >
> > > > dmesg:
> > > > http://mrutecki.pl/download/kernel/3.7-rc2/swinka/dmesg-3.7-rc2.txt
> > >
> > > Still present in -rc3
> >
> > This appears to be a memory allocation error and I have no idea what
> > the reason of it is.
> >
> > Any chance to bisect?
>
> 7f1290f2f2a4d2c3f1b7ce8e87256e052ca23125 is the first bad commit
> commit 7f1290f2f2a4d2c3f1b7ce8e87256e052ca23125
> Author: Jianguo Wu <wujianguo@xxxxxxxxxx>
> Date: Mon Oct 8 16:33:06 2012 -0700
>
> mm: fix-up zone present pages
> Signed-off-by: Jianguo Wu <wujianguo@xxxxxxxxxx>
> Signed-off-by: Jiang Liu <jiang.liu@xxxxxxxxxx>
> Reported-by: Petr Tesarik <ptesarik@xxxxxxx>
> Tested-by: Petr Tesarik <ptesarik@xxxxxxx>
> Cc: "Luck, Tony" <tony.luck@xxxxxxxxx>
> Cc: Mel Gorman <mel@xxxxxxxxx>
> Cc: Yinghai Lu <yinghai@xxxxxxxxxx>
> Cc: Minchan Kim <minchan.kim@xxxxxxxxx>
> Cc: Johannes Weiner <hannes@xxxxxxxxxxx>
> Cc: David Rientjes <rientjes@xxxxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
>
>
> Description says:
> "This patch intends to fix-up zone->present_pages when memory are freed to
> buddy system on x86_64 and IA64 platforms."
>
> but I use 32 bit kernel
>
> Revert this commit solves problem.

This is good to know, thanks for bisecting it!

Rafael


--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/