Comment 3 for bug 1659618

Revision history for this message
Manoj Iyer (manjo) wrote :

[TESTING ON ARM64 HARDWARE]

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

$ sudo apt-add-repository ppa:manjo/kexec-tools
$ sudo apt update
$ sudo apt install kexec-tools
$ kexec --version
kexec-tools 2.0.10 released 26 January 2017

$ ls /boot
abi-4.7.0-2-generic grub System.map-4.7.0-2-generic
config-4.7.0-2-generic initrd.img vmlinuz
efi initrd.img-4.7.0-2-generic vmlinuz-4.7.0-2-generic

$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.7.0-2-generic root=UUID=4f520e6e-6b21-460e-9c2b-332b188e393b ro splash quiet vt.handoff=7

$ sudo kexec -l /boot/vmlinuz-4.7.0-2-generic --initrd=/boot/initrd.img-4.7.0-2-generic --command-line="root=UUID=4f520e6e-6b21-460e-9c2b-332b188e393b ro vt.handoff=7"

$ sudo kexec -e
[ 76.658975] kexec_core: Starting new kernel
[ 0.000000] Booting Linux on physical CPU 0x200
[ 0.000000] Linux version 4.7.0-2-generic (buildd@bos01-arm64-008) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #5~pdaw1.1+<redacted>.2-Ubuntu SMP Fri Jan 13 18:38:31 UTC 2017 (Ubuntu 4.7.0-2.5~pdaw1.1+<redacted>.2-generic 4.7.0)
[ 0.000000] Boot CPU: AArch64 Processor [510f8000]

$ uname -a
Linux pdaw1 4.7.0-2-generic #5~pdaw1.1+<redacted>.2-Ubuntu SMP Fri Jan 13 18:38:31 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux

$ cat /proc/cmdline
root=UUID=4f520e6e-6b21-460e-9c2b-332b188e393b ro vt.handoff=7