[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kexec on ARM?

On Thu, 03 Apr 2008, Martin Michlmayr wrote:
> There's no good reason it's disabled apart from the fact that there
> has been no demand for it yet.  Can you re-compile the Debian kernel
> with kexec (*) and tell me if it works.  If so, I'm happy to enable
> it.

On Thu, 03 Apr 2008, Kapil Hari Paranjape wrote:
> Hello,
> On Thu, 03 Apr 2008, Tomasz Chmielewski wrote:
> > kexec and kexec-tools work on debian-arm - I use it on FSG-3:
> >
> > http://wpkg.org/Running_Debian_on_Freecom_FSG-3#kexec
> Great. I just managed to get kexec-tools compiled. Now I've to go
> and compile that kernel!

No success. :-( A brief report follows.

On my NSLU2 "kutti" I compiled and installed a "kexec" enabled
kernel which was identical to (2.6.24-1-ixp4xx) except for defining
"CONFIG_KEXEC=y". I also compiled and installed "kexec-tools" version
20080227-2 by adding "arm" to the "Architecture" line in

I then flashed the new kernel and initrd which booted fine.

I then ran
	OPTIONS=$(cat /proc/cmdline)
	kexec -l /boot/vmlinuz-2.6.24-1.1-ixp4xx \
		--append="$OPTIONS" \
		--initrd /boot/initrd-2.6.24-1.1-ixp4xx
This gave the error message 
	Cannot open /proc/atags
	cat /sys/kernel/kexec_loaded
showed that the kernel had loaded. After unmounting important
file-systems, I ran "kexec -e". The system just hung.

Possible ways out:

1. Perhaps one needs to have the various network and USB devices
   persist during kexec.
2. Does one need libz-dev for "kexec-tools" on ARM?



Attachment: signature.asc
Description: Digital signature

Reply to: