eof at kiyuko.org
Sat Sep 10 17:22:29 EDT 2011
I played a bit with kexec on the NanoNote today.
The first thing I noticed is that, despite the fact that both kexec-tools
and kexecboot are included in the software image, the current kernel does
not have kexec support, so I’ve built a kernel with CONFIG_KEXEC=y.
I copied the uncompressed kernel to the NanoNote and ran
$ kexec -l /boot/vmlinux --append="$(cat /proc/cmdline)"
to load the kernel into memory: the command completes succesfully, as can
be seen by looking at the contents of /sys/kernel/kexec_loaded.
To make the new kernel boot I added the command
at the end of the stop() function in /etc/init.d/umount, after all
filesystems have been sync'ed and umount'ed, but when I poweroff
the system hangs instead of rebooting.
Have anybody else ever tried kexec on the NanoNote? Did you manage to
get it to work, and how?
Andrea Bolognani <eof at kiyuko.org>
Resistance is futile, you will be garbage collected.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: Digital signature
More information about the discussion