BUG: Bad page state in process swapper on new imx8qm board
Oliver Graute
oliver.graute at gmail.com
Wed Oct 16 05:19:18 EDT 2019
Hello list,
I try to bootup up a new imx8qm congatec board and I have written a dts
file for it and applied some imx8qm related patches which are not
mainline yet but working fine on another imx8qm board (same cpu,
different board vendor).
The Kernel starts to boot. But unfortunately its stucked after few
seconds with a lot memory/swapper issues.
BUG: Bad page state in process swapper
Some clue what`s going on here?
Best regards,
Oliver
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.3.0-rc7-next-20190904-00033-gf19a0a4e7252-dirty (alarm at imx8qm) (gcc version 8.3.0 (GCC)) #4 SMP PREEMPT Thu Oct 10 13:23:33 UTC 2019
[ 0.000000] Machine model: Congatec QMX8 Qseven series
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 32 MiB at 0x00000000fe000000
[ 0.000000] earlycon: lpuart32 at MMIO 0x000000005a060000 (options '')
[ 0.000000] printk: bootconsole [lpuart32] enabled
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000080200000-0x000000097fffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x97f3e2800-0x97f3e3fff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000080200000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x000000097fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080200000-0x00000000ffffffff]
[ 0.000000] node 0: [mem 0x0000000880000000-0x000000097fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x000000097fffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] percpu: Embedded 22 pages/cpu s52952 r8192 d28968 u90112
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] Speculative Store Bypass Disable mitigation not required
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1547784
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: console=ttyLP0,115200 root=/dev/mmcblk2p2 rootwait rw earlycon
[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0xfa000000-0xfe000000] (64MB)
[ 0.000000] BUG: Bad page state in process swapper pfn:b0001
[ 0.000000] page:fffffe0000a00040 refcount:0 mapcount:1 mapping:0000000000000000 index:0x0
[ 0.000000] flags: 0x0()
[ 0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 5.3.0-rc7-next-20190904-00033-gf19a0a4e7252-dirty #4
[ 0.000000] Hardware name: Congatec QMX8 Qseven series (DT)
[ 0.000000] Call trace:
[ 0.000000] dump_backtrace+0x0/0x140
[ 0.000000] show_stack+0x14/0x20
[ 0.000000] dump_stack+0xb0/0xf4
[ 0.000000] bad_page+0xec/0x118
[ 0.000000] free_pages_check_bad+0x70/0xa8
[ 0.000000] __free_pages_ok+0x2a8/0x2c8
[ 0.000000] __free_pages+0x4c/0x58
[ 0.000000] __free_pages_core+0xc0/0xd0
[ 0.000000] memblock_free_pages+0x10/0x18
[ 0.000000] memblock_free_all+0x188/0x254
[ 0.000000] mem_init+0x48/0x58
[ 0.000000] start_kernel+0x254/0x484
[ 0.000000] Disabling lock debugging due to kernel taint
[ 0.000000] BUG: Bad page state in process swapper pfn:b0002
[ 0.000000] page:fffffe0000a00080 refcount:0 mapcount:1 mapping:0000000000000000 index:0x0
[ 0.000000] flags: 0x0()
[ 0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 5.3.0-rc7-next-20190904-00033-gf19a0a4e7252-dirty #4
[ 0.000000] Hardware name: Congatec QMX8 Qseven series (DT)
[ 0.000000] Call trace:
[ 0.000000] dump_backtrace+0x0/0x140
[ 0.000000] show_stack+0x14/0x20
[ 0.000000] dump_stack+0xb0/0xf4
[ 0.000000] bad_page+0xec/0x118
[ 0.000000] free_pages_check_bad+0x70/0xa8
[ 0.000000] __free_pages_ok+0x2a8/0x2c8
[ 0.000000] __free_pages+0x4c/0x58
[ 0.000000] __free_pages_core+0xc0/0xd0
[ 0.000000] memblock_free_pages+0x10/0x18
[ 0.000000] memblock_free_all+0x188/0x254
[ 0.000000] mem_init+0x48/0x58
[ 0.000000] start_kernel+0x254/0x484
[ 0.000000] BUG: Bad page state in process swapper pfn:b0003
[ 0.000000] page:fffffe0000a000c0 refcount:0 mapcount:1 mapping:0000000000000000 index:0x0
[ 0.000000] flags: 0x0()
[ 0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 5.3.0-rc7-next-20190904-00033-gf19a0a4e7252-dirty #4
[ 0.000000] Hardware name: Congatec QMX8 Qseven series (DT)
[ 0.000000] Call trace:
[ 0.000000] dump_backtrace+0x0/0x140
[ 0.000000] show_stack+0x14/0x20
[ 0.000000] dump_stack+0xb0/0xf4
[ 0.000000] bad_page+0xec/0x118
[ 0.000000] free_pages_check_bad+0x70/0xa8
[ 0.000000] __free_pages_ok+0x2a8/0x2c8
[ 0.000000] __free_pages+0x4c/0x58
[ 0.000000] __free_pages_core+0xc0/0xd0
[ 0.000000] memblock_free_pages+0x10/0x18
[ 0.000000] memblock_free_all+0x188/0x254
[ 0.000000] mem_init+0x48/0x58
[ 0.000000] start_kernel+0x254/0x484
[ 0.000000] BUG: Bad page state in process swapper pfn:b0004
[ 0.000000] page:fffffe0000a00100 refcount:0 mapcount:1 mapping:0000000000000000 index:0x0
[ 0.000000] flags: 0x0()
[ 0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 5.3.0-rc7-next-20190904-00033-gf19a0a4e7252-dirty #4
[ 0.000000] Hardware name: Congatec QMX8 Qseven series (DT)
[ 0.000000] Call trace:
[ 0.000000] dump_backtrace+0x0/0x140
[ 0.000000] show_stack+0x14/0x20
[ 0.000000] dump_stack+0xb0/0xf4
[ 0.000000] bad_page+0xec/0x118
[ 0.000000] free_pages_check_bad+0x70/0xa8
[ 0.000000] __free_pages_ok+0x2a8/0x2c8
[ 0.000000] __free_pages+0x4c/0x58
[ 0.000000] __free_pages_core+0xc0/0xd0
[ 0.000000] memblock_free_pages+0x10/0x18
[ 0.000000] memblock_free_all+0x188/0x254
[ 0.000000] mem_init+0x48/0x58
[ 0.000000] start_kernel+0x254/0x484
[ 0.000000] BUG: Bad page state in process swapper pfn:b0005
[ 0.000000] page:fffffe0000a00140 refcount:0 mapcount:1 mapping:0000000000000000 index:0x0
[ 0.000000] flags: 0x0()
[ 0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 5.3.0-rc7-next-20190904-00033-gf19a0a4e7252-dirty #4
[ 0.000000] Hardware name: Congatec QMX8 Qseven series (DT)
[ 0.000000] Call trace:
[ 0.000000] dump_backtrace+0x0/0x140
[ 0.000000] show_stack+0x14/0x20
[ 0.000000] dump_stack+0xb0/0xf4
[ 0.000000] bad_page+0xec/0x118
[ 0.000000] free_pages_check_bad+0x70/0xa8
[ 0.000000] __free_pages_ok+0x2a8/0x2c8
[ 0.000000] __free_pages+0x4c/0x58
[ 0.000000] __free_pages_core+0xc0/0xd0
[ 0.000000] memblock_free_pages+0x10/0x18
[ 0.000000] memblock_free_all+0x188/0x254
[ 0.000000] mem_init+0x48/0x58
[ 0.000000] start_kernel+0x254/0x484
[ 0.000000] BUG: Bad page state in process swapper pfn:b0006
[ 0.000000] page:fffffe0000a00180 refcount:0 mapcount:1 mapping:0000000000000000 index:0x0
[ 0.000000] flags: 0x0()
[ 0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 5.3.0-rc7-next-20190904-00033-gf19a0a4e7252-dirty #4
[ 0.000000] Hardware name: Congatec QMX8 Qseven series (DT)
[ 0.000000] Call trace:
[ 0.000000] dump_backtrace+0x0/0x140
[ 0.000000] show_stack+0x14/0x20
[ 0.000000] dump_stack+0xb0/0xf4
[ 0.000000] bad_page+0xec/0x118
[ 0.000000] free_pages_check_bad+0x70/0xa8
[ 0.000000] __free_pages_ok+0x2a8/0x2c8
[ 0.000000] __free_pages+0x4c/0x58
[ 0.000000] __free_pages_core+0xc0/0xd0
[ 0.000000] memblock_free_pages+0x10/0x18
[ 0.000000] memblock_free_all+0x188/0x254
[ 0.000000] mem_init+0x48/0x58
[ 0.000000] start_kernel+0x254/0x484
[ 0.000000] BUG: Bad page state in process swapper pfn:b0007
[ 0.000000] page:fffffe0000a001c0 refcount:0 mapcount:1 mapping:0000000000000000 index:0x0
[ 0.000000] flags: 0x0()
[ 0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 5.3.0-rc7-next-20190904-00033-gf19a0a4e7252-dirty #4
[ 0.000000] Hardware name: Congatec QMX8 Qseven series (DT)
[ 0.000000] Call trace:
[ 0.000000] dump_backtrace+0x0/0x140
[ 0.000000] show_stack+0x14/0x20
[ 0.000000] dump_stack+0xb0/0xf4
[ 0.000000] bad_page+0xec/0x118
[ 0.000000] free_pages_check_bad+0x70/0xa8
[ 0.000000] __free_pages_ok+0x2a8/0x2c8
[ 0.000000] __free_pages+0x4c/0x58
[ 0.000000] __free_pages_core+0xc0/0xd0
[ 0.000000] memblock_free_pages+0x10/0x18
[ 0.000000] memblock_free_all+0x188/0x254
[ 0.000000] mem_init+0x48/0x58
[ 0.000000] start_kernel+0x254/0x484
[ 0.000000] BUG: Bad page state in process swapper pfn:b0008
[ 0.000000] page:fffffe0000a00200 refcount:0 mapcount:1 mapping:0000000000000000 index:0x0
[ 0.000000] flags: 0x0()
[ 0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 0.000000] page dumped because: nonzero mapcount
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G B 5.3.0-rc7-next-20190904-00033-gf19a0a4e7252-dirty #4
[ 0.000000] Hardware name: Congatec QMX8 Qseven series (DT)
[ 0.000000] Call trace:
[ 0.000000] dump_backtrace+0x0/0x140
[ 0.000000] show_stack+0x14/0x20
[ 0.000000] dump_stack+0xb0/0xf4
[ 0.000000] bad_page+0xe
More information about the Kernelnewbies
mailing list