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[1] 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

        kexec -e

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?


[1] build_dir/linux-xburst_qi_lb60/linux-2.6.37.6/vmlinux
-- 
Andrea Bolognani <[email protected]>
Resistance is futile, you will be garbage collected.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Qi Hardware Discussion List
Mail to list (members only): [email protected]
Subscribe or Unsubscribe: 
http://lists.en.qi-hardware.com/mailman/listinfo/discussion

Reply via email to