Ubuntu 16.04.3 - call traces occurs when memory-hotplug test is run with 16Gb hugepages configured
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
In Progress
|
High
|
Canonical Kernel Team | ||
linux (Ubuntu) |
In Progress
|
High
|
Joseph Salisbury | ||
Artful |
In Progress
|
High
|
Joseph Salisbury |
Bug Description
Issue:
Call traces occurs when memory-hotplug script is run with 16Gb hugepages configured.
Environment:
ppc64le PowerVM Lpar
root@ltctuleta-
4.4.0-34-generic
root@ltctuleta-
AnonHugePages: 0 kB
HugePages_Total: 2
HugePages_Free: 2
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 16777216 kB
root@ltctuleta-
total used free shared buff/cache available
Mem: 85G 32G 52G 16M 193M 52G
Swap: 43G 0B 43G
Steps to reproduce:
1 - Download kernel source and enter to the directory- tools/testing/
2 - Run mem-on-off-test.sh script in it.
System gives call traces like:
offline_
online-offline 668
[ 57.552964] Unable to handle kernel paging request for data at address 0x00000028
[ 57.552977] Faulting instruction address: 0xc00000000029bc04
[ 57.552987] Oops: Kernel access of bad area, sig: 11 [#1]
[ 57.552992] SMP NR_CPUS=2048 NUMA pSeries
[ 57.553002] Modules linked in: btrfs xor raid6_pq pseries_rng sunrpc autofs4 ses enclosure nouveau bnx2x i2c_algo_bit ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm vxlan ip6_udp_tunnel ipr udp_tunnel rtc_generic mdio libcrc32c
[ 57.553050] CPU: 44 PID: 6518 Comm: mem-on-off-test Not tainted 4.4.0-34-generic #53-Ubuntu
[ 57.553059] task: c00000072773c8e0 ti: c000000727780000 task.ti: c000000727780000
[ 57.553067] NIP: c00000000029bc04 LR: c00000000029bbdc CTR: c0000000001107f0
[ 57.553076] REGS: c000000727783770 TRAP: 0300 Not tainted (4.4.0-34-generic)
[ 57.553083] MSR: 8000000100009033 <SF,EE,
[ 57.553104] CFAR: c000000000008468 DAR: 0000000000000028 DSISR: 40000000 SOFTE: 1
GPR00: c00000000029bbdc c0000007277839f0 c0000000015b5d00 0000000000000000
GPR04: 000000000029d000 0000000000000800 0000000000000000 f00000000a000001
GPR08: f00000000a700020 0000000000000008 c00000000185e270 c000000e7e000050
GPR12: 0000000000002200 c00000000e6ea200 000000000029d000 0000000022000000
GPR16: 1000000000000000 c0000000015e2200 000000000a700000 0000000000000000
GPR20: 0000000000010000 0000000000000100 0000000000000200 c0000000015f16d0
GPR24: c000000001876510 0000000000000000 0000000000000001 c000000001872a00
GPR28: 000000000029d000 f000000000000000 f00000000a700000 000000000029c000
[ 57.553211] NIP [c00000000029bc04] dissolve_
[ 57.553219] LR [c00000000029bbdc] dissolve_
[ 57.553226] Call Trace:
[ 57.553231] [c0000007277839f0] [c00000000029bbdc] dissolve_
[ 57.553244] [c000000727783a80] [c0000000002dcbc8] __offline_
[ 57.553254] [c000000727783bd0] [c0000000006fbb38] memory_
[ 57.553265] [c000000727783c00] [c0000000006d6424] device_
[ 57.553274] [c000000727783c40] [c0000000006fba80] store_mem_
[ 57.553283] [c000000727783c80] [c0000000006d1e58] dev_attr_
[ 57.553293] [c000000727783cc0] [c000000000398110] sysfs_kf_
[ 57.553302] [c000000727783d00] [c000000000397028] kernfs_
[ 57.553312] [c000000727783d50] [c0000000002e190c] __vfs_write+
[ 57.553321] [c000000727783d90] [c0000000002e2640] vfs_write+
[ 57.553329] [c000000727783de0] [c0000000002e367c] SyS_write+
[ 57.553339] [c000000727783e30] [c000000000009204] system_
[ 57.553346] Instruction dump:
[ 57.553351] 7e831836 4bfff991 e91e0028 e8fe0020 7d32e82a f9070008 f8e80000 fabe0020
[ 57.553366] fade0028 79294620 79291764 7d234a14 <e9030028> 3908ffff f9030028 81091458
[ 57.553383] ---[ end trace 617f7bdd75bcfc10 ]---
[ 57.557133]
Segmentation fault
The following commit IDs were built into a 4.10.0-37-generic #41 test kernel and verified to fix the problem:
a525108cf1cc146
e1073d1e7920946
40692eb5eea209c
e24a1307ba1f99f
79cc38ded1e1ac8
4ae279c2c96ab38
tags: | added: architecture-ppc64le bugnameltc-145249 severity-high targetmilestone-inin16043 |
Changed in ubuntu: | |
assignee: | nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
affects: | ubuntu → linux (Ubuntu) |
Changed in ubuntu-power-systems: | |
importance: | Undecided → High |
assignee: | nobody → Canonical Kernel Team (canonical-kernel-team) |
Changed in linux (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in ubuntu-power-systems: | |
status: | New → Triaged |
tags: | added: triage-g |
summary: |
- Ubuntu 16.10/16.04.3 - call traces occurs when memory-hotplug test is - run with 16Gb hugepages configured + Ubuntu 16.04.3 - call traces occurs when memory-hotplug test is run with + 16Gb hugepages configured |
Changed in linux (Ubuntu): | |
assignee: | Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Canonical Kernel Team (canonical-kernel-team) |
tags: |
added: triage-a removed: triage-g |
Changed in ubuntu-power-systems: | |
status: | Triaged → Incomplete |
tags: | added: kernel-da-key |
Changed in linux (Ubuntu): | |
assignee: | Canonical Kernel Team (canonical-kernel-team) → Joseph Salisbury (jsalisbury) |
Changed in linux (Ubuntu Xenial): | |
assignee: | nobody → Joseph Salisbury (jsalisbury) |
Changed in linux (Ubuntu Zesty): | |
assignee: | nobody → Joseph Salisbury (jsalisbury) |
Changed in ubuntu-power-systems: | |
status: | Triaged → In Progress |
tags: |
added: triage-g removed: triage-a |
tags: | added: cscc |
tags: |
added: targetmilestone-inin1804 removed: targetmilestone-inin16043 |
------- Comment From <email address hidden> 2017-10-17 06:53 EDT-------
Patches submitted to mailing list.