Wind River Support Network

HomeDefectsLIN7-1820
Not to be fixed

LIN7-1820 : inte-broadwell-64/32: kmem leak in i40e card testing

Created: Nov 18, 2014    Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Found In Version: 7.0
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: BSP

Description

root@SDP_Wildcat_Pass-3-C1:/root# cat /sys/kernel/debug/kmemleak |grep -B10 -A50 'kmemleak_alloc' ||exit 0
unreferenced object 0xffff8803c77d0d80 (size 32):
  comm "modprobe", pid 1239, jiffies 4294710707 (age 76.711s)
  hex dump (first 32 bytes):
    00 00 00 00 01 00 00 00 88 0d 7d c7 03 88 ff ff  ..........}.....
    88 0d 7d c7 03 88 ff ff 00 00 00 00 00 00 00 00  ..}.............
  backtrace:
    [<ffffffff819fa2e6>] kmemleak_alloc+0x26/0x50
    [<ffffffff81174280>] kmem_cache_alloc_trace+0x1f0/0x2e0
    [<ffffffffa42f2a5c>] 0xffffffffa42f2a5c
    [<ffffffffa42ac9a5>] 0xffffffffa42ac9a5
    [<ffffffffa440126c>] 0xffffffffa440126c
    [<ffffffff81000332>] do_one_initcall+0xf2/0x150
    [<ffffffff810ca3f8>] load_module+0x1998/0x2200
    [<ffffffff810cadae>] SyS_finit_module+0x7e/0x80
    [<ffffffff81a06196>] system_call_fastpath+0x1a/0x1f
    [<ffffffffffffffff>] 0xffffffffffffffff
<<end check kmemleak>>
********************

details: 

http://pek-rth-vm1.wrs.com/publiclog/WASSP_LOG/pek-lpgtest4.wrs.com/twang0/40g-log/ethernet_check_mac/intel-haswell-64_platform/Wildcast_Pass.preemptrt.10G_I40E_eth2.true.glibcstd.buildarea3wasspstabletestcaseswrlinuxutilsfrags/target_22604.platform_B3E1R0_20141118_080712.log

Steps to Reproduce

Project Configure Line:
# Generated by wrlinux configure at Tue Nov 18 13:37:10 CST 2014
wrlinux-7/wrlinux/configure --enable-board=intel-haswell-64 --enable-kernel=preempt-rt --enable-rootfs=glibc-std --enable-parallel-pkgbuilds=30 --enable-jobs=30 --with-layer=wrlinux-newnew/wr-testing/bts-dev,wr-dpdk,wr-qat --with-template=feature/bts --enable-reconfig=yes --with-rcpl-version=0

Kernel Boot Parameter:
root@SDP_Wildcat_Pass-3-C1:/root# cat /proc/cmdline
console=ttyS0,115200 TCF=1 root=/dev/nfs nfsroot=xxxx:/export/xxx/22604/rootfs rw ip=dhcp mem=16G

Kernel source top 10 commits:
Eric W. Biederman e9b0a83 mnt: Prevent pivot_root from creating a loop in the mount tree Fri Nov 14 00:33:05 2014 -0800
fupan li d344160 set DMA_API_DEBUG feature depending on !PREEMPT_RT_FULL Fri Nov 14 00:20:02 2014 -0800
yadi.hu@windriver.com 28101b0 Fix build error Thu Nov 13 21:47:26 2014 -0800
yadi.hu@windriver.com e8d31d3 drm/i915:Fix a type cast error Thu Nov 13 20:56:39 2014 -0800
yadi.hu@windriver.com 6cba364 mpt2sas: Fix a warning '_ctl_mutex' defined but not used Thu Nov 13 20:56:31 2014 -0800
yadi.hu@windriver.com d9957ca use/serial:Fix a warning: 'return' with a value, in function returning void Thu Nov 13 20:56:15 2014 -0800
yadi.hu@windriver.com 41e5fdf ACPI / video: fix ACPI_VIDEO dependencies Thu Nov 13 20:56:08 2014 -0800
Victor Kamensky 33810f7 ARM: 8043/1: uprobes need icache flush after xol write Thu Nov 13 19:33:55 2014 -0800
Lai Jiangshan 5664f55 workqueue: narrow the protection range of manager_mutex Thu Nov 13 19:20:59 2014 -0800
Lai Jiangshan 212bafb workqueue: convert worker_idr to worker_ida Thu Nov 13 19:20:59 2014 -0800

Test Env:
-eth0 is used by system boot(Maybe NFS)
-Pick inteface eth2 for testing,it's driver is i40e
-----------------------------------------------

boot target 
/opt/wr-test/testcases/bts/ethernet_check_mac/runtest.sh  -k 10G_I40E_eth2
Live chat
Online