Skip to content

Fix boot problem with deferred meminit on machine with no node 0

Mel Gorman linux-mm lkml 1 version Applied

Status from this message: [merged] mm-meminit-remove-early_page_nid_uninitialised.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3mm, meminit: Remove early_page_nid_uninitialisedmm/page_alloc.c+0 -130 repliesApplied
2/3mm, meminit: Always return a valid node from early_pfn_to_nidmm/page_alloc.c+1 -12 repliesApplied
3/3mm, meminit: Ensure node is online before checking whether pages are uninitialisedmm/page_alloc.c+3 -11 replyApplied

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchDavid Rientjes
1/3
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Fix boot problem with deferred meminit on machine with no node 0

A machine with only node 1 was observed to crash very early in boot with the following message

[    0.000000] BUG: unable to handle kernel paging request at 000000000002a3c8
[    0.000000] PGD 0
[    0.000000] Modules linked in:
[    0.000000] Hardware name: Supermicro H8DSP-8/H8DSP-8, BIOS 080011  06/30/2006
[    0.000000] task: ffffffff81c0d500 ti: ffffffff81c00000 task.ti: ffffffff81c00000
[    0.000000] RIP: 0010:[<ffffffff816dbd63>]  [<ffffffff816dbd63>] reserve_bootmem_region+0x6a/0xef
[    0.000000] RSP: 0000:ffffffff81c03eb0  EFLAGS: 00010086
[    0.000000] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[    0.000000] RDX: ffffffff81c03ec0 RSI: ffffffff81d205c0 RDI: ffffffff8213ee60
[    0.000000] R13: ffffea0000000000 R14: ffffea0000000020 R15: ffffea0000000020
[    0.000000] FS:  0000000000000000(0000) GS:ffff8800fba00000(0000) knlGS:0000000000000000
[    0.000000] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.000000] CR2: 000000000002a3c8 CR3: 0000000001c06000 CR4: 00000000000006b0
[    0.000000] Stack:
[    0.000000]  ffffffff81c03f00 0000000000000400 ffff8800fbfc3200 ffffffff81e2a2c0
[    0.000000]  ffffffff81c03fb0 ffffffff81c03f20 ffffffff81dadf7d ffffea0002000040
[    0.000000]  ffffea0000000000 0000000000000000 000000000000ffff 0000000000000001
[    0.000000] Call Trace:
[    0.000000]  [<ffffffff81dadf7d>] free_all_bootmem+0x4b/0x12a
[    0.000000]  [<ffffffff81d97122>] mem_init+0x70/0xa3
[    0.000000]  [<ffffffff81d78f21>] start_kernel+0x25b/0x49b

This series is the lowest-risk solution to the problem.

 mm/page_alloc.c | 17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)
Signature · 7 lines
2.6.4

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>