Comment 7 for bug 1659618

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

[Testing on VM]
== Default kernel on Yakkety ==
ubuntu@test:~$ uname -a
Linux test 4.8.0-37-generic #39-Ubuntu SMP Thu Jan 26 02:26:41 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux
ubuntu@test:~$

== No kexec-tools for ARM64 ==
ubuntu@test:~$ sudo apt-get install kexec-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package kexec-tools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'kexec-tools' has no installation candidate
ubuntu@test:~$

== kexec-tools for yakkety with ARM64 support ==
ubuntu@test:~$ dpkg -l | grep kexec-tools
ii kexec-tools 1:2.0.10-2ubuntu1.1 arm64 tools to support fast kexec reboots
ubuntu@test:~$

== Kernel with kexec support ==
SRU pending: https://bugs.launchpad.net/bugs/1662554

ubuntu@test:~$ sudo file /boot/vmlinuz-4.8.0-38-generic
/boot/vmlinuz-4.8.0-38-generic: gzip compressed data, max compression, from Unix
ubuntu@test:~$

== Load kexec kernel on cmd line ==
ubuntu@test:~$ sudo kexec -l /boot/vmlinuz-4.8.0-38-generic --initrd=/boot/initrd.img-4.8.0-38-generic --append="root=LABEL=cloudimg-rootfs vt.handoff=7"
ubuntu@test:~$

== Kernel live boots successfully ==
test login: [ 66.553187] kexec_core: Starting new kernel
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.8.0-38-generic (manjo@tangerine) (gcc version 6.2.0 20161005 (Ubuntu 6.2.0-5ubuntu12) ) #40ubuntu1 SMP Mon Feb 6 21:55:35 UTC 2017 (Ubuntu 4.8.0-38.40ubuntu1-generic 4.8.17)
[ 0.000000] Boot CPU: AArch64 Processor [510f8000]
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: EFI v2.50 by EDK II
[ 0.000000] efi: SMBIOS=0x5bdb0000 SMBIOS 3.0=0x58660000 PROP=0x5f714518 ACPI=0x58690000 ACPI 2.0=0x58690014