From: Ville Syrjälä <[email protected]>
This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
Make x86 with HIGHMEM=y and CMA=y boot again.
Cc: Joonsoo Kim <[email protected]>
Cc: Aneesh Kumar K.V <[email protected]>
Cc: Tony Lindgren <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Laura Abbott <[email protected]>
Cc: Marek Szyprowski <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Michal Nazarewicz <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Russell King <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Ville Syrjälä <[email protected]>
---
include/linux/memory_hotplug.h | 3 ++
include/linux/mm.h | 1 -
mm/cma.c | 83 ++++++------------------------------------
mm/internal.h | 3 --
mm/page_alloc.c | 55 +++-------------------------
5 files changed, 19 insertions(+), 126 deletions(-)
diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h
index e0e49b5b1ee1..2b0265265c28 100644
--- a/include/linux/memory_hotplug.h
+++ b/include/linux/memory_hotplug.h
@@ -216,6 +216,9 @@ void put_online_mems(void);
void mem_hotplug_begin(void);
void mem_hotplug_done(void);
+extern void set_zone_contiguous(struct zone *zone);
+extern void clear_zone_contiguous(struct zone *zone);
+
#else /* ! CONFIG_MEMORY_HOTPLUG */
#define pfn_to_online_page(pfn) \
({ \
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 1ac1f06a4be6..f7f1369e9d99 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -2109,7 +2109,6 @@ extern void setup_per_cpu_pageset(void);
extern void zone_pcp_update(struct zone *zone);
extern void zone_pcp_reset(struct zone *zone);
-extern void setup_zone_pageset(struct zone *zone);
/* page_alloc.c */
extern int min_free_kbytes;
diff --git a/mm/cma.c b/mm/cma.c
index aa40e6c7b042..5809bbe360d7 100644
--- a/mm/cma.c
+++ b/mm/cma.c
@@ -39,7 +39,6 @@
#include <trace/events/cma.h>
#include "cma.h"
-#include "internal.h"
struct cma cma_areas[MAX_CMA_AREAS];
unsigned cma_area_count;
@@ -110,25 +109,23 @@ static int __init cma_activate_area(struct cma *cma)
if (!cma->bitmap)
return -ENOMEM;
+ WARN_ON_ONCE(!pfn_valid(pfn));
+ zone = page_zone(pfn_to_page(pfn));
+
do {
unsigned j;
base_pfn = pfn;
- if (!pfn_valid(base_pfn))
- goto err;
-
- zone = page_zone(pfn_to_page(base_pfn));
for (j = pageblock_nr_pages; j; --j, pfn++) {
- if (!pfn_valid(pfn))
- goto err;
-
+ WARN_ON_ONCE(!pfn_valid(pfn));
/*
- * In init_cma_reserved_pageblock(), present_pages
- * is adjusted with assumption that all pages in
- * the pageblock come from a single zone.
+ * alloc_contig_range requires the pfn range
+ * specified to be in the same zone. Make this
+ * simple by forcing the entire CMA resv range
+ * to be in the same zone.
*/
if (page_zone(pfn_to_page(pfn)) != zone)
- goto err;
+ goto not_in_zone;
}
init_cma_reserved_pageblock(pfn_to_page(base_pfn));
} while (--i);
@@ -142,7 +139,7 @@ static int __init cma_activate_area(struct cma *cma)
return 0;
-err:
+not_in_zone:
pr_err("CMA area %s could not be activated\n", cma->name);
kfree(cma->bitmap);
cma->count = 0;
@@ -152,41 +149,6 @@ static int __init cma_activate_area(struct cma *cma)
static int __init cma_init_reserved_areas(void)
{
int i;
- struct zone *zone;
- pg_data_t *pgdat;
-
- if (!cma_area_count)
- return 0;
-
- for_each_online_pgdat(pgdat) {
- unsigned long start_pfn = UINT_MAX, end_pfn = 0;
-
- zone = &pgdat->node_zones[ZONE_MOVABLE];
-
- /*
- * In this case, we cannot adjust the zone range
- * since it is now maximum node span and we don't
- * know original zone range.
- */
- if (populated_zone(zone))
- continue;
-
- for (i = 0; i < cma_area_count; i++) {
- if (pfn_to_nid(cma_areas[i].base_pfn) !=
- pgdat->node_id)
- continue;
-
- start_pfn = min(start_pfn, cma_areas[i].base_pfn);
- end_pfn = max(end_pfn, cma_areas[i].base_pfn +
- cma_areas[i].count);
- }
-
- if (!end_pfn)
- continue;
-
- zone->zone_start_pfn = start_pfn;
- zone->spanned_pages = end_pfn - start_pfn;
- }
for (i = 0; i < cma_area_count; i++) {
int ret = cma_activate_area(&cma_areas[i]);
@@ -195,32 +157,9 @@ static int __init cma_init_reserved_areas(void)
return ret;
}
- /*
- * Reserved pages for ZONE_MOVABLE are now activated and
- * this would change ZONE_MOVABLE's managed page counter and
- * the other zones' present counter. We need to re-calculate
- * various zone information that depends on this initialization.
- */
- build_all_zonelists(NULL);
- for_each_populated_zone(zone) {
- if (zone_idx(zone) == ZONE_MOVABLE) {
- zone_pcp_reset(zone);
- setup_zone_pageset(zone);
- } else
- zone_pcp_update(zone);
-
- set_zone_contiguous(zone);
- }
-
- /*
- * We need to re-init per zone wmark by calling
- * init_per_zone_wmark_min() but doesn't call here because it is
- * registered on core_initcall and it will be called later than us.
- */
-
return 0;
}
-pure_initcall(cma_init_reserved_areas);
+core_initcall(cma_init_reserved_areas);
/**
* cma_init_reserved_mem() - create custom contiguous area from reserved memory
diff --git a/mm/internal.h b/mm/internal.h
index 62d8c34e63d5..8679b4fe9e1b 100644
--- a/mm/internal.h
+++ b/mm/internal.h
@@ -168,9 +168,6 @@ extern void post_alloc_hook(struct page *page, unsigned int order,
gfp_t gfp_flags);
extern int user_min_free_kbytes;
-extern void set_zone_contiguous(struct zone *zone);
-extern void clear_zone_contiguous(struct zone *zone);
-
#if defined CONFIG_COMPACTION || defined CONFIG_CMA
/*
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 905db9d7962f..3c2f042e9366 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1743,38 +1743,16 @@ void __init page_alloc_init_late(void)
}
#ifdef CONFIG_CMA
-static void __init adjust_present_page_count(struct page *page, long count)
-{
- struct zone *zone = page_zone(page);
-
- /* We don't need to hold a lock since it is boot-up process */
- zone->present_pages += count;
-}
-
/* Free whole pageblock and set its migration type to MIGRATE_CMA. */
void __init init_cma_reserved_pageblock(struct page *page)
{
unsigned i = pageblock_nr_pages;
- unsigned long pfn = page_to_pfn(page);
struct page *p = page;
- int nid = page_to_nid(page);
-
- /*
- * ZONE_MOVABLE will steal present pages from other zones by
- * changing page links so page_zone() is changed. Before that,
- * we need to adjust previous zone's page count first.
- */
- adjust_present_page_count(page, -pageblock_nr_pages);
do {
__ClearPageReserved(p);
set_page_count(p, 0);
-
- /* Steal pages from other zones */
- set_page_links(p, ZONE_MOVABLE, nid, pfn);
- } while (++p, ++pfn, --i);
-
- adjust_present_page_count(page, pageblock_nr_pages);
+ } while (++p, --i);
set_pageblock_migratetype(page, MIGRATE_CMA);
@@ -6204,7 +6182,6 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
{
enum zone_type j;
int nid = pgdat->node_id;
- unsigned long node_end_pfn = 0;
pgdat_resize_init(pgdat);
#ifdef CONFIG_NUMA_BALANCING
@@ -6232,13 +6209,9 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
struct zone *zone = pgdat->node_zones + j;
unsigned long size, realsize, freesize, memmap_pages;
unsigned long zone_start_pfn = zone->zone_start_pfn;
- unsigned long movable_size = 0;
size = zone->spanned_pages;
realsize = freesize = zone->present_pages;
- if (zone_end_pfn(zone) > node_end_pfn)
- node_end_pfn = zone_end_pfn(zone);
-
/*
* Adjust freesize so that it accounts for how much memory
@@ -6287,30 +6260,12 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
zone_seqlock_init(zone);
zone_pcp_init(zone);
- /*
- * The size of the CMA area is unknown now so we need to
- * prepare the memory for the usemap at maximum.
- */
- if (IS_ENABLED(CONFIG_CMA) && j == ZONE_MOVABLE &&
- pgdat->node_spanned_pages) {
- movable_size = node_end_pfn - pgdat->node_start_pfn;
- }
-
- if (!size && !movable_size)
+ if (!size)
continue;
set_pageblock_order();
- if (movable_size) {
- zone->zone_start_pfn = pgdat->node_start_pfn;
- zone->spanned_pages = movable_size;
- setup_usemap(pgdat, zone,
- pgdat->node_start_pfn, movable_size);
- init_currently_empty_zone(zone,
- pgdat->node_start_pfn, movable_size);
- } else {
- setup_usemap(pgdat, zone, zone_start_pfn, size);
- init_currently_empty_zone(zone, zone_start_pfn, size);
- }
+ setup_usemap(pgdat, zone, zone_start_pfn, size);
+ init_currently_empty_zone(zone, zone_start_pfn, size);
memmap_init(size, nid, j, zone_start_pfn);
}
}
@@ -7951,7 +7906,7 @@ void free_contig_range(unsigned long pfn, unsigned nr_pages)
}
#endif
-#if defined CONFIG_MEMORY_HOTPLUG || defined CONFIG_CMA
+#ifdef CONFIG_MEMORY_HOTPLUG
/*
* The zone indicated has a new number of managed_pages; batch sizes and percpu
* page high values need to be recalulated.
--
2.16.1
On 05/17/2018 02:59 PM, Ville Syrjala wrote:
> From: Ville Syrjälä <[email protected]>
>
> This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
>
> Make x86 with HIGHMEM=y and CMA=y boot again.
Um, any more details? This looks rather rash IMHO. Or was there some
previous discussion I haven't seen? We are at rc5 so it can still be
fixed rather than reverted?
> Cc: Joonsoo Kim <[email protected]>
> Cc: Aneesh Kumar K.V <[email protected]>
> Cc: Tony Lindgren <[email protected]>
> Cc: Vlastimil Babka <[email protected]>
> Cc: Johannes Weiner <[email protected]>
> Cc: Laura Abbott <[email protected]>
> Cc: Marek Szyprowski <[email protected]>
> Cc: Mel Gorman <[email protected]>
> Cc: Michal Hocko <[email protected]>
> Cc: Michal Nazarewicz <[email protected]>
> Cc: Minchan Kim <[email protected]>
> Cc: Rik van Riel <[email protected]>
> Cc: Russell King <[email protected]>
> Cc: Will Deacon <[email protected]>
> Cc: Andrew Morton <[email protected]>
> Cc: Linus Torvalds <[email protected]>
> Cc: [email protected]
> Cc: [email protected]
> Signed-off-by: Ville Syrjälä <[email protected]>
On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> From: Ville Syrj?l? <[email protected]>
>
> This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
>
> Make x86 with HIGHMEM=y and CMA=y boot again.
Is there any bug report with some more details? It is much more
preferable to fix the issue rather than to revert the whole thing
right away.
--
Michal Hocko
SUSE Labs
On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > From: Ville Syrj?l? <[email protected]>
> >
> > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> >
> > Make x86 with HIGHMEM=y and CMA=y boot again.
>
> Is there any bug report with some more details? It is much more
> preferable to fix the issue rather than to revert the whole thing
> right away.
The machine I have in front of me right now didn't give me anything.
Black screen, and netconsole was silent. No serial port on this
machine unfortunately.
--
Ville Syrj?l?
Intel
On 05/17/2018 03:36 PM, Ville Syrjälä wrote:
> On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
>> On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
>>> From: Ville Syrjälä <[email protected]>
>>>
>>> This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
>>>
>>> Make x86 with HIGHMEM=y and CMA=y boot again.
>>
>> Is there any bug report with some more details? It is much more
>> preferable to fix the issue rather than to revert the whole thing
>> right away.
>
> The machine I have in front of me right now didn't give me anything.
> Black screen, and netconsole was silent. No serial port on this
> machine unfortunately.
Could you send the .config and more info about the machine, e.g.
/proc/zoneinfo with the patch reverted, etc., the usual stuff when
reporting a bug? Thanks.
On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrj?l? wrote:
> On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > From: Ville Syrj?l? <[email protected]>
> > >
> > > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > >
> > > Make x86 with HIGHMEM=y and CMA=y boot again.
> >
> > Is there any bug report with some more details? It is much more
> > preferable to fix the issue rather than to revert the whole thing
> > right away.
>
> The machine I have in front of me right now didn't give me anything.
> Black screen, and netconsole was silent. No serial port on this
> machine unfortunately.
Booted on another machine with serial:
[ 0.000000] Linux version 4.17.0-rc5-elk+ () (gcc version 6.4.0 (Gentoo 6.4.0-r1 p1.3)) #145 SMP Thu May 17 16:48:20 EEST 2018
[ 0.000000] x86/fpu: x87 FPU will use FXSAVE
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009abff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009ac00-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000db65efff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000db65f000-0x00000000db67efff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x00000000db67f000-0x00000000db76efff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000db76f000-0x00000000dbffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000dde00000-0x00000000dfffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fed10000-0x00000000fed13fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fed18000-0x00000000fed19fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000ff800000-0x00000000ffffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x0000000117ffffff] usable
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] SMBIOS 2.6 present.
[ 0.000000] DMI: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] e820: last_pfn = 0x118000 max_arch_pfn = 0x1000000
[ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
[ 0.000000] RAMDISK: [mem 0x37e58000-0x37feffff]
[ 0.000000] Allocated new RAMDISK: [mem 0x37666000-0x377fd7ff]
[ 0.000000] Move RAMDISK from [mem 0x37e58000-0x37fef7ff] to [mem 0x37666000-0x377fd7ff]
[ 0.000000] ACPI: Early table checksum verification disabled
[ 0.000000] ACPI: RSDP 0x00000000000FE300 000024 (v02 DELL )
[ 0.000000] ACPI: XSDT 0x00000000DB67DE18 000064 (v01 DELL E2 06222004 MSFT 00010013)
[ 0.000000] ACPI: FACP 0x00000000DB75FC18 0000F4 (v04 DELL E2 06222004 MSFT 00010013)
[ 0.000000] ACPI: DSDT 0x00000000DB74E018 00A1BB (v01 DELL E2 00001001 INTL 20080729)
[ 0.000000] ACPI: FACS 0x00000000DB76BF40 000040
[ 0.000000] ACPI: FACS 0x00000000DB76ED40 000040
[ 0.000000] ACPI: APIC 0x00000000DB67CF18 00008C (v02 DELL E2 06222004 MSFT 00010013)
[ 0.000000] ACPI: MCFG 0x00000000DB76DD18 00003C (v01 A M I GMCH945. 06222004 MSFT 00000097)
[ 0.000000] ACPI: TCPA 0x00000000DB76DC98 000032 (v02 00000000 00000000)
[ 0.000000] ACPI: HPET 0x00000000DB76DC18 000038 (v01 DELL E2 00000001 ASL 00000061)
[ 0.000000] ACPI: BOOT 0x00000000DB76DB98 000028 (v01 DELL E2 06222004 AMI 00010013)
[ 0.000000] ACPI: SLIC 0x00000000DB766818 000176 (v03 DELL E2 06222004 MSFT 00010013)
[ 0.000000] ACPI: SSDT 0x00000000DB75D018 0009F1 (v01 PmRef CpuPm 00003000 INTL 20080729)
[ 0.000000] 3592MB HIGHMEM available.
[ 0.000000] 887MB LOWMEM available.
[ 0.000000] mapped low ram: 0 - 377fe000
[ 0.000000] low ram: 0 - 377fe000
[ 0.000000] cma: Reserved 4 MiB at 0x0000000037000000
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.000000] Normal [mem 0x0000000001000000-0x00000000377fdfff]
[ 0.000000] HighMem [mem 0x00000000377fe000-0x0000000117ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000001000-0x0000000000099fff]
[ 0.000000] node 0: [mem 0x0000000000100000-0x00000000db65efff]
[ 0.000000] node 0: [mem 0x0000000100000000-0x0000000117ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x0000000117ffffff]
[ 0.000000] Reserved but unavailable: 103 pages
[ 0.000000] Using APIC driver default
[ 0.000000] Reserving Intel graphics memory at [mem 0xde000000-0xdfffffff]
[ 0.000000] ACPI: PM-Timer IO Port: 0x408
[ 0.000000] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] ACPI: HPET id: 0x8086a701 base: 0xfed00000
[ 0.000000] smpboot: 8 Processors exceeds NR_CPUS limit of 4
[ 0.000000] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x0009a000-0x0009afff]
[ 0.000000] PM: Registered nosave memory: [mem 0x0009b000-0x0009ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000dffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000e0000-0x000fffff]
[ 0.000000] e820: [mem 0xe0000000-0xf7ffffff] available for PCI devices
[ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370452778343963 ns
[ 0.000000] setup_percpu: NR_CPUS:4 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
[ 0.000000] percpu: Embedded 29 pages/cpu @(ptrval) s89256 r0 d29528 u118784
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 995080
[ 0.000000] Kernel command line: drm.debug=0xe modprobe.blacklist=i915,snd_hda_intel i915.enable_fbc=1 console=ttyS0,115200 init=/bin/bash
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] microcode: microcode updated early to revision 0x4, date = 2013-06-28
[ 0.000000] Initializing CPU#0
[ 0.000000] Initializing HighMem for node 0 (000377fe:00118000)
[ 0.000000] Initializing Movable for node 0 (00000001:00118000)
[ 0.000000] BUG: Bad page state in process swapper pfn:377fe
[ 0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000000 ffffff80 00000000 00000100 00000200 00000001
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] Disabling lock debugging due to kernel taint
[ 0.000000] BUG: Bad page state in process swapper pfn:37800
[ 0.000000] page:f53f0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:37c00
[ 0.000000] page:f53f8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:38000
[ 0.000000] page:f5400000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:38400
[ 0.000000] page:f5408000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:38800
[ 0.000000] page:f5410000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:38c00
[ 0.000000] page:f5418000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:39000
[ 0.000000] page:f5420000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:39400
[ 0.000000] page:f5428000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:39800
[ 0.000000] page:f5430000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:39c00
[ 0.000000] page:f5438000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3a000
[ 0.000000] page:f5440000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3a400
[ 0.000000] page:f5448000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3a800
[ 0.000000] page:f5450000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3ac00
[ 0.000000] page:f5458000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3b000
[ 0.000000] page:f5460000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3b400
[ 0.000000] page:f5468000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3b800
[ 0.000000] page:f5470000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3bc00
[ 0.000000] page:f5478000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3c000
[ 0.000000] page:f5480000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3c400
[ 0.000000] page:f5488000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3c800
[ 0.000000] page:f5490000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3cc00
[ 0.000000] page:f5498000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3d000
[ 0.000000] page:f54a0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3d400
[ 0.000000] page:f54a8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3d800
[ 0.000000] page:f54b0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3dc00
[ 0.000000] page:f54b8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3e000
[ 0.000000] page:f54c0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3e400
[ 0.000000] page:f54c8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3e800
[ 0.000000] page:f54d0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3ec00
[ 0.000000] page:f54d8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3f000
[ 0.000000] page:f54e0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3f400
[ 0.000000] page:f54e8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3f800
[ 0.000000] page:f54f0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:3fc00
[ 0.000000] page:f54f8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:40000
[ 0.000000] page:f5500000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:40400
[ 0.000000] page:f5508000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:40800
[ 0.000000] page:f5510000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:40c00
[ 0.000000] page:f5518000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:41000
[ 0.000000] page:f5520000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:41400
[ 0.000000] page:f5528000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:41800
[ 0.000000] page:f5530000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:41c00
[ 0.000000] page:f5538000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:42000
[ 0.000000] page:f5540000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:42400
[ 0.000000] page:f5548000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:42800
[ 0.000000] page:f5550000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:42c00
[ 0.000000] page:f5558000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:43000
[ 0.000000] page:f5560000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:43400
[ 0.000000] page:f5568000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:43800
[ 0.000000] page:f5570000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:43c00
[ 0.000000] page:f5578000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:44000
[ 0.000000] page:f5580000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:44400
[ 0.000000] page:f5588000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:44800
[ 0.000000] page:f5590000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:44c00
[ 0.000000] page:f5598000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:45000
[ 0.000000] page:f55a0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:45400
[ 0.000000] page:f55a8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:45800
[ 0.000000] page:f55b0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:45c00
[ 0.000000] page:f55b8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] BUG: Bad page state in process swapper pfn:46000
[ 0.000000] page:f55c0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[ 0.000000] flags: 0x80000000()
[ 0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] Call Trace:
[ 0.000000] dump_stack+0x60/0x96
[ 0.000000] bad_page+0x9a/0x100
[ 0.000000] free_pages_check_bad+0x3f/0x60
[ 0.000000] free_pcppages_bulk+0x29d/0x5b0
[ 0.000000] free_unref_page_commit+0x84/0xb0
[ 0.000000] free_unref_page+0x3e/0x70
[ 0.000000] __free_pages+0x1d/0x20
[ 0.000000] free_highmem_page+0x19/0x40
[ 0.000000] add_highpages_with_active_regions+0xab/0xeb
[ 0.000000] set_highmem_pages_init+0x66/0x73
[ 0.000000] mem_init+0x1b/0x1d7
[ 0.000000] start_kernel+0x17a/0x363
[ 0.000000] i386_start_kernel+0x95/0x99
[ 0.000000] startup_32_smp+0x164/0x168
[ 0.000000] Memory: 7001976K/3987424K available (5254K kernel code, 561K rwdata, 2156K rodata, 572K init, 9308K bss, 4291097664K reserved, 4096K cma-reserved, 7005012K highmem)
[ 0.000000] virtual kernel memory layout:
[ 0.000000] fixmap : 0xfff68000 - 0xfffff000 ( 604 kB)
[ 0.000000] cpu_entry : 0xffa00000 - 0xffa9d000 ( 628 kB)
[ 0.000000] pkmap : 0xff800000 - 0xffa00000 (2048 kB)
[ 0.000000] vmalloc : 0xf7ffe000 - 0xff7fe000 ( 120 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf77fe000 ( 887 MB)
[ 0.000000] .init : 0xc17de000 - 0xc186d000 ( 572 kB)
[ 0.000000] .data : 0xc152193c - 0xc17cd6c0 (2735 kB)
[ 0.000000] .text : 0xc1000000 - 0xc152193c (5254 kB)
[ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[ 0.000000] Running RCU self tests
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU lockdep checking is enabled.
[ 0.000000] NR_IRQS: 2304, nr_irqs: 456, preallocated irqs: 16
[ 0.000000] Console: colour VGA+ 80x25
[ 0.000000] console [ttyS0] enabled
[ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 0.000000] ... MAX_LOCK_DEPTH: 48
[ 0.000000] ... MAX_LOCKDEP_KEYS: 8191
[ 0.000000] ... CLASSHASH_SIZE: 4096
[ 0.000000] ... MAX_LOCKDEP_ENTRIES: 32768
[ 0.000000] ... MAX_LOCKDEP_CHAINS: 131072
[ 0.000000] ... CHAINHASH_SIZE: 65536
[ 0.000000] memory used by lock dependency info: 5935 kB
[ 0.000000] per task-struct memory footprint: 1344 bytes
[ 0.000000] ACPI: Core revision 20180313
[ 0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484882848 ns
[ 0.000000] APIC: Switch to symmetric I/O mode setup
[ 0.003333] Enabling APIC mode: Flat. Using 1 I/O APICs
[ 0.006666] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
[ 0.023333] tsc: Fast TSC calibration using PIT
[ 0.026666] tsc: Detected 2659.858 MHz processor
[ 0.029999] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x26571dc5c81, max_idle_ns: 440795302576 ns
[ 0.033336] Calibrating delay loop (skipped), value calculated using timer frequency.. 5321.37 BogoMIPS (lpj=8866193)
[ 0.036668] pid_max: default: 32768 minimum: 301
[ 0.040031] Security Framework initialized
[ 0.043349] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.046670] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.053413] CPU: Physical Processor ID: 0
[ 0.056668] CPU: Processor Core ID: 0
[ 0.060007] mce: CPU supports 9 MCE banks
[ 0.063346] process: using mwait in idle threads
[ 0.066673] Last level iTLB entries: 4KB 512, 2MB 7, 4MB 7
[ 0.070001] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32, 1GB 0
[ 0.073336] Spectre V2 : Vulnerable: Minimal generic ASM retpoline
[ 0.076668] Spectre V2 : Spectre v2 mitigation: Filling RSB on context switch
[ 0.080072] Freeing SMP alternatives memory: 20K
[ 0.089999] smpboot: CPU0: Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz (family: 0x6, model: 0x25, stepping: 0x5)
[ 0.090102] Performance Events: PEBS fmt1+, Westmere events, 16-deep LBR, Intel PMU driver.
[ 0.093336] core: CPUID marked event: 'bus cycles' unavailable
[ 0.096673] ... version: 3
[ 0.100001] ... bit width: 48
[ 0.103334] ... generic registers: 4
[ 0.106668] ... value mask: 0000ffffffffffff
[ 0.110001] ... max period: 000000007fffffff
[ 0.113334] ... fixed-purpose events: 3
[ 0.116668] ... event mask: 000000070000000f
[ 0.120048] Hierarchical SRCU implementation.
[ 0.123725] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[ 0.126684] smp: Bringing up secondary CPUs ...
[ 0.130171] x86: Booting SMP configuration:
[ 0.133339] .... node #0, CPUs: #1
[ 0.003333] Initializing CPU#1
[ 0.143506] #2
[ 0.003333] Initializing CPU#2
[ 0.150189] #3
[ 0.003333] Initializing CPU#3
[ 0.158727] smp: Brought up 1 node, 4 CPUs
[ 0.160004] smpboot: Max logical packages: 1
[ 0.163336] smpboot: Total of 4 processors activated (21287.48 BogoMIPS)
[ 0.168526] devtmpfs: initialized
[ 0.170233] Built 1 zonelists, mobility grouping on. Total pages: 1964269
[ 0.173444] random: get_random_u32 called from bucket_table_alloc+0x71/0x190 with crng_init=0
[ 0.176711] PM: Registering ACPI NVS region [mem 0xdb67f000-0xdb76efff] (983040 bytes)
[ 0.180048] reboot: Dell Latitude E5410 series board detected. Selecting PCI-method for reboots.
[ 0.183434] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[ 0.186675] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.190106] RTC time: 13:50:29, date: 05/17/18
[ 0.193431] NET: Registered protocol family 16
[ 0.196815] audit: initializing netlink subsys (disabled)
[ 0.200014] audit: type=2000 audit(1526565022.199:1): state=initialized audit_enabled=0 res=1
[ 0.210007] cpuidle: using governor menu
[ 0.213386] Simple Boot Flag at 0xf1 set to 0x1
[ 0.216683] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[ 0.226669] ACPI: bus type PCI registered
[ 0.230002] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.236725] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000)
[ 0.246671] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in E820
[ 0.253335] PCI: Using MMCONFIG for extended config space
[ 0.256668] PCI: Using configuration type 1 for base access
[ 0.264553] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.270029] BUG: unable to handle kernel NULL pointer dereference at 00000104
[ 0.276669] *pdpt = 0000000000000000 *pde = f000c520f000c500
[ 0.283337] Oops: 0002 [#1] SMP
[ 0.286668] Modules linked in:
[ 0.286668] CPU: 3 PID: 30 Comm: kworker/3:0 Tainted: G B 4.17.0-rc5-elk+ #145
[ 0.286668] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.303335] Workqueue: events pcpu_balance_workfn
[ 0.303335] EIP: get_page_from_freelist+0x91f/0x1290
[ 0.303335] EFLAGS: 00210086 CPU: 3
[ 0.303335] EAX: 00000034 EBX: 00000100 ECX: 00000001 EDX: 00000200
[ 0.303335] ESI: f53effd4 EDI: c17c03c0 EBP: f49e9df0 ESP: f49e9d80
[ 0.303335] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[ 0.336668] CR0: 80050033 CR2: 00000104 CR3: 01875000 CR4: 000006f0
[ 0.336668] Call Trace:
[ 0.336668] __alloc_pages_nodemask+0xdb/0x1050
[ 0.336668] ? __kmalloc+0x30f/0x640
[ 0.336668] ? __kmalloc+0x352/0x640
[ 0.336668] ? __kmalloc+0x1c1/0x640
[ 0.336668] ? pcpu_mem_zalloc+0x5c/0x80
[ 0.336668] pcpu_populate_chunk+0x9d/0x2d0
[ 0.336668] pcpu_balance_workfn+0x315/0x620
[ 0.336668] ? process_one_work+0x1a3/0x5d0
[ 0.336668] process_one_work+0x21a/0x5d0
[ 0.336668] worker_thread+0x37/0x420
[ 0.336668] kthread+0xda/0x110
[ 0.336668] ? rescuer_thread+0x320/0x320
[ 0.336668] ? _kthread_create_worker_on_cpu+0x20/0x20
[ 0.396674] ret_from_fork+0x2e/0x38
[ 0.400003] Code: 8b 5d ac 8d 14 03 03 55 e0 8b 1a 39 d3 0f 84 21 02 00 00 89 de 83 ee 14 89 75 e8 0f 84 13 02 00 00 89 de 89 5d b4 8b 1b 8b 56 04 <89> 53 04 89 1a 6b d1 34 c7 06 00 01 00 00 c7 46 04 00 02 00 00
[ 0.410004] EIP: get_page_from_freelist+0x91f/0x1290 SS:ESP: 0068:f49e9d80
[ 0.426671] CR2: 0000000000000104
[ 0.426671] ---[ end trace 7c42ade3a7e8517d ]---
[ 0.426671] BUG: sleeping function called from invalid context at ../include/linux/percpu-rwsem.h:34
[ 0.426671] in_atomic(): 1, irqs_disabled(): 1, pid: 30, name: kworker/3:0
[ 0.426671] INFO: lockdep is turned off.
[ 0.426671] irq event stamp: 0
[ 0.426671] hardirqs last enabled at (0): [<00000000>] (null)
[ 0.460004] hardirqs last disabled at (0): [<c104fa4c>] copy_process.part.62+0x23c/0x16e0
[ 0.460004] softirqs last enabled at (0): [<c104fa4c>] copy_process.part.62+0x23c/0x16e0
[ 0.460004] softirqs last disabled at (0): [<00000000>] (null)
[ 0.460004] CPU: 3 PID: 30 Comm: kworker/3:0 Tainted: G B D 4.17.0-rc5-elk+ #145
[ 0.460004] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.460004] Workqueue: events pcpu_balance_workfn
[ 0.460004] Call Trace:
[ 0.460004] dump_stack+0x60/0x96
[ 0.460004] ___might_sleep+0x1f3/0x220
[ 0.460004] __might_sleep+0x2e/0x80
[ 0.460004] exit_signals+0x1a/0x210
[ 0.460004] do_exit+0x7e/0xb60
[ 0.526672] ? kthread+0xda/0x110
[ 0.526672] ? rescuer_thread+0x320/0x320
[ 0.533335] rewind_stack_do_exit+0x11/0x13
[ 0.536677] note: kworker/3:0[30] exited with preempt_count 1
[ 0.543353] kworker/3:0 (30) used greatest stack depth: 6460 bytes left
--
Ville Syrj?l?
Intel
On Thu, May 17, 2018 at 04:58:32PM +0300, Ville Syrj?l? wrote:
> On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrj?l? wrote:
> > On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > > On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > > From: Ville Syrj?l? <[email protected]>
> > > >
> > > > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > >
> > > > Make x86 with HIGHMEM=y and CMA=y boot again.
> > >
> > > Is there any bug report with some more details? It is much more
> > > preferable to fix the issue rather than to revert the whole thing
> > > right away.
> >
> > The machine I have in front of me right now didn't give me anything.
> > Black screen, and netconsole was silent. No serial port on this
> > machine unfortunately.
>
> Booted on another machine with serial:
>
And here's a log with the revert:
[ 0.000000] Linux version 4.17.0-rc5-elk+ () (gcc version 6.4.0 (Gentoo 6.4.0-r1 p1.3)) #146 SMP Thu May 17 16:55:26 EEST 2018
[ 0.000000] x86/fpu: x87 FPU will use FXSAVE
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009abff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009ac00-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000db65efff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000db65f000-0x00000000db67efff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x00000000db67f000-0x00000000db76efff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000db76f000-0x00000000dbffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000dde00000-0x00000000dfffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fed10000-0x00000000fed13fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fed18000-0x00000000fed19fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000ff800000-0x00000000ffffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x0000000117ffffff] usable
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] SMBIOS 2.6 present.
[ 0.000000] DMI: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 0.000000] e820: last_pfn = 0x118000 max_arch_pfn = 0x1000000
[ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
[ 0.000000] RAMDISK: [mem 0x37e58000-0x37feffff]
[ 0.000000] Allocated new RAMDISK: [mem 0x37666000-0x377fd7ff]
[ 0.000000] Move RAMDISK from [mem 0x37e58000-0x37fef7ff] to [mem 0x37666000-0x377fd7ff]
[ 0.000000] ACPI: Early table checksum verification disabled
[ 0.000000] ACPI: RSDP 0x00000000000FE300 000024 (v02 DELL )
[ 0.000000] ACPI: XSDT 0x00000000DB67DE18 000064 (v01 DELL E2 06222004 MSFT 00010013)
[ 0.000000] ACPI: FACP 0x00000000DB75FC18 0000F4 (v04 DELL E2 06222004 MSFT 00010013)
[ 0.000000] ACPI: DSDT 0x00000000DB74E018 00A1BB (v01 DELL E2 00001001 INTL 20080729)
[ 0.000000] ACPI: FACS 0x00000000DB76BF40 000040
[ 0.000000] ACPI: FACS 0x00000000DB76ED40 000040
[ 0.000000] ACPI: APIC 0x00000000DB67CF18 00008C (v02 DELL E2 06222004 MSFT 00010013)
[ 0.000000] ACPI: MCFG 0x00000000DB76DD18 00003C (v01 A M I GMCH945. 06222004 MSFT 00000097)
[ 0.000000] ACPI: TCPA 0x00000000DB76DC98 000032 (v02 00000000 00000000)
[ 0.000000] ACPI: HPET 0x00000000DB76DC18 000038 (v01 DELL E2 00000001 ASL 00000061)
[ 0.000000] ACPI: BOOT 0x00000000DB76DB98 000028 (v01 DELL E2 06222004 AMI 00010013)
[ 0.000000] ACPI: SLIC 0x00000000DB766818 000176 (v03 DELL E2 06222004 MSFT 00010013)
[ 0.000000] ACPI: SSDT 0x00000000DB75D018 0009F1 (v01 PmRef CpuPm 00003000 INTL 20080729)
[ 0.000000] 3592MB HIGHMEM available.
[ 0.000000] 887MB LOWMEM available.
[ 0.000000] mapped low ram: 0 - 377fe000
[ 0.000000] low ram: 0 - 377fe000
[ 0.000000] cma: Reserved 4 MiB at 0x0000000037000000
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.000000] Normal [mem 0x0000000001000000-0x00000000377fdfff]
[ 0.000000] HighMem [mem 0x00000000377fe000-0x0000000117ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000001000-0x0000000000099fff]
[ 0.000000] node 0: [mem 0x0000000000100000-0x00000000db65efff]
[ 0.000000] node 0: [mem 0x0000000100000000-0x0000000117ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x0000000117ffffff]
[ 0.000000] Reserved but unavailable: 103 pages
[ 0.000000] Using APIC driver default
[ 0.000000] Reserving Intel graphics memory at [mem 0xde000000-0xdfffffff]
[ 0.000000] ACPI: PM-Timer IO Port: 0x408
[ 0.000000] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] ACPI: HPET id: 0x8086a701 base: 0xfed00000
[ 0.000000] smpboot: 8 Processors exceeds NR_CPUS limit of 4
[ 0.000000] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x0009a000-0x0009afff]
[ 0.000000] PM: Registered nosave memory: [mem 0x0009b000-0x0009ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000dffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000e0000-0x000fffff]
[ 0.000000] e820: [mem 0xe0000000-0xf7ffffff] available for PCI devices
[ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370452778343963 ns
[ 0.000000] setup_percpu: NR_CPUS:4 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
[ 0.000000] percpu: Embedded 29 pages/cpu @(ptrval) s89256 r0 d29528 u118784
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 995080
[ 0.000000] Kernel command line: drm.debug=0xe modprobe.blacklist=i915,snd_hda_intel i915.enable_fbc=1 console=ttyS0,115200 init=/bin/bash
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] microcode: microcode updated early to revision 0x4, date = 2013-06-28
[ 0.000000] Initializing CPU#0
[ 0.000000] Initializing HighMem for node 0 (000377fe:00118000)
[ 0.000000] Initializing Movable for node 0 (00000000:00000000)
[ 0.000000] Memory: 3926480K/3987424K available (5254K kernel code, 561K rwdata, 2156K rodata, 572K init, 9308K bss, 56848K reserved, 4096K cma-reserved, 3078532K highmem)
[ 0.000000] virtual kernel memory layout:
[ 0.000000] fixmap : 0xfff68000 - 0xfffff000 ( 604 kB)
[ 0.000000] cpu_entry : 0xffa00000 - 0xffa9d000 ( 628 kB)
[ 0.000000] pkmap : 0xff800000 - 0xffa00000 (2048 kB)
[ 0.000000] vmalloc : 0xf7ffe000 - 0xff7fe000 ( 120 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf77fe000 ( 887 MB)
[ 0.000000] .init : 0xc17de000 - 0xc186d000 ( 572 kB)
[ 0.000000] .data : 0xc152193c - 0xc17cd6c0 (2735 kB)
[ 0.000000] .text : 0xc1000000 - 0xc152193c (5254 kB)
[ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[ 0.000000] Running RCU self tests
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU lockdep checking is enabled.
[ 0.000000] NR_IRQS: 2304, nr_irqs: 456, preallocated irqs: 16
[ 0.000000] Console: colour VGA+ 80x25
[ 0.000000] console [ttyS0] enabled
[ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 0.000000] ... MAX_LOCK_DEPTH: 48
[ 0.000000] ... MAX_LOCKDEP_KEYS: 8191
[ 0.000000] ... CLASSHASH_SIZE: 4096
[ 0.000000] ... MAX_LOCKDEP_ENTRIES: 32768
[ 0.000000] ... MAX_LOCKDEP_CHAINS: 131072
[ 0.000000] ... CHAINHASH_SIZE: 65536
[ 0.000000] memory used by lock dependency info: 5935 kB
[ 0.000000] per task-struct memory footprint: 1344 bytes
[ 0.000000] ACPI: Core revision 20180313
[ 0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484882848 ns
[ 0.000000] APIC: Switch to symmetric I/O mode setup
[ 0.003333] Enabling APIC mode: Flat. Using 1 I/O APICs
[ 0.006666] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
[ 0.023333] tsc: Fast TSC calibration using PIT
[ 0.026666] tsc: Detected 2659.950 MHz processor
[ 0.029999] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x2657749ff96, max_idle_ns: 440795305409 ns
[ 0.033339] Calibrating delay loop (skipped), value calculated using timer frequency.. 5322.56 BogoMIPS (lpj=8866500)
[ 0.036669] pid_max: default: 32768 minimum: 301
[ 0.040045] Security Framework initialized
[ 0.043355] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.046671] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.050387] CPU: Physical Processor ID: 0
[ 0.053337] CPU: Processor Core ID: 0
[ 0.056674] mce: CPU supports 9 MCE banks
[ 0.060020] process: using mwait in idle threads
[ 0.063340] Last level iTLB entries: 4KB 512, 2MB 7, 4MB 7
[ 0.066669] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32, 1GB 0
[ 0.070003] Spectre V2 : Vulnerable: Minimal generic ASM retpoline
[ 0.073335] Spectre V2 : Spectre v2 mitigation: Filling RSB on context switch
[ 0.076770] Freeing SMP alternatives memory: 20K
[ 0.083333] smpboot: CPU0: Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz (family: 0x6, model: 0x25, stepping: 0x5)
[ 0.083545] Performance Events: PEBS fmt1+, Westmere events, 16-deep LBR, Intel PMU driver.
[ 0.086671] core: CPUID marked event: 'bus cycles' unavailable
[ 0.090014] ... version: 3
[ 0.093336] ... bit width: 48
[ 0.096669] ... generic registers: 4
[ 0.100002] ... value mask: 0000ffffffffffff
[ 0.103336] ... max period: 000000007fffffff
[ 0.106669] ... fixed-purpose events: 3
[ 0.110002] ... event mask: 000000070000000f
[ 0.113426] Hierarchical SRCU implementation.
[ 0.117232] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[ 0.120039] smp: Bringing up secondary CPUs ...
[ 0.123747] x86: Booting SMP configuration:
[ 0.126679] .... node #0, CPUs: #1
[ 0.003333] Initializing CPU#1
[ 0.136999] #2
[ 0.003333] Initializing CPU#2
[ 0.145684] #3
[ 0.003333] Initializing CPU#3
[ 0.153086] smp: Brought up 1 node, 4 CPUs
[ 0.153340] smpboot: Max logical packages: 1
[ 0.156671] smpboot: Total of 4 processors activated (21288.25 BogoMIPS)
[ 0.163562] devtmpfs: initialized
[ 0.167061] random: get_random_u32 called from bucket_table_alloc+0x71/0x190 with crng_init=0
[ 0.170069] PM: Registering ACPI NVS region [mem 0xdb67f000-0xdb76efff] (983040 bytes)
[ 0.173436] reboot: Dell Latitude E5410 series board detected. Selecting PCI-method for reboots.
[ 0.180021] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[ 0.183344] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.186899] RTC time: 13:57:03, date: 05/17/18
[ 0.190218] NET: Registered protocol family 16
[ 0.193612] audit: initializing netlink subsys (disabled)
[ 0.196691] audit: type=2000 audit(1526565422.196:1): state=initialized audit_enabled=0 res=1
[ 0.203349] cpuidle: using governor menu
[ 0.210070] Simple Boot Flag at 0xf1 set to 0x1
[ 0.213360] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[ 0.220009] ACPI: bus type PCI registered
[ 0.223337] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.230107] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000)
[ 0.240007] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in E820
[ 0.246670] PCI: Using MMCONFIG for extended config space
[ 0.253336] PCI: Using configuration type 1 for base access
[ 0.260760] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.266836] ACPI: Added _OSI(Module Device)
[ 0.270005] ACPI: Added _OSI(Processor Device)
[ 0.273338] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.276670] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.280006] ACPI: Added _OSI(Linux-Dell-Video)
[ 0.302187] ACPI: 2 ACPI AML tables successfully acquired and loaded
[ 0.312792] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[ 0.330164] ACPI: Dynamic OEM Table Load:
[ 0.333345] ACPI: SSDT 0x00000000F4AD0000 000474 (v01 PmRef Cpu0Ist 00003000 INTL 20080729)
[ 0.337293] ACPI: Dynamic OEM Table Load:
[ 0.340011] ACPI: SSDT 0x00000000F48A1000 000891 (v01 PmRef Cpu0Cst 00003001 INTL 20080729)
[ 0.347087] ACPI: Dynamic OEM Table Load:
[ 0.350010] ACPI: SSDT 0x00000000F4AD5400 000303 (v01 PmRef ApIst 00003000 INTL 20080729)
[ 0.356784] ACPI: Dynamic OEM Table Load:
[ 0.360010] ACPI: SSDT 0x00000000F4AB7A00 000119 (v01 PmRef ApCst 00003000 INTL 20080729)
[ 0.367800] ACPI: EC: EC started
[ 0.370003] ACPI: EC: interrupt blocked
[ 0.376910] ACPI: \_SB_.PCI0.LPCB.ECDV: Used as first EC
[ 0.380006] ACPI: \_SB_.PCI0.LPCB.ECDV: GPE=0x10, EC_CMD/EC_SC=0x934, EC_DATA=0x930
[ 0.383338] ACPI: \_SB_.PCI0.LPCB.ECDV: Used as boot DSDT EC to handle transactions
[ 0.386669] ACPI: Interpreter enabled
[ 0.390046] ACPI: (supports S0 S3 S4 S5)
[ 0.393342] ACPI: Using IOAPIC for interrupt routing
[ 0.396722] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 0.400469] ACPI: Enabled 7 GPEs in block 00 to 3F
[ 0.434195] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-3e])
[ 0.436676] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[ 0.440122] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
[ 0.444568] PCI host bridge to bus 0000:00
[ 0.446673] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
[ 0.450004] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
[ 0.453338] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[ 0.456671] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xfeafffff window]
[ 0.460005] pci_bus 0000:00: root bus resource [bus 00-3e]
[ 0.469936] pci 0000:00:1c.0: PCI bridge to [bus 01]
[ 0.470378] pci 0000:02:00.0: enabling Extended Tags
[ 0.473786] pci 0000:00:1c.1: PCI bridge to [bus 02]
[ 0.480185] pci 0000:03:00.4: Enabling fixed DMA alias to 00.0
[ 0.483726] pci 0000:00:1c.2: PCI bridge to [bus 03-04]
[ 0.486797] pci 0000:00:1c.2: bridge has subordinate 04 but max busn 07
[ 0.490162] acpiphp: Slot [1] registered
[ 0.493345] pci 0000:00:1c.3: PCI bridge to [bus 05-0a]
[ 0.497126] pci 0000:0b:00.0: enabling Extended Tags
[ 0.503607] pci 0000:00:1c.5: PCI bridge to [bus 0b]
[ 0.506802] pci 0000:00:1e.0: PCI bridge to [bus 0c] (subtractive decode)
[ 0.515058] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
[ 0.516809] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 *3 4 5 6 7 11 12 14 15)
[ 0.520136] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
[ 0.523470] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
[ 0.526802] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
[ 0.530136] ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
[ 0.533470] ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 *5 6 7 10 12 14 15)
[ 0.536802] ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
[ 0.543746] ACPI: PCI Root Bridge [CPBG] (domain 0000 [bus 3f])
[ 0.546674] acpi PNP0A03:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[ 0.550012] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[ 0.553512] PCI host bridge to bus 0000:3f
[ 0.556672] pci_bus 0000:3f: root bus resource [bus 3f]
[ 0.563475] ACPI: EC: interrupt unblocked
[ 0.566694] ACPI: EC: event unblocked
[ 0.570044] ACPI: \_SB_.PCI0.LPCB.ECDV: GPE=0x10, EC_CMD/EC_SC=0x934, EC_DATA=0x930
[ 0.573357] ACPI: \_SB_.PCI0.LPCB.ECDV: Used as boot DSDT EC to handle transactions and events
[ 0.583757] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[ 0.586666] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[ 0.597247] pci 0000:00:02.0: vgaarb: bridge control possible
[ 0.603338] vgaarb: loaded
[ 0.606946] SCSI subsystem initialized
[ 0.610295] PCI: Using ACPI for IRQ routing
[ 0.618098] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0
[ 0.623341] hpet0: 8 comparators, 64-bit 14.318180 MHz counter
[ 0.633336] clocksource: Switched to clocksource tsc-early
[ 0.659590] pnp: PnP ACPI init
[ 0.662961] system 00:00: [io 0x0680-0x069f] has been reserved
[ 0.668885] system 00:00: [io 0x1000-0x1003] has been reserved
[ 0.674797] system 00:00: [io 0x1004-0x1013] has been reserved
[ 0.680712] system 00:00: [io 0xffff] has been reserved
[ 0.686168] system 00:00: [io 0x0400-0x047f] has been reserved
[ 0.692082] system 00:00: [io 0x0500-0x057f] has been reserved
[ 0.697997] system 00:00: [io 0x164e-0x164f] has been reserved
[ 0.707585] system 00:06: [mem 0xfed1c000-0xfed1ffff] has been reserved
[ 0.714196] system 00:06: [mem 0xfed10000-0xfed13fff] has been reserved
[ 0.720804] system 00:06: [mem 0xfed18000-0xfed18fff] has been reserved
[ 0.727411] system 00:06: [mem 0xfed19000-0xfed19fff] has been reserved
[ 0.734017] system 00:06: [mem 0xf8000000-0xfbffffff] has been reserved
[ 0.740623] system 00:06: [mem 0xfed20000-0xfed3ffff] has been reserved
[ 0.747228] system 00:06: [mem 0xfed45000-0xfed8ffff] has been reserved
[ 0.753837] system 00:06: [mem 0xff000000-0xffffffff] could not be reserved
[ 0.760793] system 00:06: [mem 0xfee00000-0xfeefffff] could not be reserved
[ 0.767748] system 00:06: [mem 0xf7d80000-0xf7d80fff] has been reserved
[ 0.777492] pnp: PnP ACPI: found 7 devices
[ 0.819922] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 0.828883] pci 0000:00:1c.0: BAR 9: assigned [mem 0xf7e00000-0xf7ffffff 64bit pref]
[ 0.836621] pci 0000:00:1c.1: BAR 9: assigned [mem 0xfc000000-0xfc1fffff 64bit pref]
[ 0.844358] pci 0000:00:1c.2: BAR 9: assigned [mem 0xfc200000-0xfc3fffff 64bit pref]
[ 0.852095] pci 0000:00:1c.3: BAR 9: assigned [mem 0xfc400000-0xfc5fffff 64bit pref]
[ 0.859831] pci 0000:00:1c.5: BAR 9: assigned [mem 0xfc600000-0xfc7fffff 64bit pref]
[ 0.867566] pci 0000:00:1c.0: PCI bridge to [bus 01]
[ 0.872526] pci 0000:00:1c.0: bridge window [io 0x7000-0x7fff]
[ 0.878618] pci 0000:00:1c.0: bridge window [mem 0xf6900000-0xf7cfffff]
[ 0.885400] pci 0000:00:1c.0: bridge window [mem 0xf7e00000-0xf7ffffff 64bit pref]
[ 0.893139] pci 0000:00:1c.1: PCI bridge to [bus 02]
[ 0.898100] pci 0000:00:1c.1: bridge window [io 0x6000-0x6fff]
[ 0.904190] pci 0000:00:1c.1: bridge window [mem 0xf5500000-0xf68fffff]
[ 0.910974] pci 0000:00:1c.1: bridge window [mem 0xfc000000-0xfc1fffff 64bit pref]
[ 0.918718] pci 0000:03:00.0: BAR 9: no space for [mem size 0x04000000 pref]
[ 0.925761] pci 0000:03:00.0: BAR 9: failed to assign [mem size 0x04000000 pref]
[ 0.933149] pci 0000:03:00.0: BAR 10: no space for [mem size 0x04000000]
[ 0.939842] pci 0000:03:00.0: BAR 10: failed to assign [mem size 0x04000000]
[ 0.946882] pci 0000:03:00.0: BAR 7: assigned [io 0x2000-0x20ff]
[ 0.952966] pci 0000:03:00.0: BAR 8: assigned [io 0x2400-0x24ff]
[ 0.959057] pci 0000:03:00.0: BAR 10: no space for [mem size 0x04000000]
[ 0.965747] pci 0000:03:00.0: BAR 10: failed to assign [mem size 0x04000000]
[ 0.972786] pci 0000:03:00.0: BAR 9: no space for [mem size 0x04000000 pref]
[ 0.979824] pci 0000:03:00.0: BAR 9: failed to assign [mem size 0x04000000 pref]
[ 0.987211] pci 0000:03:00.0: CardBus bridge to [bus 04]
[ 0.992515] pci 0000:03:00.0: bridge window [io 0x2000-0x20ff]
[ 0.998605] pci 0000:03:00.0: bridge window [io 0x2400-0x24ff]
[ 1.004696] pci 0000:00:1c.2: PCI bridge to [bus 03-04]
[ 1.009916] pci 0000:00:1c.2: bridge window [io 0x2000-0x3fff]
[ 1.016006] pci 0000:00:1c.2: bridge window [mem 0xf0400000-0xf2cfffff]
[ 1.022788] pci 0000:00:1c.2: bridge window [mem 0xfc200000-0xfc3fffff 64bit pref]
[ 1.030528] pci 0000:00:1c.3: PCI bridge to [bus 05-0a]
[ 1.035748] pci 0000:00:1c.3: bridge window [io 0x5000-0x5fff]
[ 1.041846] pci 0000:00:1c.3: bridge window [mem 0xf4100000-0xf54fffff]
[ 1.048636] pci 0000:00:1c.3: bridge window [mem 0xfc400000-0xfc5fffff 64bit pref]
[ 1.056377] pci 0000:00:1c.5: PCI bridge to [bus 0b]
[ 1.061340] pci 0000:00:1c.5: bridge window [io 0x4000-0x4fff]
[ 1.067432] pci 0000:00:1c.5: bridge window [mem 0xf2d00000-0xf40fffff]
[ 1.074214] pci 0000:00:1c.5: bridge window [mem 0xfc600000-0xfc7fffff 64bit pref]
[ 1.081954] pci 0000:00:1e.0: PCI bridge to [bus 0c]
[ 1.087194] NET: Registered protocol family 2
[ 1.091808] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 20480 bytes)
[ 1.099579] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 1.106639] TCP bind hash table entries: 8192 (order: 6, 294912 bytes)
[ 1.113525] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.119937] UDP hash table entries: 512 (order: 3, 40960 bytes)
[ 1.125907] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes)
[ 1.132373] NET: Registered protocol family 1
[ 1.136744] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[ 1.146758] Unpacking initramfs...
[ 1.152236] Freeing initrd memory: 1632K
[ 1.157566] cryptomgr_test (48) used greatest stack depth: 7308 bytes left
[ 1.159044] workingset: timestamp_bits=30 max_order=20 bucket_order=0
[ 1.171619] cryptomgr_test (55) used greatest stack depth: 7016 bytes left
[ 1.171778] bounce: pool size: 64 pages
[ 1.178502] cryptomgr_test (56) used greatest stack depth: 6980 bytes left
[ 1.182372] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 1.196633] io scheduler noop registered
[ 1.200556] io scheduler deadline registered
[ 1.204841] io scheduler cfq registered (default)
[ 1.209545] io scheduler mq-deadline registered
[ 1.214074] io scheduler kyber registered
[ 1.221626] ACPI: AC Adapter [AC] (on-line)
[ 1.225962] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
[ 1.236374] ACPI: Lid Switch [LID]
[ 1.240123] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
[ 1.248613] ACPI: Power Button [PBTN]
[ 1.252533] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2
[ 1.260975] ACPI: Sleep Button [SBTN]
[ 1.264845] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[ 1.272291] ACPI: Power Button [PWRF]
[ 1.278067] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
?[ 1.305815] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 1.323638] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 4 ports 3 Gbps 0x23 impl SATA mode
[ 1.332139] ahci 0000:00:1f.2: flags: 64bit ncq sntf pm led clo pio slum part ems sxs apst
[ 1.389992] scsi host0: ahci
[ 1.393586] scsi host1: ahci
[ 1.397114] scsi host2: ahci
[ 1.398034] ACPI: Battery Slot [BAT0] (battery present)
[ 1.400323] scsi host3: ahci
[ 1.408474] scsi host4: ahci
[ 1.411603] scsi host5: ahci
[ 1.414596] ata1: SATA max UDMA/133 abar m2048@0xf7d20000 port 0xf7d20100 irq 24
[ 1.422002] ata2: SATA max UDMA/133 abar m2048@0xf7d20000 port 0xf7d20180 irq 24
[ 1.429401] ata3: DUMMY
[ 1.431859] ata4: DUMMY
[ 1.434317] ata5: DUMMY
[ 1.436777] ata6: SATA max UDMA/133 abar m2048@0xf7d20000 port 0xf7d20380 irq 24
[ 1.444848] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[ 1.453541] i8042: Warning: Keylock active
[ 1.458916] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 1.463944] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 1.469815] rtc_cmos 00:01: RTC can wake from S4
[ 1.475098] rtc_cmos 00:01: registered as rtc0
[ 1.479694] rtc_cmos 00:01: alarms up to one year, y3k, 242 bytes nvram, hpet irqs
[ 1.487513] IR NEC protocol handler initialized
[ 1.487744] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
[ 1.492065] IR RC5(x/sz) protocol handler initialized
[ 1.492068] IR RC6 protocol handler initialized
[ 1.492070] IR JVC protocol handler initialized
[ 1.492073] IR Sony protocol handler initialized
[ 1.492076] IR SANYO protocol handler initialized
[ 1.492079] IR Sharp protocol handler initialized
[ 1.528867] IR MCE Keyboard/mouse protocol handler initialized
[ 1.534707] IR XMP protocol handler initialized
[ 1.539548] NET: Registered protocol family 17
[ 1.545379] microcode: sig=0x20655, pf=0x10, revision=0x4
[ 1.551242] microcode: Microcode Update Driver: v2.2.
[ 1.551252] Using IPI No-Shortcut mode
[ 1.560117] sched_clock: Marking stable (1560072742, 0)->(1890797128, -330724386)
[ 1.568797] registered taskstats version 1
[ 1.573798] Magic number: 2:93:989
[ 1.577402] machinecheck machinecheck2: hash matches
[ 1.582795] console [netcon0] enabled
[ 1.586526] netconsole: network logging started
[ 1.591303] rtc_cmos 00:01: setting system clock to 2018-05-17 13:57:04 UTC (1526565424)
[ 1.758433] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 1.764760] ata6: SATA link down (SStatus 0 SControl 300)
[ 1.770191] ata2.00: ATAPI: Optiarc DVD+/-RW AD-7717H, 101A, max UDMA/100
[ 1.777010] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 1.783727] ata1.00: ACPI cmd 00/00:00:00:00:00:a0 (NOP) rejected by device (Stat=0x51 Err=0x04)
[ 1.792628] ata2.00: configured for UDMA/100
[ 1.796915] ata1.00: ATA-11: KINGSTON SA400S37120G, SBFK71E0, max UDMA/133
[ 1.803835] ata1.00: 234441648 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[ 1.811460] ata1.00: ACPI cmd 00/00:00:00:00:00:a0 (NOP) rejected by device (Stat=0x51 Err=0x04)
[ 1.820405] ata1.00: configured for UDMA/133
[ 1.825123] scsi 0:0:0:0: Direct-Access ATA KINGSTON SA400S3 71E0 PQ: 0 ANSI: 5
[ 1.834745] sd 0:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/112 GiB)
[ 1.836380] scsi 1:0:0:0: CD-ROM Optiarc DVD+-RW AD-7717H 101A PQ: 0 ANSI: 5
[ 1.842298] sd 0:0:0:0: [sda] Write Protect is off
[ 1.855258] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1.865635] sda: sda1 sda2 sda3
[ 1.870491] sd 0:0:0:0: [sda] Attached SCSI disk
[ 1.888549] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 1.896082] Please append a correct "root=" boot option; here are the available partitions:
[ 1.904482] 0800 117220824 sda
[ 1.904484] driver: sd
[ 1.910594] 0801 524288 sda1 a1ab8ade-01
[ 1.910595]
[ 1.917017] 0802 2097152 sda2 a1ab8ade-02
[ 1.917019]
[ 1.923382] 0803 114598360 sda3 a1ab8ade-03
[ 1.923383]
[ 1.929799] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 1.938048] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.17.0-rc5-elk+ #146
[ 1.944908] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 1.952202] Call Trace:
[ 1.954649] dump_stack+0x60/0x96
[ 1.957964] panic+0x8f/0x1c6
[ 1.960926] mount_block_root+0x191/0x206
[ 1.964930] mount_root+0x71/0x76
[ 1.968240] prepare_namespace+0x111/0x141
[ 1.972328] kernel_init_freeable+0x17c/0x18e
[ 1.976677] ? rest_init+0xb0/0xb0
[ 1.980075] kernel_init+0x8/0xf0
[ 1.983387] ret_from_fork+0x2e/0x38
[ 1.987020] Kernel Offset: disabled
[ 1.990512] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
[ 1.999976] ------------[ cut here ]------------
[ 2.004583] sched: Unexpected reschedule of offline CPU#2!
[ 2.010063] WARNING: CPU: 0 PID: 1 at ../arch/x86/kernel/smp.c:128 native_smp_send_reschedule+0x2b/0x40
[ 2.019435] Modules linked in:
[ 2.022486] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.17.0-rc5-elk+ #146
[ 2.029346] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[ 2.036641] EIP: native_smp_send_reschedule+0x2b/0x40
[ 2.041680] EFLAGS: 00210086 CPU: 0
[ 2.045160] EAX: 0000002e EBX: 00000003 ECX: 00000000 EDX: f4884040
[ 2.051412] ESI: 00000002 EDI: 00000003 EBP: f488fdac ESP: f488fda4
[ 2.057666] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[ 2.063054] CR0: 80050033 CR2: 00000000 CR3: 01875000 CR4: 000006f0
[ 2.069306] Call Trace:
[ 2.071749] kick_ilb+0x80/0x90
[ 2.074884] trigger_load_balance+0x108/0x370
[ 2.079231] scheduler_tick+0xa5/0xd0
[ 2.082886] update_process_times+0x3a/0x50
[ 2.087061] tick_sched_handle+0x23/0x60
[ 2.090977] tick_sched_timer+0x38/0x90
[ 2.094805] __hrtimer_run_queues+0x137/0x500
[ 2.099155] ? ktime_get_update_offsets_now+0x89/0x1d0
[ 2.104283] ? tick_sched_do_timer+0x70/0x70
[ 2.108544] hrtimer_interrupt+0x100/0x2a0
[ 2.112634] smp_apic_timer_interrupt+0x67/0x2b0
[ 2.117241] apic_timer_interrupt+0x3a/0x40
[ 2.121415] EIP: panic+0x179/0x1c6
[ 2.124809] EFLAGS: 00200246 CPU: 0
[ 2.128289] EAX: c16a43b0 EBX: f488ff00 ECX: 00000000 EDX: 00000000
[ 2.134541] ESI: 00000000 EDI: 00000000 EBP: f488ff1c ESP: f488ff08
[ 2.140796] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[ 2.146185] ? debug_rt_mutex_proxy_unlock+0x2b/0x50
[ 2.151139] mount_block_root+0x191/0x206
[ 2.155140] mount_root+0x71/0x76
[ 2.158448] prepare_namespace+0x111/0x141
[ 2.162535] kernel_init_freeable+0x17c/0x18e
[ 2.166883] ? rest_init+0xb0/0xb0
[ 2.170277] kernel_init+0x8/0xf0
[ 2.173585] ret_from_fork+0x2e/0x38
[ 2.177152] Code: 55 89 e5 0f a3 05 dc 9e 7c c1 73 14 8b 0d a0 c3 70 c1 ba fd 00 00 00 ff 51 18 c9 c3 8d 74 26 00 50 68 74 fc 69 c1 e8 45 98 01 00 <0f> 0b 58 5a c9 c3 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 90
[ 2.196016] irq event stamp: 815904
[ 2.199498] hardirqs last enabled at (815903): [<c10ad5f5>] console_unlock+0x565/0x690
[ 2.207486] hardirqs last disabled at (815904): [<c10521fd>] panic+0x13/0x1c6
[ 2.214608] softirqs last enabled at (815898): [<c1520bee>] __do_softirq+0x32e/0x42e
[ 2.222423] softirqs last disabled at (815891): [<c101bf10>] call_on_stack+0x40/0x50
[ 2.230149] WARNING: CPU: 0 PID: 1 at ../arch/x86/kernel/smp.c:128 native_smp_send_reschedule+0x2b/0x40
[ 2.239522] ---[ end trace 36642faeb7bb25ab ]---
--
Ville Syrj?l?
Intel
On Thu 17-05-18 16:58:32, Ville Syrj?l? wrote:
> On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrj?l? wrote:
> > On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > > On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > > From: Ville Syrj?l? <[email protected]>
> > > >
> > > > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > >
> > > > Make x86 with HIGHMEM=y and CMA=y boot again.
> > >
> > > Is there any bug report with some more details? It is much more
> > > preferable to fix the issue rather than to revert the whole thing
> > > right away.
> >
> > The machine I have in front of me right now didn't give me anything.
> > Black screen, and netconsole was silent. No serial port on this
> > machine unfortunately.
>
> Booted on another machine with serial:
Could you provide your .config please?
[...]
> [ 0.000000] cma: Reserved 4 MiB at 0x0000000037000000
[...]
> [ 0.000000] BUG: Bad page state in process swapper pfn:377fe
> [ 0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
OK, so this looks the be the source of the problem. -128 would be a
buddy page but I do not see anything that would set the counter to -127
and the real map count updates shouldn't really happen that early.
Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.
> [ 0.000000] flags: 0x80000000()
> [ 0.000000] raw: 80000000 00000000 00000000 ffffff80 00000000 00000100 00000200 00000001
> [ 0.000000] page dumped because: nonzero mapcount
> [ 0.000000] Modules linked in:
> [ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.17.0-rc5-elk+ #145
> [ 0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
> [ 0.000000] Call Trace:
> [ 0.000000] dump_stack+0x60/0x96
> [ 0.000000] bad_page+0x9a/0x100
> [ 0.000000] free_pages_check_bad+0x3f/0x60
> [ 0.000000] free_pcppages_bulk+0x29d/0x5b0
> [ 0.000000] free_unref_page_commit+0x84/0xb0
> [ 0.000000] free_unref_page+0x3e/0x70
> [ 0.000000] __free_pages+0x1d/0x20
> [ 0.000000] free_highmem_page+0x19/0x40
> [ 0.000000] add_highpages_with_active_regions+0xab/0xeb
> [ 0.000000] set_highmem_pages_init+0x66/0x73
> [ 0.000000] mem_init+0x1b/0x1d7
> [ 0.000000] start_kernel+0x17a/0x363
> [ 0.000000] i386_start_kernel+0x95/0x99
> [ 0.000000] startup_32_smp+0x164/0x168
--
Michal Hocko
SUSE Labs
On Thu 17-05-18 18:49:47, Michal Hocko wrote:
> On Thu 17-05-18 16:58:32, Ville Syrj?l? wrote:
> > On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrj?l? wrote:
> > > On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > > > On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > > > From: Ville Syrj?l? <[email protected]>
> > > > >
> > > > > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > > >
> > > > > Make x86 with HIGHMEM=y and CMA=y boot again.
> > > >
> > > > Is there any bug report with some more details? It is much more
> > > > preferable to fix the issue rather than to revert the whole thing
> > > > right away.
> > >
> > > The machine I have in front of me right now didn't give me anything.
> > > Black screen, and netconsole was silent. No serial port on this
> > > machine unfortunately.
> >
> > Booted on another machine with serial:
>
> Could you provide your .config please?
>
> [...]
> > [ 0.000000] cma: Reserved 4 MiB at 0x0000000037000000
> [...]
> > [ 0.000000] BUG: Bad page state in process swapper pfn:377fe
> > [ 0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
>
> OK, so this looks the be the source of the problem. -128 would be a
> buddy page but I do not see anything that would set the counter to -127
> and the real map count updates shouldn't really happen that early.
>
> Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.
Looking closer, I _think_ that the bug is in set_highmem_pages_init->is_highmem
and zone_movable_is_highmem might force CMA pages in the zone movable to
be initialized as highmem. And that sounds supicious to me. Joonsoo?
--
Michal Hocko
SUSE Labs
On Thu, May 17, 2018 at 06:49:47PM +0200, Michal Hocko wrote:
> On Thu 17-05-18 16:58:32, Ville Syrj?l? wrote:
> > On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrj?l? wrote:
> > > On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > > > On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > > > From: Ville Syrj?l? <[email protected]>
> > > > >
> > > > > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > > >
> > > > > Make x86 with HIGHMEM=y and CMA=y boot again.
> > > >
> > > > Is there any bug report with some more details? It is much more
> > > > preferable to fix the issue rather than to revert the whole thing
> > > > right away.
> > >
> > > The machine I have in front of me right now didn't give me anything.
> > > Black screen, and netconsole was silent. No serial port on this
> > > machine unfortunately.
> >
> > Booted on another machine with serial:
>
> Could you provide your .config please?
Attached. Not sure there's anything particularly useful in it though
since I've now seen this on all the highmem systems I've booted.
BTW I just noticed that the reported memory sizes look pretty crazy:
Memory: 3926480K/3987424K available (5254K kernel code, 561K rwdata,
2156K rodata, 572K init, 9308K bss, 56848K reserved,
4096K cma-reserved, 3078532K highmem)
vs.
Memory: 7001976K/3987424K available (5254K kernel code, 561K rwdata,
2156K rodata, 572K init, 9308K bss, 4291097664K reserved,
4096K cma-reserved, 7005012K highmem)
>
> [...]
> > [ 0.000000] cma: Reserved 4 MiB at 0x0000000037000000
> [...]
> > [ 0.000000] BUG: Bad page state in process swapper pfn:377fe
> > [ 0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
>
> OK, so this looks the be the source of the problem. -128 would be a
> buddy page but I do not see anything that would set the counter to -127
> and the real map count updates shouldn't really happen that early.
>
> Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.
I'll see about grabbing another log.
--
Ville Syrj?l?
Intel
On Thu 17-05-18 20:13:35, Ville Syrj?l? wrote:
> On Thu, May 17, 2018 at 06:49:47PM +0200, Michal Hocko wrote:
> > On Thu 17-05-18 16:58:32, Ville Syrj?l? wrote:
> > > On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrj?l? wrote:
> > > > On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > > > > On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > > > > From: Ville Syrj?l? <[email protected]>
> > > > > >
> > > > > > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > > > >
> > > > > > Make x86 with HIGHMEM=y and CMA=y boot again.
> > > > >
> > > > > Is there any bug report with some more details? It is much more
> > > > > preferable to fix the issue rather than to revert the whole thing
> > > > > right away.
> > > >
> > > > The machine I have in front of me right now didn't give me anything.
> > > > Black screen, and netconsole was silent. No serial port on this
> > > > machine unfortunately.
> > >
> > > Booted on another machine with serial:
> >
> > Could you provide your .config please?
>
> Attached. Not sure there's anything particularly useful in it though
> since I've now seen this on all the highmem systems I've booted.
It has CONFIG_HAVE_MEMBLOCK_NODE_MAP so the movable_zone initialization
depends on quite some crazy movable init code paths. So maybe that is
the place to look at.
> BTW I just noticed that the reported memory sizes look pretty crazy:
>
> Memory: 3926480K/3987424K available (5254K kernel code, 561K rwdata,
> 2156K rodata, 572K init, 9308K bss, 56848K reserved,
> 4096K cma-reserved, 3078532K highmem)
>
> vs.
>
> Memory: 7001976K/3987424K available (5254K kernel code, 561K rwdata,
> 2156K rodata, 572K init, 9308K bss, 4291097664K reserved,
> 4096K cma-reserved, 7005012K highmem)
This smells like a fallout. Reserved pages clearly underflowed which
suggested we are initializating more than we should.
--
Michal Hocko
SUSE Labs
On 05/17/2018 10:08 AM, Michal Hocko wrote:
> On Thu 17-05-18 18:49:47, Michal Hocko wrote:
>> On Thu 17-05-18 16:58:32, Ville Syrjälä wrote:
>>> On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjälä wrote:
>>>> On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
>>>>> On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
>>>>>> From: Ville Syrjälä <[email protected]>
>>>>>>
>>>>>> This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
>>>>>>
>>>>>> Make x86 with HIGHMEM=y and CMA=y boot again.
>>>>>
>>>>> Is there any bug report with some more details? It is much more
>>>>> preferable to fix the issue rather than to revert the whole thing
>>>>> right away.
>>>>
>>>> The machine I have in front of me right now didn't give me anything.
>>>> Black screen, and netconsole was silent. No serial port on this
>>>> machine unfortunately.
>>>
>>> Booted on another machine with serial:
>>
>> Could you provide your .config please?
>>
>> [...]
>>> [ 0.000000] cma: Reserved 4 MiB at 0x0000000037000000
>> [...]
>>> [ 0.000000] BUG: Bad page state in process swapper pfn:377fe
>>> [ 0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
>>
>> OK, so this looks the be the source of the problem. -128 would be a
>> buddy page but I do not see anything that would set the counter to -127
>> and the real map count updates shouldn't really happen that early.
>>
>> Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.
>
> Looking closer, I _think_ that the bug is in set_highmem_pages_init->is_highmem
> and zone_movable_is_highmem might force CMA pages in the zone movable to
> be initialized as highmem. And that sounds supicious to me. Joonsoo?
>
For a point of reference, arm with this configuration doesn't hit this bug
because highmem pages are freed via the memblock interface only instead
of iterating through each zone. It looks like the x86 highmem code
assumes only a single highmem zone and/or it's disjoint?
Thanks,
Laura
On Thu, May 17, 2018 at 08:13:35PM +0300, Ville Syrj?l? wrote:
> On Thu, May 17, 2018 at 06:49:47PM +0200, Michal Hocko wrote:
> > On Thu 17-05-18 16:58:32, Ville Syrj?l? wrote:
> > > On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrj?l? wrote:
> > > > On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > > > > On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > > > > From: Ville Syrj?l? <[email protected]>
> > > > > >
> > > > > > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > > > >
> > > > > > Make x86 with HIGHMEM=y and CMA=y boot again.
> > > > >
> > > > > Is there any bug report with some more details? It is much more
> > > > > preferable to fix the issue rather than to revert the whole thing
> > > > > right away.
> > > >
> > > > The machine I have in front of me right now didn't give me anything.
> > > > Black screen, and netconsole was silent. No serial port on this
> > > > machine unfortunately.
> > >
> > > Booted on another machine with serial:
> >
> > Could you provide your .config please?
>
> Attached. Not sure there's anything particularly useful in it though
> since I've now seen this on all the highmem systems I've booted.
>
>
> BTW I just noticed that the reported memory sizes look pretty crazy:
>
> Memory: 3926480K/3987424K available (5254K kernel code, 561K rwdata,
> 2156K rodata, 572K init, 9308K bss, 56848K reserved,
> 4096K cma-reserved, 3078532K highmem)
>
> vs.
>
> Memory: 7001976K/3987424K available (5254K kernel code, 561K rwdata,
> 2156K rodata, 572K init, 9308K bss, 4291097664K reserved,
> 4096K cma-reserved, 7005012K highmem)
>
> >
> > [...]
> > > [ 0.000000] cma: Reserved 4 MiB at 0x0000000037000000
> > [...]
> > > [ 0.000000] BUG: Bad page state in process swapper pfn:377fe
> > > [ 0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
> >
> > OK, so this looks the be the source of the problem. -128 would be a
> > buddy page but I do not see anything that would set the counter to -127
> > and the real map count updates shouldn't really happen that early.
> >
> > Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.
>
> I'll see about grabbing another log.
With DEBUG_VM the machine doesn't get far enough to print anything on
the serial console.
DEBUG_HIGHMEM didn't give me any new output.
--
Ville Syrj?l?
Intel
On Thu, May 17, 2018 at 10:53:32AM -0700, Laura Abbott wrote:
> On 05/17/2018 10:08 AM, Michal Hocko wrote:
> >On Thu 17-05-18 18:49:47, Michal Hocko wrote:
> >>On Thu 17-05-18 16:58:32, Ville Syrj?l? wrote:
> >>>On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrj?l? wrote:
> >>>>On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> >>>>>On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> >>>>>>From: Ville Syrj?l? <[email protected]>
> >>>>>>
> >>>>>>This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> >>>>>>
> >>>>>>Make x86 with HIGHMEM=y and CMA=y boot again.
> >>>>>
> >>>>>Is there any bug report with some more details? It is much more
> >>>>>preferable to fix the issue rather than to revert the whole thing
> >>>>>right away.
> >>>>
> >>>>The machine I have in front of me right now didn't give me anything.
> >>>>Black screen, and netconsole was silent. No serial port on this
> >>>>machine unfortunately.
> >>>
> >>>Booted on another machine with serial:
> >>
> >>Could you provide your .config please?
> >>
> >>[...]
> >>>[ 0.000000] cma: Reserved 4 MiB at 0x0000000037000000
> >>[...]
> >>>[ 0.000000] BUG: Bad page state in process swapper pfn:377fe
> >>>[ 0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
> >>
> >>OK, so this looks the be the source of the problem. -128 would be a
> >>buddy page but I do not see anything that would set the counter to -127
> >>and the real map count updates shouldn't really happen that early.
> >>
> >>Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.
> >
> >Looking closer, I _think_ that the bug is in set_highmem_pages_init->is_highmem
> >and zone_movable_is_highmem might force CMA pages in the zone movable to
> >be initialized as highmem. And that sounds supicious to me. Joonsoo?
> >
>
> For a point of reference, arm with this configuration doesn't hit this bug
> because highmem pages are freed via the memblock interface only instead
> of iterating through each zone. It looks like the x86 highmem code
> assumes only a single highmem zone and/or it's disjoint?
Good point! Reason of the crash is that the span of MOVABLE_ZONE is
extended to whole node span for future CMA initialization, and,
normal memory is wrongly freed here.
Here goes the fix. Ville, Could you test below patch?
I re-generated the issue on my side and this patch fixed it.
Thanks.
------------>8-------------
From 569899a4dbd28cebb8d350d3d1ebb590d88b2629 Mon Sep 17 00:00:00 2001
From: Joonsoo Kim <[email protected]>
Date: Fri, 18 May 2018 10:52:05 +0900
Subject: [PATCH] x86/32/highmem: check if the zone is matched when free
highmem pages on init
If CONFIG_CMA is enabled, it extends the span of the MOVABLE_ZONE
to manage the CMA memory later. And, in this case, the span of the
MOVABLE_ZONE could overlap the other zone's memory. We need to
avoid freeing this overlapped memory here since it would be the
memory of the other zone. Therefore, this patch adds a check
whether the page is indeed on the requested zone or not. Skipped
page will be freed when the memory of the matched zone is freed.
Reported-by: Ville Syrj?l? <[email protected]>
Signed-off-by: Joonsoo Kim <[email protected]>
---
arch/x86/include/asm/highmem.h | 4 ++--
arch/x86/mm/highmem_32.c | 5 ++++-
arch/x86/mm/init_32.c | 25 +++++++++++++++++++++----
3 files changed, 27 insertions(+), 7 deletions(-)
diff --git a/arch/x86/include/asm/highmem.h b/arch/x86/include/asm/highmem.h
index a805993..e383f57 100644
--- a/arch/x86/include/asm/highmem.h
+++ b/arch/x86/include/asm/highmem.h
@@ -72,8 +72,8 @@ void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot);
#define flush_cache_kmaps() do { } while (0)
-extern void add_highpages_with_active_regions(int nid, unsigned long start_pfn,
- unsigned long end_pfn);
+extern void add_highpages_with_active_regions(int nid, struct zone *zone,
+ unsigned long start_pfn, unsigned long end_pfn);
#endif /* __KERNEL__ */
diff --git a/arch/x86/mm/highmem_32.c b/arch/x86/mm/highmem_32.c
index 6d18b70..bf9f5b8 100644
--- a/arch/x86/mm/highmem_32.c
+++ b/arch/x86/mm/highmem_32.c
@@ -120,6 +120,9 @@ void __init set_highmem_pages_init(void)
if (!is_highmem(zone))
continue;
+ if (!populated_zone(zone))
+ continue;
+
zone_start_pfn = zone->zone_start_pfn;
zone_end_pfn = zone_start_pfn + zone->spanned_pages;
@@ -127,7 +130,7 @@ void __init set_highmem_pages_init(void)
printk(KERN_INFO "Initializing %s for node %d (%08lx:%08lx)\n",
zone->name, nid, zone_start_pfn, zone_end_pfn);
- add_highpages_with_active_regions(nid, zone_start_pfn,
+ add_highpages_with_active_regions(nid, zone, zone_start_pfn,
zone_end_pfn);
}
}
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c
index 8008db2..f646072 100644
--- a/arch/x86/mm/init_32.c
+++ b/arch/x86/mm/init_32.c
@@ -431,7 +431,7 @@ static void __init permanent_kmaps_init(pgd_t *pgd_base)
pkmap_page_table = pte;
}
-void __init add_highpages_with_active_regions(int nid,
+void __init add_highpages_with_active_regions(int nid, struct zone *zone,
unsigned long start_pfn, unsigned long end_pfn)
{
phys_addr_t start, end;
@@ -442,9 +442,26 @@ void __init add_highpages_with_active_regions(int nid,
start_pfn, end_pfn);
unsigned long e_pfn = clamp_t(unsigned long, PFN_DOWN(end),
start_pfn, end_pfn);
- for ( ; pfn < e_pfn; pfn++)
- if (pfn_valid(pfn))
- free_highmem_page(pfn_to_page(pfn));
+ for ( ; pfn < e_pfn; pfn++) {
+ struct page *page;
+
+ if (!pfn_valid(pfn))
+ continue;
+
+ page = pfn_to_page(pfn);
+
+ /*
+ * If CONFIG_CMA is enabled, it extends the span of
+ * the MOVABLE_ZONE to manage the CMA memory
+ * in the future. And, in this case, the span of the
+ * MOVABLE_ZONE could overlap the other zone's memory.
+ * We need to avoid freeing this memory here.
+ */
+ if (IS_ENABLED(CONFIG_CMA) && page_zone(page) != zone)
+ continue;
+
+ free_highmem_page(pfn_to_page(pfn));
+ }
}
}
#else
--
2.7.4
On 05/17/2018 09:01 PM, Joonsoo Kim wrote:
> On Thu, May 17, 2018 at 10:53:32AM -0700, Laura Abbott wrote:
>> On 05/17/2018 10:08 AM, Michal Hocko wrote:
>>> On Thu 17-05-18 18:49:47, Michal Hocko wrote:
>>>> On Thu 17-05-18 16:58:32, Ville Syrjälä wrote:
>>>>> On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjälä wrote:
>>>>>> On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
>>>>>>> On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
>>>>>>>> From: Ville Syrjälä <[email protected]>
>>>>>>>>
>>>>>>>> This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
>>>>>>>>
>>>>>>>> Make x86 with HIGHMEM=y and CMA=y boot again.
>>>>>>>
>>>>>>> Is there any bug report with some more details? It is much more
>>>>>>> preferable to fix the issue rather than to revert the whole thing
>>>>>>> right away.
>>>>>>
>>>>>> The machine I have in front of me right now didn't give me anything.
>>>>>> Black screen, and netconsole was silent. No serial port on this
>>>>>> machine unfortunately.
>>>>>
>>>>> Booted on another machine with serial:
>>>>
>>>> Could you provide your .config please?
>>>>
>>>> [...]
>>>>> [ 0.000000] cma: Reserved 4 MiB at 0x0000000037000000
>>>> [...]
>>>>> [ 0.000000] BUG: Bad page state in process swapper pfn:377fe
>>>>> [ 0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
>>>>
>>>> OK, so this looks the be the source of the problem. -128 would be a
>>>> buddy page but I do not see anything that would set the counter to -127
>>>> and the real map count updates shouldn't really happen that early.
>>>>
>>>> Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.
>>>
>>> Looking closer, I _think_ that the bug is in set_highmem_pages_init->is_highmem
>>> and zone_movable_is_highmem might force CMA pages in the zone movable to
>>> be initialized as highmem. And that sounds supicious to me. Joonsoo?
>>>
>>
>> For a point of reference, arm with this configuration doesn't hit this bug
>> because highmem pages are freed via the memblock interface only instead
>> of iterating through each zone. It looks like the x86 highmem code
>> assumes only a single highmem zone and/or it's disjoint?
>
> Good point! Reason of the crash is that the span of MOVABLE_ZONE is
> extended to whole node span for future CMA initialization, and,
> normal memory is wrongly freed here.
>
> Here goes the fix. Ville, Could you test below patch?
> I re-generated the issue on my side and this patch fixed it.
>
Reviewed-by: Laura Abbott <[email protected]>
> Thanks.
>
> ------------>8-------------
> From 569899a4dbd28cebb8d350d3d1ebb590d88b2629 Mon Sep 17 00:00:00 2001
> From: Joonsoo Kim <[email protected]>
> Date: Fri, 18 May 2018 10:52:05 +0900
> Subject: [PATCH] x86/32/highmem: check if the zone is matched when free
> highmem pages on init
>
> If CONFIG_CMA is enabled, it extends the span of the MOVABLE_ZONE
> to manage the CMA memory later. And, in this case, the span of the
> MOVABLE_ZONE could overlap the other zone's memory. We need to
> avoid freeing this overlapped memory here since it would be the
> memory of the other zone. Therefore, this patch adds a check
> whether the page is indeed on the requested zone or not. Skipped
> page will be freed when the memory of the matched zone is freed.
>
> Reported-by: Ville Syrjälä <[email protected]>
> Signed-off-by: Joonsoo Kim <[email protected]>
> ---
> arch/x86/include/asm/highmem.h | 4 ++--
> arch/x86/mm/highmem_32.c | 5 ++++-
> arch/x86/mm/init_32.c | 25 +++++++++++++++++++++----
> 3 files changed, 27 insertions(+), 7 deletions(-)
>
> diff --git a/arch/x86/include/asm/highmem.h b/arch/x86/include/asm/highmem.h
> index a805993..e383f57 100644
> --- a/arch/x86/include/asm/highmem.h
> +++ b/arch/x86/include/asm/highmem.h
> @@ -72,8 +72,8 @@ void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot);
>
> #define flush_cache_kmaps() do { } while (0)
>
> -extern void add_highpages_with_active_regions(int nid, unsigned long start_pfn,
> - unsigned long end_pfn);
> +extern void add_highpages_with_active_regions(int nid, struct zone *zone,
> + unsigned long start_pfn, unsigned long end_pfn);
>
> #endif /* __KERNEL__ */
>
> diff --git a/arch/x86/mm/highmem_32.c b/arch/x86/mm/highmem_32.c
> index 6d18b70..bf9f5b8 100644
> --- a/arch/x86/mm/highmem_32.c
> +++ b/arch/x86/mm/highmem_32.c
> @@ -120,6 +120,9 @@ void __init set_highmem_pages_init(void)
> if (!is_highmem(zone))
> continue;
>
> + if (!populated_zone(zone))
> + continue;
> +
> zone_start_pfn = zone->zone_start_pfn;
> zone_end_pfn = zone_start_pfn + zone->spanned_pages;
>
> @@ -127,7 +130,7 @@ void __init set_highmem_pages_init(void)
> printk(KERN_INFO "Initializing %s for node %d (%08lx:%08lx)\n",
> zone->name, nid, zone_start_pfn, zone_end_pfn);
>
> - add_highpages_with_active_regions(nid, zone_start_pfn,
> + add_highpages_with_active_regions(nid, zone, zone_start_pfn,
> zone_end_pfn);
> }
> }
> diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c
> index 8008db2..f646072 100644
> --- a/arch/x86/mm/init_32.c
> +++ b/arch/x86/mm/init_32.c
> @@ -431,7 +431,7 @@ static void __init permanent_kmaps_init(pgd_t *pgd_base)
> pkmap_page_table = pte;
> }
>
> -void __init add_highpages_with_active_regions(int nid,
> +void __init add_highpages_with_active_regions(int nid, struct zone *zone,
> unsigned long start_pfn, unsigned long end_pfn)
> {
> phys_addr_t start, end;
> @@ -442,9 +442,26 @@ void __init add_highpages_with_active_regions(int nid,
> start_pfn, end_pfn);
> unsigned long e_pfn = clamp_t(unsigned long, PFN_DOWN(end),
> start_pfn, end_pfn);
> - for ( ; pfn < e_pfn; pfn++)
> - if (pfn_valid(pfn))
> - free_highmem_page(pfn_to_page(pfn));
> + for ( ; pfn < e_pfn; pfn++) {
> + struct page *page;
> +
> + if (!pfn_valid(pfn))
> + continue;
> +
> + page = pfn_to_page(pfn);
> +
> + /*
> + * If CONFIG_CMA is enabled, it extends the span of
> + * the MOVABLE_ZONE to manage the CMA memory
> + * in the future. And, in this case, the span of the
> + * MOVABLE_ZONE could overlap the other zone's memory.
> + * We need to avoid freeing this memory here.
> + */
> + if (IS_ENABLED(CONFIG_CMA) && page_zone(page) != zone)
> + continue;
> +
> + free_highmem_page(pfn_to_page(pfn));
> + }
> }
> }
> #else
>
On Fri, May 18, 2018 at 01:01:04PM +0900, Joonsoo Kim wrote:
> On Thu, May 17, 2018 at 10:53:32AM -0700, Laura Abbott wrote:
> > On 05/17/2018 10:08 AM, Michal Hocko wrote:
> > >On Thu 17-05-18 18:49:47, Michal Hocko wrote:
> > >>On Thu 17-05-18 16:58:32, Ville Syrj?l? wrote:
> > >>>On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrj?l? wrote:
> > >>>>On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > >>>>>On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > >>>>>>From: Ville Syrj?l? <[email protected]>
> > >>>>>>
> > >>>>>>This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > >>>>>>
> > >>>>>>Make x86 with HIGHMEM=y and CMA=y boot again.
> > >>>>>
> > >>>>>Is there any bug report with some more details? It is much more
> > >>>>>preferable to fix the issue rather than to revert the whole thing
> > >>>>>right away.
> > >>>>
> > >>>>The machine I have in front of me right now didn't give me anything.
> > >>>>Black screen, and netconsole was silent. No serial port on this
> > >>>>machine unfortunately.
> > >>>
> > >>>Booted on another machine with serial:
> > >>
> > >>Could you provide your .config please?
> > >>
> > >>[...]
> > >>>[ 0.000000] cma: Reserved 4 MiB at 0x0000000037000000
> > >>[...]
> > >>>[ 0.000000] BUG: Bad page state in process swapper pfn:377fe
> > >>>[ 0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
> > >>
> > >>OK, so this looks the be the source of the problem. -128 would be a
> > >>buddy page but I do not see anything that would set the counter to -127
> > >>and the real map count updates shouldn't really happen that early.
> > >>
> > >>Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.
> > >
> > >Looking closer, I _think_ that the bug is in set_highmem_pages_init->is_highmem
> > >and zone_movable_is_highmem might force CMA pages in the zone movable to
> > >be initialized as highmem. And that sounds supicious to me. Joonsoo?
> > >
> >
> > For a point of reference, arm with this configuration doesn't hit this bug
> > because highmem pages are freed via the memblock interface only instead
> > of iterating through each zone. It looks like the x86 highmem code
> > assumes only a single highmem zone and/or it's disjoint?
>
> Good point! Reason of the crash is that the span of MOVABLE_ZONE is
> extended to whole node span for future CMA initialization, and,
> normal memory is wrongly freed here.
>
> Here goes the fix. Ville, Could you test below patch?
> I re-generated the issue on my side and this patch fixed it.
This gets me past the initial hurdles. But when I tried it on a machine
with an actual 32 bit OS it oopsed again later in the boot.
[ 0.000000] Linux version 4.17.0-rc5-mgm+ () (gcc version 6.4.0 (Gentoo 6.4.0-r1 p1.3)) #57 PREEMPT Sat May 19 17:25:27 EEST 2018
[ 0.000000] x86/fpu: x87 FPU will use FXSAVE
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000ce000-0x00000000000cffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000dc000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007f6effff] usable
[ 0.000000] BIOS-e820: [mem 0x000000007f6f0000-0x000000007f6f7fff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x000000007f6f8000-0x000000007f6fffff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x000000007f700000-0x000000007fffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fec10000-0x00000000fec1ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000ffb00000-0x00000000ffbfffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fff00000-0x00000000ffffffff] reserved
[ 0.000000] Notice: NX (Execute Disable) protection missing in CPU!
[ 0.000000] SMBIOS 2.3 present.
[ 0.000000] DMI: FUJITSU SIEMENS LIFEBOOK S6120/FJNB16C, BIOS Version 1.26 05/10/2004
[ 0.000000] e820: last_pfn = 0x7f6f0 max_arch_pfn = 0x100000
[ 0.000000] x86/PAT: PAT not supported by CPU.
[ 0.000000] x86/PAT: Configuration [0-7]: WB WT UC- UC WB WT UC- UC
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] log_buf_len: 2097152 bytes
[ 0.000000] early log buf free: 259584(99%)
[ 0.000000] RAMDISK: [mem 0x37e58000-0x37feffff]
[ 0.000000] Allocated new RAMDISK: [mem 0x37466000-0x375fd7ff]
[ 0.000000] Move RAMDISK from [mem 0x37e58000-0x37fef7ff] to [mem 0x37466000-0x375fd7ff]
[ 0.000000] ACPI: Early table checksum verification disabled
[ 0.000000] ACPI: RSDP 0x00000000000F5970 000014 (v00 FUJ )
[ 0.000000] ACPI: RSDT 0x000000007F6F1D5C 000034 (v01 FUJ FJNB16C 01260000 FUJ 00001000)
[ 0.000000] ACPI: FACP 0x000000007F6F78E0 000074 (v01 FUJ FJNB16C 01260000 FUJ 00001000)
[ 0.000000] ACPI: DSDT 0x000000007F6F1D90 005B50 (v01 FUJ FJNB16C 01260000 MSFT 0100000E)
[ 0.000000] ACPI: FACS 0x000000007F6F8FC0 000040
[ 0.000000] ACPI: SSDT 0x000000007F6F7954 000288 (v01 FUJ FJNB16C 01260000 INTL 20030228)
[ 0.000000] ACPI: SSDT 0x000000007F6F7D68 000270 (v01 FUJ FJNB16C 01260000 MSFT 0100000E)
[ 0.000000] ACPI: BOOT 0x000000007F6F7FD8 000028 (v01 FUJ FJNB16C 01260000 FUJ 00001000)
[ 0.000000] 1150MB HIGHMEM available.
[ 0.000000] 887MB LOWMEM available.
[ 0.000000] mapped low ram: 0 - 377fe000
[ 0.000000] low ram: 0 - 377fe000
[ 0.000000] cma: Reserved 4 MiB at 0x37000000
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.000000] Normal [mem 0x0000000001000000-0x00000000377fdfff]
[ 0.000000] HighMem [mem 0x00000000377fe000-0x000000007f6effff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff]
[ 0.000000] node 0: [mem 0x0000000000100000-0x000000007f6effff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000007f6effff]
[ 0.000000] Reserved but unavailable: 98 pages
[ 0.000000] Using APIC driver default
[ 0.000000] Reserving Intel graphics memory at [mem 0x7f700000-0x7fefffff]
[ 0.000000] ACPI: PM-Timer IO Port: 0xfc08
[ 0.000000] Local APIC disabled by BIOS -- reenabling.
[ 0.000000] Found and enabled local APIC!
[ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000cdfff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000ce000-0x000cffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000d0000-0x000dbfff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000dc000-0x000fffff]
[ 0.000000] e820: [mem 0x80000000-0xfec0ffff] available for PCI devices
[ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370452778343963 ns
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 520094
[ 0.000000] Kernel command line: root=/dev/sda3 resume=/dev/sda2 lapic modprobe.blacklist=i915 drm.debug=0xe log_buf_len=2M console=ttyS0,115200
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] microcode: microcode updated early to revision 0x7, date = 2004-11-09
[ 0.000000] Initializing CPU#0
[ 0.000000] Initializing HighMem for node 0 (000377fe:0007f6f0)
[ 0.000000] Memory: 2039028K/2087480K available (5733K kernel code, 627K rwdata, 2064K rodata, 640K init, 14252K bss, 44356K reserved, 4096K cma-reserved, 1178568K highmem)
[ 0.000000] virtual kernel memory layout:
[ 0.000000] fixmap : 0xfff8f000 - 0xfffff000 ( 448 kB)
[ 0.000000] cpu_entry : 0xffc00000 - 0xffc28000 ( 160 kB)
[ 0.000000] pkmap : 0xff800000 - 0xffc00000 (4096 kB)
[ 0.000000] vmalloc : 0xf7ffe000 - 0xff7fe000 ( 120 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf77fe000 ( 887 MB)
[ 0.000000] .init : 0xc184f000 - 0xc18ef000 ( 640 kB)
[ 0.000000] .data : 0xc1599460 - 0xc183ee40 (2710 kB)
[ 0.000000] .text : 0xc1000000 - 0xc1599460 (5733 kB)
[ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] ftrace: allocating 22084 entries in 44 pages
[ 0.000000] Running RCU self tests
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU lockdep checking is enabled.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] kmemleak: Kernel memory leak detector disabled
[ 0.000000] NR_IRQS: 2304, nr_irqs: 24, preallocated irqs: 16
[ 0.000000] Console: colour VGA+ 80x25
[ 0.000000] console [ttyS0] enabled
[ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 0.000000] ... MAX_LOCK_DEPTH: 48
[ 0.000000] ... MAX_LOCKDEP_KEYS: 8191
[ 0.000000] ... CLASSHASH_SIZE: 4096
[ 0.000000] ... MAX_LOCKDEP_ENTRIES: 32768
[ 0.000000] ... MAX_LOCKDEP_CHAINS: 131072
[ 0.000000] ... CHAINHASH_SIZE: 65536
[ 0.000000] memory used by lock dependency info: 5935 kB
[ 0.000000] per task-struct memory footprint: 1344 bytes
[ 0.000000] kmemleak: Early log buffer exceeded (785), please increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE
[ 0.000000] ACPI: Core revision 20180313
[ 0.000000] ACPI: setting ELCR to 0200 (from 0800)
[ 0.003333] APIC: ACPI MADT or MP tables are not detected
[ 0.006666] APIC: Switch to virtual wire mode setup with no configuration
[ 0.009999] Enabling APIC mode: Flat. Using 0 I/O APICs
[ 0.013333] tsc: Fast TSC calibration using PIT
[ 0.016666] tsc: Detected 1599.815 MHz processor
[ 0.019999] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x170f7614032, max_idle_ns: 440795204679 ns
[ 0.023355] Calibrating delay loop (skipped), value calculated using timer frequency.. 3200.94 BogoMIPS (lpj=5332716)
[ 0.026674] pid_max: default: 32768 minimum: 301
[ 0.030120] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.033348] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.037411] mce: CPU supports 5 MCE banks
[ 0.040032] CPU0: Thermal monitoring enabled (TM2)
[ 0.043354] Last level iTLB entries: 4KB 128, 2MB 0, 4MB 2
[ 0.046674] Last level dTLB entries: 4KB 128, 2MB 0, 4MB 8, 1GB 0
[ 0.050006] CPU: Intel(R) Pentium(R) M processor 1600MHz (family: 0x6, model: 0x9, stepping: 0x5)
[ 0.053342] Spectre V2 : Vulnerable: Minimal generic ASM retpoline
[ 0.056673] Spectre V2 : Spectre v2 mitigation: Filling RSB on context switch
[ 0.064166] Performance Events: p6 PMU driver.
[ 0.066686] ... version: 0
[ 0.070017] ... bit width: 32
[ 0.073346] ... generic registers: 2
[ 0.076674] ... value mask: 00000000ffffffff
[ 0.080007] ... max period: 000000007fffffff
[ 0.083340] ... fixed-purpose events: 0
[ 0.086673] ... event mask: 0000000000000003
[ 0.090172] Hierarchical SRCU implementation.
[ 0.094612] WARNING: CPU: 0 PID: 1 at ../kernel/kthread.c:505 kthread_park+0x70/0x80
[ 0.096666] Modules linked in:
[ 0.096666] CPU: 0 PID: 1 Comm: swapper Not tainted 4.17.0-rc5-mgm+ #57
[ 0.096666] Hardware name: FUJITSU SIEMENS LIFEBOOK S6120/FJNB16C, BIOS Version 1.26 05/10/2004
[ 0.096666] EIP: kthread_park+0x70/0x80
[ 0.096666] EFLAGS: 00210202 CPU: 0
[ 0.096666] EAX: f58fab80 EBX: f58b4680 ECX: 00000000 EDX: 00000005
[ 0.096666] ESI: c183b5c8 EDI: 00000000 EBP: f58d5f58 ESP: f58d5f54
[ 0.096666] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[ 0.096666] CR0: 80050033 CR2: ffd8f000 CR3: 018f2000 CR4: 000006d0
[ 0.096666] Call Trace:
[ 0.096666] smpboot_update_cpumask_percpu_thread+0x55/0x70
[ 0.096666] softlockup_update_smpboot_threads+0x2f/0x50
[ 0.096666] lockup_detector_reconfigure+0x1a/0x80
[ 0.096666] lockup_detector_init+0x62/0x6e
[ 0.096666] kernel_init_freeable+0xe6/0x31b
[ 0.096666] ? rest_init+0x1f0/0x1f0
[ 0.096666] kernel_init+0x10/0x110
[ 0.096666] ? schedule_tail_wrapper+0x9/0xc
[ 0.096666] ret_from_fork+0x2e/0x38
[ 0.096666] Code: 8d 76 00 5b 31 c0 5d c3 8d 76 00 0f 0b f6 c2 04 8b 98 38 03 00 00 74 c2 0f 0b 5b b8 da ff ff ff 5d c3 89 f6 8d bc 27 00 00 00 00 <0f> 0b b8 f0 ff ff ff eb c9 8d b4 26 00 00 00 00 3e 8d 74 26 00
[ 0.096666] irq event stamp: 810
[ 0.096666] hardirqs last enabled at (809): [<c1595ab7>] _raw_spin_unlock_irq+0x27/0x50
[ 0.096666] hardirqs last disabled at (810): [<c1596f27>] common_exception+0x61/0x82
[ 0.096666] softirqs last enabled at (286): [<c1598749>] __do_softirq+0x389/0x425
[ 0.096666] softirqs last disabled at (279): [<c101db7c>] call_on_stack+0x4c/0x60
[ 0.096666] WARNING: CPU: 0 PID: 1 at ../kernel/kthread.c:505 kthread_park+0x70/0x80
[ 0.096666] random: get_random_bytes called from print_oops_end_marker+0x57/0x70 with crng_init=0
[ 0.096666] ---[ end trace 37f4adc02e5109c7 ]---
[ 0.099999] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[ 0.100411] devtmpfs: initialized
[ 0.103996] Built 1 zonelists, mobility grouping on. Total pages: 510781
[ 0.106943] PM: Registering ACPI NVS region [mem 0x7f6f8000-0x7f6fffff] (32768 bytes)
[ 0.113811] kworker/u2:0 (15) used greatest stack depth: 6708 bytes left
[ 0.116909] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[ 0.120040] futex hash table entries: 256 (order: 1, 11264 bytes)
[ 0.126944] RTC time: 14:32:23, date: 05/19/18
[ 0.130504] NET: Registered protocol family 16
[ 0.136973] audit: initializing netlink subsys (disabled)
[ 0.140948] cpuidle: using governor ladder
[ 0.143370] audit: type=2000 audit(1526740342.139:1): state=initialized audit_enabled=0 res=1
[ 0.146993] cpuidle: using governor menu
[ 0.150336] Simple Boot Flag at 0x7f set to 0x1
[ 0.153453] ACPI: bus type PCI registered
[ 0.156767] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.166545] PCI: PCI BIOS revision 2.10 entry at 0xfd9b2, last bus=3
[ 0.166689] PCI: Using configuration type 1 for base access
[ 0.177531] kworker/u2:1 (50) used greatest stack depth: 6428 bytes left
[ 0.200361] HugeTLB registered 4.00 MiB page size, pre-allocated 0 pages
[ 0.204690] ACPI: Added _OSI(Module Device)
[ 0.206788] ACPI: Added _OSI(Processor Device)
[ 0.210189] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.213366] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.216692] ACPI: Added _OSI(Linux-Dell-Video)
[ 0.236095] ACPI: 3 ACPI AML tables successfully acquired and loaded
[ 0.253568] ACPI: Interpreter enabled
[ 0.256768] ACPI: (supports S0 S3 S4 S5)
[ 0.260020] ACPI: Using PIC for interrupt routing
[ 0.263464] PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug
[ 0.267543] ACPI: Enabled 5 GPEs in block 00 to 1F
[ 0.299274] acpi LNXIOBAY:00: ACPI dock station (docks/bays count: 1)
[ 0.312078] acpi PNP0C15:00: ACPI dock station (docks/bays count: 2)
[ 0.318281] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 0.320131] acpi PNP0A03:00: _OSC: OS supports [Segments]
[ 0.326797] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[ 0.330075] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[ 0.336967] PCI host bridge to bus 0000:00
[ 0.340080] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.343361] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
[ 0.346701] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.358256] pci 0000:00:1f.0: quirk: [io 0xfc00-0xfc7f] claimed by ICH4 ACPI/GPIO/TCO
[ 0.360189] pci 0000:00:1f.0: quirk: [io 0xfc80-0xfcbf] claimed by ICH4 GPIO
[ 0.363884] pci 0000:00:1f.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
[ 0.366796] pci 0000:00:1f.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
[ 0.370028] pci 0000:00:1f.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
[ 0.373360] pci 0000:00:1f.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
[ 0.382127] pci 0000:00:1e.0: PCI bridge to [bus 01-03] (subtractive decode)
[ 0.384025] pci 0000:00:1e.0: bridge has subordinate 03 but max busn 06
[ 0.393971] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 9 10 *11)
[ 0.397013] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 9 10 *11)
[ 0.400280] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 9 10 *11)
[ 0.403652] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 9 10 *11)
[ 0.406944] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 10 *11)
[ 0.413586] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 10 *11)
[ 0.420136] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 9 10 11) *0, disabled.
[ 0.423589] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 9 10 *11)
[ 0.430878] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[ 0.433333] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[ 0.433434] pci 0000:00:02.0: vgaarb: bridge control possible
[ 0.436693] vgaarb: loaded
[ 0.440528] SCSI subsystem initialized
[ 0.443978] PCI: Using ACPI for IRQ routing
[ 0.454474] clocksource: Switched to clocksource tsc-early
[ 0.506079] pnp: PnP ACPI init
[ 0.510137] system 00:00: [io 0x04d0-0x04d1] has been reserved
[ 0.516193] system 00:00: [io 0xf800-0xf87f] has been reserved
[ 0.522136] system 00:00: [io 0xf880-0xf8ff] has been reserved
[ 0.528084] system 00:00: [io 0xfd00-0xfd6f] has been reserved
[ 0.534027] system 00:00: [io 0xfe00-0xfe01] has been reserved
[ 0.539965] system 00:00: [io 0xfc00-0xfc7f] has been reserved
[ 0.545900] system 00:00: [io 0xfc80-0xfcbf] has been reserved
[ 0.551821] system 00:00: [mem 0x000ccc00-0x000cffff] could not be reserved
[ 0.558827] system 00:00: [mem 0xffb00000-0xffbfffff] has been reserved
[ 0.565440] system 00:00: [mem 0xfec10000-0xfec1ffff] has been reserved
[ 0.578887] pnp: PnP ACPI: found 7 devices
[ 0.635088] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 0.644046] pci 0000:00:1e.0: BAR 9: assigned [mem 0x80000000-0x8fffffff pref]
[ 0.651268] pci 0000:00:1f.1: BAR 5: assigned [mem 0x90000000-0x900003ff]
[ 0.658079] pci 0000:01:0a.0: BAR 0: assigned [mem 0x94000000-0x94000fff]
[ 0.664867] pci 0000:01:0a.0: BAR 9: assigned [mem 0x80000000-0x83ffffff pref]
[ 0.672087] pci 0000:01:0a.0: BAR 10: assigned [mem 0x98000000-0x9bffffff]
[ 0.678960] pci 0000:01:0a.1: BAR 0: assigned [mem 0x9c000000-0x9c000fff]
[ 0.685747] pci 0000:01:0a.1: BAR 9: assigned [mem 0x84000000-0x87ffffff pref]
[ 0.692966] pci 0000:01:0a.1: BAR 10: assigned [mem 0xa0000000-0xa3ffffff]
[ 0.699837] pci 0000:01:0a.0: BAR 7: assigned [io 0x3400-0x34ff]
[ 0.705927] pci 0000:01:0a.0: BAR 8: assigned [io 0x3800-0x38ff]
[ 0.712018] pci 0000:01:0a.1: BAR 7: assigned [io 0x3c00-0x3cff]
[ 0.718110] pci 0000:01:0a.1: BAR 8: assigned [io 0x1000-0x10ff]
[ 0.724208] pci 0000:01:0a.0: CardBus bridge to [bus 02]
[ 0.729517] pci 0000:01:0a.0: bridge window [io 0x3400-0x34ff]
[ 0.735609] pci 0000:01:0a.0: bridge window [io 0x3800-0x38ff]
[ 0.741700] pci 0000:01:0a.0: bridge window [mem 0x80000000-0x83ffffff pref]
[ 0.748919] pci 0000:01:0a.0: bridge window [mem 0x98000000-0x9bffffff]
[ 0.755705] pci 0000:01:0a.1: CardBus bridge to [bus 03]
[ 0.761013] pci 0000:01:0a.1: bridge window [io 0x3c00-0x3cff]
[ 0.767103] pci 0000:01:0a.1: bridge window [io 0x1000-0x10ff]
[ 0.773195] pci 0000:01:0a.1: bridge window [mem 0x84000000-0x87ffffff pref]
[ 0.780414] pci 0000:01:0a.1: bridge window [mem 0xa0000000-0xa3ffffff]
[ 0.787200] pci 0000:00:1e.0: PCI bridge to [bus 01-03]
[ 0.792424] pci 0000:00:1e.0: bridge window [io 0x3000-0x3fff]
[ 0.798518] pci 0000:00:1e.0: bridge window [mem 0xd0200000-0xd02fffff]
[ 0.805304] pci 0000:00:1e.0: bridge window [mem 0x80000000-0x8fffffff pref]
[ 0.813017] NET: Registered protocol family 2
[ 0.817943] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 20480 bytes)
[ 0.825772] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.832888] TCP bind hash table entries: 8192 (order: 6, 294912 bytes)
[ 0.840507] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.846996] UDP hash table entries: 512 (order: 3, 40960 bytes)
[ 0.853062] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes)
[ 0.859688] NET: Registered protocol family 1
[ 0.864101] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[ 0.872882] PCI Interrupt Link [LNKA] enabled at IRQ 11
[ 0.878545] PCI Interrupt Link [LNKD] enabled at IRQ 11
[ 0.884180] PCI Interrupt Link [LNKC] enabled at IRQ 11
[ 0.889816] PCI Interrupt Link [LNKH] enabled at IRQ 11
[ 0.895590] Unpacking initramfs...
[ 0.905875] Freeing initrd memory: 1632K
[ 0.959992] DMA-API: preallocated 65536 debug entries
[ 0.965077] DMA-API: debugging enabled by kernel config
[ 0.971831] Scanning for low memory corruption every 60 seconds
[ 0.980868] Initialise system trusted keyrings
[ 0.986717] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[ 1.012709] pstore: using deflate compression
[ 1.019013] Key type asymmetric registered
[ 1.023308] Asymmetric key parser 'x509' registered
[ 1.028290] bounce: pool size: 64 pages
[ 1.032306] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 1.039796] io scheduler noop registered
[ 1.043738] io scheduler deadline registered
[ 1.048047] io scheduler cfq registered (default)
[ 1.053568] ACPI: AC Adapter [AC] (on-line)
[ 1.058317] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[ 1.066914] ACPI: Power Button [PWRB]
[ 1.070872] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input1
[ 1.079891] ACPI: Lid Switch [LID]
[ 1.083628] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[ 1.091221] ACPI: Power Button [PWRF]
[ 1.095148] tsc: Marking TSC unstable due to TSC halts in idle
[ 1.104099] ACPI: Battery Slot [CMB1] (battery present)
[ 1.109509] isapnp: Scanning for PnP cards...
[ 1.114142] clocksource: Switched to clocksource acpi_pm
[ 1.123837] ACPI: Battery Slot [CMB2] (battery absent)
[ 1.482272] isapnp: No Plug & Play device found
[ 1.487182] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.514395] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 1.522211] serial 00:05: skipping CIR port at 0x2e8 / 0x0, IRQ 3
[ 1.530173] ata_piix 0000:00:1f.1: enabling device (0005 -> 0007)
[ 1.538301] BUG: unable to handle kernel NULL pointer dereference at 00000000
[ 1.540010] *pde = 00000000
[ 1.540010] Oops: 0002 [#1] PREEMPT
[ 1.540010] Modules linked in:
[ 1.540010] CPU: 0 PID: 1 Comm: swapper Tainted: G W 4.17.0-rc5-mgm+ #57
[ 1.540010] Hardware name: FUJITSU SIEMENS LIFEBOOK S6120/FJNB16C, BIOS Version 1.26 05/10/2004
[ 1.540010] EIP: dma_direct_alloc+0x22f/0x260
[ 1.540010] EFLAGS: 00210246 CPU: 0
[ 1.540010] EAX: 00000000 EBX: 00000000 ECX: 00000200 EDX: 00000000
[ 1.540010] ESI: 014000c4 EDI: 00000000 EBP: f58d5cdc ESP: f58d5cb8
[ 1.540010] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[ 1.540010] CR0: 80050033 CR2: 00000000 CR3: 018f2000 CR4: 000006d0
[ 1.540010] Call Trace:
[ 1.540010] ? dma_direct_mapping_error+0x10/0x10
[ 1.540010] dmam_alloc_coherent+0xe8/0x160
[ 1.540010] ata_bmdma_port_start+0x42/0x70
[ 1.540010] piix_port_start+0x1a/0x20
[ 1.540010] ata_host_start.part.9+0xcb/0x1c0
[ 1.540010] ata_host_start+0x18/0x20
[ 1.540010] ata_pci_sff_activate_host+0x30/0x2b0
[ 1.540010] ? pci_write_config_byte+0x50/0x60
[ 1.540010] ? ata_bmdma_port_intr+0xe0/0xe0
[ 1.540010] piix_init_one+0x2e1/0x5e0
[ 1.540010] ? _raw_spin_unlock_irqrestore+0x5d/0x80
[ 1.540010] pci_device_probe+0x9a/0x130
[ 1.540010] ? devices_kset_move_last+0x67/0xe0
[ 1.540010] ? sysfs_create_link+0x25/0x50
[ 1.540010] driver_probe_device+0x319/0x4e0
[ 1.540010] ? _raw_spin_unlock+0x2c/0x50
[ 1.540010] ? pci_match_device+0xd2/0x100
[ 1.540010] __driver_attach+0xd9/0x100
[ 1.540010] ? klist_next+0x6b/0xe0
[ 1.540010] ? driver_probe_device+0x4e0/0x4e0
[ 1.540010] bus_for_each_dev+0x4b/0x90
[ 1.540010] driver_attach+0x1e/0x20
[ 1.540010] ? driver_probe_device+0x4e0/0x4e0
[ 1.540010] bus_add_driver+0x18f/0x280
[ 1.540010] driver_register+0x5d/0xf0
[ 1.540010] ? ata_sff_init+0x35/0x35
[ 1.540010] __pci_register_driver+0x50/0x60
[ 1.540010] piix_init+0x19/0x29
[ 1.540010] do_one_initcall+0x62/0x330
[ 1.540010] ? parse_args+0x1cd/0x410
[ 1.540010] kernel_init_freeable+0x214/0x31b
[ 1.540010] ? rest_init+0x1f0/0x1f0
[ 1.540010] kernel_init+0x10/0x110
[ 1.540010] ? schedule_tail_wrapper+0x9/0xc
[ 1.540010] ret_from_fork+0x2e/0x38
[ 1.540010] Code: 0f 84 02 ff ff ff eb d4 8d 74 26 00 f6 c2 01 75 21 f7 c7 02 00 00 00 75 24 f7 c7 04 00 00 00 75 29 89 d9 31 c0 c1 e9 02 83 e3 03 <f3> ab e9 c4 fe ff ff c6 02 00 8d 7a 01 8b 5d e0 eb d4 66 c7 07
[ 1.540010] EIP: dma_direct_alloc+0x22f/0x260 SS:ESP: 0068:f58d5cb8
[ 1.540010] CR2: 0000000000000000
[ 1.540010] ---[ end trace 37f4adc02e5109c8 ]---
[ 1.540010] BUG: sleeping function called from invalid context at ../include/linux/cgroup-defs.h:696
[ 1.540010] in_atomic(): 0, irqs_disabled(): 1, pid: 1, name: swapper
[ 1.540010] INFO: lockdep is turned off.
[ 1.540010] irq event stamp: 366166
[ 1.540010] hardirqs last enabled at (366165): [<c1595a6d>] _raw_spin_unlock_irqrestore+0x5d/0x80
[ 1.540010] hardirqs last disabled at (366166): [<c1596f27>] common_exception+0x61/0x82
[ 1.540010] softirqs last enabled at (363740): [<c1598749>] __do_softirq+0x389/0x425
[ 1.540010] softirqs last disabled at (363703): [<c101db7c>] call_on_stack+0x4c/0x60
[ 1.540010] CPU: 0 PID: 1 Comm: swapper Tainted: G D W 4.17.0-rc5-mgm+ #57
[ 1.540010] Hardware name: FUJITSU SIEMENS LIFEBOOK S6120/FJNB16C, BIOS Version 1.26 05/10/2004
[ 1.540010] Call Trace:
[ 1.540010] dump_stack+0x16/0x26
[ 1.540010] ___might_sleep+0x1f3/0x260
[ 1.540010] ? vprintk_emit+0x21c/0x420
[ 1.540010] __might_sleep+0x36/0x90
[ 1.540010] exit_signals+0x1f/0xf0
[ 1.540010] do_exit+0x79/0xb80
[ 1.540010] ? kernel_init_freeable+0x214/0x31b
[ 1.540010] ? rest_init+0x1f0/0x1f0
[ 1.540010] ? kernel_init+0x10/0x110
[ 1.540010] rewind_stack_do_exit+0x10/0x12
[ 1.891523] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009
[ 1.891523]
[ 1.894765] Kernel Offset: disabled
[ 1.894765] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009
[ 1.894765] ]---
[ 2.153352] random: fast init done
(gdb) list *(dma_direct_alloc+0x22f)
0x573fbf is in dma_direct_alloc (../lib/dma-direct.c:104).
94
95 if (!page)
96 return NULL;
97 ret = page_address(page);
98 if (force_dma_unencrypted()) {
99 set_memory_decrypted((unsigned long)ret, 1 << page_order);
100 *dma_handle = __phys_to_dma(dev, page_to_phys(page));
101 } else {
102 *dma_handle = phys_to_dma(dev, page_to_phys(page));
103 }
104 memset(ret, 0, size);
105 return ret;
106 }
--
Ville Syrj?l?
Intel
On Sat, May 19, 2018 at 05:46:32PM +0300, Ville Syrj?l? wrote:
> On Fri, May 18, 2018 at 01:01:04PM +0900, Joonsoo Kim wrote:
> > On Thu, May 17, 2018 at 10:53:32AM -0700, Laura Abbott wrote:
> > > On 05/17/2018 10:08 AM, Michal Hocko wrote:
> > > >On Thu 17-05-18 18:49:47, Michal Hocko wrote:
> > > >>On Thu 17-05-18 16:58:32, Ville Syrj?l? wrote:
> > > >>>On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrj?l? wrote:
> > > >>>>On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > > >>>>>On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > >>>>>>From: Ville Syrj?l? <[email protected]>
> > > >>>>>>
> > > >>>>>>This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > >>>>>>
> > > >>>>>>Make x86 with HIGHMEM=y and CMA=y boot again.
> > > >>>>>
> > > >>>>>Is there any bug report with some more details? It is much more
> > > >>>>>preferable to fix the issue rather than to revert the whole thing
> > > >>>>>right away.
> > > >>>>
> > > >>>>The machine I have in front of me right now didn't give me anything.
> > > >>>>Black screen, and netconsole was silent. No serial port on this
> > > >>>>machine unfortunately.
> > > >>>
> > > >>>Booted on another machine with serial:
> > > >>
> > > >>Could you provide your .config please?
> > > >>
> > > >>[...]
> > > >>>[ 0.000000] cma: Reserved 4 MiB at 0x0000000037000000
> > > >>[...]
> > > >>>[ 0.000000] BUG: Bad page state in process swapper pfn:377fe
> > > >>>[ 0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
> > > >>
> > > >>OK, so this looks the be the source of the problem. -128 would be a
> > > >>buddy page but I do not see anything that would set the counter to -127
> > > >>and the real map count updates shouldn't really happen that early.
> > > >>
> > > >>Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.
> > > >
> > > >Looking closer, I _think_ that the bug is in set_highmem_pages_init->is_highmem
> > > >and zone_movable_is_highmem might force CMA pages in the zone movable to
> > > >be initialized as highmem. And that sounds supicious to me. Joonsoo?
> > > >
> > >
> > > For a point of reference, arm with this configuration doesn't hit this bug
> > > because highmem pages are freed via the memblock interface only instead
> > > of iterating through each zone. It looks like the x86 highmem code
> > > assumes only a single highmem zone and/or it's disjoint?
> >
> > Good point! Reason of the crash is that the span of MOVABLE_ZONE is
> > extended to whole node span for future CMA initialization, and,
> > normal memory is wrongly freed here.
> >
> > Here goes the fix. Ville, Could you test below patch?
> > I re-generated the issue on my side and this patch fixed it.
>
> This gets me past the initial hurdles. But when I tried it on a machine
> with an actual 32 bit OS it oopsed again later in the boot.
>
> [ 0.000000] Linux version 4.17.0-rc5-mgm+ () (gcc version 6.4.0 (Gentoo 6.4.0-r1 p1.3)) #57 PREEMPT Sat May 19 17:25:27 EEST 2018
> [ 0.000000] x86/fpu: x87 FPU will use FXSAVE
> [ 0.000000] e820: BIOS-provided physical RAM map:
> [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
> [ 0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
[snip....]
> [ 1.487182] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
> [ 1.514395] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
> [ 1.522211] serial 00:05: skipping CIR port at 0x2e8 / 0x0, IRQ 3
> [ 1.530173] ata_piix 0000:00:1f.1: enabling device (0005 -> 0007)
> [ 1.538301] BUG: unable to handle kernel NULL pointer dereference at 00000000
> [ 1.540010] *pde = 00000000
> [ 1.540010] Oops: 0002 [#1] PREEMPT
> [ 1.540010] Modules linked in:
> [ 1.540010] CPU: 0 PID: 1 Comm: swapper Tainted: G W 4.17.0-rc5-mgm+ #57
> [ 1.540010] Hardware name: FUJITSU SIEMENS LIFEBOOK S6120/FJNB16C, BIOS Version 1.26 05/10/2004
> [ 1.540010] EIP: dma_direct_alloc+0x22f/0x260
> [ 1.540010] EFLAGS: 00210246 CPU: 0
> [ 1.540010] EAX: 00000000 EBX: 00000000 ECX: 00000200 EDX: 00000000
> [ 1.540010] ESI: 014000c4 EDI: 00000000 EBP: f58d5cdc ESP: f58d5cb8
> [ 1.540010] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
> [ 1.540010] CR0: 80050033 CR2: 00000000 CR3: 018f2000 CR4: 000006d0
> [ 1.540010] Call Trace:
> [ 1.540010] ? dma_direct_mapping_error+0x10/0x10
> [ 1.540010] dmam_alloc_coherent+0xe8/0x160
> [ 1.540010] ata_bmdma_port_start+0x42/0x70
> [ 1.540010] piix_port_start+0x1a/0x20
> [ 1.540010] ata_host_start.part.9+0xcb/0x1c0
> [ 1.540010] ata_host_start+0x18/0x20
> [ 1.540010] ata_pci_sff_activate_host+0x30/0x2b0
> [ 1.540010] ? pci_write_config_byte+0x50/0x60
> [ 1.540010] ? ata_bmdma_port_intr+0xe0/0xe0
> [ 1.540010] piix_init_one+0x2e1/0x5e0
> [ 1.540010] ? _raw_spin_unlock_irqrestore+0x5d/0x80
> [ 1.540010] pci_device_probe+0x9a/0x130
> [ 1.540010] ? devices_kset_move_last+0x67/0xe0
> [ 1.540010] ? sysfs_create_link+0x25/0x50
> [ 1.540010] driver_probe_device+0x319/0x4e0
> [ 1.540010] ? _raw_spin_unlock+0x2c/0x50
> [ 1.540010] ? pci_match_device+0xd2/0x100
> [ 1.540010] __driver_attach+0xd9/0x100
> [ 1.540010] ? klist_next+0x6b/0xe0
> [ 1.540010] ? driver_probe_device+0x4e0/0x4e0
> [ 1.540010] bus_for_each_dev+0x4b/0x90
> [ 1.540010] driver_attach+0x1e/0x20
> [ 1.540010] ? driver_probe_device+0x4e0/0x4e0
> [ 1.540010] bus_add_driver+0x18f/0x280
> [ 1.540010] driver_register+0x5d/0xf0
> [ 1.540010] ? ata_sff_init+0x35/0x35
> [ 1.540010] __pci_register_driver+0x50/0x60
> [ 1.540010] piix_init+0x19/0x29
> [ 1.540010] do_one_initcall+0x62/0x330
> [ 1.540010] ? parse_args+0x1cd/0x410
> [ 1.540010] kernel_init_freeable+0x214/0x31b
> [ 1.540010] ? rest_init+0x1f0/0x1f0
> [ 1.540010] kernel_init+0x10/0x110
> [ 1.540010] ? schedule_tail_wrapper+0x9/0xc
> [ 1.540010] ret_from_fork+0x2e/0x38
> [ 1.540010] Code: 0f 84 02 ff ff ff eb d4 8d 74 26 00 f6 c2 01 75 21 f7 c7 02 00 00 00 75 24 f7 c7 04 00 00 00 75 29 89 d9 31 c0 c1 e9 02 83 e3 03 <f3> ab e9 c4 fe ff ff c6 02 00 8d 7a 01 8b 5d e0 eb d4 66 c7 07
> [ 1.540010] EIP: dma_direct_alloc+0x22f/0x260 SS:ESP: 0068:f58d5cb8
> [ 1.540010] CR2: 0000000000000000
> [ 1.540010] ---[ end trace 37f4adc02e5109c8 ]---
[snip...]
> (gdb) list *(dma_direct_alloc+0x22f)
> 0x573fbf is in dma_direct_alloc (../lib/dma-direct.c:104).
> 94
> 95 if (!page)
> 96 return NULL;
> 97 ret = page_address(page);
> 98 if (force_dma_unencrypted()) {
> 99 set_memory_decrypted((unsigned long)ret, 1 << page_order);
> 100 *dma_handle = __phys_to_dma(dev, page_to_phys(page));
> 101 } else {
> 102 *dma_handle = phys_to_dma(dev, page_to_phys(page));
> 103 }
> 104 memset(ret, 0, size);
> 105 return ret;
> 106 }
>
Okay. I find the reason about this error.
page_address() is called in dma_direct_alloc() and it returns 'NULL'
since PageHighMem() for CMA memory returns 'true' after my patches
that manages CMA memory by using the ZONE_MOVABLE.
page_address()
{
if (!PageHighMem())
return lowmem_address()
try to find kmap mapping
if failed, return NULL
}
I assumed that the caller, who want to get the virtual address of the
page, calls the PageHighMem() and creates a new mapping if
PageHighMem() is 'true', but, it looks not true in this case. It knows
where the memory comes from so it directly call the page_address().
This usecase is valid so I should fix the issue on my side.
I have an idea to fix this case but I think that reverting the patches
is the best at this moment since there is not enough time to test a
new idea before the release.
My idea is to change the implementation of the PageHighMem() like as
below.
-#define PageHighMem(__p) is_highmem_idx(page_zonenum(__p))
+#define PageHighMem(__p) (page_to_pfn(__p) >= max_low_pfn)
And then, I will rename PageHighMem() to !PageDirectMapped().
Current PageHighMem() is mostly used to check if the direct mapping
exists or not. Until now, pages on the higher zones (ZONE_HIGHMEM,
ZONE_MOVABLE when ZONE_HIGHMEM is used) are not direct mapped so
previous implementation that checks higher zone implys the existence
of the direct mapping. However, with my patches, it's not true anymore
so implementation need to be changed.
With above idea that checks pfn rather than the zone type, existence
of the mapping can be determined correctly, regardless of the zone
where the pages are belong to. And, page_address() will work
correctly.
If someone has other opinion, please let me know.
Thanks.
On Mon, 21 May 2018 15:16:33 +0900 Joonsoo Kim <[email protected]> wrote:
> > (gdb) list *(dma_direct_alloc+0x22f)
> > 0x573fbf is in dma_direct_alloc (../lib/dma-direct.c:104).
> > 94
> > 95 if (!page)
> > 96 return NULL;
> > 97 ret = page_address(page);
> > 98 if (force_dma_unencrypted()) {
> > 99 set_memory_decrypted((unsigned long)ret, 1 << page_order);
> > 100 *dma_handle = __phys_to_dma(dev, page_to_phys(page));
> > 101 } else {
> > 102 *dma_handle = phys_to_dma(dev, page_to_phys(page));
> > 103 }
> > 104 memset(ret, 0, size);
> > 105 return ret;
> > 106 }
> >
>
> Okay. I find the reason about this error.
It's getting rather late and we don't seem to have a final set of fixes
yet. Perhaps the best approach here is to revert and try again for
4.18?
2018-05-23 9:02 GMT+09:00 Andrew Morton <[email protected]>:
> On Mon, 21 May 2018 15:16:33 +0900 Joonsoo Kim <[email protected]> wrote:
>
>> > (gdb) list *(dma_direct_alloc+0x22f)
>> > 0x573fbf is in dma_direct_alloc (../lib/dma-direct.c:104).
>> > 94
>> > 95 if (!page)
>> > 96 return NULL;
>> > 97 ret = page_address(page);
>> > 98 if (force_dma_unencrypted()) {
>> > 99 set_memory_decrypted((unsigned long)ret, 1 << page_order);
>> > 100 *dma_handle = __phys_to_dma(dev, page_to_phys(page));
>> > 101 } else {
>> > 102 *dma_handle = phys_to_dma(dev, page_to_phys(page));
>> > 103 }
>> > 104 memset(ret, 0, size);
>> > 105 return ret;
>> > 106 }
>> >
>>
>> Okay. I find the reason about this error.
>
> It's getting rather late and we don't seem to have a final set of fixes
> yet. Perhaps the best approach here is to revert and try again for
> 4.18?
Yes. Reverting seems to be a right decision at this moment.
Could you apply original revert patch from Ville?
Thanks.