<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ZH-CN" link="blue" vlink="purple" style="text-justify-trim:punctuation">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I’m trying to run barrelfish(release2012-01-30) on scc(sccKit 1.4.2 with emac enabled, the port is emac a), but I can’t ping the cores, and in the SCC performance meter widget, I can’t see any alive cores.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The menu.lst.scc is as follows:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">timeout 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000"># spawnd is used to control which cpus are booted<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">#<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000"># "spawnd boot" will use the skb and pci to figure out and<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000"># boot all cores in the machine<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">#<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000"># "spawnd boot bootscc=1-6" will not use the skb and<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000"># boot the list of cores passed as argument.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000"># The hardware id of the cores to boot should be specified.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000"># This list may not include the bsp core id.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">title Barrelfish<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">root (nd)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">kernel /scc/sbin/cpu loglevel=4<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">module /scc/sbin/cpu<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">module /scc/sbin/init<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000"># Domains spawned by init<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">module /scc/sbin/mem_serv<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">module /scc/sbin/monitor<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">module /scc/sbin/chips boot<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">module /scc/sbin/ramfsd boot<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">module /scc/sbin/spawnd boot bootscc=1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">module /scc/sbin/startd boot<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000"># modules needed to start the networking<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">module /scc/sbin/eMAC core=0 device=0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">module /scc/sbin/netd core=0 cardname=eMAC0_0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">module /scc/sbin/eMAC core=1 device=0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">module /scc/sbin/netd core=1 cardname=eMAC0_1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">module /scc/sbin/echoserver core=1 cardname=eMAC0_1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000"># RCK memory map<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000"># Everything up til VGA is private RAM (maybe we want to throw it away)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">mmap map 0x0 0xa000 2<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000"># Everything after VGA is private RAM (we also live in this area)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">mmap map 0xe800 0x26ff1800 1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000"># Shared RAM (over all MCs) in the middle of address space<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">#mmap map 0x80000000 0x4000000 1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">mmap map 0x80000000 0x40000000 1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000"># At the very end we have some platform memory (bootup EEPROM)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">mmap map 0xfffc0000 0x40000 2<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">and the output is as follows(cat /dev/crbif0rb0c0ttyS0):<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">Kernel starting at address 0x80100000<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">My APIC ID: 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">Barrelfish CPU driver starting on scc core 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">init: invoked as: init 2097152<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">Spawning memory server (scc/sbin/mem_serv)...<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">Spawning monitor (scc/sbin/monitor)...<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">starting monitor as 'scc/sbin/monitor 327680 '<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">monitor: invoked as: scc/sbin/monitor 327680<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">RAM allocator initialised, 1608 MB (of 1624 MB) available<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">Spawning chips on core 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">Spawning /scc/sbin/ramfsd on core 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">Spawning /scc/sbin/spawnd on core 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">Spawning /scc/sbin/startd on core 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">chips: client waiting for ramfs<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">ramfsd.0: pre-populating from boot image...<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">chips: client waiting for ramfs<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">ramfsd.0: /scc/sbin/eMAC already exists, skipping it<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">ramfsd.0: /scc/sbin/netd already exists, skipping it<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">ramfsd.0: ready<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">chips: notifying client about ramfs<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">chips: notifying client about ramfs<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">kernel 0: Allocating RAM at 0x80000000 uninitialized<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">kernel 0: Allocating RAM at 0x80010000 uninitialized<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">spawnd.0: coreid 1 is arch id 1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">chips: client waiting for all_spawnds_up<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">Monitor 0: booting scc core 1 as '/scc/sbin/cpu'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">kernel 0: Allocating RAM at 0x80020000 uninitialized<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">all 2 monitors up<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">chips: client waiting for spawn.1.ready<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">chips: notifying client about spawn.1.ready<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">chips: client waiting for all_spawnds_up<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">chips: notifying client about all_spawnds_up<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">chips: notifying client about all_spawnds_up<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">startd.0: starting app /scc/sbin/eMAC on core 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">spawnd.0: spawning /scc/sbin/eMAC on core 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">startd.0: starting app /scc/sbin/netd on core 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">Starting EMAC for hardware<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">#### base 13000000, 2097152<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">#### myroute = 0, 6 13<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">#### phywsical addr 13000000<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">Base mac address:[31:44:41:4d:45:00]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">Core MAC address:[31:45:41:4d:45:00]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">#### base 13200000, 2097152<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">#### myroute = 0, 6 13<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">spawnd.0: spawning /scc/sbin/netd on core 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">startd.0: starting app /scc/sbin/eMAC on core 1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">kernel 0: Allocating RAM at 0x80021000 uninitialized<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">#### [0] [BIG] [1] MEM_SIZE[31457280], MEMP_NUM_PBUF[256], PBUF_POOL_SIZE[256], NR_PREALLOCATED_PBUFS[31], PBUF_POOL_BUFSIZE[256] ####<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">memp_init: allocating 1e3fb memory for index 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">@@@@@@ mem alloc 1e0001c, 1e0001c for index 1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">startd.0: starting app /scc/sbin/netd on core 1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">Allocating 31 pbufs<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">pbuf is from buff 1 -------<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">Registered 31 no. of pbufs for receiving -------<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">##################################################<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">MAC address: 00:45:4d:41:45:31<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">startd.0: starting app /scc/sbin/echoserver on core 1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">No bootscript<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#C00000">chips: client waiting for eMAC0_1_CTRL<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Whether the barrelfish is successfully booted? I can’t ping the cores(core0, core1). How can I access the cores?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Many thanks for your help,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Wangbin Zhu<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</body>
</html>