[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: fork in init.c
From: "Lei Sun" <lei_sun () comcast ! net>
Date: 2005-12-28 4:41:34
Message-ID: 00c601c60b68$fbc8c120$0596000a () idirect ! net
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi:
I am using busybox-1.0.1, my uClibc is configured with NO MMU. The init crashed my \
uClinux box, when it went into run() routine and tried to fork(). I added "#define \
fork vfork " statement, but didn't do any good. My questions are:
1. As I remebered, in previous version, the init is using vfork if compiling against \
mmu-less machine, why is it removed in latest release? 2. Any plan to update the \
init.c for a vfork safe version? 3. Is there any other version init (for example, \
sysvinit, maybe) that has been ported to mmu-less platform (with uClibc and uClinux)?
Right now I boot up my uClinux box with msh, with "SIGSEGV" showed up after each \
exectution of the busybox command.
Thank you!
Regards
lei
[Attachment #5 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi:</FONT></DIV>
<DIV><FONT face=Arial size=2> I am using busybox-1.0.1, my uClibc is
configured with NO MMU. The init crashed my uClinux box, when it went
into run() routine and tried to fork(). </FONT></DIV>
<DIV><FONT face=Arial size=2> I added "#define
fork vfork " statement, but didn't do any good.</FONT></DIV>
<DIV><FONT face=Arial size=2>My questions are:</FONT></DIV>
<DIV><FONT face=Arial size=2>1. As I remebered, in previous version, the
init is using vfork if compiling against mmu-less machine, why
is it removed in latest release? </FONT></DIV>
<DIV><FONT face=Arial size=2>2. Any plan to update the init.c for a vfork safe
version?</FONT></DIV>
<DIV><FONT face=Arial size=2>3. Is there any other version init (for example,
sysvinit, maybe) that has been ported to mmu-less platform (with
uClibc and uClinux)?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Right now I boot up my uClinux box with msh, with
"SIGSEGV" showed up after each exectution of the busybox command.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thank you!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards</FONT></DIV>
<DIV><FONT face=Arial size=2>lei </FONT></DIV></BODY></HTML>
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic