[Kernel-packages] [Bug 1618203] Re: missing memory slot at /sys/bus/memory/devices when starting memory size is not a multiple of block size
Based on Gerald's comment (thanks for that), I'm closing this ticket again. ** Changed in: ubuntu-z-systems Status: New => Invalid ** Changed in: linux (Ubuntu) Status: New => 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/1618203 Title: missing memory slot at /sys/bus/memory/devices when starting memory size is not a multiple of block size Status in Ubuntu on IBM z Systems: Invalid Status in linux package in Ubuntu: Invalid Bug description: == Comment: #0 - Ofer Baruch - 2016-08-28 07:41:53 == When you set the memory size of a Ubuntu Guest to a number which is not a multiple of the memory block size (in our case 256MB) there are missing memory slots at /sys/bus/memory/devices. for example setting memory like this: STORAGE = 2704M MAX = 15000M INC = 8M STANDBY = 512M RESERVED = 512M will cause memory slot 10 to be missing: root@UBU9LT1:/sys/bus/memory/devices# ll total 0 drwxr-xr-x 2 root root 0 Aug 24 09:43 ./ drwxr-xr-x 4 root root 0 Aug 24 09:43 ../ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory0 -> ../../../devices/system/memory/memory0/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory1 -> ../../../devices/system/memory/memory1/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory11 -> ../../../devices/system/memory/memory11/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory12 -> ../../../devices/system/memory/memory12/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory13 -> ../../../devices/system/memory/memory13/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory2 -> ../../../devices/system/memory/memory2/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory3 -> ../../../devices/system/memory/memory3/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory4 -> ../../../devices/system/memory/memory4/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory5 -> ../../../devices/system/memory/memory5/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory6 -> ../../../devices/system/memory/memory6/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory7 -> ../../../devices/system/memory/memory7/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory8 -> ../../../devices/system/memory/memory8/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory9 -> ../../../devices/system/memory/memory9/ lsmem shows: root@UBU9LT1:/sys/bus/memory/devices# lsmem -a Address Range Size (MB) StateRemovable Device === 0x-0x0fff256 online no 0-31 0x1000-0x1fff256 online yes32-63 0x2000-0x2fff256 online yes64-95 0x3000-0x3fff256 online yes96-127 0x4000-0x4fff256 online yes128-159 0x5000-0x5fff256 online yes160-191 0x6000-0x6fff256 online yes192-223 0x7000-0x7fff256 online no 224-255 0x8000-0x8fff256 online yes256-287 0x9000-0x9fff256 online no 288-319 0xb000-0xbfff256 offline - 352-383 0xc000-0xcfff256 offline - 384-415 0xd000-0xdfff256 offline - 416-447 although there is 1GB of memory in standby and reserved i can only vary online 768MB as there are only 3 offline blocks... there should be 4 blocks available... specifically block number 10 is missing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1618203/+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 1618203] Re: missing memory slot at /sys/bus/memory/devices when starting memory size is not a multiple of block size
** Changed in: ubuntu-z-systems Assignee: Andy Whitcroft (apw) => Canonical Kernel Team (canonical-kernel-team) -- 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/1618203 Title: missing memory slot at /sys/bus/memory/devices when starting memory size is not a multiple of block size Status in Ubuntu on IBM z Systems: New Status in linux package in Ubuntu: New Bug description: == Comment: #0 - Ofer Baruch - 2016-08-28 07:41:53 == When you set the memory size of a Ubuntu Guest to a number which is not a multiple of the memory block size (in our case 256MB) there are missing memory slots at /sys/bus/memory/devices. for example setting memory like this: STORAGE = 2704M MAX = 15000M INC = 8M STANDBY = 512M RESERVED = 512M will cause memory slot 10 to be missing: root@UBU9LT1:/sys/bus/memory/devices# ll total 0 drwxr-xr-x 2 root root 0 Aug 24 09:43 ./ drwxr-xr-x 4 root root 0 Aug 24 09:43 ../ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory0 -> ../../../devices/system/memory/memory0/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory1 -> ../../../devices/system/memory/memory1/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory11 -> ../../../devices/system/memory/memory11/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory12 -> ../../../devices/system/memory/memory12/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory13 -> ../../../devices/system/memory/memory13/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory2 -> ../../../devices/system/memory/memory2/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory3 -> ../../../devices/system/memory/memory3/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory4 -> ../../../devices/system/memory/memory4/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory5 -> ../../../devices/system/memory/memory5/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory6 -> ../../../devices/system/memory/memory6/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory7 -> ../../../devices/system/memory/memory7/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory8 -> ../../../devices/system/memory/memory8/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory9 -> ../../../devices/system/memory/memory9/ lsmem shows: root@UBU9LT1:/sys/bus/memory/devices# lsmem -a Address Range Size (MB) StateRemovable Device === 0x-0x0fff256 online no 0-31 0x1000-0x1fff256 online yes32-63 0x2000-0x2fff256 online yes64-95 0x3000-0x3fff256 online yes96-127 0x4000-0x4fff256 online yes128-159 0x5000-0x5fff256 online yes160-191 0x6000-0x6fff256 online yes192-223 0x7000-0x7fff256 online no 224-255 0x8000-0x8fff256 online yes256-287 0x9000-0x9fff256 online no 288-319 0xb000-0xbfff256 offline - 352-383 0xc000-0xcfff256 offline - 384-415 0xd000-0xdfff256 offline - 416-447 although there is 1GB of memory in standby and reserved i can only vary online 768MB as there are only 3 offline blocks... there should be 4 blocks available... specifically block number 10 is missing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1618203/+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 1618203] Re: missing memory slot at /sys/bus/memory/devices when starting memory size is not a multiple of block size
** Changed in: ubuntu-z-systems 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/1618203 Title: missing memory slot at /sys/bus/memory/devices when starting memory size is not a multiple of block size Status in Ubuntu on IBM z Systems: New Status in linux package in Ubuntu: New Bug description: == Comment: #0 - Ofer Baruch - 2016-08-28 07:41:53 == When you set the memory size of a Ubuntu Guest to a number which is not a multiple of the memory block size (in our case 256MB) there are missing memory slots at /sys/bus/memory/devices. for example setting memory like this: STORAGE = 2704M MAX = 15000M INC = 8M STANDBY = 512M RESERVED = 512M will cause memory slot 10 to be missing: root@UBU9LT1:/sys/bus/memory/devices# ll total 0 drwxr-xr-x 2 root root 0 Aug 24 09:43 ./ drwxr-xr-x 4 root root 0 Aug 24 09:43 ../ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory0 -> ../../../devices/system/memory/memory0/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory1 -> ../../../devices/system/memory/memory1/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory11 -> ../../../devices/system/memory/memory11/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory12 -> ../../../devices/system/memory/memory12/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory13 -> ../../../devices/system/memory/memory13/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory2 -> ../../../devices/system/memory/memory2/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory3 -> ../../../devices/system/memory/memory3/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory4 -> ../../../devices/system/memory/memory4/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory5 -> ../../../devices/system/memory/memory5/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory6 -> ../../../devices/system/memory/memory6/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory7 -> ../../../devices/system/memory/memory7/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory8 -> ../../../devices/system/memory/memory8/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory9 -> ../../../devices/system/memory/memory9/ lsmem shows: root@UBU9LT1:/sys/bus/memory/devices# lsmem -a Address Range Size (MB) StateRemovable Device === 0x-0x0fff256 online no 0-31 0x1000-0x1fff256 online yes32-63 0x2000-0x2fff256 online yes64-95 0x3000-0x3fff256 online yes96-127 0x4000-0x4fff256 online yes128-159 0x5000-0x5fff256 online yes160-191 0x6000-0x6fff256 online yes192-223 0x7000-0x7fff256 online no 224-255 0x8000-0x8fff256 online yes256-287 0x9000-0x9fff256 online no 288-319 0xb000-0xbfff256 offline - 352-383 0xc000-0xcfff256 offline - 384-415 0xd000-0xdfff256 offline - 416-447 although there is 1GB of memory in standby and reserved i can only vary online 768MB as there are only 3 offline blocks... there should be 4 blocks available... specifically block number 10 is missing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1618203/+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 1618203] Re: missing memory slot at /sys/bus/memory/devices when starting memory size is not a multiple of block size
** Changed in: ubuntu-z-systems Assignee: (unassigned) => Andy Whitcroft (apw) -- 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/1618203 Title: missing memory slot at /sys/bus/memory/devices when starting memory size is not a multiple of block size Status in Ubuntu on IBM z Systems: New Status in linux package in Ubuntu: New Bug description: == Comment: #0 - Ofer Baruch - 2016-08-28 07:41:53 == When you set the memory size of a Ubuntu Guest to a number which is not a multiple of the memory block size (in our case 256MB) there are missing memory slots at /sys/bus/memory/devices. for example setting memory like this: STORAGE = 2704M MAX = 15000M INC = 8M STANDBY = 512M RESERVED = 512M will cause memory slot 10 to be missing: root@UBU9LT1:/sys/bus/memory/devices# ll total 0 drwxr-xr-x 2 root root 0 Aug 24 09:43 ./ drwxr-xr-x 4 root root 0 Aug 24 09:43 ../ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory0 -> ../../../devices/system/memory/memory0/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory1 -> ../../../devices/system/memory/memory1/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory11 -> ../../../devices/system/memory/memory11/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory12 -> ../../../devices/system/memory/memory12/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory13 -> ../../../devices/system/memory/memory13/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory2 -> ../../../devices/system/memory/memory2/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory3 -> ../../../devices/system/memory/memory3/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory4 -> ../../../devices/system/memory/memory4/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory5 -> ../../../devices/system/memory/memory5/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory6 -> ../../../devices/system/memory/memory6/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory7 -> ../../../devices/system/memory/memory7/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory8 -> ../../../devices/system/memory/memory8/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory9 -> ../../../devices/system/memory/memory9/ lsmem shows: root@UBU9LT1:/sys/bus/memory/devices# lsmem -a Address Range Size (MB) StateRemovable Device === 0x-0x0fff256 online no 0-31 0x1000-0x1fff256 online yes32-63 0x2000-0x2fff256 online yes64-95 0x3000-0x3fff256 online yes96-127 0x4000-0x4fff256 online yes128-159 0x5000-0x5fff256 online yes160-191 0x6000-0x6fff256 online yes192-223 0x7000-0x7fff256 online no 224-255 0x8000-0x8fff256 online yes256-287 0x9000-0x9fff256 online no 288-319 0xb000-0xbfff256 offline - 352-383 0xc000-0xcfff256 offline - 384-415 0xd000-0xdfff256 offline - 416-447 although there is 1GB of memory in standby and reserved i can only vary online 768MB as there are only 3 offline blocks... there should be 4 blocks available... specifically block number 10 is missing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1618203/+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 1618203] Re: missing memory slot at /sys/bus/memory/devices when starting memory size is not a multiple of block size
** Also affects: ubuntu-z-systems Importance: Undecided Status: New -- 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/1618203 Title: missing memory slot at /sys/bus/memory/devices when starting memory size is not a multiple of block size Status in Ubuntu on IBM z Systems: New Status in linux package in Ubuntu: New Bug description: == Comment: #0 - Ofer Baruch - 2016-08-28 07:41:53 == When you set the memory size of a Ubuntu Guest to a number which is not a multiple of the memory block size (in our case 256MB) there are missing memory slots at /sys/bus/memory/devices. for example setting memory like this: STORAGE = 2704M MAX = 15000M INC = 8M STANDBY = 512M RESERVED = 512M will cause memory slot 10 to be missing: root@UBU9LT1:/sys/bus/memory/devices# ll total 0 drwxr-xr-x 2 root root 0 Aug 24 09:43 ./ drwxr-xr-x 4 root root 0 Aug 24 09:43 ../ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory0 -> ../../../devices/system/memory/memory0/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory1 -> ../../../devices/system/memory/memory1/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory11 -> ../../../devices/system/memory/memory11/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory12 -> ../../../devices/system/memory/memory12/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory13 -> ../../../devices/system/memory/memory13/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory2 -> ../../../devices/system/memory/memory2/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory3 -> ../../../devices/system/memory/memory3/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory4 -> ../../../devices/system/memory/memory4/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory5 -> ../../../devices/system/memory/memory5/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory6 -> ../../../devices/system/memory/memory6/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory7 -> ../../../devices/system/memory/memory7/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory8 -> ../../../devices/system/memory/memory8/ lrwxrwxrwx 1 root root 0 Aug 24 09:43 memory9 -> ../../../devices/system/memory/memory9/ lsmem shows: root@UBU9LT1:/sys/bus/memory/devices# lsmem -a Address Range Size (MB) StateRemovable Device === 0x-0x0fff256 online no 0-31 0x1000-0x1fff256 online yes32-63 0x2000-0x2fff256 online yes64-95 0x3000-0x3fff256 online yes96-127 0x4000-0x4fff256 online yes128-159 0x5000-0x5fff256 online yes160-191 0x6000-0x6fff256 online yes192-223 0x7000-0x7fff256 online no 224-255 0x8000-0x8fff256 online yes256-287 0x9000-0x9fff256 online no 288-319 0xb000-0xbfff256 offline - 352-383 0xc000-0xcfff256 offline - 384-415 0xd000-0xdfff256 offline - 416-447 although there is 1GB of memory in standby and reserved i can only vary online 768MB as there are only 3 offline blocks... there should be 4 blocks available... specifically block number 10 is missing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1618203/+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