Fixed
Created: Nov 15, 2015
Updated: Dec 3, 2018
Resolved Date: Dec 28, 2015
Found In Version: 8.0
Fix Version: 8.0.0.1
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: BSP
root@t2080rdb:~# ls -lsh /proc/vmcore
0 -r-------- 1 root root 3.8G Nov 16 03:03 /proc/vmcore
root@t2080rdb:~#
root@t2080rdb:~#
root@t2080rdb:~#
root@t2080rdb:~#
root@t2080rdb:~# BUG: Bad page state in process swapper/6 pfn:11ef8
BUG: Bad page state in process swapper/5 pfn:04e38
page:c0000000114b8e00 count:-2 mapcount:0 mapping: (null) index:0x3
flags: 0x0()
page dumped because: nonzero _count
Modules linked in: twofish_generic twofish_common camellia_generic serpent_generic blowfish_generic blowfish_common cast5_generic cast_common cmac xcbc sha512_generic sha256_generic crypto_null af_key mpc85xx_edac edac_core
CPU: 5 PID: 0 Comm: swapper/5 Not tainted 4.1.12-WR8.0.0.0_standard #2
Call Trace:
[c000000011f7b390] [c000000002b081c8] .dump_stack+0x9c/0xfc (unreliable)
[c000000011f7b410] [c00000000217ecc4] .bad_page+0x110/0x16c
[c000000011f7b4b0] [c000000002183750] .get_page_from_freelist+0x8e4/0x8f0
[c000000011f7b600] [c000000002183b40] .__alloc_pages_nodemask+0x1a8/0xa08
[c000000011f7b7b0] [c00000000297cb54] .__alloc_page_frag+0x10c/0x1b4
[c000000011f7b850] [c0000000029808ec] .netdev_alloc_frag+0x40/0x6c
[c000000011f7b8d0] [c0000000027b24fc] ._dpa_bp_add_8_bufs+0x8c/0x314
[c000000011f7b9d0] [c0000000027b27e8] .dpaa_eth_refill_bpools+0x64/0x88
[c000000011f7ba60] [c0000000027b0718] .priv_rx_default_dqrr+0x98/0x278
[c000000011f7bb10] [c000000002929d14] .qman_p_poll_dqrr+0x1b4/0x2bc
[c000000011f7bbd0] [c0000000027b0f14] .dpaa_eth_poll+0x34/0x84
[c000000011f7bc60] [c000000002993134] .net_rx_action+0x2d4/0x470
[c000000011f7bd80] [c000000002066260] .__do_softirq+0x180/0x4b4
[c000000011f7bea0] [c0000000020667e4] .irq_exit+0xbc/0xc0
[c000000011f7bf10] [c000000002006b6c] .__do_irq+0xb4/0x218
[c000000011f7bf90] [c000000002016850] .call_do_irq+0x14/0x24
[c0000000072d39b0] [c000000002006d98] .do_IRQ+0xc8/0x150
[c0000000072d3a60] [c00000000201b93c] exc_0x500_common+0xfc/0x100
--- interrupt: 501 at .book3e_idle+0x24/0x4c
LR = .book3e_idle+0x24/0x4c
[c0000000072d3d50] [c00000000200aa98] .arch_cpu_idle+0x3c/0xa8 (unreliable)
[c0000000072d3dc0] [c0000000020ad434] .cpu_startup_entry+0x2e4/0x434
[c0000000072d3ee0] [c000000002024c9c] .start_secondary+0x2e8/0x30c
[c0000000072d3f90] [c00000000200046c] start_secondary_prolog+0x10/0x14
Disabling lock debugging due to kernel taint
kmemleak: Cannot insert 0xc0000000090e1f00 into the object search tree (overlaps existing)
CPU: 5 PID: 0 Comm: swapper/5 Tainted: G B 4.1.12-WR8.0.0.0_standard #2
Call Trace:
[c000000011f7b5b0] [c000000002b081c8] .dump_stack+0x9c/0xfc (unreliable)
[c000000011f7b630] [c0000000021ece88] .create_object+0x2c4/0x330
[c000000011f7b700] [c0000000021dae8c] .kmem_cache_alloc+0x398/0x3c4
[c000000011f7b7c0] [c000000002980a5c] .__build_skb+0x40/0xe4
[c000000011f7b850] [c000000002980b30] .build_skb+0x30/0xcc
[c000000011f7b8d0] [c0000000027b2528] ._dpa_bp_add_8_bufs+0xb8/0x314
[c000000011f7b9d0] [c0000000027b27e8] .dpaa_eth_refill_bpools+0x64/0x88
[c000000011f7ba60] [c0000000027b0718] .priv_rx_default_dqrr+0x98/0x278
[c000000011f7bb10] [c000000002929d14] .qman_p_poll_dqrr+0x1b4/0x2bc
[c000000011f7bbd0] [c0000000027b0f14] .dpaa_eth_poll+0x34/0x84
[c000000011f7bc60] [c000000002993134] .net_rx_action+0x2d4/0x470
[c000000011f7bd80] [c000000002066260] .__do_softirq+0x180/0x4b4
[c000000011f7bea0] [c0000000020667e4] .irq_exit+0xbc/0xc0
[c000000011f7bf10] [c000000002006b6c] .__do_irq+0xb4/0x218
[c000000011f7bf90] [c000000002016850] .call_do_irq+0x14/0x24
[c0000000072d39b0] [c000000002006d98] .do_IRQ+0xc8/0x150
[c0000000072d3a60] [c00000000201b93c] exc_0x500_common+0xfc/0x100
--- interrupt: 501 at .book3e_idle+0x24/0x4c
LR = .book3e_idle+0x24/0x4c
[c0000000072d3d50] [c00000000200aa98] .arch_cpu_idle+0x3c/0xa8 (unreliable)
[c0000000072d3dc0] [c0000000020ad434] .cpu_startup_entry+0x2e4/0x434
[c0000000072d3ee0] [c000000002024c9c] .start_secondary+0x2e8/0x30c
[c0000000072d3f90] [c00000000200046c] start_secondary_prolog+0x10/0x14
kmemleak: Kernel memory leak detector disabled
kmemleak: Object 0xc0000000090e1f00 (size 256):
kmemleak: comm "softirq", pid 0, jiffies 4294915270
kmemleak: min_count = 1
kmemleak: count = 0
kmemleak: flags = 0x1
kmemleak: checksum = 0
kmemleak: backtrace:
[<c000000002980a5c>] .__build_skb+0x40/0xe4
[<c000000002980b30>] .build_skb+0x30/0xcc
[<c0000000027b2528>] ._dpa_bp_add_8_bufs+0xb8/0x314
[<c0000000027b27e8>] .dpaa_eth_refill_bpools+0x64/0x88
[<c0000000027b0718>] .priv_rx_default_dqrr+0x98/0x278
[<c000000002929d14>] .qman_p_poll_dqrr+0x1b4/0x2bc
[<c0000000027b0f14>] .dpaa_eth_poll+0x34/0x84
[<c000000002993134>] .net_rx_action+0x2d4/0x470
[<c000000002066260>] .__do_softirq+0x180/0x4b4
[<c0000000020667e4>] .irq_exit+0xbc/0xc0
[<c000000002006b6c>] .__do_irq+0xb4/0x218
[<c000000002016850>] .call_do_irq+0x14/0x24
[<c000000002006d98>] .do_IRQ+0xc8/0x150
[<c00000000201b93c>] exc_0x500_common+0xfc/0x100
[<c00000000200aa98>] .arch_cpu_idle+0x3c/0xa8
[<c0000000020ad434>] .cpu_startup_entry+0x2e4/0x434
kmemleak: Automatic memory scanning thread ended
BUG: Bad page state in process swapper/4 pfn:04910
page:c0000000114a4400 count:-3 mapcount:0 mapping: (null) index:0x3
flags: 0x0()
page dumped because: nonzero _count
Modules linked in: twofish_generic twofish_common camellia_generic serpent_generic blowfish_generic blowfish_common cast5_generic cast_common cmac xcbc sha512_generic sha256_generic crypto_null af_key mpc85xx_edac edac_core
CPU: 4 PID: 0 Comm: swapper/4 Tainted: G B 4.1.12-WR8.0.0.0_standard #2
Call Trace:
[c000000011f83390] [c000000002b081c8] .dump_stack+0x9c/0xfc (unreliable)
[c000000011f83410] [c00000000217ecc4] .bad_page+0x110/0x16c
[c000000011f834b0] [c000000002183750] .get_page_from_freelist+0x8e4/0x8f0
[c000000011f83600] [c000000002183b40] .__alloc_pages_nodemask+0x1a8/0xa08
[c000000011f837b0] [c00000000297cb54] .__alloc_page_frag+0x10c/0x1b4
[c000000011f83850] [c0000000029808ec] .netdev_alloc_frag+0x40/0x6c
[c000000011f838d0] [c0000000027b24fc] ._dpa_bp_add_8_bufs+0x8c/0x314
[c000000011f839d0] [c0000000027b27e8] .dpaa_eth_refill_bpools+0x64/0x88
[c000000011f83a60] [c0000000027b0718] .priv_rx_default_dqrr+0x98/0x278
[c000000011f83b10] [c000000002929d14] .qman_p_poll_dqrr+0x1b4/0x2bc
[c000000011f83bd0] [c0000000027b0f14] .dpaa_eth_poll+0x34/0x84
[c000000011f83c60] [c000000002993134] .net_rx_action+0x2d4/0x470
[c000000011f83d80] [c000000002066260] .__do_softirq+0x180/0x4b4
[c000000011f83ea0] [c0000000020667e4] .irq_exit+0xbc/0xc0
[c000000011f83f10] [c000000002006b6c] .__do_irq+0xb4/0x218
[c000000011f83f90] [c000000002016850] .call_do_irq+0x14/0x24
[c0000000072cf9b0] [c000000002006d98] .do_IRQ+0xc8/0x150
[c0000000072cfa60] [c00000000201b93c] exc_0x500_common+0xfc/0x100
--- interrupt: 501 at .book3e_idle+0x24/0x4c
LR = .book3e_idle+0x24/0x4c
[c0000000072cfd50] [c00000000200aa98] .arch_cpu_idle+0x3c/0xa8 (unreliable)
[c0000000072cfdc0] [c0000000020ad434] .cpu_startup_entry+0x2e4/0x434
[c0000000072cfee0] [c000000002024c9c] .start_secondary+0x2e8/0x30c
[c0000000072cff90] [c00000000200046c] start_secondary_prolog+0x10/0x14
page:c0000000117fbe00 count:-2 mapcount:0 mapping: (null) index:0x0
flags: 0x0()
page dumped because: nonzero _count
Modules linked in: twofish_generic twofish_common camellia_generic serpent_generic blowfish_generic blowfish_common cast5_generic cast_common cmac xcbc sha512_generic sha256_generic crypto_null af_key mpc85xx_edac edac_core
CPU: 6 PID: 0 Comm: swapper/6 Tainted: G B 4.1.12-WR8.0.0.0_standard #2
Call Trace:
[c000000011f73390] [c000000002b081c8] .dump_stack+0x9c/0xfc (unreliable)
[c000000011f73410] [c00000000217ecc4] .bad_page+0x110/0x16c
[c000000011f734b0] [c000000002183750] .get_page_from_freelist+0x8e4/0x8f0
[c000000011f73600] [c000000002183b40] .__alloc_pages_nodemask+0x1a8/0xa08
[c000000011f737b0] [c00000000297cb54] .__alloc_page_frag+0x10c/0x1b4
[c000000011f73850] [c0000000029808ec] .netdev_alloc_frag+0x40/0x6c
[c000000011f738d0] [c0000000027b24fc] ._dpa_bp_add_8_bufs+0x8c/0x314
[c000000011f739d0] [c0000000027b27e8] .dpaa_eth_refill_bpools+0x64/0x88
[c000000011f73a60] [c0000000027b0718] .priv_rx_default_dqrr+0x98/0x278
[c000000011f73b10] [c000000002929d14] .qman_p_poll_dqrr+0x1b4/0x2bc
[c000000011f73bd0] [c0000000027b0f14] .dpaa_eth_poll+0x34/0x84
[c000000011f73c60] [c000000002993134] .net_rx_action+0x2d4/0x470
[c000000011f73d80] [c000000002066260] .__do_softirq+0x180/0x4b4
[c000000011f73ea0] [c0000000020667e4] .irq_exit+0xbc/0xc0
[c000000011f73f10] [c000000002006b6c] .__do_irq+0xb4/0x218
[c000000011f73f90] [c000000002016850] .call_do_irq+0x14/0x24
[c00000000355f940] [c000000002006d98] .do_IRQ+0xc8/0x150
[c00000000355f9f0] [c00000000201b93c] exc_0x500_common+0xfc/0x100
--- interrupt: 501 at .book3e_idle+0x24/0x4c
LR = .book3e_idle+0x24/0x4c
[c00000000355fce0] [c00000000200aa98] .arch_cpu_idle+0x3c/0xa8 (unreliable)
[c00000000355fd50] [c0000000020ad434] .cpu_startup_entry+0x2e4/0x434
[c00000000355fe70] [c000000002002358] .rest_init+0xb4/0xc8
[c00000000355fef0] [c000000002d61c64] .start_kernel+0x520/0x53c
[c00000000355ff90] [c000000002000554] start_here_common+0x24/0x50
Message from syslogd@t2080rdb at Nov 16 03:04:26 ...
kernel:page:c0000000114b8e00 count:-2 mapcount:0 mapping: (null) index:0x3
Message from syslogd@t2080rdb at Nov 16 03:04:26 ...
kernel:flags: 0x0()
Message from syslogd@t2080rdb at Nov 16 03:04:26 ...
kernel:page:c0000000114a4400 count:-3 mapcount:0 mapping: (null) index:0x3
Message from syslogd@t2080rdb at Nov 16 03:04:26 ...
kernel:flags: 0x0()
Message from syslogd@t2080rdb at Nov 16 03:04:26 ...
kernel:page:c0000000117fbe00 count:-2 mapcount:0 mapping: (null) index:0x0
Message from syslogd@t2080rdb at Nov 16 03:04:26 ...
kernel:flags: 0x0()
root@t2080rdb:~#
------------------
Product update date(Spin):
------------------
spin=GIT_20151114
------------------
Project Build Path:
------------------
To Get The Testing Layer:
------------------------
# git clone git://git.wrs.com/git/projects/wassp-repos/testcases/wrlinux
# cd wrlinux;git checkout master
Project Configure Line:
----------------------
# Generated by wrlinux configure at Mon Nov 16 10:51:49 CST 2015
wrlinux-8/wrlinux/configure --enable-board=fsl-t2xxx --enable-kernel=standard --enable-rootfs=glibc-std --with-layer=/folk/lchi1/wrlinux/wr-testing/bts-dev,wr-freescale_qoriq_dpaa --with-template=feature/bts,feature/kexec,feature/kdump --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-reconfig=yes --with-rcpl-version=0
Build Configuration:
----------------------------
BB_VERSION = "1.28.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "RedHat-6"
DISTRO = "wrlinux"
DISTRO_VERSION = "8.0.0.0"
MACHINE = "fsl-t2xxx"
DEFAULTTUNE = "ppc64e6500"
TARGET_SYS = "powerpc64-wrs-linux"
TUNE_FEATURES = "m64 fpu-hard e6500 altivec"
TARGET_FPU = ""
lib32: DEFAULTTUNE = "ppce6500"
lib32: TARGET_SYS = "powerpc-wrsmllib32-linux"
lib32: TUNE_FEATURES = "m32 fpu-hard e6500 altivec"
wrlinux = "WRLINUX_8_0_HEAD:851f6fa5fb65d1110ab40fc923fb8fb44a784e16"
wrlcompat = "WRLINUX_8_0_HEAD:e8bdd963d5db99f52a86b211a7f8758e8b2ddff9"
wr-sdk-toolchain = "WRLINUX_8_0_HEAD:4a26c944dd541978c05692acfe2a9fe58259c98a"
wr-tcwrappers = "WRLINUX_8_0_HEAD:a619b47807c3bc589965e5c1b098474e94f12d19"
meta = "wr-8.0-20151110:1c5a828551ca8820aa4beae2442b5249e06b2ab6"
oe-core-dl-2.0 = "WRLINUX_8_0_HEAD:17a9ba51939da5cf9e7018c331d7c5ec5324e221"
meta-downloads = "WRLINUX_8_0_HEAD:8909c15caf5a8ab8ac904eb8ea5bdbf328f3d428"
wr-kernel = "WRLINUX_8_0_HEAD:13582599b14480fecf7f337c8010a680005a3d3b"
fsl-t2xxx = "WRLINUX_8_0_HEAD:34cef1301bb6257aeaeff04c7c1b92eb40f19889"
wr-base = "WRLINUX_8_0_HEAD:b8ab3f327ca2fa7323a98fbc3ea4ae525ef1c330"
wr-fixes = "WRLINUX_8_0_HEAD:76620a418f0a2977276beb702ea38fd1a44d0006"
wr-tools-profile = "WRLINUX_8_0_HEAD:dcc40398e5381aa88867369cf502d8f06d4eb2eb"
wr-tools-debug = "WRLINUX_8_0_HEAD:d3e4a82f34ad374e0cb71953ff7651a05bab0df2"
meta-filesystems
meta-initramfs
meta-gnome
meta-multimedia
meta-networking
meta-oe
meta-python
meta-perl
meta-webserver
meta-xfce = "wr-8.0-20151110:c85c3678ba4b19bffff7a7f30ee0b9a6369a1e6e"
wr-prebuilts = "WRLINUX_8_0_HEAD:cd83b8551dbc8f3c850c2797c8f65692841d0111"
bts-dev = "master:09680015feb3ba858b3519a2bef4de4c442193e9"
wr-freescale_qoriq_dpaa = "WRLINUX_8_0_HEAD:cb39e59e9864545b8b64014669c5404946dc2e69"
----------------------------------------------------------------------
Kernel source top 10 commits:
----------------------------
Yang Shi ae64629 cryptodev: replace get_unused_fd to get_unused_fd_flags Fri Nov 13 13:23:58 2015 -0800
Paul Gortmaker 867e29d cryptodev: stomp dynamic version numbering for in tree builds Fri Nov 13 13:23:11 2015 -0800
Quanyang Wang d4070c7 fsl_qbman: move preempt_enable() before kthread_create Fri Nov 13 15:25:04 2015 -0500
yadi.hu@windriver.com af59cad qman: add sync protect when do kexec fast reboot Fri Nov 13 15:25:04 2015 -0500
Tiejun Chen e277760 book3e/kexec/kdump: create a 1:1 TLB mapping Fri Nov 13 15:25:04 2015 -0500
Tiejun Chen 55c2f44 book3e/kexec/kdump: recover "r4 = 0" to create the initial TLB Fri Nov 13 15:25:04 2015 -0500
Tiejun Chen c96656d powerpc/book3e-64: Enable kexec Fri Nov 13 15:25:04 2015 -0500
Scott Wood 585dfb0 powerpc/85xx: Don't use generic timebase sync on 64-bit Fri Nov 13 15:25:04 2015 -0500
Tiejun Chen acbbf58 book3e/kexec/kdump: redefine VIRT_PHYS_OFFSET Fri Nov 13 15:25:04 2015 -0500
Bin Jiang 464de21 uio: align uio memory region Fri Nov 13 04:49:23 2015 -0500
Kernel config enabled by the testing layer:
------------------------------------------
CONFIG_DEBUG_KMEMLEAK=y
CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=5000
CONFIG_IOSCHED_BFQ=y
CONFIG_DMATEST=m
CONFIG_SPI_SPIDEV=y
CONFIG_E1000E=y
CONFIG_E1000=y
CONFIG_E100=y
CONFIG_MTD_TESTS=m
CONFIG_HOTPLUG_PCI=y
CONFIG_FSL_FM_MAX_FRAME_SIZE=9600
CONFIG_FSL_QMAN_TEST=m
CONFIG_FSL_BMAN_TEST=m
CONFIG_PERF_EVENTS=y
Kernel Boot Parameter:
---------------------
root@t2080rdb:/opt/wr-test/testcases/bts# cat /proc/cmdline
root=/dev/nfs rw nfsroot=128.224.178.20:/export/pxeboot/vlm-boards/21919/rootfs ip=128.224.178.34:128.224.178.20:128.224.178.1:255.255.254.0:t2080rdb:eth1:off console=ttyS0,115200 selinux=0 enforcing=0 usdpaa_mem=1024M bportals=s0-1 qportals=s0-1
To reproduce it:
---------------
cat /proc/cmdline > kdump_args
kexec -p /boot/vmlinux --append="`cat kdump_args`"
echo 'c' > /proc/sysrq-trigger
scp out vmcore.