On Mon, Dec 10, 2018 at 8:37 PM Michal Hocko <mhocko@xxxxxxxxxx> wrote: > [...] > > In other words. Does the following work? I am sorry to wildguess this > way but I am not able to recreate your setups to play with this myself. > > diff --git a/arch/x86/mm/numa.c b/arch/x86/mm/numa.c > index 1308f5408bf7..d51643e10d00 100644 > --- a/arch/x86/mm/numa.c > +++ b/arch/x86/mm/numa.c > @@ -216,8 +216,6 @@ static void __init alloc_node_data(int nid) > > node_data[nid] = nd; > memset(NODE_DATA(nid), 0, sizeof(pg_data_t)); > - > - node_set_online(nid); > } > > /** > @@ -527,6 +525,19 @@ static void __init numa_clear_kernel_node_hotplug(void) > } > } > > +static void __init init_memory_less_node(int nid) > +{ > + unsigned long zones_size[MAX_NR_ZONES] = {0}; > + unsigned long zholes_size[MAX_NR_ZONES] = {0}; > + > + free_area_init_node(nid, zones_size, 0, zholes_size); > + > + /* > + * All zonelists will be built later in start_kernel() after per cpu > + * areas are initialized. > + */ > +} > + > static int __init numa_register_memblks(struct numa_meminfo *mi) > { > unsigned long uninitialized_var(pfn_align); > @@ -570,7 +581,7 @@ static int __init numa_register_memblks(struct numa_meminfo *mi) > return -EINVAL; > > /* Finally register nodes. */ > - for_each_node_mask(nid, node_possible_map) { > + for_each_node(nid) { > u64 start = PFN_PHYS(max_pfn); > u64 end = 0; > > @@ -592,6 +603,10 @@ static int __init numa_register_memblks(struct numa_meminfo *mi) > continue; > > alloc_node_data(nid); > + if (!end) Here comes the bug, since !end can not reach here. > + init_memory_less_node(nid); > + else > + node_set_online(nid); > } > > /* Dump memblock with node info and return. */ > @@ -721,21 +736,6 @@ void __init x86_numa_init(void) > numa_init(dummy_numa_init); > } > > -static void __init init_memory_less_node(int nid) > -{ > - unsigned long zones_size[MAX_NR_ZONES] = {0}; > - unsigned long zholes_size[MAX_NR_ZONES] = {0}; > - > - /* Allocate and initialize node data. Memory-less node is now online.*/ > - alloc_node_data(nid); > - free_area_init_node(nid, zones_size, 0, zholes_size); > - > - /* > - * All zonelists will be built later in start_kernel() after per cpu > - * areas are initialized. > - */ > -} > - > /* > * Setup early cpu_to_node. > * > @@ -763,9 +763,6 @@ void __init init_cpu_to_node(void) > if (node == NUMA_NO_NODE) > continue; > > - if (!node_online(node)) > - init_memory_less_node(node); > - > numa_set_node(cpu, node); > } > } After passing extra param for earlyprintk, finally I got the following. Please get it from attachment. BTW, based on your patch, I tried the following, it works. --- arch/x86/mm/numa.c | 42 +++++++++++++++++++----------------------- 1 file changed, 19 insertions(+), 23 deletions(-) diff --git a/arch/x86/mm/numa.c b/arch/x86/mm/numa.c index 1308f54..4874248 100644 --- a/arch/x86/mm/numa.c +++ b/arch/x86/mm/numa.c @@ -216,7 +216,6 @@ static void __init alloc_node_data(int nid) node_data[nid] = nd; memset(NODE_DATA(nid), 0, sizeof(pg_data_t)); - node_set_online(nid); } @@ -527,6 +526,21 @@ static void __init numa_clear_kernel_node_hotplug(void) } } +static void __init init_memory_less_node(int nid) +{ + unsigned long zones_size[MAX_NR_ZONES] = {0}; + unsigned long zholes_size[MAX_NR_ZONES] = {0}; + + alloc_node_data(nid); + free_area_init_node(nid, zones_size, 0, zholes_size); + node_set_online(nid); + + /* + * All zonelists will be built later in start_kernel() after per cpu + * areas are initialized. + */ +} + static int __init numa_register_memblks(struct numa_meminfo *mi) { unsigned long uninitialized_var(pfn_align); @@ -570,7 +584,7 @@ static int __init numa_register_memblks(struct numa_meminfo *mi) return -EINVAL; /* Finally register nodes. */ - for_each_node_mask(nid, node_possible_map) { + for_each_node(nid) { u64 start = PFN_PHYS(max_pfn); u64 end = 0; @@ -581,15 +595,15 @@ static int __init numa_register_memblks(struct numa_meminfo *mi) end = max(mi->blk[i].end, end); } - if (start >= end) - continue; /* * Don't confuse VM with a node that doesn't have the * minimum amount of memory: */ - if (end && (end - start) < NODE_MIN_SIZE) + if ( start >= end || (end && (end - start) < NODE_MIN_SIZE)) { + init_memory_less_node(nid); continue; + } alloc_node_data(nid); } @@ -721,21 +735,6 @@ void __init x86_numa_init(void) numa_init(dummy_numa_init); } -static void __init init_memory_less_node(int nid) -{ - unsigned long zones_size[MAX_NR_ZONES] = {0}; - unsigned long zholes_size[MAX_NR_ZONES] = {0}; - - /* Allocate and initialize node data. Memory-less node is now online.*/ - alloc_node_data(nid); - free_area_init_node(nid, zones_size, 0, zholes_size); - - /* - * All zonelists will be built later in start_kernel() after per cpu - * areas are initialized. - */ -} - /* * Setup early cpu_to_node. * @@ -763,9 +762,6 @@ void __init init_cpu_to_node(void) if (node == NUMA_NO_NODE) continue; - if (!node_online(node)) - init_memory_less_node(node); - numa_set_node(cpu, node); } } -- 1.8.3.1 > -- > Michal Hocko > SUSE Labs
dell-per7425-03 login: [48628.201341] kvm: exiting hardware virtualization [48628.208038] sd 1:0:0:0: [sda] Synchronizing SCSI cache [48629.032174] kexec_core: Starting new kernel Physical KASLR disabled: no suitable memory region! [ 0.000000] Linux version 4.20.0-rc6+ [ 0.000000] Command line: root=/dev/mapper/xx_dell--per7425--03-root ro rd.lvm.lv=xx_dell-per7425-03/root rd.lvm.lv=xx_dell-per7425-03/swap console=ttyS0,115200n81 earlyprintk=ttyS0,115200n81 [ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format. [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000100-0x000000000008efff] usable [ 0.000000] BIOS-e820: [mem 0x000000000008f000-0x000000000008ffff] ACPI NVS [ 0.000000] BIOS-e820: [mem 0x0000000000090000-0x000000000009ffff] usable [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000005c3d6fff] usable [ 0.000000] BIOS-e820: [mem 0x000000005c3d7000-0x00000000643defff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000643df000-0x0000000068ff7fff] usable [ 0.000000] BIOS-e820: [mem 0x0000000068ff8000-0x000000006b4f7fff] reserved [ 0.000000] BIOS-e820: [mem 0x000000006b4f8000-0x000000006c327fff] ACPI NVS [ 0.000000] BIOS-e820: [mem 0x000000006c328000-0x000000006c527fff] ACPI data [ 0.000000] BIOS-e820: [mem 0x000000006c528000-0x000000006fffffff] usable [ 0.000000] BIOS-e820: [mem 0x0000000070000000-0x000000008fffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fec10000-0x00000000fec10fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed80000-0x00000000fed80fff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000087effffff] usable [ 0.000000] BIOS-e820: [mem 0x000000087f000000-0x000000087fffffff] reserved [ 0.000000] printk: bootconsole [earlyser0] enabled [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] extended physical RAM map: [ 0.000000] reserve setup_data: [mem 0x0000000000000100-0x000000000008efff] usable [ 0.000000] reserve setup_data: [mem 0x000000000008f000-0x000000000008ffff] ACPI NVS [ 0.000000] reserve setup_data: [mem 0x0000000000090000-0x000000000009ffff] usable [ 0.000000] reserve setup_data: [mem 0x0000000000100000-0x000000000010006f] usable [ 0.000000] reserve setup_data: [mem 0x0000000000100070-0x000000005c3d6fff] usable [ 0.000000] reserve setup_data: [mem 0x000000005c3d7000-0x00000000643defff] reserved [ 0.000000] reserve setup_data: [mem 0x00000000643df000-0x0000000068ff7fff] usable [ 0.000000] reserve setup_data: [mem 0x0000000068ff8000-0x000000006b4f7fff] reserved [ 0.000000] reserve setup_data: [mem 0x000000006b4f8000-0x000000006c327fff] ACPI NVS [ 0.000000] reserve setup_data: [mem 0x000000006c328000-0x000000006c527fff] ACPI data [ 0.000000] reserve setup_data: [mem 0x000000006c528000-0x000000006fffffff] usable [ 0.000000] reserve setup_data: [mem 0x0000000070000000-0x000000008fffffff] reserved [ 0.000000] reserve setup_data: [mem 0x00000000fec10000-0x00000000fec10fff] reserved [ 0.000000] reserve setup_data: [mem 0x00000000fed80000-0x00000000fed80fff] reserved [ 0.000000] reserve setup_data: [mem 0x0000000100000000-0x000000087effffff] usable [ 0.000000] reserve setup_data: [mem 0x000000087f000000-0x000000087fffffff] reserved [ 0.000000] efi: EFI v2.50 by Dell Inc. [ 0.000000] efi: ACPI=0x6c527000 ACPI 2.0=0x6c527014 SMBIOS=0x6afde000 SMBIOS 3.0=0x6afdc000 [ 0.000000] SMBIOS 3.0.0 present. [ 0.000000] DMI: Dell Inc. PowerEdge R7425/02MJ3T, BIOS 1.4.3 06/29/2018 [ 0.000000] tsc: Fast TSC calibration using PIT [ 0.000000] tsc: Detected 2095.926 MHz processor [ 0.000066] last_pfn = 0x87f000 max_arch_pfn = 0x400000000 [ 0.006392] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT Memory KASLR using RDRAND RDTSC... [ 0.016602] last_pfn = 0x70000 max_arch_pfn = 0x400000000 [ 0.027351] Using GB pages for direct mapping [ 0.032046] Secure boot could not be determined [ 0.036402] RAMDISK: [mem 0x87a171000-0x87cdfffff] [ 0.041179] ACPI: Early table checksum verification disabled [ 0.046811] ACPI: RSDP 0x000000006C527014 000024 (v02 DELL ) [ 0.052522] ACPI: XSDT 0x000000006C5260E8 0000C4 (v01 DELL PE_SC3 00000002 DELL 00000001) [ 0.061021] ACPI: FACP 0x000000006C516000 000114 (v06 DELL PE_SC3 00000002 DELL 00000001) [ 0.069515] ACPI: DSDT 0x000000006C505000 00D302 (v02 DELL PE_SC3 00000002 DELL 00000001) [ 0.078005] ACPI: FACS 0x000000006C2F1000 000040 [ 0.082597] ACPI: SSDT 0x000000006C525000 0000D2 (v02 DELL PE_SC3 00000002 MSFT 04000000) [ 0.091092] ACPI: BERT 0x000000006C524000 000030 (v01 DELL BERT 00000001 DELL 00000001) [ 0.099587] ACPI: HEST 0x000000006C523000 0006DC (v01 DELL HEST 00000001 DELL 00000001) [ 0.108079] ACPI: SSDT 0x000000006C522000 0001C4 (v01 DELL PE_SC3 00000001 AMD 00000001) [ 0.116574] ACPI: SRAT 0x000000006C521000 0002D0 (v03 DELL PE_SC3 00000001 AMD 00000001) [ 0.125068] ACPI: MSCT 0x000000006C520000 0000A6 (v01 DELL PE_SC3 00000000 AMD 00000001) [ 0.133560] ACPI: SLIT 0x000000006C51F000 00006C (v01 DELL PE_SC3 00000001 AMD 00000001) [ 0.142055] ACPI: CRAT 0x000000006C51C000 002210 (v01 DELL PE_SC3 00000001 AMD 00000001) [ 0.150549] ACPI: CDIT 0x000000006C51B000 000068 (v01 DELL PE_SC3 00000001 AMD 00000001) [ 0.159044] ACPI: SSDT 0x000000006C51A000 0003C6 (v02 DELL Tpm2Tabl 00001000 INTL 20170119) [ 0.167536] ACPI: TPM2 0x000000006C519000 000038 (v04 DELL PE_SC3 00000002 DELL 00000001) [ 0.176031] ACPI: EINJ 0x000000006C518000 000150 (v01 DELL PE_SC3 00000001 AMD 00000001) [ 0.184526] ACPI: SLIC 0x000000006C517000 000024 (v01 DELL PE_SC3 00000002 DELL 00000001) [ 0.193020] ACPI: HPET 0x000000006C515000 000038 (v01 DELL PE_SC3 00000002 DELL 00000001) [ 0.201512] ACPI: APIC 0x000000006C514000 0004B2 (v03 DELL PE_SC3 00000002 DELL 00000001) [ 0.210006] ACPI: MCFG 0x000000006C513000 00003C (v01 DELL PE_SC3 00000002 DELL 00000001) [ 0.218501] ACPI: SSDT 0x000000006C504000 0005CA (v02 DELL xhc_port 00000001 INTL 20170119) [ 0.226995] ACPI: IVRS 0x000000006C503000 000390 (v02 DELL PE_SC3 00000001 AMD 00000000) [ 0.235487] ACPI: SSDT 0x000000006C501000 001658 (v01 AMD CPMCMN 00000001 INTL 20170119) [ 0.244042] SRAT: PXM 0 -> APIC 0x00 -> Node 0 [ 0.248401] SRAT: PXM 0 -> APIC 0x01 -> Node 0 [ 0.252822] SRAT: PXM 0 -> APIC 0x08 -> Node 0 [ 0.257243] SRAT: PXM 0 -> APIC 0x09 -> Node 0 [ 0.261661] SRAT: PXM 1 -> APIC 0x10 -> Node 1 [ 0.266082] SRAT: PXM 1 -> APIC 0x11 -> Node 1 [ 0.270503] SRAT: PXM 1 -> APIC 0x18 -> Node 1 [ 0.274924] SRAT: PXM 1 -> APIC 0x19 -> Node 1 [ 0.279343] SRAT: PXM 2 -> APIC 0x20 -> Node 2 [ 0.283763] SRAT: PXM 2 -> APIC 0x21 -> Node 2 [ 0.288184] SRAT: PXM 2 -> APIC 0x28 -> Node 2 [ 0.292605] SRAT: PXM 2 -> APIC 0x29 -> Node 2 [ 0.297024] SRAT: PXM 3 -> APIC 0x30 -> Node 3 [ 0.301444] SRAT: PXM 3 -> APIC 0x31 -> Node 3 [ 0.305865] SRAT: PXM 3 -> APIC 0x38 -> Node 3 [ 0.310286] SRAT: PXM 3 -> APIC 0x39 -> Node 3 [ 0.314707] SRAT: PXM 4 -> APIC 0x40 -> Node 4 [ 0.319126] SRAT: PXM 4 -> APIC 0x41 -> Node 4 [ 0.323547] SRAT: PXM 4 -> APIC 0x48 -> Node 4 [ 0.327968] SRAT: PXM 4 -> APIC 0x49 -> Node 4 [ 0.332386] SRAT: PXM 5 -> APIC 0x50 -> Node 5 [ 0.336807] SRAT: PXM 5 -> APIC 0x51 -> Node 5 [ 0.341228] SRAT: PXM 5 -> APIC 0x58 -> Node 5 [ 0.345649] SRAT: PXM 5 -> APIC 0x59 -> Node 5 [ 0.350067] SRAT: PXM 6 -> APIC 0x60 -> Node 6 [ 0.354488] SRAT: PXM 6 -> APIC 0x61 -> Node 6 [ 0.358909] SRAT: PXM 6 -> APIC 0x68 -> Node 6 [ 0.363330] SRAT: PXM 6 -> APIC 0x69 -> Node 6 [ 0.367748] SRAT: PXM 7 -> APIC 0x70 -> Node 7 [ 0.372169] SRAT: PXM 7 -> APIC 0x71 -> Node 7 [ 0.376590] SRAT: PXM 7 -> APIC 0x78 -> Node 7 [ 0.381011] SRAT: PXM 7 -> APIC 0x79 -> Node 7 [ 0.385432] ACPI: SRAT: Node 1 PXM 1 [mem 0x00000000-0x0009ffff] [ 0.391412] ACPI: SRAT: Node 1 PXM 1 [mem 0x00100000-0x7fffffff] [ 0.397391] ACPI: SRAT: Node 1 PXM 1 [mem 0x100000000-0x47fffffff] [ 0.403544] ACPI: SRAT: Node 5 PXM 5 [mem 0x480000000-0x87fffffff] [ 0.409708] NUMA: Node 1 [mem 0x00000000-0x0009ffff] + [mem 0x00100000-0x7fffffff] -> [mem 0x00000000-0x7fffffff] [ 0.419926] NUMA: Node 1 [mem 0x00000000-0x7fffffff] + [mem 0x100000000-0x47fffffff] -> [mem 0x00000000-0x47fffffff] [ 0.430425] NODE_DATA(1) allocated [mem 0x47ffd5000-0x47fffffff] [ 0.436423] NODE_DATA(5) allocated [mem 0x87efd4000-0x87effefff] [ 0.442550] crashkernel: memory value expected [ 0.446860] Zone ranges: [ 0.449325] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.455479] DMA32 [mem 0x0000000001000000-0x00000000ffffffff] [ 0.461633] Normal [mem 0x0000000100000000-0x000000087effffff] [ 0.467787] Device empty [ 0.470648] Movable zone start for each node [ 0.474897] Early memory node ranges [ 0.478448] node 1: [mem 0x0000000000001000-0x000000000008efff] [ 0.484687] node 1: [mem 0x0000000000090000-0x000000000009ffff] [ 0.490929] node 1: [mem 0x0000000000100000-0x000000005c3d6fff] [ 0.497168] node 1: [mem 0x00000000643df000-0x0000000068ff7fff] [ 0.503407] node 1: [mem 0x000000006c528000-0x000000006fffffff] [ 0.509649] node 1: [mem 0x0000000100000000-0x000000047fffffff] [ 0.515889] node 5: [mem 0x0000000480000000-0x000000087effffff] [ 0.522849] Zeroed struct page in unavailable ranges: 46490 pages [ 0.522851] Initmem setup node 1 [mem 0x0000000000001000-0x000000047fffffff] [ 0.550729] Initmem setup node 5 [mem 0x0000000480000000-0x000000087effffff] [ 0.559309] ACPI: PM-Timer IO Port: 0x408 [ 0.563161] ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1]) [ 0.569065] IOAPIC[0]: apic_id 128, version 33, address 0xfec00000, GSI 0-23 [ 0.576061] IOAPIC[1]: apic_id 129, version 33, address 0xfd880000, GSI 24-55 [ 0.583170] IOAPIC[2]: apic_id 130, version 33, address 0xea900000, GSI 56-87 [ 0.590276] IOAPIC[3]: apic_id 131, version 33, address 0xdd900000, GSI 88-119 [ 0.597471] IOAPIC[4]: apic_id 132, version 33, address 0xd0900000, GSI 120-151 [ 0.604753] IOAPIC[5]: apic_id 133, version 33, address 0xc3900000, GSI 152-183 [ 0.612032] IOAPIC[6]: apic_id 134, version 33, address 0xb6900000, GSI 184-215 [ 0.619311] IOAPIC[7]: apic_id 135, version 33, address 0xa9900000, GSI 216-247 [ 0.626593] IOAPIC[8]: apic_id 136, version 33, address 0x9c900000, GSI 248-279 [ 0.633872] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.640196] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level) [ 0.646703] Using ACPI (MADT) for SMP configuration information [ 0.652589] ACPI: HPET id: 0x10228201 base: 0xfed00000 [ 0.657712] smpboot: Allowing 128 CPUs, 96 hotplug CPUs [ 0.662931] PM: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.669318] PM: Registered nosave memory: [mem 0x0008f000-0x0008ffff] [ 0.675732] PM: Registered nosave memory: [mem 0x000a0000-0x000fffff] [ 0.682143] PM: Registered nosave memory: [mem 0x00100000-0x00100fff] [ 0.688558] PM: Registered nosave memory: [mem 0x5c3d7000-0x643defff] [ 0.694973] PM: Registered nosave memory: [mem 0x68ff8000-0x6b4f7fff] [ 0.701384] PM: Registered nosave memory: [mem 0x6b4f8000-0x6c327fff] [ 0.707798] PM: Registered nosave memory: [mem 0x6c328000-0x6c527fff] [ 0.714213] PM: Registered nosave memory: [mem 0x70000000-0x8fffffff] [ 0.720626] PM: Registered nosave memory: [mem 0x90000000-0xfec0ffff] [ 0.727040] PM: Registered nosave memory: [mem 0xfec10000-0xfec10fff] [ 0.733454] PM: Registered nosave memory: [mem 0xfec11000-0xfed7ffff] [ 0.739868] PM: Registered nosave memory: [mem 0xfed80000-0xfed80fff] [ 0.746282] PM: Registered nosave memory: [mem 0xfed81000-0xffffffff] [ 0.752698] [mem 0x90000000-0xfec0ffff] available for PCI devices [ 0.758765] Booting paravirtualized kernel on bare hardware [ 0.764314] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns [ 0.890606] random: get_random_bytes called from start_kernel+0x9b/0x52e with crng_init=0 [ 0.898609] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:128 nr_cpu_ids:128 nr_node_ids:8 [ 0.907128] setup_percpu: cpu 0 has no node 0 or node-local memory [ 0.913668] setup_percpu: cpu 1 has no node 4 or node-local memory [ 0.925940] setup_percpu: cpu 4 has no node 2 or node-local memory [ 0.932329] setup_percpu: cpu 5 has no node 6 or node-local memory [ 0.938751] setup_percpu: cpu 6 has no node 3 or node-local memory [ 0.945136] setup_percpu: cpu 7 has no node 7 or node-local memory [ 0.954363] percpu: Embedded 46 pages/cpu @(____ptrval____) s151552 r8192 d28672 u262144 [ 0.962428] BUG: unable to handle kernel paging request at 0000000000002088 [ 0.969211] PGD 0 P4D 0 [ 0.971728] Oops: 0000 [#1] SMP NOPTI [ 0.975369] CPU: 0 PID: 0 Comm: swapper Not tainted 4.20.0-rc6+ #3 [ 0.981518] Hardware name: Dell Inc. PowerEdge R7425/02MJ3T, BIOS 1.4.3 06/29/2018 [ 0.989070] RIP: 0010:nr_free_zone_pages+0x1a/0x80 [ 0.993827] Code: 00 00 00 c3 31 c0 eb ca 0f 1f 84 00 00 00 00 00 e8 8b 4d 81 00 55 53 89 fb 65 8b 05 60 27 63 7b 48 98 48 8b 04 c5 00 5d bf 85 <3b> 98 88 20 00 00 48 8d b8 80 20 00 00 72 47 48 8b 17 31 ed 48 85 [ 1.012548] RSP: 0000:ffffffff85a03ee8 EFLAGS: 00010046 [ 1.017748] RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000 [ 1.024855] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 0000000000000003 [ 1.031962] RBP: ffff8927fefcdd00 R08: 0000000000000001 R09: 4ec4ec4ec4ec4ec5 [ 1.039069] R10: 0000000000000010 R11: 000000087efcce40 R12: ffffffff8602e900 [ 1.046176] R13: ffffffff860492c0 R14: 0000000000000000 R15: 0000000000000000 [ 1.053284] FS: 0000000000000000(0000) GS:ffff8927e9c00000(0000) knlGS:0000000000000000 [ 1.061344] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.067065] CR2: 0000000000002088 CR3: 000000087e00a000 CR4: 00000000000406b0 [ 1.074173] Call Trace: [ 1.076611] build_all_zonelists+0x1e/0x90 [ 1.080679] start_kernel+0x195/0x52e [ 1.084317] secondary_startup_64+0xa4/0xb0 [ 1.088475] Modules linked in: [ 1.091506] CR2: 0000000000002088 [ 1.094839] ---[ end trace 281bd369582d82d8 ]--- [ 1.099394] RIP: 0010:nr_free_zone_pages+0x1a/0x80 [ 1.104160] Code: 00 00 00 c3 31 c0 eb ca 0f 1f 84 00 00 00 00 00 e8 8b 4d 81 00 55 53 89 fb 65 8b 05 60 27 63 7b 48 98 48 8b 04 c5 00 5d bf 85 <3b> 98 88 20 00 00 48 8d b8 80 20 00 00 72 47 48 8b 17 31 ed 48 85 [ 1.122880] RSP: 0000:ffffffff85a03ee8 EFLAGS: 00010046 [ 1.128081] RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000 [ 1.135187] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 0000000000000003 [ 1.142297] RBP: ffff8927fefcdd00 R08: 0000000000000001 R09: 4ec4ec4ec4ec4ec5 [ 1.149404] R10: 0000000000000010 R11: 000000087efcce40 R12: ffffffff8602e900 [ 1.156510] R13: ffffffff860492c0 R14: 0000000000000000 R15: 0000000000000000 [ 1.163618] FS: 0000000000000000(0000) GS:ffff8927e9c00000(0000) knlGS:0000000000000000 [ 1.171678] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.177399] CR2: 0000000000002088 CR3: 000000087e00a000 CR4: 00000000000406b0 [ 1.184507] Kernel panic - not syncing: Fatal exception [ 1.189776] ---[ end Kernel panic - not syncing: Fatal exception ]---