[Barrelfish-users] SKB Server Not Up?

Dominic Hung domchdh at hku.hk
Mon Sep 30 18:47:05 CEST 2013


Dear Sir/Madam,

I am an user of Barrelfish on SCC Platform.

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.

But the curious thing is "module /scc/sbin/skb boot" is already in the
menu.lst.scc file.

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.

Below is the bootup printout,

bootscc.sh 4
Ignoring command 'timeout'
Ignoring command 'title'
Ignoring command 'root'
kernel entry point: 0x100000
load image at: 0xff000
Adding multiboot module '/scc/sbin/cpu', args '' at [0x928000:0x94bde4]
Adding multiboot module '/scc/sbin/init', args '' at [0x94c000:0xa1dc3b]
Adding multiboot module '/scc/sbin/mem_serv', args '' at [0xa1e000:0xae8346]
Adding multiboot module '/scc/sbin/monitor', args '' at [0xae9000:0xbf1f2c]
Adding multiboot module '/scc/sbin/ramfsd', args 'boot' at
[0xbf2000:0xcddd99]
Adding multiboot module '/scc/sbin/skb', args 'boot' at [0xcde000:0xdbe04d]
Ignoring command 'modulenounzip'
Adding multiboot module '/scc/sbin/spawnd', args 'boot bootscc=1-3' at
[0xdbf000:0xf1dd19]
Adding multiboot module '/scc/sbin/startd', args 'boot' at
[0xf1e000:0x106b6fb]
Adding multiboot module '/scc/sbin/myApp', args 'core=0 0 1 2 3' at
[0x106c000:0x1209b0e]
Inserting MMAP 0: [0x0, 0x27000000], type 1
Inserting MMAP 1: [0x80000000, 0x3000000], type 1
Inserting MMAP 2: [0x84000000, 0x3c000000], type 1
Inserting MMAP 3: [0xc0000000, 0x18000000], type 1
Inserting MMAP 4: [0xff000000, 0x1000000], type 1
writing 9 modules ...
Mapfile: >../tools/scc/bigimage.map<
Outfile: >barrelfish0.obj<
Converting file >bigimage.dat< to .32.obj format at origin 0x0003fc00
(0x000ff000) ... done with 17869583 Bytes.
Converting file >bootvector.dat< to .32.obj format at origin 0x3ffffffc
(0xfffffff0) ... done with 5 Bytes.
Total conversion: 17869588 Bytes
Mapfile: >../tools/scc/bootvector.map<
Outfile: >barrelfish1.obj<
Converting file >bootvector.dat< to .32.obj format at origin 0x3ffffffc
(0xfffffff0) ... done with 5 Bytes.
Total conversion: 5 Bytes
INFO: Welcome to sccReset 1.4.0 (build date Mar 21 2011 - 18:40:25)...
INFO: Applying global software reset to SCC (cores & CRB registers)...
INFO: (Re-)configuring GRB registers...
Successfully created memory images...
Successfully created LUT configuration...
INFO: Welcome to sccBoot 1.4.0 (build date Mar 21 2011 - 18:39:01)...
INFO: Pulling reset of all cores...
INFO: Preloading Memory with object file...
INFO: Found object for MC x=0, y=0: "obj/mch_0_0.32.obj"...
INFO: writeMemFromOBJ(...): Configuration of memory done!
INFO: Successfully (re-)loaded object file "obj/mch_0_0.32.obj"...
INFO: Preloading LUTs...
INFO: Configuring LUTs with content of file "obj/lut_init.dat"...
INFO: -> Configuration of LUTs done!
INFO: Image is now pre-loaded. Release resets to start individual cores...
INFO: Welcome to sccReset 1.4.0 (build date Mar 21 2011 - 18:40:25)...
INFO: Resets have been released: 1 core (PID = 0x00)...

./watchall.sh: line 16: ./monitorvf: No such file or directory
cat: no process found
1380546138.196438068 [tty0] init: invoked as: init 2097152
1380546138.606125107 [tty0] Spawning memory server (scc/sbin/mem_serv)...
1380546138.777436845 [tty0] Spawning monitor (scc/sbin/monitor)...
1380546139.079530566 [tty0] starting monitor as 'scc/sbin/monitor 327680 '
1380546139.090795107 [tty0] monitor: invoked as: scc/sbin/monitor 327680
1380546139.124046881 [tty0] RAM allocator initialised, 1993 MB (of 2009 MB)
available
1380546139.127657253 [tty0] Spawning ramfsd on core 0
1380546139.404172509 [tty0] ramfsd.0: pre-populating from boot image...
1380546140.622844419 [tty0] ramfsd.0: ready
1380546140.623875949 [tty0] Spawning skb on core 0
1380546140.847128192 [tty0] Spawning /scc/sbin/spawnd on core 0
1380546141.110018278 [tty0] Spawning /scc/sbin/startd on core 0
1380546141.398079066 [tty0] skb.0: waiting for: all_spawnds_up
1380546141.400510925 [tty0] spawnd.0: coreid 0 is arch id 0
1380546141.401512381 [tty0] spawnd.0: coreid 1 is arch id 1
1380546141.402497875 [tty0] spawnd.0: coreid 2 is arch id 2
1380546141.403494901 [tty0] spawnd.0: coreid 3 is arch id 3
1380546141.404449438 [tty0] Monitor 0: booting scc core 1 as '/scc/sbin/cpu'
1380546142.056228114 [tty1] Kernel starting at address 0x80100000
1380546142.418765060 [tty1] My APIC ID: 1
1380546142.419771261 [tty1] Barrelfish CPU driver starting on scc core 1
1380546142.723848788 [tty1] init: invoked as: init 2097152 0 chanid=0
frame=2214723584
1380546143.133526793 [tty1] Spawning memory server (scc/sbin/mem_serv)...
1380546143.304451393 [tty1] Spawning monitor (scc/sbin/monitor)...
1380546143.606945753 [tty1] starting monitor as 'scc/sbin/monitor 327680 0
chanid=0 frame=2214723584 '
1380546143.619163686 [tty1] monitor: invoked as: scc/sbin/monitor 327680 0
chanid=0 frame=2214723584
1380546143.652265905 [tty1] RAM allocator initialised, 1993 MB (of 2009 MB)
available
1380546143.654389890 [tty1] frame base at 0x84020000 -- 0x84021000
1380546143.656470745 [tty1] URPC physical frame at 0x84020000
1380546143.673648991 [tty1] Spawning spawnd on core 1
1380546143.926931793 [tty0] Monitor 0: booting scc core 2 as '/scc/sbin/cpu'
1380546144.578763470 [tty2] Kernel starting at address 0x80100000
1380546144.593560025 [tty0] skb.0: waiting for: all_spawnds_up
1380546144.966659660 [tty2] My APIC ID: 2
1380546144.967658509 [tty2] Barrelfish CPU driver starting on scc core 2
1380546145.295609729 [tty2] init: invoked as: init 2097152 0 chanid=1
frame=2214727680
1380546145.738175894 [tty2] Spawning memory server (scc/sbin/mem_serv)...
1380546145.920130006 [tty2] Spawning monitor (scc/sbin/monitor)...
1380546146.243773844 [tty2] starting monitor as 'scc/sbin/monitor 327680 0
chanid=1 frame=2214727680 '
1380546146.256600905 [tty2] monitor: invoked as: scc/sbin/monitor 327680 0
chanid=1 frame=2214727680
1380546146.292203397 [tty2] RAM allocator initialised, 1993 MB (of 2009 MB)
available
1380546146.294384331 [tty2] frame base at 0x84021000 -- 0x84022000
1380546146.296443991 [tty2] URPC physical frame at 0x84021000
1380546146.314693046 [tty2] Spawning spawnd on core 2
1380546146.576514118 [tty0] Monitor 0: booting scc core 3 as '/scc/sbin/cpu'
1380546147.227886866 [tty3] Kernel starting at address 0x80100000
1380546147.229171774 [tty2] bind_monitor_request: URPC physical frame at
0x85004000
1380546147.244971439 [tty0] skb.0: waiting for: all_spawnds_up
1380546147.615947074 [tty3] My APIC ID: 3
1380546147.616964329 [tty3] Barrelfish CPU driver starting on scc core 3
1380546147.944703178 [tty3] init: invoked as: init 2097152 0 chanid=4
frame=2214731776
1380546148.386709590 [tty3] Spawning memory server (scc/sbin/mem_serv)...
1380546148.568810345 [tty3] Spawning monitor (scc/sbin/monitor)...
1380546148.891434695 [tty3] starting monitor as 'scc/sbin/monitor 327680 0
chanid=4 frame=2214731776 '
1380546148.904726696 [tty3] monitor: invoked as: scc/sbin/monitor 327680 0
chanid=4 frame=2214731776
1380546148.940212541 [tty3] RAM allocator initialised, 1993 MB (of 2009 MB)
available
1380546148.942369302 [tty3] frame base at 0x84022000 -- 0x84023000
1380546148.944328976 [tty3] URPC physical frame at 0x84022000
1380546148.962629606 [tty3] Spawning spawnd on core 3
1380546149.225109682 [tty0] all 4 monitors up
1380546149.226504722 [tty0] skb.0: waiting for: spawn.3.ready
1380546149.227982129 [tty3] bind_monitor_request: URPC physical frame at
0x85006000
1380546149.231178639 [tty3] bind_monitor_request: URPC physical frame at
0x86004000
1380546149.253811616 [tty0] skb.0: waiting for: all_spawnds_up
1380546149.257605969 [tty0] startd.0: starting app /scc/sbin/myApp on core 0
1380546149.258570180 [tty0] skb.0: waiting for: spawn.0
1380546150.402928729 [tty0] spawnd.0: spawning /scc/sbin/myApp on core 0
1380546150.403924247 [tty0] No bootscript
1380546150.422009744 [tty0] 0 1 2 3
1380546151.551360195 [tty1] spawnd.1: spawning /scc/sbin/myApp on core 1
1380546151.571356708 [tty0] skb.0: waiting for: jump_msg_service_0
1380546152.760477682 [tty2] spawnd.2: spawning /scc/sbin/myApp on core 2
1380546153.969534510 [tty3] spawnd.3: spawning /scc/sbin/myApp on core 3
1380546153.975860397 [tty0] skb.0: waiting for: jump_msg_service_3
1380546156.730633661 [tty0] skb.0: waiting for: skb
1380546156.731602315 [tty0] skb.0: waiting for: skb
1380546156.732592596 [tty0] skb.0: waiting for: skb
1380546156.733548749 [tty0] skb.0: waiting for: skb

Thanks so much!

Cheers,
Dominic Hung

--------------------------------------------------
C H Dominic Hung, B.Eng. (CE) HK
M. Phil. Student, Dept. of CS., Faculty of Engg.

Email: domchdh at hku.hk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20131001/93b2fb3d/attachment.html 


More information about the Barrelfish-users mailing list