From: Rafael I. Z. <riz...@ya...> - 2007-10-10 15:28:21
|
--- Paul Mundt <le...@li...> wrote: > > On Mon, Sep 17, 2007 at 06:02:46AM -0400, Mike > Frysinger wrote: > > if only the userland tools would get off their > asses ... > > http://git.kernel.org/?p=linux/kernel/git/horms/kexec-tools-testing.git;a=summary > > is the tree to be using, the other ones are outdated > and no longer developed. Hello, I was trying kexec in sh3 (HP jornada 660lx: SH7709 - HD64461) using those kexec-tools. But it gets frozen when run "kexec -e". I would wish to know what might be the issue. Also, I used strace with "kexec -e" to see the last reboot system call: root@jornada6xx:~$ kexec -l /boot/zImage --append="root=/dev/sda1 mem=32M" root@jornada6xx:~$ root@jornada6xx:~$ kexec -f kexec 1.101 released 15 February 2005 ... ADDRESS of empty_zero can be set SHELL environment variable KEXEC_EMPTY_ZERO as default ... ADDRESS can be get in the following method in your system. .. 3) CONFIG_MEMORY_START + CONFIG_ZERO_PAGE_OFFSET in your kernel config file. root@jornada6xx:~$ Well, The kernel (2.6.23-rc5 from jlime) was built with CONFIG_MEMORY_START=0x0d000000 CONFIG_ZERO_PAGE_OFFSET=0x00001000 in the .config file. So i did: root@jornada6xx:~$ export KEXEC_EMPTY_ZERO=0x0d001000 root@jornada6xx:~$ strace kexec -e ... reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, 0x45584543 /* LINUX_REBOOT_CMD_ ??? */Starting new kernel kexec information segment[0]: 0x0c001000 - 0x0c002000 (0x00001000) segment[1]: 0x0c210000 - 0x0c3b8000 (0x001a8000) start : 0x8c210000 nothing else happened. Regards, Rafael . ____________________________________________________________________________________ Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC |