can not stop my auto running project

2007-10-13 Thread yin yinhai
HI:
   I am building my root filesystem, my develop environment is: montavista 
2.6.10 kernel, busybox-1.5.1, NFS.
   If I run my project by manual, when it is running, I can use ctrl+c to 
stop it. But if I add commands in /etc/rc.d/rc.local to auto running 
project, now when I open the power of my board, my project can auto 
running, but can not stop it by ctrl+c.
   The below are my script files.

inittab:
--
::sysinit:/etc/init.d/rcS 
::respawn:-/bin/sh 
tty2::askfirst:-/bin/sh 
::ctrlaltdel:/bin/umount -a -r 
--

rcS:
--
#! /bin/sh 
# 
# rcS Call all S??* scripts in /etc/rcS.d in 
# numerical/alphabetical order. 
# 
# Version: @(#)/etc/init.d/rcS 2.76 19-Apr-1999 [EMAIL PROTECTED] 
# 

PATH=/sbin:/bin:/usr/sbin:/usr/bin 
runlevel=S 
prevlevel=N 
umask 022 
export PATH runlevel prevlevel 

# 
# See if system needs to be setup. This is ONLY meant to 
# be used for the initial setup after a fresh installation! 
# 
if [ -x /sbin/unconfigured.sh ] 
then 
/sbin/unconfigured.sh 
fi 

# 
# Source defaults. 
# 
. /etc/default/rcS 
export VERBOSE 

# 
# Trap CTRL-C c only in this shell so we can interrupt subprocesses. 
# 
trap : INT QUIT TSTP 

# 
# Call all parts in order. 
# 
for i in /etc/rc.d/rcS.d/S??* 
do 
# Ignore dangling symlinks for now. 
[ ! -f $i ]  continue 

case $i in 
*.sh) 
# Source shell script for speed. 
( 
trap - INT QUIT TSTP 
set start 
. $i 
) 
;; 
*) 
# No sh extension, so fork subprocess. 
$i start 
;; 
esac 
done 

# Run /etc/rc.d/rc.local if it exists 
[ -x /etc/rc.d/rc.local ]  /etc/rc.d/rc.local 

# 
# Finish setup if needed. The comment above about 
# /sbin/unconfigured.sh applies here as well! 
# 
if [ -x /sbin/setup.sh ] 
then 
/sbin/setup.sh 
fi 
---

rc.local:
---
/home/yinhj/rootfs1/loadmodules.sh#to load needed modules
/home/yinhj/rootfs1/encodedecode -p   #run my application project
---
 Could anybody give me some suggestion? thanks
REGARDS
Steven

_
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  

___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox

JFFS2 rootfs can not boot on my TI DaVinci DVEVM board

2007-09-21 Thread yin yinhai
Hi all:
   I am developping on TI DaVinci DVEVM board with Montavista Embeded 
2.6.10 linux system.
   TI DaVinci has supplied a ramdisk filesystme which built by BUSYBOX1.0, 
I convert it to JFFS2 rootfs image and store to NOR flash, it can boot 
normally, but the reboot command can not execute successfully, so I want 
to build my own JFFS2 filesystem.
   I use busybox-1.5.1,built it as a static binary, and I got 
/bin,/sbin,/usr,linuxrc at install diretory, then copy /etc,/dev,/lib and 
other files to the install dir from ramdisk supplied by TI, and usr 
#mkfs.jffs2 -d install-dir -o rootfs.jffs2 -e 0x1, then store 
rootfs.jffs2 to mtdblock3 partition on my nor flash, then boot my system. 
got below errors:

  request_module: runaway loop modprobe binfmt-464c
  request_module: runaway loop modprobe binfmt-464c
  request_module: runaway loop modprobe binfmt-464c
  request_module: runaway loop modprobe binfmt-464c

  I use ramdisk filesyetem supplied by TI as JFFS2 source rootfs, it can 
work normally, but if I copy the files built by maks install busybox1-5-1 
to the ramdisk filesystem, it print the above errors and hang there.
  Any advice would be appreciatory, thanks!

BESTREGARDS
Steven

_
免费下载 MSN Explorer:   http://explorer.msn.com/lccn/  

___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox

JFFS2 rootfs can not boot on my TI DaVinci DVEVM board

2007-09-21 Thread yin yinhai
Hi all:
   I am developping on TI DaVinci DVEVM board with Montavista Embeded 
2.6.10 linux system.
   TI DaVinci has supplied a ramdisk filesystme which built by BUSYBOX1.0, 
I convert it to JFFS2 rootfs image and store to NOR flash, it can boot 
normally, but the reboot command can not execute successfully, so I want 
to build my own JFFS2 filesystem.
   I use busybox-1.5.1,built it as a static binary, and I got 
/bin,/sbin,/usr,linuxrc at install diretory, then copy /etc,/dev, b and 
other files to the install dir from ramdisk supplied by TI, and usr 
#mkfs.jffs2 -d install-dir -o rootfs.jffs2 -e 0x1, then store 
rootfs.jffs2 to mtdblock3 partition on my nor flash, then boot my system. 
got below errors:

  request_module: runaway loop modprobe binfmt-464c
  request_module: runaway loop modprobe binfmt-464c
  request_module: runaway loop modprobe binfmt-464c
  request_module: runaway loop modprobe binfmt-464c

  I use ramdisk filesyetem supplied by TI as JFFS2 source rootfs, it can 
work normally, but if I copy the files built by maks install busybox1-5-1 
to the ramdisk filesystem, it print the above errors and hang there.
  Any advice would be appreciatory, thanks!

BESTREGARDS
Steven

_
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  

___
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox