*** This bug is a duplicate of bug 1709171 ***
    https://bugs.launchpad.net/bugs/1709171

------- Comment From danie...@br.ibm.com 2017-10-03 20:03 EDT-------
Hi Nathan,

> I wouldn't consider this a duplicate of  1709171. The patch referred to in
> this bz is a more complete fix than just disabling the auto onlining of
> memory.
>
> The key thing to note is that  even if we disable auto onlining by default,
> a user can still enable this behavior through sysfs. If a user were to do
> that with the patch mentioned in this bug we would see the same behavior
> this bug was opened for.
>
> The patch referenced here makes a check to see if the memory is already
> online or offline before onling or offlining it.

I said that this is a duplicate of 1709171 because 1709171 reports and
fixes this issue, although I agree with you that a proper fix would be
to fix the auto onlining behavior instead of disabling it.

Unfortunately, it appears that your fix
(1a367063ca0c1c6f6f54b5abd7b4836b0866a07b) didn't make it to 4.13 so the
distros would need to backport it to allow the auto online to be enabled
without breaking LMB unplug in pseries. So, unless the distros are
willing to do this backport, disabling the option will have to suffice
until 4.14. Users will have to refrain from echoing sysfs to re-enable
mem auto-online until then.

Daniel

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1710922

Title:
  Ubuntu 17.10 ppc64el guest with MEMORY_HOTPLUG_DEFAULT_ONLINE=y gets a
  "kernel BUG at mm/memory_hotplug.c:2185" when hotplugging LMBs with
  QEMU upstream

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1710922/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to