linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Can't execute /bin/sh /bin/init ?
@ 2001-04-27 11:05 zjuzhou
  0 siblings, 0 replies; only message in thread
From: zjuzhou @ 2001-04-27 11:05 UTC (permalink / raw)
  To: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-04-27 11:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-27 11:05 Can't execute /bin/sh /bin/init ? zjuzhou

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).