Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-09 Thread Yasunori Goto
> Yasunori Goto wrote: > >> On Thu, 6 Dec 2007, Geert Uytterhoeven wrote: > >> > On Thu, 6 Dec 2007, Yasunori Goto wrote: > >> > > > I'll try Milton's suggestion to pre-allocate the memory early. It > >> > > > seems > >> > > > that should work as long as nothing else before the hot-plug mem is >

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-07 Thread Geoff Levand
On 12/05/2007 10:09 PM, Yasunori Goto wrote: >> I'll try Milton's suggestion to pre-allocate the memory early. It seems >> that should work as long as nothing else before the hot-plug mem is added >> needs a large chunk. > > (However, I think Milton-san's suggestion is very desirable. > If prea

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-07 Thread Geoff Levand
Yasunori Goto wrote: >> On Thu, 6 Dec 2007, Geert Uytterhoeven wrote: >> > On Thu, 6 Dec 2007, Yasunori Goto wrote: >> > > > I'll try Milton's suggestion to pre-allocate the memory early. It >> > > > seems >> > > > that should work as long as nothing else before the hot-plug mem is >> > > > adde

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-06 Thread Geoff Levand
Geert Uytterhoeven wrote: > On Wed, 5 Dec 2007, Geoff Levand wrote: >> Andrew Morton wrote: >> > On Wed, 5 Dec 2007 10:52:48 +0100 (CET) >> > Geert Uytterhoeven <[EMAIL PROTECTED]> wrote: >> > >> >> >> >> Subject: spa

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-06 Thread Yasunori Goto
> On Thu, 6 Dec 2007, Geert Uytterhoeven wrote: > > On Thu, 6 Dec 2007, Yasunori Goto wrote: > > > > I'll try Milton's suggestion to pre-allocate the memory early. It seems > > > > that should work as long as nothing else before the hot-plug mem is > > > > added > > > > needs a large chunk. > > >

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-06 Thread Geert Uytterhoeven
On Thu, 6 Dec 2007, Geert Uytterhoeven wrote: > On Thu, 6 Dec 2007, Yasunori Goto wrote: > > > I'll try Milton's suggestion to pre-allocate the memory early. It seems > > > that should work as long as nothing else before the hot-plug mem is added > > > needs a large chunk. > > > > Hello. Geoff-sa

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-06 Thread Geert Uytterhoeven
On Thu, 6 Dec 2007, Yasunori Goto wrote: > > I'll try Milton's suggestion to pre-allocate the memory early. It seems > > that should work as long as nothing else before the hot-plug mem is added > > needs a large chunk. > > Hello. Geoff-san. Sorry for late response. > > Could you tell me the val

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-05 Thread Geert Uytterhoeven
On Wed, 5 Dec 2007, Geoff Levand wrote: > Andrew Morton wrote: > > On Wed, 5 Dec 2007 10:52:48 +0100 (CET) > > Geert Uytterhoeven <[EMAIL PROTECTED]> wrote: > > > >> > >> Subject: sparsemem: sparse_add_one_section() m

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-05 Thread Yasunori Goto
> I'll try Milton's suggestion to pre-allocate the memory early. It seems > that should work as long as nothing else before the hot-plug mem is added > needs a large chunk. Hello. Geoff-san. Sorry for late response. Could you tell me the value of the following page_size calculation in vmemmap_p

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-05 Thread Geoff Levand
Andrew Morton wrote: > On Wed, 5 Dec 2007 10:52:48 +0100 (CET) > Geert Uytterhoeven <[EMAIL PROTECTED]> wrote: > >> >> Subject: sparsemem: sparse_add_one_section() may fail to allocate memory >> >> sparsemem: sparse_

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-05 Thread Geoff Levand
Andrew Morton wrote: > On Wed, 5 Dec 2007 10:52:48 +0100 (CET) > Geert Uytterhoeven <[EMAIL PROTECTED]> wrote: > >> >> Subject: sparsemem: sparse_add_one_section() may fail to allocate memory >> >> sparsemem: sparse_

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-05 Thread Andrew Morton
On Wed, 5 Dec 2007 10:52:48 +0100 (CET) Geert Uytterhoeven <[EMAIL PROTECTED]> wrote: > > Subject: sparsemem: sparse_add_one_section() may fail to allocate memory > > sparsemem: sparse_add_one_section() may fail to a

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-05 Thread Geert Uytterhoeven
On Mon, 3 Dec 2007, Milton Miller wrote: > On Dec 2, 2007, at 9:59 PM, Geoff Levand wrote: > > ps3_mm_add_memory:317: start_addr 74032000h, start_pfn 74032h, > > nr_pages 17000h > > <4>swapper: page allocation failure. order:12, mode:0x80d0 > > Call Trace: > > [c6047820] [c0

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-04 Thread Geoff Levand
Geert Uytterhoeven wrote: > On Mon, 3 Dec 2007, Milton Miller wrote: >> Chris, as you can see, PS3 needs to allocate 1/8th of total initial memory to >> add any more memory. Geoff, can you predict what linear address the >> additional memory will occupy? Judging from the attempted address toa add

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-04 Thread Geoff Levand
Milton Miller wrote: > On Dec 2, 2007, at 9:59 PM, Geoff Levand wrote: > >> Hi. >> >> I'm finding that recently kexec'ed kernels on PS3 will >> panic on startup. It seems the trouble was introduced >> with the ppc64 SPARSEMEM_VMEMMAP support. The problem >> is the same when starting either new o

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-04 Thread Geert Uytterhoeven
On Mon, 3 Dec 2007, Milton Miller wrote: > On Dec 2, 2007, at 9:59 PM, Geoff Levand wrote: > > I'm finding that recently kexec'ed kernels on PS3 will > > panic on startup. It seems the trouble was introduced > > with the ppc64 SPARSEMEM_VMEMMAP support. The problem > > is the same when starting e

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-03 Thread Milton Miller
On Dec 2, 2007, at 9:59 PM, Geoff Levand wrote: Hi. I'm finding that recently kexec'ed kernels on PS3 will panic on startup. It seems the trouble was introduced with the ppc64 SPARSEMEM_VMEMMAP support. The problem is the same when starting either new or old kernels: 2.6.24 -> 2.6.23 ok 2.6.

PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-02 Thread Geoff Levand
Hi. I'm finding that recently kexec'ed kernels on PS3 will panic on startup. It seems the trouble was introduced with the ppc64 SPARSEMEM_VMEMMAP support. The problem is the same when starting either new or old kernels: 2.6.24 -> 2.6.23 ok 2.6.24 -> 2.6.23 panic 2.6.24 -> 2.6.24 panic These ar