2012-10-21 15:12:35

by Maciej Rutecki

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

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


--
Maciej Rutecki
http://www.mrutecki.pl


2012-10-28 21:12:57

by Maciej Rutecki

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

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

Regards

--
Maciej Rutecki
http://www.mrutecki.pl

2012-10-28 21:41:34

by Rafael J. Wysocki

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

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?

Does "echo disk > /sys/power/state" work?

Rafael


--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.

2012-10-28 21:51:13

by Rafael J. Wysocki

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

On Sunday, October 28, 2012 10:45:26 PM 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

I mean memory management, sorry.

> the reason of it is.
>
> Any chance to bisect?
>
> Does "echo disk > /sys/power/state" work?

Thanks,
Rafael


--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.

2012-10-30 20:35:58

by Maciej Rutecki

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

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 <[email protected]>
Date: Mon Oct 8 16:33:06 2012 -0700

mm: fix-up zone present pages
Signed-off-by: Jianguo Wu <[email protected]>
Signed-off-by: Jiang Liu <[email protected]>
Reported-by: Petr Tesarik <[email protected]>
Tested-by: Petr Tesarik <[email protected]>
Cc: "Luck, Tony" <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Yinghai Lu <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>


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.


Regards

PS. Between Oct. 31-Nov. 4 I'm offline.
--
Maciej Rutecki
http://www.mrutecki.pl

2012-10-30 23:40:44

by Rafael J. Wysocki

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

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 <[email protected]>
> Date: Mon Oct 8 16:33:06 2012 -0700
>
> mm: fix-up zone present pages
> Signed-off-by: Jianguo Wu <[email protected]>
> Signed-off-by: Jiang Liu <[email protected]>
> Reported-by: Petr Tesarik <[email protected]>
> Tested-by: Petr Tesarik <[email protected]>
> Cc: "Luck, Tony" <[email protected]>
> Cc: Mel Gorman <[email protected]>
> Cc: Yinghai Lu <[email protected]>
> Cc: Minchan Kim <[email protected]>
> Cc: Johannes Weiner <[email protected]>
> Cc: David Rientjes <[email protected]>
> Signed-off-by: Andrew Morton <[email protected]>
> Signed-off-by: Linus Torvalds <[email protected]>
>
>
> 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.

2012-11-01 12:50:29

by Jiang Liu (Gerry)

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

Hi Maciej,
Thanks for bisect, we will investigate this issue soon.
Gerry
On 2012-10-31 4:35, 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 <[email protected]>
> Date: Mon Oct 8 16:33:06 2012 -0700
>
> mm: fix-up zone present pages
> Signed-off-by: Jianguo Wu <[email protected]>
> Signed-off-by: Jiang Liu <[email protected]>
> Reported-by: Petr Tesarik <[email protected]>
> Tested-by: Petr Tesarik <[email protected]>
> Cc: "Luck, Tony" <[email protected]>
> Cc: Mel Gorman <[email protected]>
> Cc: Yinghai Lu <[email protected]>
> Cc: Minchan Kim <[email protected]>
> Cc: Johannes Weiner <[email protected]>
> Cc: David Rientjes <[email protected]>
> Signed-off-by: Andrew Morton <[email protected]>
> Signed-off-by: Linus Torvalds <[email protected]>
>
>
> 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.
>
>
> Regards
>
> PS. Between Oct. 31-Nov. 4 I'm offline.