HI,<br><br>I have made changes (only menu.lst needed changes) but the out put is still the same.<br><br><b>Output log:</b><br><br>My APIC ID: 0<br>Barrelfish CPU driver starting on scc core 0<br>init: invoked as: init 2097152<br>
Spawning memory server (scc/sbin/mem_serv)...<br>Spawning monitor (scc/sbin/monitor)...<br>starting monitor as 'scc/sbin/monitor 327680 '<br>monitor: invoked as: scc/sbin/monitor 327680<br>RAM allocator initialised, 1608 MB (of 1624 MB) available<br>
Spawning chips on core 0<br>Spawning /scc/sbin/ramfsd on core 0<br>Spawning /scc/sbin/spawnd on core 0<br>Spawning /scc/sbin/startd on core 0<br>chips: client waiting for ramfs<br>ramfsd.0: pre-populating from boot image...<br>
chips: client waiting for ramfs<br>ramfsd.0: /scc/sbin/examples/xmpl-hello already exists, skipping it<br>ramfsd.0: ready<br>chips: notifying client about ramfs<br>chips: notifying client about ramfs<br>kernel 0: Allocating RAM at 0x80000000 uninitialized<br>
kernel 0: Allocating RAM at 0x80010000 uninitialized<br>spawnd.0: coreid 1 is arch id 1<br>chips: client waiting for all_spawnds_up<br>Monitor 0: booting scc core 1 as '/scc/sbin/cpu'<br>kernel 0: Allocating RAM at 0x80020000 uninitialized<br>
all 2 monitors up<br>chips: client waiting for spawn.1.ready<br>chips: notifying client about spawn.1.ready<br>chips: client waiting for all_spawnds_up<br>chips: notifying client about all_spawnds_up<br>chips: notifying client about all_spawnds_up<br>
startd.0: starting app /scc/sbin/examples/xmpl-hello on core 0<br>spawnd.0: spawning /scc/sbin/examples/xmpl-hello on core 0<br>startd.0: starting app /scc/sbin/examples/xmpl-hello on core 1<br>kernel 0: Allocating RAM at 0x80021000 uninitialized<br>
Hello World<br>No bootscript<br><br><b>Menu.lst</b><br>timeout 0<br><br># spawnd is used to control which cpus are booted<br>#<br># "spawnd boot" will use the skb and pci to figure out and<br># boot all cores in the machine<br>
#<br># "spawnd boot bootscc=1-6" will not use the skb and<br># boot the list of cores passed as argument.<br># The hardware id of the cores to boot should be specified.<br># This list may not include the bsp core id.<br>
<br>title Barrelfish<br>root (nd)<br>kernel /scc/sbin/cpu loglevel=4<br>module /scc/sbin/cpu<br>module /scc/sbin/init<br><br># Domains spawned by init<br>module /scc/sbin/mem_serv<br>module /scc/sbin/monitor<br>
<br>module /scc/sbin/chips boot<br>module /scc/sbin/ramfsd boot<br>module /scc/sbin/spawnd boot bootscc=1<br>module /scc/sbin/startd boot<br># modules needed to start the networking<br># module /scc/sbin/eMAC core=0<br>
# module /scc/sbin/netd core=0 cardname=eMAC2_0<br># module /scc/sbin/eMAC core=1<br># module /scc/sbin/netd core=1 cardname=eMAC2_1<br><br># RCK memory map<br># Everything up til VGA is private RAM (maybe we want to throw it away)<br>
mmap map 0x0 0xa000 2<br># Everything after VGA is private RAM (we also live in this area)<br>mmap map 0xe800 0x26ff1800 1<br># Shared RAM (over all MCs) in the middle of address space<br>
#mmap map 0x80000000 0x4000000 1<br>mmap map 0x80000000 0x40000000 1<br># At the very end we have some platform memory (bootup EEPROM)<br>mmap map 0xfffc0000 0x40000 2<br><br><br>
module /scc/sbin/examples/xmpl-hello core=0<br>module /scc/sbin/examples/xmpl-hello core=1<br><br>Is there anything ma i missing?<br><br>Thank you,<br><br><br><div class="gmail_quote">On Wed, Jan 25, 2012 at 2:28 PM, Stefan Kästle <span dir="ltr"><<a href="mailto:stefan.kaestle@inf.ethz.ch" target="_blank">stefan.kaestle@inf.ethz.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi Nil,<br>
<br>
I assume you modified your menu.lst to start the hello program. The
menu.lst [1] for the SCC provided in the tip version of the
Barrelfish tree should not start the hello world program
automatically.<br>
<br>
Adding the following entry to the menu.lst would start the hello
program on core 0 (assuming you compiled it).<br>
<tt>module /scc/sbin/examples/xmpl-hello core=0</tt><br>
<br>
If you wanted it to start on more cores, you could add several
lines, such as:<br>
<tt>module /scc/sbin/examples/xmpl-hello core=0<br>
module /scc/sbin/examples/xmpl-hello core=1<br>
module /scc/sbin/examples/xmpl-hello core=2</tt><br>
<br>
If you omit the paramter <tt>core=</tt>, the program is started on
the core 0.<br>
<br>
Hope this helps,<br>
Stefan<br>
<br>
[1] see <a href="http://hg.barrelfish.org/file/8c906f8f22fb/hake/menu.lst.scc" target="_blank">http://hg.barrelfish.org/file/8c906f8f22fb/hake/menu.lst.scc</a><div><div></div><div><br>
<br>
<br>
On 01/24/2012 05:46 PM, Nil Karavadara wrote:
</div></div><blockquote type="cite"><div><div></div><div>
Hi,<br>
<br>
I have manged to boot barrelfish on SCC. My question is i have
booted barrelfish on two cores of SCC and i can see "Hello world"
printed once is this correct? (i think that core0 and core1 both
will output "Hello world" and i should see it twice on screen)<br clear="all">
<br>
Thank you.<br>
<br>
-- <br>
Kind Regards,<br>
Nil Karavadara<font color="#888888"><br>
<br>
</font><font color="#888888">Centre for Computer Science and
Informatics Research<br>
Science & Technology Research Institute<br>
University of Hertfordshire</font><br>
<br>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Barrelfish-users mailing list
<a href="mailto:Barrelfish-users@lists.inf.ethz.ch" target="_blank">Barrelfish-users@lists.inf.ethz.ch</a>
<a href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a>
</pre>
</blockquote><font color="#888888">
<br>
<pre cols="72">--
Stefan Kästle
ETH Zürich
CAB E 69
Universitätstrasse 6
CH-8092 Zürich
Switzerland
Email: <a href="mailto:stefan.kaestle@inf.ethz.ch" target="_blank">stefan.kaestle@inf.ethz.ch</a>
Phone: <a href="tel:%2B41%2044%20632%208289" value="+41446328289" target="_blank">+41 44 632 8289</a></pre>
</font></div>
<br>_______________________________________________<br>
Barrelfish-users mailing list<br>
<a href="mailto:Barrelfish-users@lists.inf.ethz.ch" target="_blank">Barrelfish-users@lists.inf.ethz.ch</a><br>
<a href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Kind Regards,<br>Nil Karavadara<font color="#888888"></font><font color="#888888"><br><br></font><font color="#888888">Centre for Computer Science and Informatics Research<br>
Science & Technology Research Institute<br>
University of Hertfordshire</font><br><br>