DLPAR - Memory add operation fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
powerpc-ibm-utils (Ubuntu) |
Fix Released
|
Undecided
|
Taco Screen team | ||
Trusty |
Triaged
|
High
|
Adam Conrad |
Bug Description
---Problem Description---
DLPAR - Memory add operation fails
---uname output---
3.19.0-18-generic
Machine Type = POWER8
---Steps to Reproduce---
1) Using latest daily ISO install 14.04.02 as a Power VM guest
2) Upgrade the kernel to 3.19 level (3.19.0-18-generic)
3) Ensure ksh and powerpc-ibm-utils packages are installed.
4) Download following DLPAR packages from http://
devices.
dynamicrm_
rsct.core_
rsct.core.
src_3.2.
5) Install the packages.
6) Perform a add memory operation via HMC
The operation fails with following message:
The dynamic partitioning operation failed. - alp9
The dynamic addition of memory resources failed:
location failed for drc 80000172 with -9001
Valid outstanding translations exist.
Unexpected error (src/drmgr/
Allocation failed for drc 80000173 with -9001
Valid outstanding translations exist.
Unexpected error (src/drmgr/
Allocation failed for drc 80000174 with -9001
Valid outstanding translations exist.
Unexpected error (src/drmgr/
Allocation failed for drc 80000175 with -9001
Valid outstanding translations exist.
Unexpected error (src/drmgr/
Allocation failed for drc 80000176 with -9001
.......
.......
Following kernel warning can also be seen in kernel logs :
[ 2086.358528] section number 3210 page number 100 not reserved, was it already online?
[ 2086.358954] online_pages [mem 0xc80000000-
[ 2088.983151] ------------[ cut here ]------------
[ 2088.983154] WARNING: at /build/
[ 2088.983155] Modules linked in: bnx2x mdio libcrc32c rpadlpar_io rpaphp rtc_generic pseries_rng
[ 2088.983165] CPU: 1 PID: 5867 Comm: systemd-udevd Not tainted 3.19.0-18-generic #18~14.04.1-Ubuntu
[ 2088.983168] task: c0000000fcc8bac0 ti: c0000000fce24000 task.ti: c0000000fce24000
[ 2088.983169] NIP: c000000000668f34 LR: c0000000006699b0 CTR: 0000000000000000
[ 2088.983171] REGS: c0000000fce27910 TRAP: 0700 Not tainted (3.19.0-18-generic)
[ 2088.983172] MSR: 8000000000029033 <SF,EE,
[ 2088.983178] CFAR: c000000000668ed8 SOFTE: 1
[ 2088.983178] GPR00: c0000000006699b0 c0000000fce27b90 c00000000144c760 0000000000000001
[ 2088.983178] GPR04: 0000000000000c95 0000000000000100 00000000000ca000 f000000003254000
[ 2088.983178] GPR08: c0000000013ac760 0000000000000001 000000000000c950 00000000003fffff
[ 2088.983178] GPR12: c00000000172cb00 c000000007b30900 0000010033ce0010 0000000000000000
[ 2088.983178] GPR16: 0000000010032230 00000000100311d0 00003fffcdd01fb0 0000000000000003
[ 2088.983178] GPR20: 00003fffcdd06a10 00000000100322b0 0000000001312d00 0000010033d0ab20
[ 2088.983178] GPR24: 00000000100322d0 00003fffcdd01fb0 c0000000fce27e00 0000000000000000
[ 2088.983178] GPR28: 0000000000001000 0000000000000000 00000000000c9000 00000000000c9500
[ 2088.983199] NIP [c000000000668f34] pages_correctly
[ 2088.983201] LR [c0000000006699b0] memory_
[ 2088.983202] Call Trace:
[ 2088.983203] [c0000000fce27b90] [0000000000000006] 0x6 (unreliable)
[ 2088.983206] [c0000000fce27c00] [c0000000006699b0] memory_
[ 2088.983208] [c0000000fce27c40] [c0000000006476f4] device_
[ 2088.983210] [c0000000fce27c80] [c00000000066987c] store_mem_
[ 2088.983212] [c0000000fce27cc0] [c000000000643618] dev_attr_
[ 2088.983215] [c0000000fce27d00] [c00000000035afd0] sysfs_kf_
[ 2088.983217] [c0000000fce27d40] [c000000000359f0c] kernfs_
[ 2088.983220] [c0000000fce27d90] [c0000000002b450c] vfs_write+
[ 2088.983222] [c0000000fce27de0] [c0000000002b53bc] SyS_write+
[ 2088.983225] [c0000000fce27e30] [c000000000009258] system_
[ 2088.983226] Instruction dump:
[ 2088.983227] 419e0024 788a2428 7d095214 2fa80000 41de0014 7d29502a 38e74000 7928ffe3
[ 2088.983230] 4082ff7c 3d02fff6 892808e3 69290001 <0b090000> 2fa90000 40de0068 38600000
[ 2088.983234] ---[ end trace 4d71c6f643fed65a ]---
[ 2088.983657] online_pages [mem 0xc90000000-
[ 2091.419306] online_pages [mem 0xca0000000-
root@alp9:/var/log# lssrc -a
Subsystem Group PID Status
ctrmc rsct 5528 active
IBM.ServiceRM rsct_rm 5616 active
IBM.DRM rsct_rm 5628 active
IBM.HostRM rsct_rm 5690 active
IBM.MgmtDomainRM rsct_rm 5729 active
ctcas rsct inoperative
IBM.ERRM rsct_rm inoperative
IBM.AuditRM rsct_rm inoperative
IBM.SensorRM rsct_rm inoperative
I was able to successfully add and remove memory using the latest git pull of the powerpc-utils package. This is a known issue in that we need to provide Ubuntu with a cherry picked list of patches that they need to pick up. The version of powerpc-utils installed is 3 (soon to be 4) releases old and there have been several memory hotplug and LE fixes that have gone in.
List of commit id's for the patches we need to have pulled in.
09630ae59954de0
7bc6978561aa994
948bbf83b43c9a3
7f1ba6f2cefbc72
acfa92352e3b2bd
cacaab1631651eb
dd25be513fb5e31
019291552d6af9e
b8afd967c9f4fe2
15b063dc3a41a64
c0e88a73b556ac6
e12d18c28acb428
51f927e5caff80d
ac4b16e40fe9120
tags: |
added: targetmilestone-inin14043 removed: targetmilestone-inin--- |
affects: | ubuntu → powerpc-utils (Ubuntu) |
Changed in powerpc-utils (Ubuntu): | |
assignee: | nobody → Taco Screen team (taco-screen-team) |
Default Comment by Bridge