Wind River Support Network

HomeDefectsLIN8-1163
Not to be fixed

LIN8-1163 : fsl-t2xxx: bootcheck_warning testing failed on standard kernel

Created: Oct 19, 2015    Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Found In Version: 8.0
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: BSP

Description

     Start testcase bootcheck_warning testing      
kmemleak: 16 new suspected memory leaks (see /sys/kernel/debug/kmemleak)
<<start check Kernel WARNING in boot >>
********************
root@2080rdb:/root# cat /var/log/dmesg.log |grep -i -B10 -A10 'WARNING' || return 0
[    0.421534] /pcie@ffe240000: PCICSRBAR @ 0xdf000007
[    0.425024] /pcie@ffe240000: Setup 64-bit PCI DMA window
[    0.429025] /pcie@ffe240000: DMA window size is 0xdf000007
[    0.433276] platform ffe240000.pcie:pcie@0: Invalid size 0xfffff9 for dma-range
[    0.439513] Found FSL PCI host bridge at 0x0000000ffe250000. Firmware bus number: 0->1
[    0.446048] PCI host bridge /pcie@ffe250000  ranges:
[    0.449694]  MEM 0x0000000c20000000..0x0000000c2fffffff -> 0x00000000e0000000 
[    0.455613]   IO 0x0000000ff8010000..0x0000000ff801ffff -> 0x0000000000000000
[    0.461449] /pcie@ffe250000: PCICSRBAR @ 0xff000007
[    0.464999] /pcie@ffe250000: Setup 64-bit PCI DMA window
[    0.469001] /pcie@ffe250000: WARNING: Outbound window cfg leaves gaps in memory map. Adjusting the memory map could reduce unnecessary bounce buffering.
[    0.481353] /pcie@ffe250000: DMA window size is 0xe0000000
[    0.485592] platform ffe250000.pcie:pcie@0: Invalid size 0xfffff9 for dma-range
[    0.491888] platform ffe270000.pcie:pcie@0: Invalid size 0xfffff9 for dma-range
[    0.515585] software IO TLB [mem 0xf0e00000-0xf4e00000] (64MB) mapped at [c0000000f0e00000-c0000000f4dfffff]
[    0.524221] PCI: Probing PCI hardware
[    0.526646] fsl-pci ffe240000.pcie: PCI host bridge to bus 0000:00
[    0.531544] pci_bus 0000:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x0000-0xffff])
[    0.539210] pci_bus 0000:00: root bus resource [mem 0xc00000000-0xc1fffffff] (bus address [0xe0000000-0xffffffff])
[    0.548192] pci_bus 0000:00: root bus resource [bus 00-01]
[    0.552357] pci_bus 0000:00: busn_res: [bus 00-01] end is updated to ff
--
[   12.905690] EDAC DEBUG: edac_create_sysfs_mci_device: creating dimm1, located at csrow 1 channel 0 
[   12.905869] EDAC DEBUG: edac_create_dimm_object: creating rank/dimm device rank1
[   12.905881] EDAC DEBUG: edac_create_csrow_object: creating (virtual) csrow node csrow0
[   12.906048] EDAC DEBUG: edac_create_csrow_object: creating (virtual) csrow node csrow1
[   12.906237] EDAC MC0: Giving out device to module MPC85xx_edac controller mpc85xx_mc_err: DEV mpc85xx_mc_err (INTERRUPT)
[   12.916678] MPC85xx_edac acquired irq 490 for MC
[   12.921007] MPC85xx_edac MC err registered
[   13.128507] md: bind<mmcblk0p1>
[   16.586569] NET: Registered protocol family 15

[   16.985791] tcf-agent: WARNING listening on port for commands to monitor/modify the system.
<<end check Kernel WARNING in boot >>
********************
<<clean subcase>>
********************

bootcheck_warning test results:
*1 check Kernel WARNING in boot (do_test1)                     FAIL  
ERROR CMD OR INFO IS :
		line:21 "There is kernel WARNING in the boot"
Test Summary
Total number : 1
Pass number  : 0
Fail number  : 1
Skip number  : 0
Excution Time: 9 seconds
          End testcase bootcheck_warning testing

Steps to Reproduce

Test case Author:  lei.yang
------------------
Product update date(Spin):
------------------
spin=GIT_20151020
------------------
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 Tue Oct 20 09:41:05 CST 2015
wrlinux-x/wrlinux-x/wrlinux/configure --enable-board=fsl-t2xxx --enable-kernel=standard --enable-rootfs=glibc-std --with-layer=/folk/lchi1/wrlinux/wr-testing/bts-dev --with-template=feature/bts --enable-jobs=32 --enable-parallel-pkgbuilds=32 --enable-reconfig=yes --enable-prelink=no --with-rcpl-version=0

Build Configuration:
----------------------------
BB_VERSION        = "1.28.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
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           = "master:2060ab95291c7d7d1806beb4a3e0161a9be0881c"
wrlcompat         = "master:b6409e8e2b990ea6b62e067ecc288ce54ce0fd6d"
wr-sdk-toolchain  = "master:1b3f1f910e79486438cb75827e129b87501ee304"
wr-tcwrappers     = "master:ccfc4f8c3dadc2f5a8e0ef7864a5f8026ddae213"
meta              = "wr-8.0-20151016:9e41ab0097786b80f99f935439487aecf1e8bbbc"
oe-core-dl-1.7    = "master:daac25b4c0fa6dbafc9311924a7e0540f2a35ac3"
meta-downloads    = "master:986cd9ff84484b1ff5bc801a2002f73edb3c6c34"
wr-kernel         = "master:1bf73bbc4147bc8c872625d341d20beb651086c9"
fsl-t2xxx         = "master:b156b7cec5bb2273b45dd61b8e174fe3700a8c36"
wr-base           = "master:1749fcb407e4644be4524fc5dd0137f8a74f03c0"
wr-fixes          = "master:eed1fd441f1aca9624a4642bac90d3a120e38ab3"
wr-tools-profile  = "master:b6af7b9cf4e6b02270421334e0a233db05f87695"
wr-tools-debug    = "master:c307715e864eab1340f61e2dab49867aac01a76d"
meta-filesystems  
meta-initramfs    
meta-gnome        
meta-multimedia   
meta-networking   
meta-oe           
meta-python       
meta-perl         
meta-webserver    
meta-xfce         = "wr-8.0-20151016:097c305db699b37d95c366702fea8026df315689"
wr-prebuilts      = "master:152e4960d828a1daefdccb0b31b0917178161b3e"
bts-dev           = "master:e56a8a441870e1efa859f2ca1e1ad0de6a6bb7aa"

----------------------------------------------------------------------

Kernel source top 10 commits:
----------------------------
Andi Kleen 3479060 perf/x86: Add a native_perf_sched_clock_from_tsc() Mon Oct 19 10:18:16 2015 +0800
Andi Kleen e490d6e perf: Add cycles to branch_info Mon Oct 19 10:18:14 2015 +0800
Stephane Eranian 69f5b95 perf: add new PERF_SAMPLE_BRANCH_IND_JUMP branch sample type Mon Oct 19 10:18:13 2015 +0800
Geliang Tang 6e9a237 perf/x86: Change test_aperfmperf() and test_intel() to static Mon Oct 19 10:18:13 2015 +0800
Andi Kleen 7b99fc6 perf/x86/intel: Fix Skylake FRONTEND MSR extrareg mask Mon Oct 19 10:18:12 2015 +0800
Andi Kleen d1d6e92 perf/x86/intel/pebs: Add PEBS frontend profiling for Skylake Mon Oct 19 10:18:12 2015 +0800
Andi Kleen 16fe0b0 perf/x86/intel: Make the CYCLE_ACTIVITY.* constraint on Broadwell more specific Mon Oct 19 10:18:12 2015 +0800
Peter Zijlstra 9e70b68 perf/x86/intel: Fix constraint access Mon Oct 19 10:18:11 2015 +0800
Alexander Shishkin 4eb0c6c perf/x86/intel/bts: Set event->hw.itrace_started in pmu::start to match the new logic Mon Oct 19 10:18:11 2015 +0800
Takao Indoh d93acfc perf/x86/intel/pt: Clean up files of Intel Processor Trace Mon Oct 19 10:18:10 2015 +0800

Kernel config enabled by the testing layer:
------------------------------------------
CONFIG_DEBUG_KMEMLEAK=y
CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=5000
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

Kernel Boot Parameter:
---------------------
root@2080rdb:/root# cat /proc/cmdline
root=/dev/nfs rw nfsroot=128.224.178.20:/export/pxeboot/vlm-boards/21919/rootfs TCF=1 ip=128.224.178.34:128.224.178.20:128.224.178.1:255.255.254.0:2080rdb:eth2:off console=ttyS0,115200 usb-storage.delay_use=10 selinux=0 enforcing=0

To reproduce it:
---------------
# /opt/wr-test/testcases/bts/bootcheck_warning/runtest.sh
WRL Test Completed Unsuccessfully
rlogWrite/*tc*//*tc*/oot@2080rdb:~# 
Live chat
Online