OK.  So I've been trying to kexec a new kernel on my ASUS WL500GP.
Initial attempts were an utter failure yielding:

r...@gw:~# /oldroot/usr/sbin/kexec -l /tmp/vmlinux.lzma --append="/dev/sda1 
rootfstype=ext3 noinitrd console=ttyS0,115200 init=/etc/preinit"
Cannot determine the file type of /tmp/vmlinux.lzma

So, the lzma appears to not be the file it wants.  Let's try
vmlinux.elf:

r...@gw:~# /oldroot/usr/sbin/kexec -l /tmp/vmlinux.elf --append="/dev/sda1 
rootfstype=ext3 noinitrd console=ttyS0,115200 init=/etc/preinit"
kexec_load failed: Success
entry       = 0x2ab000 flags = 0
nr_segments = 2
segment[0].buf   = 0x2ac33008
segment[0].bufsz = 28607b
segment[0].mem   = 0x1000
segment[0].memsz = 2aa000
segment[1].buf   = 0x458440
segment[1].bufsz = 190
segment[1].mem   = 0x2ab000
segment[1].memsz = 1000

Much closer to success, the kexec_load() (which is just a jump to
syscall(__NR_kexec_load, entry, nr_segments, segments, flags);

is obviously returning some kind of error.  Nothing new shows up in
dmesg after this either.  :-(

Any ideas?

b.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to