|Subject:||Re: problem bring up initramfs and busybox|
|From:||Chris Dearman <email@example.com>|
|Date:||Tue, 17 Nov 2009 13:54:00 -0800|
|References:||<firstname.lastname@example.org> <4AD906D8.email@example.com> <firstname.lastname@example.org> <4AFA6B7F.email@example.com> <firstname.lastname@example.org> <20091117093330.GA24000@linux-mips.org> <email@example.com> <4B030F76.firstname.lastname@example.org>|
|User-agent:||Thunderbird 188.8.131.52 (X11/20090817)|
Kevin D. Kissell wrote:
This looks like another boot file system setup problem to me. Are you sure that there's an executable init image at /mnt/root/sbin/init? I'm pretty sure that the path that you provide to your new init has to be relative to the new root.
That sounds right.Andrew, my suggestion would be to change your initramfs /init script to invoke "/bin/busybox sh" as the last command instead of "exec switch_root". The "Kernel panic - not syncing: Attempted to kill init!" says that switch_root is exiting for some reason. It could be anything from missing files/devices on the /mnt/root file system to a bug in busy_box. By booting into the shell you can run the command by hand (maybe with strace if you have it) to help identify where the problem is.
Chris -- Chris Dearman Desk: +1 408 530 5092 Cell: +1 408 398 5531 MIPS Technologies Inc 955 East Arques Ave, Sunnyvale CA 94085
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||Re: problem bring up initramfs and busybox, myuboot|
|Next by Date:||[patch 08/13] mips: Fixup last users of irq_chip->typename, Thomas Gleixner|
|Previous by Thread:||Re: problem bring up initramfs and busybox, Kevin D. Kissell|
|Next by Thread:||Re: problem bring up initramfs and busybox, myuboot|
|Indexes:||[Date] [Thread] [Top] [All Lists]|