[Kernel-packages] [Bug 1796839] Re: Only 64 Memory regions or dimms supported for Hotplug.
> Hello Canonical, > > Any comments on this? I'm afraid this bug has been closed out. If there are further questions, could you raise a new bug? Many thanks. -- 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/1796839 Title: Only 64 Memory regions or dimms supported for Hotplug. Status in The Ubuntu-power-systems project: Won't Fix Status in linux package in Ubuntu: Invalid Bug description: == Comment: #0 - HARIHARAN T. SUNDARESH REDDY - 2018-10-03 01:29:59 == Description : Hotplug is supported only for 64 dimms and the same is controlled by the sysfs parameter # cat /sys/module/vhost/parameters/max_mem_regions 64 However qemu supports 256 slots max. In my opinion max_mem_regions must be >= 256. log : 63 Device attached successfully<--- 63 times devices attached successfully, later all attach failed. 64 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left 65 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left 66 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left System Details : uname -a Linux ltc-fvttest 4.18.5-custom #1 SMP Wed Sep 26 12:11:51 CDT 2018 ppc64le ppc64le ppc64le GNU/Linux root@ltc-fvttest:/home/hariharan# cat /etc/os-release NAME="Ubuntu" VERSION="18.10 (Cosmic Cuttlefish)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu Cosmic Cuttlefish (development branch)" VERSION_ID="18.10" HOME_URL="https://www.ubuntu.com/"; SUPPORT_URL="https://help.ubuntu.com/"; BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"; PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"; VERSION_CODENAME=cosmic UBUNTU_CODENAME=cosmic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/1796839/+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
[Kernel-packages] [Bug 1796839] Re: Only 64 Memory regions or dimms supported for Hotplug.
Thanks. Closing bug out. ** Changed in: ubuntu-power-systems Status: Incomplete => Won't Fix ** Changed in: linux (Ubuntu) Status: Incomplete => Invalid -- 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/1796839 Title: Only 64 Memory regions or dimms supported for Hotplug. Status in The Ubuntu-power-systems project: Won't Fix Status in linux package in Ubuntu: Invalid Bug description: == Comment: #0 - HARIHARAN T. SUNDARESH REDDY - 2018-10-03 01:29:59 == Description : Hotplug is supported only for 64 dimms and the same is controlled by the sysfs parameter # cat /sys/module/vhost/parameters/max_mem_regions 64 However qemu supports 256 slots max. In my opinion max_mem_regions must be >= 256. log : 63 Device attached successfully<--- 63 times devices attached successfully, later all attach failed. 64 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left 65 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left 66 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left System Details : uname -a Linux ltc-fvttest 4.18.5-custom #1 SMP Wed Sep 26 12:11:51 CDT 2018 ppc64le ppc64le ppc64le GNU/Linux root@ltc-fvttest:/home/hariharan# cat /etc/os-release NAME="Ubuntu" VERSION="18.10 (Cosmic Cuttlefish)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu Cosmic Cuttlefish (development branch)" VERSION_ID="18.10" HOME_URL="https://www.ubuntu.com/"; SUPPORT_URL="https://help.ubuntu.com/"; BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"; PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"; VERSION_CODENAME=cosmic UBUNTU_CODENAME=cosmic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/1796839/+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
[Kernel-packages] [Bug 1796839] Re: Only 64 Memory regions or dimms supported for Hotplug.
IBM, Could you please advise us if this bug can now be closed on our end? Also please provide information on kernel version used? -- 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/1796839 Title: Only 64 Memory regions or dimms supported for Hotplug. Status in The Ubuntu-power-systems project: Incomplete Status in linux package in Ubuntu: Incomplete Bug description: == Comment: #0 - HARIHARAN T. SUNDARESH REDDY - 2018-10-03 01:29:59 == Description : Hotplug is supported only for 64 dimms and the same is controlled by the sysfs parameter # cat /sys/module/vhost/parameters/max_mem_regions 64 However qemu supports 256 slots max. In my opinion max_mem_regions must be >= 256. log : 63 Device attached successfully<--- 63 times devices attached successfully, later all attach failed. 64 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left 65 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left 66 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left System Details : uname -a Linux ltc-fvttest 4.18.5-custom #1 SMP Wed Sep 26 12:11:51 CDT 2018 ppc64le ppc64le ppc64le GNU/Linux root@ltc-fvttest:/home/hariharan# cat /etc/os-release NAME="Ubuntu" VERSION="18.10 (Cosmic Cuttlefish)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu Cosmic Cuttlefish (development branch)" VERSION_ID="18.10" HOME_URL="https://www.ubuntu.com/"; SUPPORT_URL="https://help.ubuntu.com/"; BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"; PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"; VERSION_CODENAME=cosmic UBUNTU_CODENAME=cosmic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/1796839/+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
[Kernel-packages] [Bug 1796839] Re: Only 64 Memory regions or dimms supported for Hotplug.
** Changed in: ubuntu-power-systems Status: Triaged => Incomplete -- 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/1796839 Title: Only 64 Memory regions or dimms supported for Hotplug. Status in The Ubuntu-power-systems project: Incomplete Status in linux package in Ubuntu: Incomplete Bug description: == Comment: #0 - HARIHARAN T. SUNDARESH REDDY - 2018-10-03 01:29:59 == Description : Hotplug is supported only for 64 dimms and the same is controlled by the sysfs parameter # cat /sys/module/vhost/parameters/max_mem_regions 64 However qemu supports 256 slots max. In my opinion max_mem_regions must be >= 256. log : 63 Device attached successfully<--- 63 times devices attached successfully, later all attach failed. 64 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left 65 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left 66 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left System Details : uname -a Linux ltc-fvttest 4.18.5-custom #1 SMP Wed Sep 26 12:11:51 CDT 2018 ppc64le ppc64le ppc64le GNU/Linux root@ltc-fvttest:/home/hariharan# cat /etc/os-release NAME="Ubuntu" VERSION="18.10 (Cosmic Cuttlefish)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu Cosmic Cuttlefish (development branch)" VERSION_ID="18.10" HOME_URL="https://www.ubuntu.com/"; SUPPORT_URL="https://help.ubuntu.com/"; BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"; PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"; VERSION_CODENAME=cosmic UBUNTU_CODENAME=cosmic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/1796839/+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
[Kernel-packages] [Bug 1796839] Re: Only 64 Memory regions or dimms supported for Hotplug.
Can you test that this works with the module parameter set to a different value? vhost.max_mem_regions=256 Thanks. Cascardo. -- 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/1796839 Title: Only 64 Memory regions or dimms supported for Hotplug. Status in The Ubuntu-power-systems project: Triaged Status in linux package in Ubuntu: Incomplete Bug description: == Comment: #0 - HARIHARAN T. SUNDARESH REDDY - 2018-10-03 01:29:59 == Description : Hotplug is supported only for 64 dimms and the same is controlled by the sysfs parameter # cat /sys/module/vhost/parameters/max_mem_regions 64 However qemu supports 256 slots max. In my opinion max_mem_regions must be >= 256. log : 63 Device attached successfully<--- 63 times devices attached successfully, later all attach failed. 64 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left 65 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left 66 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left System Details : uname -a Linux ltc-fvttest 4.18.5-custom #1 SMP Wed Sep 26 12:11:51 CDT 2018 ppc64le ppc64le ppc64le GNU/Linux root@ltc-fvttest:/home/hariharan# cat /etc/os-release NAME="Ubuntu" VERSION="18.10 (Cosmic Cuttlefish)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu Cosmic Cuttlefish (development branch)" VERSION_ID="18.10" HOME_URL="https://www.ubuntu.com/"; SUPPORT_URL="https://help.ubuntu.com/"; BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"; PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"; VERSION_CODENAME=cosmic UBUNTU_CODENAME=cosmic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/1796839/+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
[Kernel-packages] [Bug 1796839] Re: Only 64 Memory regions or dimms supported for Hotplug.
** Changed in: ubuntu-power-systems Status: Incomplete => Triaged -- 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/1796839 Title: Only 64 Memory regions or dimms supported for Hotplug. Status in The Ubuntu-power-systems project: Triaged Status in linux package in Ubuntu: Incomplete Bug description: == Comment: #0 - HARIHARAN T. SUNDARESH REDDY - 2018-10-03 01:29:59 == Description : Hotplug is supported only for 64 dimms and the same is controlled by the sysfs parameter # cat /sys/module/vhost/parameters/max_mem_regions 64 However qemu supports 256 slots max. In my opinion max_mem_regions must be >= 256. log : 63 Device attached successfully<--- 63 times devices attached successfully, later all attach failed. 64 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left 65 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left 66 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left System Details : uname -a Linux ltc-fvttest 4.18.5-custom #1 SMP Wed Sep 26 12:11:51 CDT 2018 ppc64le ppc64le ppc64le GNU/Linux root@ltc-fvttest:/home/hariharan# cat /etc/os-release NAME="Ubuntu" VERSION="18.10 (Cosmic Cuttlefish)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu Cosmic Cuttlefish (development branch)" VERSION_ID="18.10" HOME_URL="https://www.ubuntu.com/"; SUPPORT_URL="https://help.ubuntu.com/"; BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"; PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"; VERSION_CODENAME=cosmic UBUNTU_CODENAME=cosmic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/1796839/+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
[Kernel-packages] [Bug 1796839] Re: Only 64 Memory regions or dimms supported for Hotplug.
** Changed in: linux (Ubuntu) Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) => Canonical Kernel Team (canonical-kernel-team) ** Changed in: ubuntu-power-systems Status: New => Incomplete ** Changed in: linux (Ubuntu) Status: New => Incomplete ** Changed in: linux (Ubuntu) Importance: Undecided => Medium -- 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/1796839 Title: Only 64 Memory regions or dimms supported for Hotplug. Status in The Ubuntu-power-systems project: Incomplete Status in linux package in Ubuntu: Incomplete Bug description: == Comment: #0 - HARIHARAN T. SUNDARESH REDDY - 2018-10-03 01:29:59 == Description : Hotplug is supported only for 64 dimms and the same is controlled by the sysfs parameter # cat /sys/module/vhost/parameters/max_mem_regions 64 However qemu supports 256 slots max. In my opinion max_mem_regions must be >= 256. log : 63 Device attached successfully<--- 63 times devices attached successfully, later all attach failed. 64 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left 65 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left 66 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left System Details : uname -a Linux ltc-fvttest 4.18.5-custom #1 SMP Wed Sep 26 12:11:51 CDT 2018 ppc64le ppc64le ppc64le GNU/Linux root@ltc-fvttest:/home/hariharan# cat /etc/os-release NAME="Ubuntu" VERSION="18.10 (Cosmic Cuttlefish)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu Cosmic Cuttlefish (development branch)" VERSION_ID="18.10" HOME_URL="https://www.ubuntu.com/"; SUPPORT_URL="https://help.ubuntu.com/"; BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"; PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"; VERSION_CODENAME=cosmic UBUNTU_CODENAME=cosmic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/1796839/+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
[Kernel-packages] [Bug 1796839] Re: Only 64 Memory regions or dimms supported for Hotplug.
** Tags added: kernel-da-key -- 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/1796839 Title: Only 64 Memory regions or dimms supported for Hotplug. Status in The Ubuntu-power-systems project: New Status in linux package in Ubuntu: New Bug description: == Comment: #0 - HARIHARAN T. SUNDARESH REDDY - 2018-10-03 01:29:59 == Description : Hotplug is supported only for 64 dimms and the same is controlled by the sysfs parameter # cat /sys/module/vhost/parameters/max_mem_regions 64 However qemu supports 256 slots max. In my opinion max_mem_regions must be >= 256. log : 63 Device attached successfully<--- 63 times devices attached successfully, later all attach failed. 64 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left 65 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left 66 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left System Details : uname -a Linux ltc-fvttest 4.18.5-custom #1 SMP Wed Sep 26 12:11:51 CDT 2018 ppc64le ppc64le ppc64le GNU/Linux root@ltc-fvttest:/home/hariharan# cat /etc/os-release NAME="Ubuntu" VERSION="18.10 (Cosmic Cuttlefish)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu Cosmic Cuttlefish (development branch)" VERSION_ID="18.10" HOME_URL="https://www.ubuntu.com/"; SUPPORT_URL="https://help.ubuntu.com/"; BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"; PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"; VERSION_CODENAME=cosmic UBUNTU_CODENAME=cosmic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/1796839/+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
[Kernel-packages] [Bug 1796839] Re: Only 64 Memory regions or dimms supported for Hotplug.
I believe the "uname -a" output shows that this issue was observed with a custom, i.e. a non-Ubuntu, kernel. Could you confirm that the issue is seen with an unmodified Ubuntu kernel? Also, do you have a proposed (kernel?) patch that resolves this issue? Thanks. ** Also affects: ubuntu-power-systems Importance: Undecided Status: New ** Changed in: ubuntu-power-systems Importance: Undecided => Medium ** Package changed: sysfsutils (Ubuntu) => linux (Ubuntu) ** Changed in: ubuntu-power-systems Assignee: (unassigned) => Canonical Kernel Team (canonical-kernel-team) ** Tags added: triage-g -- 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/1796839 Title: Only 64 Memory regions or dimms supported for Hotplug. Status in The Ubuntu-power-systems project: New Status in linux package in Ubuntu: New Bug description: == Comment: #0 - HARIHARAN T. SUNDARESH REDDY - 2018-10-03 01:29:59 == Description : Hotplug is supported only for 64 dimms and the same is controlled by the sysfs parameter # cat /sys/module/vhost/parameters/max_mem_regions 64 However qemu supports 256 slots max. In my opinion max_mem_regions must be >= 256. log : 63 Device attached successfully<--- 63 times devices attached successfully, later all attach failed. 64 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left 65 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left 66 error: Failed to attach device from hp_mem.xml error: internal error: unable to execute QEMU command 'device_add': a used vhost backend has no free memory slots left System Details : uname -a Linux ltc-fvttest 4.18.5-custom #1 SMP Wed Sep 26 12:11:51 CDT 2018 ppc64le ppc64le ppc64le GNU/Linux root@ltc-fvttest:/home/hariharan# cat /etc/os-release NAME="Ubuntu" VERSION="18.10 (Cosmic Cuttlefish)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu Cosmic Cuttlefish (development branch)" VERSION_ID="18.10" HOME_URL="https://www.ubuntu.com/"; SUPPORT_URL="https://help.ubuntu.com/"; BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"; PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"; VERSION_CODENAME=cosmic UBUNTU_CODENAME=cosmic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/1796839/+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