Skip to contentSkip to conversation

After mount nfs root filesystem,can't execute /bin/sh.

DISCUSSION [email protected] 2 participants 2 messages Apr 28, 2001

lore
Share & tools
lore
#0 lore raw

hello all:
i use hhl2.2.14 kerlner for RPXLite borad,i have porting it to my borad.
But when i boot use nfs as root filesystem,it always can't run .I use /opt/hardhat/devkit/ppc/8xx/target/ as nfs exports,and this is created from cdk1.2 for Linuxplant(i think this files is same as RPXlite's).

in main.c

execev("/sbin/init",argv_init,envp_init) /***it run here ,system is halt**/ execev("/bin/sh",argv_init.envp_init) /***it also halt*******/

Who can help me,thanks.
Dross Chou.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw

Is root mounted RW?

Also:

There are debug flags to nfsd which will allow you to see what is loaded and if not then why not.
usually: rpc.nfsd -D call
But it differs

Sincerely,

Dr. Karsten Jeppesen
VP of Technology
Total Impact
<[email protected]>
----------------------------------------------------------------------
There's so much plastic in this culture that vinyl leopard skin is becoming an endangered synthetic.
----------------------------------------------------------------------

Quoted 13 lines

From: [email protected]
Date: Sat, 28 Apr 2001 11:45:41 +0800 (CST)
To: [email protected]
Subject: After mount nfs root filesystem,can't execute /bin/sh.

hello all:
i use hhl2.2.14 kerlner for RPXLite borad,i have porting it to my borad. But when i boot use nfs as root filesystem,it always can't run .I use /opt/hardhat/devkit/ppc/8xx/target/ as nfs exports,and this is created from cdk1.2 for Linuxplant(i think this files is same as RPXlite's).

Quoted 11 lines

in main.c

execev("/sbin/init",argv_init,envp_init) /***it run here ,system is halt**/ execev("/bin/sh",argv_init.envp_init) /***it also halt*******/

Who can help me,thanks.
Dross Chou.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/