kexec: arm64: Increase the upper limit for RAM segments

Bug #1663400 reported by Manoj Iyer
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kexec-tools (Debian)
Fix Released
Unknown
kexec-tools (Ubuntu)
Fix Released
Medium
Manoj Iyer
Xenial
Fix Released
Medium
Manoj Iyer
Yakkety
Fix Committed
Medium
Manoj Iyer

Bug Description

[Impact]
Currently kexec is unable to see all the "System RAM" recorded in /proc/iomem.

On a newer UEFI based Qualcomm target the number of system ram regions retrieved from /proc/iomem are ~40. Currently KEXEC_SEGMENT_MAX is set to 16, which represents the kexec segments passed to kexec_load syscall, like kernel image, initrd image etc. The patch increases the value to 64. This enables kexec to see all the "System RAM" as recorded in /proc/iomem.

[Test Case]
== System RAM reported by /proc/iomem ==
ubuntu@ubuntu:~$ sudo cat /proc/iomem | grep "System RAM"
00200000-0020ffff : System RAM
00820000-0307ffff : System RAM
03080000-0308ffff : System RAM
03090000-031fffff : System RAM
03200000-033fffff : System RAM
03410000-0589ffff : System RAM
058a0000-058affff : System RAM
058b0000-058bffff : System RAM
058c0000-0597ffff : System RAM
05980000-05987fff : System RAM
05988000-0598bfff : System RAM
0598c000-05a0ffff : System RAM
05a10000-05aaffff : System RAM
05ab0000-05ca0fff : System RAM
05ca1000-08caffff : System RAM
08cb0000-08cfffff : System RAM
08d00000-08edffff : System RAM
08ee0000-08ee0fff : System RAM
08ee1000-08ee3fff : System RAM
08ee4000-08eeffff : System RAM
08ef0000-092affff : System RAM
092b0000-092dffff : System RAM
092e0000-09422fff : System RAM
09423000-0949ffff : System RAM
094a0000-0957ffff : System RAM
09580000-0958cfff : System RAM
0958d000-098cffff : System RAM
098d0000-098d0fff : System RAM
098d1000-098dbfff : System RAM
098dc000-0e8bffff : System RAM
0e8c0000-0e8effff : System RAM
0e8f0000-0fffffff : System RAM
10800000-17feffff : System RAM
1c020000-1c7fffff : System RAM
1c800000-1c80ffff : System RAM
1c810000-7efbffff : System RAM
7efc0000-7efdffff : System RAM
7efe0000-7efeffff : System RAM
7eff0000-7effffff : System RAM
7f000000-17ffffffff : System RAM
ubuntu@ubuntu:~$

== BEFORE PATCH: System RAM reported by kexec ==
ubuntu@ubuntu:~$ sudo kexec -d -l /boot/vmlinuz-4.7.0-2-generic --reuse-cmd --initrd=/boot/initrd.img-4.7.0-2-generic | grep "System RAM"
get_memory_ranges_iomem_cb: 0000000000200000 - 000000000020ffff : System RAM
get_memory_ranges_iomem_cb: 0000000000820000 - 000000000307ffff : System RAM
get_memory_ranges_iomem_cb: 0000000003080000 - 000000000308ffff : System RAM
get_memory_ranges_iomem_cb: 0000000003090000 - 00000000031fffff : System RAM
get_memory_ranges_iomem_cb: 0000000003200000 - 00000000033fffff : System RAM
get_memory_ranges_iomem_cb: 0000000003410000 - 000000000589ffff : System RAM
get_memory_ranges_iomem_cb: 00000000058a0000 - 00000000058affff : System RAM
get_memory_ranges_iomem_cb: 00000000058b0000 - 00000000058bffff : System RAM
get_memory_ranges_iomem_cb: 00000000058c0000 - 000000000597ffff : System RAM
get_memory_ranges_iomem_cb: 0000000005980000 - 0000000005987fff : System RAM
get_memory_ranges_iomem_cb: 0000000005988000 - 000000000598bfff : System RAM
get_memory_ranges_iomem_cb: 000000000598c000 - 0000000005a0ffff : System RAM
get_memory_ranges_iomem_cb: 0000000005a10000 - 0000000005aaffff : System RAM
get_memory_ranges_iomem_cb: 0000000005ab0000 - 0000000005ca0fff : System RAM
get_memory_ranges_iomem_cb: 0000000005ca1000 - 0000000008caffff : System RAM
get_memory_ranges_iomem_cb: 0000000008cb0000 - 0000000008cfffff : System RAM

==AFTER PATCH: System RAM reported by kexec ==
ubuntu@ubuntu:~$ sudo kexec -d -l /boot/vmlinuz-4.7.0-2-generic --reuse-cmd --initrd=/boot/initrd.img-4.7.0-2-generic | grep "System RAM"
get_memory_ranges_iomem_cb: 0000000000200000 - 000000000020ffff : System RAM
get_memory_ranges_iomem_cb: 0000000000820000 - 000000000307ffff : System RAM
get_memory_ranges_iomem_cb: 0000000003080000 - 000000000308ffff : System RAM
get_memory_ranges_iomem_cb: 0000000003090000 - 00000000031fffff : System RAM
get_memory_ranges_iomem_cb: 0000000003200000 - 00000000033fffff : System RAM
get_memory_ranges_iomem_cb: 0000000003410000 - 000000000589ffff : System RAM
get_memory_ranges_iomem_cb: 00000000058a0000 - 00000000058affff : System RAM
get_memory_ranges_iomem_cb: 00000000058b0000 - 00000000058bffff : System RAM
get_memory_ranges_iomem_cb: 00000000058c0000 - 000000000597ffff : System RAM
get_memory_ranges_iomem_cb: 0000000005980000 - 0000000005987fff : System RAM
get_memory_ranges_iomem_cb: 0000000005988000 - 000000000598bfff : System RAM
get_memory_ranges_iomem_cb: 000000000598c000 - 0000000005a0ffff : System RAM
get_memory_ranges_iomem_cb: 0000000005a10000 - 0000000005aaffff : System RAM
get_memory_ranges_iomem_cb: 0000000005ab0000 - 0000000005ca0fff : System RAM
get_memory_ranges_iomem_cb: 0000000005ca1000 - 0000000008caffff : System RAM
get_memory_ranges_iomem_cb: 0000000008cb0000 - 0000000008cfffff : System RAM
get_memory_ranges_iomem_cb: 0000000008d00000 - 0000000008edffff : System RAM
get_memory_ranges_iomem_cb: 0000000008ee0000 - 0000000008ee0fff : System RAM
get_memory_ranges_iomem_cb: 0000000008ee1000 - 0000000008ee3fff : System RAM
get_memory_ranges_iomem_cb: 0000000008ee4000 - 0000000008eeffff : System RAM
get_memory_ranges_iomem_cb: 0000000008ef0000 - 00000000092affff : System RAM
get_memory_ranges_iomem_cb: 00000000092b0000 - 00000000092dffff : System RAM
get_memory_ranges_iomem_cb: 00000000092e0000 - 0000000009422fff : System RAM
get_memory_ranges_iomem_cb: 0000000009423000 - 000000000949ffff : System RAM
get_memory_ranges_iomem_cb: 00000000094a0000 - 000000000957ffff : System RAM
get_memory_ranges_iomem_cb: 0000000009580000 - 000000000958cfff : System RAM
get_memory_ranges_iomem_cb: 000000000958d000 - 00000000098cffff : System RAM
get_memory_ranges_iomem_cb: 00000000098d0000 - 00000000098d0fff : System RAM
get_memory_ranges_iomem_cb: 00000000098d1000 - 00000000098dbfff : System RAM
get_memory_ranges_iomem_cb: 00000000098dc000 - 000000000e8bffff : System RAM
get_memory_ranges_iomem_cb: 000000000e8c0000 - 000000000e8effff : System RAM
get_memory_ranges_iomem_cb: 000000000e8f0000 - 000000000fffffff : System RAM
get_memory_ranges_iomem_cb: 0000000010800000 - 0000000017feffff : System RAM
get_memory_ranges_iomem_cb: 000000001c020000 - 000000001c7fffff : System RAM
get_memory_ranges_iomem_cb: 000000001c800000 - 000000001c80ffff : System RAM
get_memory_ranges_iomem_cb: 000000001c810000 - 000000007efbffff : System RAM
get_memory_ranges_iomem_cb: 000000007efc0000 - 000000007efdffff : System RAM
get_memory_ranges_iomem_cb: 000000007efe0000 - 000000007efeffff : System RAM
get_memory_ranges_iomem_cb: 000000007eff0000 - 000000007effffff : System RAM
get_memory_ranges_iomem_cb: 000000007f000000 - 00000017ffffffff : System RAM

[Regression Potential]
Since patches are confined to arm[64] there is a low overall risk of regression.

Manoj Iyer (manjo)
description: updated
description: updated
Revision history for this message
Manoj Iyer (manjo) wrote :
Download full text (4.4 KiB)

[TEST with yakkety kexec-tools]

ubuntu@ubuntu:~$ sudo cat /proc/iomem | grep "System RAM"
00200000-0020ffff : System RAM
00820000-0307ffff : System RAM
03080000-0308ffff : System RAM
03090000-031fffff : System RAM
03200000-033fffff : System RAM
03410000-0589ffff : System RAM
058a0000-058affff : System RAM
058b0000-058bffff : System RAM
058c0000-0597ffff : System RAM
05980000-05987fff : System RAM
05988000-0598bfff : System RAM
0598c000-05a0ffff : System RAM
05a10000-05aaffff : System RAM
05ab0000-05ca0fff : System RAM
05ca1000-08caffff : System RAM
08cb0000-08cfffff : System RAM
08d00000-08edffff : System RAM
08ee0000-08ee0fff : System RAM
08ee1000-08ee3fff : System RAM
08ee4000-08eeffff : System RAM
08ef0000-092affff : System RAM
092b0000-092dffff : System RAM
092e0000-09422fff : System RAM
09423000-0949ffff : System RAM
094a0000-0957ffff : System RAM
09580000-0958cfff : System RAM
0958d000-098cffff : System RAM
098d0000-098d0fff : System RAM
098d1000-098dbfff : System RAM
098dc000-0e8bffff : System RAM
0e8c0000-0e8effff : System RAM
0e8f0000-0fffffff : System RAM
10800000-17feffff : System RAM
1c020000-1c7fffff : System RAM
1c800000-1c80ffff : System RAM
1c810000-7efbffff : System RAM
7efc0000-7efdffff : System RAM
7efe0000-7efeffff : System RAM
7eff0000-7effffff : System RAM
7f000000-17ffffffff : System RAM
ubuntu@ubuntu:~$

ubuntu@ubuntu:~$ sudo kexec -d -l /boot/vmlinuz-4.7.0-2-generic --reuse-cmd --initrd=/boot/initrd.img-4.7.0-2-generic

get_memory_ranges_iomem_cb: 0000000000200000 - 000000000020ffff : System RAM
get_memory_ranges_iomem_cb: 0000000000820000 - 000000000307ffff : System RAM
get_memory_ranges_iomem_cb: 0000000003080000 - 000000000308ffff : System RAM
get_memory_ranges_iomem_cb: 0000000003090000 - 00000000031fffff : System RAM
get_memory_ranges_iomem_cb: 0000000003200000 - 00000000033fffff : System RAM
get_memory_ranges_iomem_cb: 0000000003410000 - 000000000589ffff : System RAM
get_memory_ranges_iomem_cb: 00000000058a0000 - 00000000058affff : System RAM
get_memory_ranges_iomem_cb: 00000000058b0000 - 00000000058bffff : System RAM
get_memory_ranges_iomem_cb: 00000000058c0000 - 000000000597ffff : System RAM
get_memory_ranges_iomem_cb: 0000000005980000 - 0000000005987fff : System RAM
get_memory_ranges_iomem_cb: 0000000005988000 - 000000000598bfff : System RAM
get_memory_ranges_iomem_cb: 000000000598c000 - 0000000005a0ffff : System RAM
get_memory_ranges_iomem_cb: 0000000005a10000 - 0000000005aaffff : System RAM
get_memory_ranges_iomem_cb: 0000000005ab0000 - 0000000005ca0fff : System RAM
get_memory_ranges_iomem_cb: 0000000005ca1000 - 0000000008caffff : System RAM
get_memory_ranges_iomem_cb: 0000000008cb0000 - 0000000008cfffff : System RAM
get_memory_ranges_iomem_cb: 0000000008d00000 - 0000000008edffff : System RAM
get_memory_ranges_iomem_cb: 0000000008ee0000 - 0000000008ee0fff : System RAM
get_memory_ranges_iomem_cb: 0000000008ee1000 - 0000000008ee3fff : System RAM
get_memory_ranges_iomem_cb: 0000000008ee4000 - 0000000008eeffff : System RAM
get_memory_ranges_iomem_cb: 0000000008ef0000 - 00000000092affff : System RAM
get_memory_ranges_iomem_cb: 00000000092b0000 - 00000000092dffff : System RAM
get_memory_ranges_iomem_cb: 00000...

Read more...

dann frazier (dannf)
summary: - [SRU] kexec: Increase the upper limit for RAM segments
+ [SRU] kexec: arm64: Increase the upper limit for RAM segments
Manoj Iyer (manjo)
summary: - [SRU] kexec: arm64: Increase the upper limit for RAM segments
+ kexec: arm64: Increase the upper limit for RAM segments
Changed in kexec-tools (Ubuntu Xenial):
assignee: nobody → Manoj Iyer (manjo)
Changed in kexec-tools (Ubuntu Yakkety):
assignee: nobody → Manoj Iyer (manjo)
Changed in kexec-tools (Ubuntu Xenial):
status: New → In Progress
Changed in kexec-tools (Ubuntu Yakkety):
status: New → In Progress
Changed in kexec-tools (Ubuntu):
status: New → In Progress
Changed in kexec-tools (Debian):
status: Unknown → New
Revision history for this message
Manoj Iyer (manjo) wrote :
Download full text (6.6 KiB)

The attached patch is for:

* kexec: Increase the upper limit for RAM segments (LP: #1663400)

This patch applies cleanly on Zesty kexec-tools: https://pastebin.ubuntu.com/23995216/

[TESTING with Zesty kexec-tools on hardware]
ubuntu@ubuntu:~$ dpkg -l | grep kexec-tools
ii kexec-tools 1:2.0.14-1ubuntu2.1 arm64 tools to support fast kexec reboots
ubuntu@ubuntu:~$

ubuntu@ubuntu:~$ sudo kexec -d -l /boot/vmlinuz-4.7.0-2-generic --reuse-cmd --initrd=/boot/initrd.img-4.7.0-2-generic
arch_process_options:141: command_line: root=UUID=6c2f8a0a-5a0a-4f7b-8427-6e119e950aaa ro splash quiet vt.handoff=7
arch_process_options:143: initrd: /boot/initrd.img-4.7.0-2-generic
arch_process_options:144: dtb: (null)
Try gzip decompression.
kernel: 0xffffa9e5e010 kernel_size: 0xf36800
get_memory_ranges_iomem_cb: 0000000000200000 - 000000000020ffff : System RAM
get_memory_ranges_iomem_cb: 0000000000820000 - 000000000307ffff : System RAM
get_memory_ranges_iomem_cb: 0000000003080000 - 000000000308ffff : System RAM
get_memory_ranges_iomem_cb: 0000000003090000 - 00000000031fffff : System RAM
get_memory_ranges_iomem_cb: 0000000003200000 - 00000000033fffff : System RAM
get_memory_ranges_iomem_cb: 0000000003410000 - 000000000589ffff : System RAM
get_memory_ranges_iomem_cb: 00000000058a0000 - 00000000058affff : System RAM
get_memory_ranges_iomem_cb: 00000000058b0000 - 00000000058bffff : System RAM
get_memory_ranges_iomem_cb: 00000000058c0000 - 000000000597ffff : System RAM
get_memory_ranges_iomem_cb: 0000000005980000 - 0000000005987fff : System RAM
get_memory_ranges_iomem_cb: 0000000005988000 - 000000000598bfff : System RAM
get_memory_ranges_iomem_cb: 000000000598c000 - 0000000005a0ffff : System RAM
get_memory_ranges_iomem_cb: 0000000005a10000 - 0000000005aaffff : System RAM
get_memory_ranges_iomem_cb: 0000000005ab0000 - 0000000005ca0fff : System RAM
get_memory_ranges_iomem_cb: 0000000005ca1000 - 0000000008caffff : System RAM
get_memory_ranges_iomem_cb: 0000000008cb0000 - 0000000008cfffff : System RAM
get_memory_ranges_iomem_cb: 0000000008d00000 - 0000000008edffff : System RAM
get_memory_ranges_iomem_cb: 0000000008ee0000 - 0000000008ee0fff : System RAM
get_memory_ranges_iomem_cb: 0000000008ee1000 - 0000000008ee3fff : System RAM
get_memory_ranges_iomem_cb: 0000000008ee4000 - 0000000008eeffff : System RAM
get_memory_ranges_iomem_cb: 0000000008ef0000 - 00000000092affff : System RAM
get_memory_ranges_iomem_cb: 00000000092b0000 - 00000000092dffff : System RAM
get_memory_ranges_iomem_cb: 00000000092e0000 - 0000000009422fff : System RAM
get_memory_ranges_iomem_cb: 0000000009423000 - 000000000949ffff : System RAM
get_memory_ranges_iomem_cb: 00000000094a0000 - 000000000957ffff : System RAM
get_memory_ranges_iomem_cb: 0000000009580000 - 000000000958cfff : System RAM
get_memory_ranges_iomem_cb: 000000000958d000 - 00000000098cffff : System RAM
get_memory_ranges_iomem_cb: 00000000098d0000 - 00000000098d0fff : System RAM
get_memory_ranges_iomem_cb: 00000000098d1000 - 00000000098dbfff : System RAM
get_memory_ranges_iomem_cb: 00000000098dc000 - 000000000e8bffff : System RAM
get_memory_ranges_iomem_cb: 000000000e8c0000 - 000000000e8effff : Sys...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kexec-tools - 1:2.0.14-1ubuntu3

---------------
kexec-tools (1:2.0.14-1ubuntu3) zesty; urgency=medium

  * kexec: Increase the upper limit for RAM segments (LP: #1663400)

 -- Manoj Iyer <email address hidden> Tue, 14 Feb 2017 14:00:14 +0000

Changed in kexec-tools (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Manoj, or anyone else affected,

Accepted kexec-tools into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/kexec-tools/1:2.0.10-2ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in kexec-tools (Ubuntu Yakkety):
status: In Progress → Fix Committed
tags: added: verification-needed
Changed in kexec-tools (Ubuntu Xenial):
status: In Progress → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Manoj, or anyone else affected,

Accepted kexec-tools into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/kexec-tools/1:2.0.10-1ubuntu2.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Mathew Hodson (mhodson)
Changed in kexec-tools (Ubuntu):
importance: Undecided → Medium
Changed in kexec-tools (Ubuntu Xenial):
importance: Undecided → Medium
Changed in kexec-tools (Ubuntu Yakkety):
importance: Undecided → Medium
Revision history for this message
Manoj Iyer (manjo) wrote :

$ sudo cat /proc/iomem | grep "System RAM"
00d00000-fffecfff : System RAM
100000000-1ff369bfff : System RAM
1ff36b6000-1ff36b9fff : System RAM
1ff36bb000-1ff36c5fff : System RAM
1ff36d7000-1ffa7b8fff : System RAM
1ffac31000-1ffac47fff : System RAM
1ffac49000-1ffc404fff : System RAM
1ffc406000-1ffc588fff : System RAM
1ffcfc2000-1ffeac1fff : System RAM
1ffeae0000-1ffeafcfff : System RAM
1ffebb2000-1fff0fffff : System RAM

$ sudo kexec -d -l /boot/vmlinuz-4.10.0-20-generic --reuse-cmd --initrd=/boot/initrd.img-4.10.0-20-generic | grep "System RAM"
arch_process_options:141: command_line: root=UUID=872f9ad6-19e8-48d7-b109-0024974284b6 ro iommu.passthrough=1
arch_process_options:143: initrd: /boot/initrd.img-4.10.0-20-generic
arch_process_options:144: dtb: (null)
Try gzip decompression.
kernel: 0xffffabc0d010 kernel_size: 0x12ab200
get_memory_ranges_iomem_cb: 0000000000d00000 - 00000000fffecfff : System RAM
get_memory_ranges_iomem_cb: 0000000100000000 - 0000001ff369bfff : System RAM
get_memory_ranges_iomem_cb: 0000001ff36b6000 - 0000001ff36b9fff : System RAM
get_memory_ranges_iomem_cb: 0000001ff36bb000 - 0000001ff36c5fff : System RAM
get_memory_ranges_iomem_cb: 0000001ff36d7000 - 0000001ffa7b8fff : System RAM
get_memory_ranges_iomem_cb: 0000001ffac31000 - 0000001ffac47fff : System RAM
get_memory_ranges_iomem_cb: 0000001ffac49000 - 0000001ffc404fff : System RAM
get_memory_ranges_iomem_cb: 0000001ffc406000 - 0000001ffc588fff : System RAM
get_memory_ranges_iomem_cb: 0000001ffcfc2000 - 0000001ffeac1fff : System RAM
get_memory_ranges_iomem_cb: 0000001ffeae0000 - 0000001ffeafcfff : System RAM
get_memory_ranges_iomem_cb: 0000001ffebb2000 - 0000001fff0fffff : System RAM

tags: added: verification-done
removed: verification-needed
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Please mention which versions were tested and re-mark verification-done-RELEASE in the tags.

tags: added: verification-needed
removed: verification-done
Revision history for this message
Manoj Iyer (manjo) wrote :

$ dpkg -l | grep kexec-tools
ii kexec-tools 1:2.0.10-2ubuntu1.2 arm64 tools to support fast kexec reboots

$ sudo cat /proc/iomem | grep "System RAM"
00820000-0307ffff : System RAM
03090000-031fffff : System RAM
03410000-0402ffff : System RAM
04040000-0549ffff : System RAM
054c4000-054c8fff : System RAM
084de000-0854ffff : System RAM
085f0000-0866ffff : System RAM
08710000-0877ffff : System RAM
08820000-08a7ffff : System RAM
09160000-0918ffff : System RAM
09280000-0928cfff : System RAM
0967c000-0e65ffff : System RAM
0e690000-0fffffff : System RAM
10800000-17feffff : System RAM
1c010000-1c7fffff : System RAM
1c810000-7efbffff : System RAM
7efe0000-7efeffff : System RAM
7f000000-17ffffffff : System RAM

$ sudo kexec -d -l /boot/vmlinuz-4.10.0-22-generic --reuse-cmd --initrd=/boot/vmlinuz-4.10.0-22-generic | grep "System RAM"
arch_process_options:141: command_line: root=UUID=968531c2-2cee-41ca-9fb4-9975a1a8bb70 ro module_blacklist=at803x splash quiet vt.handoff=7
arch_process_options:143: initrd: /boot/vmlinuz-4.10.0-22-generic
arch_process_options:144: dtb: (null)
Try gzip decompression.
kernel: 0xffffa122f010 kernel_size: 0x12bc200
get_memory_ranges_iomem_cb: 0000000000820000 - 000000000307ffff : System RAM
get_memory_ranges_iomem_cb: 0000000003090000 - 00000000031fffff : System RAM
get_memory_ranges_iomem_cb: 0000000003410000 - 000000000402ffff : System RAM
get_memory_ranges_iomem_cb: 0000000004040000 - 000000000549ffff : System RAM
get_memory_ranges_iomem_cb: 00000000054c4000 - 00000000054c8fff : System RAM
get_memory_ranges_iomem_cb: 00000000084de000 - 000000000854ffff : System RAM
get_memory_ranges_iomem_cb: 00000000085f0000 - 000000000866ffff : System RAM
get_memory_ranges_iomem_cb: 0000000008710000 - 000000000877ffff : System RAM
get_memory_ranges_iomem_cb: 0000000008820000 - 0000000008a7ffff : System RAM
get_memory_ranges_iomem_cb: 0000000009160000 - 000000000918ffff : System RAM
get_memory_ranges_iomem_cb: 0000000009280000 - 000000000928cfff : System RAM
get_memory_ranges_iomem_cb: 000000000967c000 - 000000000e65ffff : System RAM
get_memory_ranges_iomem_cb: 000000000e690000 - 000000000fffffff : System RAM
get_memory_ranges_iomem_cb: 0000000010800000 - 0000000017feffff : System RAM
get_memory_ranges_iomem_cb: 000000001c010000 - 000000001c7fffff : System RAM
get_memory_ranges_iomem_cb: 000000001c810000 - 000000007efbffff : System RAM
get_memory_ranges_iomem_cb: 000000007efe0000 - 000000007efeffff : System RAM
get_memory_ranges_iomem_cb: 000000007f000000 - 00000017ffffffff : System RAM

tags: added: verification-done-yakkety
removed: verification-needed
Revision history for this message
Manoj Iyer (manjo) wrote :

$ dpkg -l | grep kexec-tools
ii kexec-tools 1:2.0.10-1ubuntu2.2 arm64 tools to support fast kexec reboots

$ sudo cat /proc/iomem | grep "System RAM"
00820000-0307ffff : System RAM
03090000-031fffff : System RAM
03410000-0402ffff : System RAM
04040000-0549ffff : System RAM
054c4000-054c8fff : System RAM
084de000-0854ffff : System RAM
085f0000-0866ffff : System RAM
08710000-0877ffff : System RAM
08820000-08a7ffff : System RAM
09160000-0918ffff : System RAM
09280000-0928cfff : System RAM
0967c000-0e65ffff : System RAM
0e690000-0fffffff : System RAM
10800000-17feffff : System RAM
1c010000-1c7fffff : System RAM
1c810000-7efbffff : System RAM
7efe0000-7efeffff : System RAM
7f000000-17ffffffff : System RAM

$ sudo kexec -d -l /boot/vmlinuz-4.10.0-22-generic --reuse-cmd --initrd=/boot/vmlinuz-4.10.0-22-generic | grep "System RAM"
arch_process_options:141: command_line: root=UUID=968531c2-2cee-41ca-9fb4-9975a1a8bb70 ro module_blacklist=at803x splash quiet vt.handoff=7
arch_process_options:143: initrd: /boot/vmlinuz-4.10.0-22-generic
arch_process_options:144: dtb: (null)
Try gzip decompression.
kernel: 0xffff7c4ea010 kernel_size: 0x12bc200
get_memory_ranges_iomem_cb: 0000000000820000 - 000000000307ffff : System RAM
get_memory_ranges_iomem_cb: 0000000003090000 - 00000000031fffff : System RAM
get_memory_ranges_iomem_cb: 0000000003410000 - 000000000402ffff : System RAM
get_memory_ranges_iomem_cb: 0000000004040000 - 000000000549ffff : System RAM
get_memory_ranges_iomem_cb: 00000000054c4000 - 00000000054c8fff : System RAM
get_memory_ranges_iomem_cb: 00000000084de000 - 000000000854ffff : System RAM
get_memory_ranges_iomem_cb: 00000000085f0000 - 000000000866ffff : System RAM
get_memory_ranges_iomem_cb: 0000000008710000 - 000000000877ffff : System RAM
get_memory_ranges_iomem_cb: 0000000008820000 - 0000000008a7ffff : System RAM
get_memory_ranges_iomem_cb: 0000000009160000 - 000000000918ffff : System RAM
get_memory_ranges_iomem_cb: 0000000009280000 - 000000000928cfff : System RAM
get_memory_ranges_iomem_cb: 000000000967c000 - 000000000e65ffff : System RAM
get_memory_ranges_iomem_cb: 000000000e690000 - 000000000fffffff : System RAM
get_memory_ranges_iomem_cb: 0000000010800000 - 0000000017feffff : System RAM
get_memory_ranges_iomem_cb: 000000001c010000 - 000000001c7fffff : System RAM
get_memory_ranges_iomem_cb: 000000001c810000 - 000000007efbffff : System RAM
get_memory_ranges_iomem_cb: 000000007efe0000 - 000000007efeffff : System RAM
get_memory_ranges_iomem_cb: 000000007f000000 - 00000017ffffffff : System RAM

$ cat /etc/issue
Ubuntu 16.04.2 LTS \n \l

tags: added: verification-done-xenial
Changed in kexec-tools (Debian):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kexec-tools - 1:2.0.16-1ubuntu1~16.04.1

---------------
kexec-tools (1:2.0.16-1ubuntu1~16.04.1) xenial; urgency=low

  * Backport latest kexec-tools from bionic to xenial (LP: #1743529).

 -- Thadeu Lima de Souza Cascardo <email address hidden> Fri, 23 Feb 2018 12:11:36 -0300

Changed in kexec-tools (Ubuntu Xenial):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.