Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 12, 2018 at 7:53 PM Michal Hocko <mhocko@xxxxxxxxxx> wrote:
>
> On Wed 12-12-18 16:31:35, Pingfan Liu wrote:
> > 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.
>
> You are right. I am dumb. I've just completely missed that. Sigh.
> Anyway, I think the code is more complicated than necessary and we can
> simply drop the check. I do not think we really have to worry about
> the start overflowing end. So the end patch should look as follows.
> Btw. I believe it is better to pull alloc_node_data out of init_memory_less_node
> because a) there is no need to duplicate the call and moreover we want
> to pull node_set_online as well. The code also seems cleaner this way.
>
I have no strong opinion here.
> Thanks for your testing and your patience with me here.
Np.
>
> diff --git a/arch/x86/mm/numa.c b/arch/x86/mm/numa.c
> index 1308f5408bf7..a5548fe668fb 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;
>
> @@ -581,9 +592,6 @@ 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:
> @@ -592,6 +600,10 @@ static int __init numa_register_memblks(struct numa_meminfo *mi)
>                         continue;
>
>                 alloc_node_data(nid);
> +               if (!end)
> +                       init_memory_less_node(nid);
> +               else
> +                       node_set_online(nid);
>         }
>
>         /* Dump memblock with node info and return. */
> @@ -721,21 +733,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 +760,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);
>         }
>  }
> --
Regret, it still has bug, and I got panic. Attached log.

Thanks,
Pingfan
[    0.000000] Linux version 4.20.0-rc6+
[    0.000000] Command line: root=/dev/mapper/xx_dell--per7425--03-root ro crashkernel=500M 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.918 MHz processor
[    0.000066] last_pfn = 0x87f000 max_arch_pfn = 0x400000000
[    0.006409] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
Memory KASLR using RDRAND RDTSC...
[    0.016620] last_pfn = 0x70000 max_arch_pfn = 0x400000000
[    0.027379] Using GB pages for direct mapping
[    0.032009] Secure boot could not be determined
[    0.036361] RAMDISK: [mem 0x87a172000-0x87cdfffff]
[    0.041137] ACPI: Early table checksum verification disabled
[    0.046766] ACPI: RSDP 0x000000006C527014 000024 (v02 DELL  )
[    0.052480] ACPI: XSDT 0x000000006C5260E8 0000C4 (v01 DELL   PE_SC3   00000002 DELL 00000001)
[    0.060981] ACPI: FACP 0x000000006C516000 000114 (v06 DELL   PE_SC3   00000002 DELL 00000001)
[    0.069472] ACPI: DSDT 0x000000006C505000 00D302 (v02 DELL   PE_SC3   00000002 DELL 00000001)
[    0.077962] ACPI: FACS 0x000000006C2F1000 000040
[    0.082556] ACPI: SSDT 0x000000006C525000 0000D2 (v02 DELL   PE_SC3   00000002 MSFT 04000000)
[    0.091051] ACPI: BERT 0x000000006C524000 000030 (v01 DELL   BERT     00000001 DELL 00000001)
[    0.099543] ACPI: HEST 0x000000006C523000 0006DC (v01 DELL   HEST     00000001 DELL 00000001)
[    0.108038] ACPI: SSDT 0x000000006C522000 0001C4 (v01 DELL   PE_SC3   00000001 AMD  00000001)
[    0.116532] ACPI: SRAT 0x000000006C521000 0002D0 (v03 DELL   PE_SC3   00000001 AMD  00000001)
[    0.125027] ACPI: MSCT 0x000000006C520000 0000A6 (v01 DELL   PE_SC3   00000000 AMD  00000001)
[    0.133519] ACPI: SLIT 0x000000006C51F000 00006C (v01 DELL   PE_SC3   00000001 AMD  00000001)
[    0.142014] ACPI: CRAT 0x000000006C51C000 002210 (v01 DELL   PE_SC3   00000001 AMD  00000001)
[    0.150508] ACPI: CDIT 0x000000006C51B000 000068 (v01 DELL   PE_SC3   00000001 AMD  00000001)
[    0.159001] ACPI: SSDT 0x000000006C51A000 0003C6 (v02 DELL   Tpm2Tabl 00001000 INTL 20170119)
[    0.167495] ACPI: TPM2 0x000000006C519000 000038 (v04 DELL   PE_SC3   00000002 DELL 00000001)
[    0.175990] ACPI: EINJ 0x000000006C518000 000150 (v01 DELL   PE_SC3   00000001 AMD  00000001)
[    0.184484] ACPI: SLIC 0x000000006C517000 000024 (v01 DELL   PE_SC3   00000002 DELL 00000001)
[    0.192976] ACPI: HPET 0x000000006C515000 000038 (v01 DELL   PE_SC3   00000002 DELL 00000001)
[    0.201471] ACPI: APIC 0x000000006C514000 0004B2 (v03 DELL   PE_SC3   00000002 DELL 00000001)
[    0.209965] ACPI: MCFG 0x000000006C513000 00003C (v01 DELL   PE_SC3   00000002 DELL 00000001)
[    0.218458] ACPI: SSDT 0x000000006C504000 0005CA (v02 DELL   xhc_port 00000001 INTL 20170119)
[    0.226952] ACPI: IVRS 0x000000006C503000 000390 (v02 DELL   PE_SC3   00000001 AMD  00000000)
[    0.235447] ACPI: SSDT 0x000000006C501000 001658 (v01 AMD    CPMCMN   00000001 INTL 20170119)
[    0.244001] SRAT: PXM 0 -> APIC 0x00 -> Node 0
[    0.248360] SRAT: PXM 0 -> APIC 0x01 -> Node 0
[    0.252781] SRAT: PXM 0 -> APIC 0x08 -> Node 0
[    0.257202] SRAT: PXM 0 -> APIC 0x09 -> Node 0
[    0.261620] SRAT: PXM 1 -> APIC 0x10 -> Node 1
[    0.266041] SRAT: PXM 1 -> APIC 0x11 -> Node 1
[    0.270462] SRAT: PXM 1 -> APIC 0x18 -> Node 1
[    0.274883] SRAT: PXM 1 -> APIC 0x19 -> Node 1
[    0.279301] SRAT: PXM 2 -> APIC 0x20 -> Node 2
[    0.283722] SRAT: PXM 2 -> APIC 0x21 -> Node 2
[    0.288143] SRAT: PXM 2 -> APIC 0x28 -> Node 2
[    0.292564] SRAT: PXM 2 -> APIC 0x29 -> Node 2
[    0.296982] SRAT: PXM 3 -> APIC 0x30 -> Node 3
[    0.301403] SRAT: PXM 3 -> APIC 0x31 -> Node 3
[    0.305824] SRAT: PXM 3 -> APIC 0x38 -> Node 3
[    0.310245] SRAT: PXM 3 -> APIC 0x39 -> Node 3
[    0.314664] SRAT: PXM 4 -> APIC 0x40 -> Node 4
[    0.319085] SRAT: PXM 4 -> APIC 0x41 -> Node 4
[    0.323506] SRAT: PXM 4 -> APIC 0x48 -> Node 4
[    0.327926] SRAT: PXM 4 -> APIC 0x49 -> Node 4
[    0.332345] SRAT: PXM 5 -> APIC 0x50 -> Node 5
[    0.336766] SRAT: PXM 5 -> APIC 0x51 -> Node 5
[    0.341187] SRAT: PXM 5 -> APIC 0x58 -> Node 5
[    0.345607] SRAT: PXM 5 -> APIC 0x59 -> Node 5
[    0.350026] SRAT: PXM 6 -> APIC 0x60 -> Node 6
[    0.354447] SRAT: PXM 6 -> APIC 0x61 -> Node 6
[    0.358868] SRAT: PXM 6 -> APIC 0x68 -> Node 6
[    0.363289] SRAT: PXM 6 -> APIC 0x69 -> Node 6
[    0.367707] SRAT: PXM 7 -> APIC 0x70 -> Node 7
[    0.372128] SRAT: PXM 7 -> APIC 0x71 -> Node 7
[    0.376549] SRAT: PXM 7 -> APIC 0x78 -> Node 7
[    0.380970] SRAT: PXM 7 -> APIC 0x79 -> Node 7
[    0.385391] ACPI: SRAT: Node 1 PXM 1 [mem 0x00000000-0x0009ffff]
[    0.391370] ACPI: SRAT: Node 1 PXM 1 [mem 0x00100000-0x7fffffff]
[    0.397349] ACPI: SRAT: Node 1 PXM 1 [mem 0x100000000-0x47fffffff]
[    0.403503] ACPI: SRAT: Node 5 PXM 5 [mem 0x480000000-0x87fffffff]
[    0.409667] NUMA: Node 1 [mem 0x00000000-0x0009ffff] + [mem 0x00100000-0x7fffffff] -> [mem 0x00000000-0x7fffffff]
[    0.419885] NUMA: Node 1 [mem 0x00000000-0x7fffffff] + [mem 0x100000000-0x47fffffff] -> [mem 0x00000000-0x47fffffff]
[    0.430386] NODE_DATA(0) allocated [mem 0x87efd4000-0x87effefff]
[    0.436352]     NODE_DATA(0) on node 5
[    0.440124] Initmem setup node 0 [mem 0x0000000000000000-0x0000000000000000]
[    0.447104] NODE_DATA(1) allocated [mem 0x47ffd5000-0x47fffffff]
[    0.453110] NODE_DATA(2) allocated [mem 0x87efa9000-0x87efd3fff]
[    0.459060]     NODE_DATA(2) on node 5
[    0.462855] Initmem setup node 2 [mem 0x0000000000000000-0x0000000000000000]
[    0.469809] NODE_DATA(3) allocated [mem 0x87ef7e000-0x87efa8fff]
[    0.475788]     NODE_DATA(3) on node 5
[    0.479554] Initmem setup node 3 [mem 0x0000000000000000-0x0000000000000000]
[    0.486536] NODE_DATA(4) allocated [mem 0x87ef53000-0x87ef7dfff]
[    0.492518]     NODE_DATA(4) on node 5
[    0.496280] Initmem setup node 4 [mem 0x0000000000000000-0x0000000000000000]
[    0.503266] NODE_DATA(5) allocated [mem 0x87ef28000-0x87ef52fff]
[    0.509281] NODE_DATA(6) allocated [mem 0x87eefd000-0x87ef27fff]
[    0.515224]     NODE_DATA(6) on node 5
[    0.518987] Initmem setup node 6 [mem 0x0000000000000000-0x0000000000000000]
[    0.525974] NODE_DATA(7) allocated [mem 0x87eed2000-0x87eefcfff]
[    0.531953]     NODE_DATA(7) on node 5
[    0.535716] Initmem setup node 7 [mem 0x0000000000000000-0x0000000000000000]
[    0.542839] Reserving 500MB of memory at 384MB for crashkernel (System RAM: 32314MB)
[    0.550465] Zone ranges:
[    0.552927]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.559081]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.565235]   Normal   [mem 0x0000000100000000-0x000000087effffff]
[    0.571388]   Device   empty
[    0.574249] Movable zone start for each node
[    0.578498] Early memory node ranges
[    0.582049]   node   1: [mem 0x0000000000001000-0x000000000008efff]
[    0.588291]   node   1: [mem 0x0000000000090000-0x000000000009ffff]
[    0.594530]   node   1: [mem 0x0000000000100000-0x000000005c3d6fff]
[    0.600772]   node   1: [mem 0x00000000643df000-0x0000000068ff7fff]
[    0.607011]   node   1: [mem 0x000000006c528000-0x000000006fffffff]
[    0.613251]   node   1: [mem 0x0000000100000000-0x000000047fffffff]
[    0.619493]   node   5: [mem 0x0000000480000000-0x000000087effffff]
[    0.626479] Zeroed struct page in unavailable ranges: 46490 pages
[    0.626480] Initmem setup node 1 [mem 0x0000000000001000-0x000000047fffffff]
[    0.655261] Initmem setup node 5 [mem 0x0000000480000000-0x000000087effffff]
[    0.663605] ACPI: PM-Timer IO Port: 0x408
[    0.667459] ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
[    0.673362] IOAPIC[0]: apic_id 128, version 33, address 0xfec00000, GSI 0-23
[    0.680359] IOAPIC[1]: apic_id 129, version 33, address 0xfd880000, GSI 24-55
[    0.687465] IOAPIC[2]: apic_id 130, version 33, address 0xea900000, GSI 56-87
[    0.694571] IOAPIC[3]: apic_id 131, version 33, address 0xdd900000, GSI 88-119
[    0.701766] IOAPIC[4]: apic_id 132, version 33, address 0xd0900000, GSI 120-151
[    0.709048] IOAPIC[5]: apic_id 133, version 33, address 0xc3900000, GSI 152-183
[    0.716328] IOAPIC[6]: apic_id 134, version 33, address 0xb6900000, GSI 184-215
[    0.723609] IOAPIC[7]: apic_id 135, version 33, address 0xa9900000, GSI 216-247
[    0.730888] IOAPIC[8]: apic_id 136, version 33, address 0x9c900000, GSI 248-279
[    0.738167] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.744494] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
[    0.750998] Using ACPI (MADT) for SMP configuration information
[    0.756887] ACPI: HPET id: 0x10228201 base: 0xfed00000
[    0.762007] smpboot: Allowing 128 CPUs, 96 hotplug CPUs
[    0.767228] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.773614] PM: Registered nosave memory: [mem 0x0008f000-0x0008ffff]
[    0.780029] PM: Registered nosave memory: [mem 0x000a0000-0x000fffff]
[    0.786440] PM: Registered nosave memory: [mem 0x00100000-0x00100fff]
[    0.792855] PM: Registered nosave memory: [mem 0x5c3d7000-0x643defff]
[    0.799270] PM: Registered nosave memory: [mem 0x68ff8000-0x6b4f7fff]
[    0.805681] PM: Registered nosave memory: [mem 0x6b4f8000-0x6c327fff]
[    0.812095] PM: Registered nosave memory: [mem 0x6c328000-0x6c527fff]
[    0.818510] PM: Registered nosave memory: [mem 0x70000000-0x8fffffff]
[    0.824924] PM: Registered nosave memory: [mem 0x90000000-0xfec0ffff]
[    0.831337] PM: Registered nosave memory: [mem 0xfec10000-0xfec10fff]
[    0.837751] PM: Registered nosave memory: [mem 0xfec11000-0xfed7ffff]
[    0.844165] PM: Registered nosave memory: [mem 0xfed80000-0xfed80fff]
[    0.850579] PM: Registered nosave memory: [mem 0xfed81000-0xffffffff]
[    0.856996] [mem 0x90000000-0xfec0ffff] available for PCI devices
[    0.863060] Booting paravirtualized kernel on bare hardware
[    0.868612] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    0.994782] random: get_random_bytes called from start_kernel+0x9b/0x52e with crng_init=0
[    1.002785] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:128 nr_cpu_ids:128 nr_node_ids:8
[    1.011287] setup_percpu: cpu 0 has no node 0 or node-local memory
[    1.017780] setup_percpu: cpu 1 has no node 4 or node-local memory
[    1.029878] setup_percpu: cpu 4 has no node 2 or node-local memory
[    1.036268] setup_percpu: cpu 5 has no node 6 or node-local memory
[    1.042638] setup_percpu: cpu 6 has no node 3 or node-local memory
[    1.049022] setup_percpu: cpu 7 has no node 7 or node-local memory
[    1.058265] percpu: Embedded 46 pages/cpu @(____ptrval____) s151552 r8192 d28672 u262144
[    1.066324] Built 2 zonelists, mobility grouping off.  Total pages: 0
[    1.072590] Policy zone: Normal
[    1.075716] Kernel command line: root=/dev/mapper/xx_dell--per7425--03-root ro crashkernel=500M rd.lvm.lv=xx_dell-per7425-03/root rd.lvm.lv=xx_dell-per7425-03/swap console=ttyS0,115200n81 earlyprintk=ttyS0,115200n81
[    1.119510] Memory: 1333560K/33089944K available (12292K kernel code, 2066K rwdata, 3756K rodata, 2352K init, 6524K bss, 1202444K reserved, 0K cma-reserved)
[    1.133390] swapper: page allocation failure: order:0, mode:0x4000(__GFP_COMP), nodemask=(null)
[    1.141981] swapper cpuset=(null) mems_allowed=0-1023
[    1.147012] CPU: 0 PID: 0 Comm: swapper Not tainted 4.20.0-rc6+ #6
[    1.153161] Hardware name: Dell Inc. PowerEdge R7425/02MJ3T, BIOS 1.4.3 06/29/2018
[    1.160703] Call Trace:
[    1.163145]  dump_stack+0x5c/0x7b
[    1.166429]  warn_alloc+0xf5/0x180
[    1.169809]  ? __raw_callee_save___native_queued_spin_unlock+0x11/0x1e
[    1.176305]  __alloc_pages_slowpath+0x84f/0xa0d
[    1.180815]  ? pcpu_block_refresh_hint+0x77/0xa0
[    1.185404]  __alloc_pages_nodemask+0x299/0x2e0
[    1.189916]  new_slab+0x425/0x570
[    1.193205]  ___slab_alloc+0x375/0x540
[    1.196935]  ? bootstrap+0x1b/0xcb
[    1.200313]  ? __kmem_cache_create+0x2b/0x150
[    1.204649]  ? printk+0x58/0x6f
[    1.207765]  ? bootstrap+0x1b/0xcb
[    1.211145]  __slab_alloc+0x1c/0x38
[    1.214613]  kmem_cache_alloc+0x192/0x1c0
[    1.218600]  bootstrap+0x1b/0xcb
[    1.221809]  kmem_cache_init+0x8d/0x109
[    1.225625]  start_kernel+0x26c/0x52e
[    1.229262]  ? set_init_arg+0x55/0x55
[    1.232904]  secondary_startup_64+0xa4/0xb0
[    1.237064] Mem-Info:
[    1.239317] active_anon:0 inactive_anon:0 isolated_anon:0
[    1.239317]  active_file:0 inactive_file:0 isolated_file:0
[    1.239317]  unevictable:0 dirty:0 writeback:0 unstable:0
[    1.239317]  slab_reclaimable:0 slab_unreclaimable:2
[    1.239317]  mapped:0 shmem:0 pagetables:0 bounce:0
[    1.239317]  free:333388 free_pcp:0 free_cma:0
[    1.269738] Node 1 active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:0kB dirty:0kB writeback:0kB shmem:0kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
[    1.295132] Node 5 active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:0kB dirty:0kB writeback:0kB shmem:0kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
[    1.320525] Node 1 DMA free:15896kB min:0kB low:0kB high:0kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15896kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[    1.345920] lowmem_reserve[]: 0 0 0 0 0
[    1.349735] Node 1 DMA32 free:1055520kB min:0kB low:0kB high:0kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:1633056kB managed:1055520kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[    1.375823] lowmem_reserve[]: 0 0 0 0 0
[    1.379637] Node 1 Normal free:131068kB min:0kB low:0kB high:0kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:14680064kB managed:131072kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[    1.405724] lowmem_reserve[]: 0 0 0 0 0
[    1.409539] Node 5 Normal free:131068kB min:0kB low:0kB high:0kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:16760832kB managed:131072kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[    1.435626] lowmem_reserve[]: 0 0 0 0 0
[    1.439440] Node 1 DMA: 2*4kB (U) 2*8kB (U) 2*16kB (U) 3*32kB (U) 2*64kB (U) 2*128kB (U) 2*256kB (U) 1*512kB (U) 0*1024kB 1*2048kB (M) 3*4096kB (M) = 15896kB
[    1.453482] Node 1 DMA32: 2*4kB (M) 1*8kB (M) 1*16kB (M) 2*32kB (M) 3*64kB (M) 2*128kB (M) 3*256kB (M) 3*512kB (M) 2*1024kB (M) 3*2048kB (M) 255*4096kB (M) = 1055520kB
[    1.468388] Node 1 Normal: 1*4kB (U) 1*8kB (U) 1*16kB (U) 1*32kB (U) 1*64kB (U) 1*128kB (U) 1*256kB (U) 1*512kB (U) 1*1024kB (U) 1*2048kB (U) 31*4096kB (M) = 131068kB
[    1.483211] Node 5 Normal: 1*4kB (U) 1*8kB (U) 1*16kB (U) 1*32kB (U) 1*64kB (U) 1*128kB (U) 1*256kB (U) 1*512kB (U) 1*1024kB (U) 1*2048kB (U) 31*4096kB (M) = 131068kB
[    1.498032] 0 total pagecache pages
[    1.501501] 0 pages in swap cache
[    1.504792] Swap cache stats: add 0, delete 0, find 0/0
[    1.509992] Free swap  = 0kB
[    1.512852] Total swap = 0kB
[    1.515713] 8272486 pages RAM
[    1.518659] 0 pages HighMem/MovableOnly
[    1.522473] 7939096 pages reserved
[    1.525852] 0 pages cma reserved
[    1.529059] 0 pages hwpoisoned
[    1.532096] SLUB: Unable to allocate memory on node -1, gfp=0x408000(GFP_NOWAIT|__GFP_ZERO)
[    1.540415]   cache: kmem_cache, object size: 392, buffer size: 448, default order: 2, min order: 0
[    1.549429]   node 1: slabs: 0, objs: 0, free: 0
[    1.554022]   node 5: slabs: 0, objs: 0, free: 0
[    1.558631] BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
[    1.566416] PGD 0 P4D 0 
[    1.568929] Oops: 0002 [#1] SMP NOPTI
[    1.572571] CPU: 0 PID: 0 Comm: swapper Not tainted 4.20.0-rc6+ #6
[    1.578724] Hardware name: Dell Inc. PowerEdge R7425/02MJ3T, BIOS 1.4.3 06/29/2018
[    1.586265] RIP: 0010:bootstrap+0x2e/0xcb
[    1.590251] Code: ff 55 48 89 fd 48 8b 3d 95 c0 42 00 be 00 80 40 00 53 e8 4a c8 aa fe 48 89 c3 48 8b 05 80 c0 42 00 48 89 ee 48 89 df 8b 48 1c <f3> a4 65 8b 35 5e b8 45 56 48 89 df e8 e6 d6 aa fe 44 8b 05 47 6b
[    1.608972] RSP: 0000:ffffffffa9603ed0 EFLAGS: 00010046
[    1.614173] RAX: ffffffffa9ce6600 RBX: 0000000000000000 RCX: 0000000000000188
[    1.621280] RDX: 00000000000001c0 RSI: ffffffffa9ce6600 RDI: 0000000000000000
[    1.628387] RBP: ffffffffa9ce6600 R08: 000000006f6e2020 R09: 0000000000000147
[    1.635494] R10: 202c30203a736261 R11: 6c73203a35206564 R12: ffffffffa9c2e900
[    1.642601] R13: ffffffffa9c492c0 R14: 0000000000000000 R15: 0000000000000000
[    1.649709] FS:  0000000000000000(0000) GS:ffff9b3c69c00000(0000) knlGS:0000000000000000
[    1.657770] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    1.663488] CR2: 0000000000000000 CR3: 000000087e00a000 CR4: 00000000000406b0
[    1.670598] Call Trace:
[    1.673025]  kmem_cache_init+0x8d/0x109
[    1.676837]  start_kernel+0x26c/0x52e
[    1.680478]  ? set_init_arg+0x55/0x55
[    1.684118]  secondary_startup_64+0xa4/0xb0
[    1.688277] Modules linked in:
[    1.691311] CR2: 0000000000000000
[    1.694647] ---[ end trace 321632dadec2749b ]---
[    1.699199] RIP: 0010:bootstrap+0x2e/0xcb
[    1.703185] Code: ff 55 48 89 fd 48 8b 3d 95 c0 42 00 be 00 80 40 00 53 e8 4a c8 aa fe 48 89 c3 48 8b 05 80 c0 42 00 48 89 ee 48 89 df 8b 48 1c <f3> a4 65 8b 35 5e b8 45 56 48 89 df e8 e6 d6 aa fe 44 8b 05 47 6b
[    1.721906] RSP: 0000:ffffffffa9603ed0 EFLAGS: 00010046
[    1.727106] RAX: ffffffffa9ce6600 RBX: 0000000000000000 RCX: 0000000000000188
[    1.734213] RDX: 00000000000001c0 RSI: ffffffffa9ce6600 RDI: 0000000000000000
[    1.741320] RBP: ffffffffa9ce6600 R08: 000000006f6e2020 R09: 0000000000000147
[    1.748427] R10: 202c30203a736261 R11: 6c73203a35206564 R12: ffffffffa9c2e900
[    1.755534] R13: ffffffffa9c492c0 R14: 0000000000000000 R15: 0000000000000000
[    1.762642] FS:  0000000000000000(0000) GS:ffff9b3c69c00000(0000) knlGS:0000000000000000
[    1.770702] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    1.776423] CR2: 0000000000000000 CR3: 000000087e00a000 CR4: 00000000000406b0
[    1.783531] Kernel panic - not syncing: Fatal exception
[    1.788802] ---[ end Kernel panic - not syncing: Fatal exception ]---



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux