, <tech-kern@netbsd.org>
From: Jigar Shah <jigar@apropos.co.in>
List: port-arm
Date: 08/11/2005 19:23:24
This is a multi-part message in MIME format.
------=_NextPart_000_0005_01C59EAA.24B68EE0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Friends,
I am trying to port Netbsd on IXP2400/xscale bord,
and i am going to mount ffs as a root file system
I have problem related to file system
1) file sys/kern/init_main.c fork1 function doesnot execute start_init =
process(user space process) ,=20
fork1( l, 0, SIGCHLD, NULL , 0, start_init, NULL, NULL, &initproc)
can anyone tell me how & when start_init process has been executed??
2) even in above file (sys/kern/init_main.c) kthread_create1 doesnt =
create kernel thread
kthread_create1(uvm_pageout, NULL, NULL, "pagedeamon");
kthread_create1(sched_sync, NULL, NULL, "ioflush");
kthread_create1(uvm_aiodone_daemon, NULL, &uvm.aiodone_proc, =
"aiodoned");
can anyone tell me why it doesnt create kernel thread??
suprisly, I am not getting error or trap signal during executation..
thanks for help
-jigar
------=_NextPart_000_0005_01C59EAA.24B68EE0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Friends,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I am trying to port Netbsd on =
IXP2400/xscale=20
bord,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>and i am going to mount ffs as a root =
file=20
system</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I have problem related to file =
system</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>1) file sys/kern/init_main.c =
fork1=20
function doesnot execute start_init process(user space process) , =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><STRONG><EM>fork1( l, 0, SIGCHLD, NULL =
, 0,=20
start_init, NULL, NULL, &initproc)</EM></STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>can anyone tell me <STRONG>how & =
when</STRONG>=20
start_init process has been executed??</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>2) even in above file =
(sys/kern/init_main.c)=20
kthread_create1 doesnt create kernel thread</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2> kthread_create1(uvm_pageout, =
NULL, NULL,=20
"pagedeamon");</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> kthread_create1(sched_sync, NULL, =
NULL,=20
"ioflush");</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2> kthread_create1(uvm_aiodone_daemon, NULL,=20
&uvm.aiodone_proc, "aiodoned");</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>can anyone tell me <STRONG>why =
</STRONG>it=20
doesnt create kernel thread??</FONT></DIV>
<DIV> </DIV>
<DIV>suprisly, I am not getting error or trap signal during =
executation..</DIV>
<DIV> </DIV>
<DIV> </DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>thanks for help</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>-jigar</FONT></DIV></BODY></HTML>
------=_NextPart_000_0005_01C59EAA.24B68EE0--