Re: linux-next: powerpc le qemu boot failure after merge of the akpm tree

From: Stephen Rothwell
Date: Thu Jan 31 2019 - 02:13:30 EST


Hi Mike,

On Thu, 31 Jan 2019 08:39:30 +0200 Mike Rapoport <rppt@xxxxxxxxxxxxx> wrote:
>
> On Thu, Jan 31, 2019 at 07:15:26AM +0100, Christophe Leroy wrote:
> >
> > Le 31/01/2019 Ã 07:06, Stephen Rothwell a ÃcritÂ:
> > >>My qemu boot of the powerpc pseries_le_defconfig config failed like this:
> > >>
> > >>htab_hash_mask = 0x1ffff
> > >>-----------------------------------------------------
> > >>numa: NODE_DATA [mem 0x7ffe7000-0x7ffebfff]
> > >>Kernel panic - not syncing: sparse_buffer_init: Failed to allocate 2147483648 bytes align=0x10000 nid=0 from=fffffffffffffff
>
> This means that sparse_buffer_init tries to allocate 2G for the sparsemap_buf...
>
> Stephen, how many memory do you give to your VM?

Exactly 2G.

qemu-system-ppc64 -M pseries -m 2G ....

The boot normally continue like this:

rfi-flush: fallback displacement flush available
count-cache-flush: software flush disabled.
stf-barrier: hwsync barrier available
PCI host bridge /pci@800000020000000 ranges:
IO 0x0000200000000000..0x000020000000ffff -> 0x0000000000000000
MEM 0x0000200080000000..0x00002000ffffffff -> 0x0000000080000000
MEM 0x0000210000000000..0x000021ffffffffff -> 0x0000210000000000
PPC64 nvram contains 65536 bytes
barrier-nospec: using ORI speculation barrier
Zone ranges:
Normal [mem 0x0000000000000000-0x000000007fffffff]
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000000000000-0x000000007fffffff]
Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]

--
Cheers,
Stephen Rothwell

Attachment: pgpYLpH70cpq9.pgp
Description: OpenPGP digital signature