** Information type changed from Proprietary to Public

** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Artful)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Artful)
       Status: New => Fix Released

** Changed in: intel
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1704323

Title:
  [Bug] Crystal Ridge - 4.12 - libnvdimm, pfn: fix 'npfns' vs section
  alignment

Status in intel:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Artful:
  Fix Released

Bug description:
  Description:
  Fix failures to create namespaces due to the vmem_altmap not advertising
  enough free space to store the memmap.

  WARNING: CPU: 15 PID: 8022 at arch/x86/mm/init_64.c:656 
arch_add_memory+0xde/0xf0
  [..]
  Call Trace:
  dump_stack+0x63/0x83
  __warn+0xcb/0xf0
  warn_slowpath_null+0x1d/0x20
  arch_add_memory+0xde/0xf0
  devm_memremap_pages+0x244/0x440
  pmem_attach_disk+0x37e/0x490 [nd_pmem]
  nd_pmem_probe+0x7e/0xa0 [nd_pmem]
  nvdimm_bus_probe+0x71/0x120 [libnvdimm]
  driver_probe_device+0x2bb/0x460
  bind_store+0x114/0x160
  drv_attr_store+0x25/0x30

  In commit 658922e57b84 "libnvdimm, pfn: fix memmap reservation sizing"
  we arranged for the capacity to be allocated, but failed to also update
  the 'npfns' parameter. This leads to cases where there is enough
  capacity reserved to hold all the allocated sections, but
  vmemmap_populate_hugepages() still encounters -ENOMEM from
  altmap_alloc_block_buf().

  This fix is a stop-gap until we can teach the core memory hotplug
  implementation to permit sub-section hotplug.

  Target Kernel:4.12
  Target Release: 17.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1704323/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to