Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-28 Thread Ming Lei
On Mon, Oct 28, 2013 at 10:13 PM, Simon Baatz wrote: > On Sun, Oct 27, 2013 at 07:51:15PM +0800, Ming Lei wrote: >> diff --git a/lib/scatterlist.c b/lib/scatterlist.c >> index a685c8a..eea8806 100644 >> --- a/lib/scatterlist.c >> +++ b/lib/scatterlist.c >> @@ -577,7 +577,7 @@ void

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-28 Thread Simon Baatz
On Sun, Oct 27, 2013 at 07:51:15PM +0800, Ming Lei wrote: > diff --git a/lib/scatterlist.c b/lib/scatterlist.c > index a685c8a..eea8806 100644 > --- a/lib/scatterlist.c > +++ b/lib/scatterlist.c > @@ -577,7 +577,7 @@ void sg_miter_stop(struct sg_mapping_iter *miter) > miter->__offset

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-28 Thread Catalin Marinas
On Sun, Oct 27, 2013 at 02:18:17PM +, Simon Baatz wrote: > On Sun, Oct 27, 2013 at 01:53:44PM +, Russell King - ARM Linux wrote: > > On Sun, Oct 27, 2013 at 09:16:53PM +0800, Ming Lei wrote: > > > On Sun, Oct 27, 2013 at 8:50 PM, Aaro Koskinen > > > wrote: > > > > > > So... > > > >

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-28 Thread Catalin Marinas
On Sun, Oct 27, 2013 at 02:18:17PM +, Simon Baatz wrote: On Sun, Oct 27, 2013 at 01:53:44PM +, Russell King - ARM Linux wrote: On Sun, Oct 27, 2013 at 09:16:53PM +0800, Ming Lei wrote: On Sun, Oct 27, 2013 at 8:50 PM, Aaro Koskinen aaro.koski...@iki.fi wrote: So...

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-28 Thread Simon Baatz
On Sun, Oct 27, 2013 at 07:51:15PM +0800, Ming Lei wrote: diff --git a/lib/scatterlist.c b/lib/scatterlist.c index a685c8a..eea8806 100644 --- a/lib/scatterlist.c +++ b/lib/scatterlist.c @@ -577,7 +577,7 @@ void sg_miter_stop(struct sg_mapping_iter *miter) miter-__offset +=

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-28 Thread Ming Lei
On Mon, Oct 28, 2013 at 10:13 PM, Simon Baatz gmbno...@gmail.com wrote: On Sun, Oct 27, 2013 at 07:51:15PM +0800, Ming Lei wrote: diff --git a/lib/scatterlist.c b/lib/scatterlist.c index a685c8a..eea8806 100644 --- a/lib/scatterlist.c +++ b/lib/scatterlist.c @@ -577,7 +577,7 @@ void

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-27 Thread Ming Lei
On Sun, Oct 27, 2013 at 9:53 PM, Russell King - ARM Linux wrote: > On Sun, Oct 27, 2013 at 09:16:53PM +0800, Ming Lei wrote: >> On Sun, Oct 27, 2013 at 8:50 PM, Aaro Koskinen wrote: >> > >> > On ARM v3.9 or older kernels do not trigger this BUG, at seems it only >> > started to appear with the

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-27 Thread Simon Baatz
Hi Russell, On Sun, Oct 27, 2013 at 01:53:44PM +, Russell King - ARM Linux wrote: > On Sun, Oct 27, 2013 at 09:16:53PM +0800, Ming Lei wrote: > > On Sun, Oct 27, 2013 at 8:50 PM, Aaro Koskinen wrote: > > > > So... > > flush_kernel_dcache_page() is expected to take a struct page pointer. >

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-27 Thread Russell King - ARM Linux
On Sun, Oct 27, 2013 at 09:16:53PM +0800, Ming Lei wrote: > On Sun, Oct 27, 2013 at 8:50 PM, Aaro Koskinen wrote: > > > > On ARM v3.9 or older kernels do not trigger this BUG, at seems it only > > started to appear with the following commit (bisected): > > > > commit

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-27 Thread Russell King - ARM Linux
On Sun, Oct 27, 2013 at 09:42:57AM -0400, Tejun Heo wrote: > On Sun, Oct 27, 2013 at 09:16:53PM +0800, Ming Lei wrote: > > On Sun, Oct 27, 2013 at 8:50 PM, Aaro Koskinen wrote: > > > > > > On ARM v3.9 or older kernels do not trigger this BUG, at seems it only > > > started to appear with the

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-27 Thread Tejun Heo
On Sun, Oct 27, 2013 at 09:16:53PM +0800, Ming Lei wrote: > On Sun, Oct 27, 2013 at 8:50 PM, Aaro Koskinen wrote: > > > > On ARM v3.9 or older kernels do not trigger this BUG, at seems it only > > started to appear with the following commit (bisected): > > > > commit

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-27 Thread Ming Lei
On Sun, Oct 27, 2013 at 8:50 PM, Aaro Koskinen wrote: > > On ARM v3.9 or older kernels do not trigger this BUG, at seems it only > started to appear with the following commit (bisected): > > commit 1bc39742aab09248169ef9d3727c9def3528b3f3 > Author: Simon Baatz > Date: Mon Jun 10 21:10:12 2013

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-27 Thread Aaro Koskinen
Hi, On Sun, Oct 27, 2013 at 07:51:15PM +0800, Ming Lei wrote: > On Sat, 26 Oct 2013 15:36:17 +0100 > Will Deacon wrote: > > > On Thu, Oct 24, 2013 at 09:07:30PM +0100, Aaro Koskinen wrote: > > > > > [ 36.477203] Backtrace: > > > [ 36.535603] [] (page_mapping+0x0/0x50) from [] > > >

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-27 Thread Ming Lei
On Sat, 26 Oct 2013 15:36:17 +0100 Will Deacon wrote: > On Thu, Oct 24, 2013 at 09:07:30PM +0100, Aaro Koskinen wrote: > > > [ 36.477203] Backtrace: > > [ 36.535603] [] (page_mapping+0x0/0x50) from [] > > (flush_kernel_dcache_page+0x14/0x98) > > [ 36.661070] []

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-27 Thread Ming Lei
On Sat, 26 Oct 2013 15:36:17 +0100 Will Deacon will.dea...@arm.com wrote: On Thu, Oct 24, 2013 at 09:07:30PM +0100, Aaro Koskinen wrote: [ 36.477203] Backtrace: [ 36.535603] [c009237c] (page_mapping+0x0/0x50) from [c0010dd8] (flush_kernel_dcache_page+0x14/0x98) [ 36.661070]

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-27 Thread Aaro Koskinen
Hi, On Sun, Oct 27, 2013 at 07:51:15PM +0800, Ming Lei wrote: On Sat, 26 Oct 2013 15:36:17 +0100 Will Deacon will.dea...@arm.com wrote: On Thu, Oct 24, 2013 at 09:07:30PM +0100, Aaro Koskinen wrote: [ 36.477203] Backtrace: [ 36.535603] [c009237c] (page_mapping+0x0/0x50) from

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-27 Thread Ming Lei
On Sun, Oct 27, 2013 at 8:50 PM, Aaro Koskinen aaro.koski...@iki.fi wrote: On ARM v3.9 or older kernels do not trigger this BUG, at seems it only started to appear with the following commit (bisected): commit 1bc39742aab09248169ef9d3727c9def3528b3f3 Author: Simon Baatz gmbno...@gmail.com

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-27 Thread Tejun Heo
On Sun, Oct 27, 2013 at 09:16:53PM +0800, Ming Lei wrote: On Sun, Oct 27, 2013 at 8:50 PM, Aaro Koskinen aaro.koski...@iki.fi wrote: On ARM v3.9 or older kernels do not trigger this BUG, at seems it only started to appear with the following commit (bisected): commit

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-27 Thread Russell King - ARM Linux
On Sun, Oct 27, 2013 at 09:42:57AM -0400, Tejun Heo wrote: On Sun, Oct 27, 2013 at 09:16:53PM +0800, Ming Lei wrote: On Sun, Oct 27, 2013 at 8:50 PM, Aaro Koskinen aaro.koski...@iki.fi wrote: On ARM v3.9 or older kernels do not trigger this BUG, at seems it only started to appear with

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-27 Thread Russell King - ARM Linux
On Sun, Oct 27, 2013 at 09:16:53PM +0800, Ming Lei wrote: On Sun, Oct 27, 2013 at 8:50 PM, Aaro Koskinen aaro.koski...@iki.fi wrote: On ARM v3.9 or older kernels do not trigger this BUG, at seems it only started to appear with the following commit (bisected): commit

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-27 Thread Simon Baatz
Hi Russell, On Sun, Oct 27, 2013 at 01:53:44PM +, Russell King - ARM Linux wrote: On Sun, Oct 27, 2013 at 09:16:53PM +0800, Ming Lei wrote: On Sun, Oct 27, 2013 at 8:50 PM, Aaro Koskinen aaro.koski...@iki.fi wrote: So... flush_kernel_dcache_page() is expected to take a struct page

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-27 Thread Ming Lei
On Sun, Oct 27, 2013 at 9:53 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Sun, Oct 27, 2013 at 09:16:53PM +0800, Ming Lei wrote: On Sun, Oct 27, 2013 at 8:50 PM, Aaro Koskinen aaro.koski...@iki.fi wrote: On ARM v3.9 or older kernels do not trigger this BUG, at seems it only

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-26 Thread Aaro Koskinen
Hi, On Sat, Oct 26, 2013 at 03:36:17PM +0100, Will Deacon wrote: > On Thu, Oct 24, 2013 at 09:07:30PM +0100, Aaro Koskinen wrote: > > [ 26.694345] ata2: link is slow to respond, please be patient (ready=0) > > [ 31.194346] ata2: SRST failed (errno=-16) > > [ 31.754426] ata2: SATA link up

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-26 Thread Will Deacon
On Thu, Oct 24, 2013 at 09:07:30PM +0100, Aaro Koskinen wrote: > Hi, Hello, [adding Catalin and Simon] > I was trying to debug kernel crashes on Marvell Kirkwood (openrd) > when upgrading from GCC 4.7.3 -> GCC 4.8.2. So I enabled most of the > kernel debug options. However, I noticed that

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-26 Thread Will Deacon
On Thu, Oct 24, 2013 at 09:07:30PM +0100, Aaro Koskinen wrote: Hi, Hello, [adding Catalin and Simon] I was trying to debug kernel crashes on Marvell Kirkwood (openrd) when upgrading from GCC 4.7.3 - GCC 4.8.2. So I enabled most of the kernel debug options. However, I noticed that already

Re: ARM/kirkwood: v3.12-rc6: kernel BUG at mm/util.c:390!

2013-10-26 Thread Aaro Koskinen
Hi, On Sat, Oct 26, 2013 at 03:36:17PM +0100, Will Deacon wrote: On Thu, Oct 24, 2013 at 09:07:30PM +0100, Aaro Koskinen wrote: [ 26.694345] ata2: link is slow to respond, please be patient (ready=0) [ 31.194346] ata2: SRST failed (errno=-16) [ 31.754426] ata2: SATA link up 3.0 Gbps