hi all, i still failed to load another task using run-l4
here is my later config file
#hello.cfg verbose 0 modpath "/boot/l4linux_2"
task "hello" ""
i alos tried
#hello.cfg verbose 0 modpath "(hd0,5)/boot/l4linux_2"
task "hello" ""
for your info my boot partition is in extended partition.
at l4linux terminal
i run this command:
./run-l4 --fprov=BMODFS "hello.cfg"
and
./run-l4 --fprov "BMODFS" "hello.cfg"
and i also put hello in menu.lst.
and it still failed to load hello
as an alternative can u guys help me give an example of working: menu.lst config file to pass to bmodfs command line to execute in l4linux
----- Original Message ----
From: Adam Lackorzynski adam@os.inf.tu-dresden.de To: l4-hackers@os.inf.tu-dresden.de Sent: Wednesday, March 12, 2008 7:59:59 PM Subject: Re: run-l4 - to start another task
On Tue Mar 11, 2008 at 20:55:51 -0700, ahmad kamal wrote:
i've been trying to load another l4 task using run-l4 in l4linux, but i've got
error
the error is -8(cannot a find module)
here is my conf file
#launch.conf
verbose 0 modpath "(hd0,2)/boot/l4app"
task "hello"
and here is the cmd i run:
run-l4 --fprov "BMODFS" "(hd0,2)/boot/l4app/launch.conf"
When using bmodfs you do not need to specify a path.
here are few question:
do i need to load run-l4 during boot time, in other words do i need to define
it in menu.lst?
No, run-l4 is a Linux program, it only works in L4Linux.
do i need to load the task i would like to call using run-l4 during boot time?
The binary needs to be available at the file provider you're using. So when using bmodfs the binary needs to be loaded in menu.lst as a data module for bmodfs (basically as usual).
Adam
Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
On Fri Mar 28, 2008 at 02:44:14 -0700, ahmad kamal wrote:
here is my later config file
#hello.cfg verbose 0 modpath "/boot/l4linux_2"
task "hello" ""
i alos tried
#hello.cfg verbose 0 modpath "(hd0,5)/boot/l4linux_2"
task "hello" ""
for your info my boot partition is in extended partition.
at l4linux terminal
i run this command:
./run-l4 --fprov=BMODFS "hello.cfg"
and
./run-l4 --fprov "BMODFS" "hello.cfg"
and i also put hello in menu.lst.
and it still failed to load hello
as an alternative can u guys help me give an example of working: menu.lst config file to pass to bmodfs command line to execute in l4linux
Basically the arguments the run-l4 program takes are the same as the ones given to the loader, i.e. run-l4 --fprov=BMODFS foo. run-l4 then goes to the loader to say that foo should be loaded using the BMODFS service. For that to work you need to supply bmodfs with the modules needed, i.e. in your example the file hello.cfg and hello, or just hello. So it's important to have the following in your menu.lst:
modules .../bmodfs modules .../hello modules .../hello.cfg
Remember to tell roottask how many modules you gave to bmodfs.
Now run-l4 should work, as the loader should be able to find the hello module.
BTW, what error are you getting?
I've also added a bmodfs related example to http://wiki.tudos.org/Menu.lst-Examples
Adam
l4-hackers@os.inf.tu-dresden.de