Fixed
Created: Mar 12, 2018
Updated: Dec 3, 2018
Resolved Date: Mar 15, 2018
Found In Version: 9.0.0.15
Fix Version: 9.0.0.15
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Kernel
Some of LTP test cases failed in nightly testing on Mar 12
/opt/ltp/wrLinux_ltp/wr-runltp -f mm
<<wr-runltp Test Plan>>
LTP scenario group list : mm
Checking for required user/group ids
<<<test_start>>>
tag=oom01 stime=1520799286
cmdline="oom01"
contacts=""
analysis=exit
<<<test_output>>>
oom01 0 TINFO : set overcommit_memory to 2
oom01 0 TINFO : thread (7fc5a662d700), allocating 3221225472 bytes.
oom01 0 TINFO : thread (7fc5a6e2e700), allocating 3221225472 bytes.
...
oom01 0 TINFO : thread (7fc062625700), allocating 3221225472 bytes.
oom01 0 TINFO : thread (7fbee1e24700), allocating 3221225472 bytes.
oom01 0 TINFO : set overcommit_memory to 2
oom01 0 TINFO : expected victim is 47641.
oom01 1 TPASS : victim retcode: (12) Cannot allocate memory
oom01 0 TINFO : set overcommit_memory to 0
oom01 0 TINFO : thread (7fc5a6e2e700), allocating 3221225472 bytes.
oom01 0 TINFO : thread (7fc5a662d700), allocating 3221225472 bytes.
...
oom01 0 TINFO : thread (7fa24edfe700), allocating 3221225472 bytes.
oom01 0 TINFO : thread (7fa18e5fd700), allocating 3221225472 bytes.
oom01 0 TINFO oom01 invoked oom-killer: gfp_mask=0x24280ca(GFP_HIGHUSER_MOVABLE|__GFP_ZERO), order=0, oom_score_adj=0
oom01 cpuset=/ mems_allowed=0-1
CPU: 14 PID: 47720 Comm: oom01 Not tainted 4.8.28-WR9.0.0.15_standard #1
Hardware name: Intel Corp. GRANTLEY/GRANTLEY, BIOS SE5C610.86B.01.01.0008.021120151325 02/11/2015
BUG: unable to handle kernel NULL pointer dereference at 0000000000000018
IP: [<ffffffff8101ef86>] show_stack_log_lvl+0x16/0x1b0
PGD 8000000836c73067 PUD 835730067 PMD 0
Oops: 0000 [#1] PREEMPT SMP
Modules linked in: dummy tun intel_rapl sb_edac edac_core x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul crct10dif_common aesni_intel aes_x86_64 glue_helper lrw gf128mul ablk_helper iTCO_wdt cryptd iTCO_vendor_support i2c_i801 lpc_ich i2c_smbus wmi tpm_tis tpm_tis_core acpi_power_meter acpi_pad
CPU: 14 PID: 47720 Comm: oom01 Not tainted 4.8.28-WR9.0.0.15_standard #1
Hardware name: Intel Corp. GRANTLEY/GRANTLEY, BIOS SE5C610.86B.01.01.0008.021120151325 02/11/2015
task: ffff880835a19c80 task.stack: ffffc9001f3cc000
RIP: 0010:[<ffffffff8101ef86>] [<ffffffff8101ef86>] show_stack_log_lvl+0x16/0x1b0
RSP: 0000:ffffc9001f3cfb10 EFLAGS: 00010082
RAX: 0000000000000061 RBX: 0000000000000286 RCX: ffffc9001f3cfb78
RDX: ffffc9001f3cfb70 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9001f3cfb60 R08: ffffffff81eed3c9 R09: 0000000000000006
R10: 0000000000000000 R11: 0000000000003f9e R12: 0000000000000000
R13: ffffc9001f3cfd60 R14: 0000000000fb7a92 R15: ffffffff81ed27b1
FS: 00007f95865ed700(0000) GS:ffff88085ef80000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000018 CR3: 0000000850898000 CR4: 0000000000160670
Stack:
BUG: unable to handle kernel NULL pointer dereference at 0000000000000018
IP: [<ffffffff8101ef86>] show_stack_log_lvl+0x16/0x1b0
PGD 8000000836c73067 PUD 835730067 PMD 0
Oops: 0000 [#2] PREEMPT SMP
Modules linked in: dummy tun intel_rapl sb_edac edac_core x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul crct10dif_common aesni_intel aes_x86_64 glue_helper lrw gf128mul ablk_helper iTCO_wdt cryptd iTCO_vendor_support i2c_i801 lpc_ich i2c_smbus wmi tpm_tis tpm_tis_core acpi_power_meter acpi_pad
...
CPU: 14 PID: 47720 Comm: oom01 Not tainted 4.8.28-WR9.0.0.15_standard #1
Hardware name: Intel Corp. GRANTLEY/GRANTLEY, BIOS SE5C610.86B.01.01.0008.021120151325 02/11/2015
task: ffff880835a19c80 task.stack: ffffc9001f3cc000
RIP: 0010:[<ffffffff8101ef86>] [<ffffffff8101ef86>] show_stack_log_lvl+0x16/0x1b0
RSP: 0000:ffffc9001f3cc758 EFLAGS: 00010092
RAX: 0000000000000006 RBX: ffffc9001f3cc988 RCX: 0000000000000000
RDX: ffffc9001f3cca38 RSI: ffffc9001f3cc988 RDI: 0000000000000000
RBP: ffffc9001f3cc7a8 R08: ffffffff81eb247c R09: 0000000000000006
R10: ffff88103d85d440 R11: 00000000000040f4 R12: ffffc9001f3cca38
R13: ffffc9001f3cc988 R14: 0000000000000018 R15: 0000000000000040
FS: 00007f95865ed700(0000) GS:ffff88085ef80000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000018 CR3: 0000000850898000 CR4: 0000000000160670
git clone --branch WRLINUX_9_LTS_CVE git://pek-git.wrs.com/wrlinux-x wrlinux-9
1. /buildarea1/nightly/WRL9/product_install/wrlinux-9/setup.sh --machines=intel-x86-64 --kernel=standard --machines=intel-x86-64 --kernel=standard --dl-layers --accept-eula=yes --dl-layers && source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build
2. DEBUG: bitbake-layers add-layer /lpg-build/cdc/WASSP_LINUX_90/testcases/wrlinux/wr-testing/kts-dev && echo require templates/feature/ltp/template.conf >> conf/local.conf && echo IMAGE_FSTYPES += \"tar.bz2\" >> conf/local.conf &&echo BB_NO_NETWORK_pn-lmbench = \"0\" >> conf/local.conf
3. bitbake wrlinux-image-glibc-std
4. /opt/ltp/wrLinux_ltp/wr-runltp -f mm