From: zjuzhou@163.net
To: linuxppc-embedded@lists.linuxppc.org
Subject: Can't execute /bin/sh /bin/init ?
Date: Fri, 27 Apr 2001 19:05:34 +0800 (CST) [thread overview]
Message-ID: <3AE9527E.15072@bjapp3> (raw)
hello all,
With maillist's help,i can run kernel in my borad.But when kernel mount
the NFS root files,then execute /sbin/init ,/usr/init etc,but when kernel run
here,in minicom's term noting happen,i try to ping this borad,no answer.I use
hhl for linuxplanet ,and nfs file is in /opt/hardhat/devkit/ppc/8xx/target/.
my borad is use MPC850.kernel is for RPXlite.
main.c
......
printk("%s\n",execute_command);
if (execute_command)
execve(execute_command,argv_init,envp_init);
/*execve("/sbin/init",argv_init,envp_init);*/ ---------it can't not run term is noting--------
execve("/etc/init",argv_init,envp_init);
execve("/bin/init",argv_init,envp_init);
execve("/bin/sh",argv_init,envp_init); -----it also can't run ,term is noting------------
panic("No init found. Try passing init= option to kernel.");
}
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
reply other threads:[~2001-04-27 11:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3AE9527E.15072@bjapp3 \
--to=zjuzhou@163.net \
--cc=linuxppc-embedded@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).