Kexec - Not working - Please help

HackCandy hackhell.candy at
Thu Jan 29 18:32:21 CET 2009

Hi Werner,

kexec -l --command-line="`cat /proc/cmdline`" zImage
kexec -e 
The above commands work fine. That is, booting a different kernel
& the same Root File System (from where you execute kexec) works well. 

But when I try to use the RFS from SD card and executing the
kexec command (I m running kexec from RFS present in NAND flash)
using the following: Kernel panics saying

Unable to mount rootfs on unknown block(179,1)

root at om-gta02:~# kexec -l --command-line="rootfstype=ext3
root=/dev/mmcblk0p1 c
onsole=ttySAC2,115200 console=tty0 loglevel=4 regular_boot
l),0x000a0000(splash),0x00040000(factory),0x0f6a0000(rootfs)" zImage 
root at om-gta02:~# kexec -e  ==== Kernel Panics

Please help.


Werner Almesberger wrote:
> HackCandy wrote:
>> kexec -l zImage -append="root=/dev/mmcblk0p1" <==== Hangs here
> It hangs ? That's odd.
> This works for me:
> kexec -l --command-line="`cat /proc/cmdline`" zImage
> kexec -e 
> - Werner
> _______________________________________________
> devel mailing list
> devel at

View this message in context:
Sent from the Openmoko Devel mailing list archive at

More information about the devel mailing list