<div dir="ltr">Dear Sir/Madam,<br><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><br></div><div>I am an user of Barrelfish on SCC Platform.<br><div><br></div><div>I have an application trying to connect to SKB by calling skb_client_connect. But then octopus printout hangs at "skb.0: waiting for skb". Therefore, I suspect that SKB is not up.</div>
<div><br></div><div>But the curious thing is "module /scc/sbin/skb boot" is already in the menu.lst.scc file.</div><div><br></div><div>I tried to add printf lines in the skb_main in /usr/skb/skb_main.c but nothing has been printed out. Therefore, I am writing to see if anyone here has a better understanding and knows what is happening.</div>
<div><br></div><div>Below is the bootup printout,</div><div><br></div><div><div><div><font face="courier new, monospace">bootscc.sh 4</font></div><div><font face="courier new, monospace">Ignoring command 'timeout'</font></div>
<div><font face="courier new, monospace">Ignoring command 'title'</font></div><div><font face="courier new, monospace">Ignoring command 'root'</font></div><div><font face="courier new, monospace">kernel entry point: 0x100000</font></div>
<div><font face="courier new, monospace">load image at: 0xff000</font></div><div><font face="courier new, monospace">Adding multiboot module '/scc/sbin/cpu', args '' at [0x928000:0x94bde4]</font></div><div>
<font face="courier new, monospace">Adding multiboot module '/scc/sbin/init', args '' at [0x94c000:0xa1dc3b]</font></div><div><font face="courier new, monospace">Adding multiboot module '/scc/sbin/mem_serv', args '' at [0xa1e000:0xae8346]</font></div>
<div><font face="courier new, monospace">Adding multiboot module '/scc/sbin/monitor', args '' at [0xae9000:0xbf1f2c]</font></div><div><font face="courier new, monospace">Adding multiboot module '/scc/sbin/ramfsd', args 'boot' at [0xbf2000:0xcddd99]</font></div>
<div><font face="courier new, monospace">Adding multiboot module '/scc/sbin/skb', args 'boot' at [0xcde000:0xdbe04d]</font></div><div><font face="courier new, monospace">Ignoring command 'modulenounzip'</font></div>
<div><font face="courier new, monospace">Adding multiboot module '/scc/sbin/spawnd', args 'boot bootscc=1-3' at [0xdbf000:0xf1dd19]</font></div><div><font face="courier new, monospace">Adding multiboot module '/scc/sbin/startd', args 'boot' at [0xf1e000:0x106b6fb]</font></div>
<div><font face="courier new, monospace">Adding multiboot module '/scc/sbin/myApp', args 'core=0 0 1 2 3' at [0x106c000:0x1209b0e]</font></div><div><font face="courier new, monospace">Inserting MMAP 0: [0x0, 0x27000000], type 1</font></div>
<div><font face="courier new, monospace">Inserting MMAP 1: [0x80000000, 0x3000000], type 1</font></div><div><font face="courier new, monospace">Inserting MMAP 2: [0x84000000, 0x3c000000], type 1</font></div><div><font face="courier new, monospace">Inserting MMAP 3: [0xc0000000, 0x18000000], type 1</font></div>
<div><font face="courier new, monospace">Inserting MMAP 4: [0xff000000, 0x1000000], type 1</font></div><div><font face="courier new, monospace">writing 9 modules ...</font></div><div><font face="courier new, monospace">Mapfile: >../tools/scc/bigimage.map<</font></div>
<div><font face="courier new, monospace">Outfile: >barrelfish0.obj<</font></div><div><font face="courier new, monospace">Converting file >bigimage.dat< to .32.obj format at origin 0x0003fc00 (0x000ff000) ... done with 17869583 Bytes.</font></div>
<div><font face="courier new, monospace">Converting file >bootvector.dat< to .32.obj format at origin 0x3ffffffc (0xfffffff0) ... done with 5 Bytes.</font></div><div><font face="courier new, monospace">Total conversion: 17869588 Bytes</font></div>
<div><font face="courier new, monospace">Mapfile: >../tools/scc/bootvector.map<</font></div><div><font face="courier new, monospace">Outfile: >barrelfish1.obj<</font></div><div><font face="courier new, monospace">Converting file >bootvector.dat< to .32.obj format at origin 0x3ffffffc (0xfffffff0) ... done with 5 Bytes.</font></div>
<div><font face="courier new, monospace">Total conversion: 5 Bytes</font></div><div><font face="courier new, monospace">INFO: Welcome to sccReset 1.4.0 (build date Mar <a href="tel:21%202011%20-%2018" value="+85221201118" target="_blank">21 2011 - 18</a>:40:25)...</font></div>
<div><font face="courier new, monospace">INFO: Applying global software reset to SCC (cores & CRB registers)...</font></div>
<div><font face="courier new, monospace">INFO: (Re-)configuring GRB registers...</font></div><div><font face="courier new, monospace">Successfully created memory images...</font></div><div><font face="courier new, monospace">Successfully created LUT configuration...</font></div>
<div><font face="courier new, monospace">INFO: Welcome to sccBoot 1.4.0 (build date Mar <a href="tel:21%202011%20-%2018" value="+85221201118" target="_blank">21 2011 - 18</a>:39:01)...</font></div><div><font face="courier new, monospace">INFO: Pulling reset of all cores...</font></div>
<div><font face="courier new, monospace">INFO: Preloading Memory with object file...</font></div>
<div><font face="courier new, monospace">INFO: Found object for MC x=0, y=0: "obj/mch_0_0.32.obj"...</font></div><div><font face="courier new, monospace">INFO: writeMemFromOBJ(...): Configuration of memory done!</font></div>
<div><font face="courier new, monospace">INFO: Successfully (re-)loaded object file "obj/mch_0_0.32.obj"...</font></div><div><font face="courier new, monospace">INFO: Preloading LUTs...</font></div><div><font face="courier new, monospace">INFO: Configuring LUTs with content of file "obj/lut_init.dat"...</font></div>
<div><font face="courier new, monospace">INFO: -> Configuration of LUTs done!</font></div><div><font face="courier new, monospace">INFO: Image is now pre-loaded. Release resets to start individual cores...</font></div>
<div><font face="courier new, monospace">INFO: Welcome to sccReset 1.4.0 (build date Mar <a href="tel:21%202011%20-%2018" value="+85221201118" target="_blank">21 2011 - 18</a>:40:25)...</font></div><div><font face="courier new, monospace">INFO: Resets have been released: 1 core (PID = 0x00)...</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">./watchall.sh: line 16: ./monitorvf: No such file or directory</font></div><div><font face="courier new, monospace">cat: no process found</font></div>
<div><font face="courier new, monospace">1380546138.196438068 [tty0] init: invoked as: init 2097152</font></div><div><font face="courier new, monospace">1380546138.606125107 [tty0] Spawning memory server (scc/sbin/mem_serv)...</font></div>
<div><font face="courier new, monospace">1380546138.777436845 [tty0] Spawning monitor (scc/sbin/monitor)...</font></div><div><font face="courier new, monospace">1380546139.079530566 [tty0] starting monitor as 'scc/sbin/monitor 327680 '</font></div>
<div><font face="courier new, monospace">1380546139.090795107 [tty0] monitor: invoked as: scc/sbin/monitor 327680</font></div><div><font face="courier new, monospace">1380546139.124046881 [tty0] RAM allocator initialised, 1993 MB (of 2009 MB) available</font></div>
<div><font face="courier new, monospace">1380546139.127657253 [tty0] Spawning ramfsd on core 0</font></div><div><font face="courier new, monospace">1380546139.404172509 [tty0] ramfsd.0: pre-populating from boot image...</font></div>
<div><font face="courier new, monospace">1380546140.622844419 [tty0] ramfsd.0: ready</font></div><div><font face="courier new, monospace">1380546140.623875949 [tty0] Spawning skb on core 0</font></div><div><font face="courier new, monospace">1380546140.847128192 [tty0] Spawning /scc/sbin/spawnd on core 0</font></div>
<div><font face="courier new, monospace">1380546141.110018278 [tty0] Spawning /scc/sbin/startd on core 0</font></div><div><font face="courier new, monospace">1380546141.398079066 [tty0] skb.0: waiting for: all_spawnds_up</font></div>
<div><font face="courier new, monospace">1380546141.400510925 [tty0] spawnd.0: coreid 0 is arch id 0</font></div><div><font face="courier new, monospace">1380546141.401512381 [tty0] spawnd.0: coreid 1 is arch id 1</font></div>
<div><font face="courier new, monospace">1380546141.402497875 [tty0] spawnd.0: coreid 2 is arch id 2</font></div><div><font face="courier new, monospace">1380546141.403494901 [tty0] spawnd.0: coreid 3 is arch id 3</font></div>
<div><font face="courier new, monospace">1380546141.404449438 [tty0] Monitor 0: booting scc core 1 as '/scc/sbin/cpu'</font></div><div><font face="courier new, monospace">1380546142.056228114 [tty1] Kernel starting at address 0x80100000</font></div>
<div><font face="courier new, monospace">1380546142.418765060 [tty1] My APIC ID: 1</font></div><div><font face="courier new, monospace">1380546142.419771261 [tty1] Barrelfish CPU driver starting on scc core 1</font></div>
<div><font face="courier new, monospace">1380546142.723848788 [tty1] init: invoked as: init <a href="tel:2097152%200" value="+85220971520" target="_blank">2097152 0</a> chanid=0 frame=2214723584</font></div><div><font face="courier new, monospace">1380546143.133526793 [tty1] Spawning memory server (scc/sbin/mem_serv)...</font></div>
<div><font face="courier new, monospace">1380546143.304451393 [tty1] Spawning monitor (scc/sbin/monitor)...</font></div><div><font face="courier new, monospace">1380546143.606945753 [tty1] starting monitor as 'scc/sbin/monitor 327680 0 chanid=0 frame=2214723584 '</font></div>
<div><font face="courier new, monospace">1380546143.619163686 [tty1] monitor: invoked as: scc/sbin/monitor 327680 0 chanid=0 frame=2214723584</font></div><div><font face="courier new, monospace">1380546143.652265905 [tty1] RAM allocator initialised, 1993 MB (of 2009 MB) available</font></div>
<div><font face="courier new, monospace">1380546143.654389890 [tty1] frame base at 0x84020000 -- 0x84021000</font></div><div><font face="courier new, monospace">1380546143.656470745 [tty1] URPC physical frame at 0x84020000</font></div>
<div><font face="courier new, monospace">1380546143.673648991 [tty1] Spawning spawnd on core 1</font></div><div><font face="courier new, monospace">1380546143.926931793 [tty0] Monitor 0: booting scc core 2 as '/scc/sbin/cpu'</font></div>
<div><font face="courier new, monospace">1380546144.578763470 [tty2] Kernel starting at address 0x80100000</font></div><div><font face="courier new, monospace">1380546144.593560025 [tty0] skb.0: waiting for: all_spawnds_up</font></div>
<div><font face="courier new, monospace">1380546144.966659660 [tty2] My APIC ID: 2</font></div><div><font face="courier new, monospace">1380546144.967658509 [tty2] Barrelfish CPU driver starting on scc core 2</font></div>
<div><font face="courier new, monospace">1380546145.295609729 [tty2] init: invoked as: init <a href="tel:2097152%200" value="+85220971520" target="_blank">2097152 0</a> chanid=1 frame=2214727680</font></div><div><font face="courier new, monospace">1380546145.738175894 [tty2] Spawning memory server (scc/sbin/mem_serv)...</font></div>
<div><font face="courier new, monospace">1380546145.920130006 [tty2] Spawning monitor (scc/sbin/monitor)...</font></div><div><font face="courier new, monospace">1380546146.243773844 [tty2] starting monitor as 'scc/sbin/monitor 327680 0 chanid=1 frame=2214727680 '</font></div>
<div><font face="courier new, monospace">1380546146.256600905 [tty2] monitor: invoked as: scc/sbin/monitor 327680 0 chanid=1 frame=2214727680</font></div><div><font face="courier new, monospace">1380546146.292203397 [tty2] RAM allocator initialised, 1993 MB (of 2009 MB) available</font></div>
<div><font face="courier new, monospace">1380546146.294384331 [tty2] frame base at 0x84021000 -- 0x84022000</font></div><div><font face="courier new, monospace">1380546146.296443991 [tty2] URPC physical frame at 0x84021000</font></div>
<div><font face="courier new, monospace">1380546146.314693046 [tty2] Spawning spawnd on core 2</font></div><div><font face="courier new, monospace">1380546146.576514118 [tty0] Monitor 0: booting scc core 3 as '/scc/sbin/cpu'</font></div>
<div><font face="courier new, monospace">1380546147.227886866 [tty3] Kernel starting at address 0x80100000</font></div><div><font face="courier new, monospace">1380546147.229171774 [tty2] bind_monitor_request: URPC physical frame at 0x85004000</font></div>
<div><font face="courier new, monospace">1380546147.244971439 [tty0] skb.0: waiting for: all_spawnds_up</font></div><div><font face="courier new, monospace">1380546147.615947074 [tty3] My APIC ID: 3</font></div><div><font face="courier new, monospace">1380546147.616964329 [tty3] Barrelfish CPU driver starting on scc core 3</font></div>
<div><font face="courier new, monospace">1380546147.944703178 [tty3] init: invoked as: init <a href="tel:2097152%200" value="+85220971520" target="_blank">2097152 0</a> chanid=4 frame=2214731776</font></div><div><font face="courier new, monospace">1380546148.386709590 [tty3] Spawning memory server (scc/sbin/mem_serv)...</font></div>
<div><font face="courier new, monospace">1380546148.568810345 [tty3] Spawning monitor (scc/sbin/monitor)...</font></div><div><font face="courier new, monospace">1380546148.891434695 [tty3] starting monitor as 'scc/sbin/monitor 327680 0 chanid=4 frame=2214731776 '</font></div>
<div><font face="courier new, monospace">1380546148.904726696 [tty3] monitor: invoked as: scc/sbin/monitor 327680 0 chanid=4 frame=2214731776</font></div><div><font face="courier new, monospace">1380546148.940212541 [tty3] RAM allocator initialised, 1993 MB (of 2009 MB) available</font></div>
<div><font face="courier new, monospace">1380546148.942369302 [tty3] frame base at 0x84022000 -- 0x84023000</font></div><div><font face="courier new, monospace">1380546148.944328976 [tty3] URPC physical frame at 0x84022000</font></div>
<div><font face="courier new, monospace">1380546148.962629606 [tty3] Spawning spawnd on core 3</font></div><div><font face="courier new, monospace">1380546149.225109682 [tty0] all 4 monitors up</font></div><div><font face="courier new, monospace">1380546149.226504722 [tty0] skb.0: waiting for: spawn.3.ready</font></div>
<div><font face="courier new, monospace">1380546149.227982129 [tty3] bind_monitor_request: URPC physical frame at 0x85006000</font></div><div><font face="courier new, monospace">1380546149.231178639 [tty3] bind_monitor_request: URPC physical frame at 0x86004000</font></div>
<div><font face="courier new, monospace">1380546149.253811616 [tty0] skb.0: waiting for: all_spawnds_up</font></div><div><font face="courier new, monospace">1380546149.257605969 [tty0] startd.0: starting app /scc/sbin/myApp on core 0</font></div>
<div><font face="courier new, monospace">1380546149.258570180 [tty0] skb.0: waiting for: spawn.0</font></div><div><font face="courier new, monospace">1380546150.402928729 [tty0] spawnd.0: spawning /scc/sbin/myApp on core 0</font></div>
<div><font face="courier new, monospace">1380546150.403924247 [tty0] No bootscript</font></div><div><font face="courier new, monospace">1380546150.422009744 [tty0] 0 1 2 3</font></div><div><font face="courier new, monospace">1380546151.551360195 [tty1] spawnd.1: spawning /scc/sbin/myApp on core 1</font></div>
<div><font face="courier new, monospace">1380546151.571356708 [tty0] skb.0: waiting for: jump_msg_service_0</font></div><div><font face="courier new, monospace">1380546152.760477682 [tty2] spawnd.2: spawning /scc/sbin/myApp on core 2</font></div>
<div><font face="courier new, monospace">1380546153.969534510 [tty3] spawnd.3: spawning /scc/sbin/myApp on core 3</font></div><div><font face="courier new, monospace">1380546153.975860397 [tty0] skb.0: waiting for: jump_msg_service_3</font></div>
<div><font face="courier new, monospace">1380546156.730633661 [tty0] skb.0: waiting for: skb</font></div><div><font face="courier new, monospace">1380546156.731602315 [tty0] skb.0: waiting for: skb</font></div><div><font face="courier new, monospace">1380546156.732592596 [tty0] skb.0: waiting for: skb</font></div>
<div><font face="courier new, monospace">1380546156.733548749 [tty0] skb.0: waiting for: skb</font></div></div><div><br></div></div>
<div>Thanks so much!<br></div><div><div><br></div>Cheers,<br>
Dominic Hung<br><br>--------------------------------------------------<br><div>C H Dominic Hung, B.Eng. (CE) HK<br></div><div>M. Phil. Student, Dept. of CS., Faculty of Engg.</div><br>Email: <a href="mailto:domchdh@hku.hk" target="_blank">domchdh@hku.hk</a><br>
</div></div></div>
</div></div></div><br>
</div>