[Barrelfish-users] Fwd:

Raphael Fuchs raphaelfuchs at student.ethz.ch
Sun May 20 14:12:08 CEST 2012


[CC to the list]

Hi

The messages "No bootscript" and "File /init.fish not found" are 
harmless. The bootscript is a simple text file containing fish (our 
shell) commands to be executed when fish starts. You can add the option 
"nobootscript" to the file menu.lst (located in your build directory) to 
turn the second message off.

Your output, however, is missing the following two lines.

0 chips: client waiting for serial
0 chips: notifying client about serial

Note that in the default configuration terminal input and output is via 
the serial line. If you boot Barrelfish on real hardware make sure the 
serial line you use it at address 0x3f8 and uses IRQ 4. Otherwise you 
have to inform the serial driver accordingly. If your serial driver 
makes for example use of address 0x2f8 and uses IRQ 3, put the following 
line into your menu.lst

module    /x86_64/sbin/serial portbase=0x2f8 irq=3

If you run Barrelish within QEMU (via 'make sim'), the default 
configuration should work.


Regards
Raphael

On 18.05.2012 15:30, Sandeep Kalaskar wrote:
> Booting 'Barrelfish'
>
> root (nd)
>  Filesystem type is tftp, using whole disk
> kernel /x86_64/sbin/elver loglevel=4
>    [Multiboot-elf, <0x100000:0x257c:0x0>, <0x103fe4:0x1c:0x6000>, 
> shtab=0x10a2f
> 8, entry=0x10000c]
> module /x86_64/sbin/cpu loglevel=4
>    [Multiboot-module @ 0x115000, 0xcfc42 bytes]
> module /x86_64/sbin/init
>    [Multiboot-module @ 0x1e5000, 0x420b88 bytes]
> module /x86_64/sbin/mem_serv
>    [Multiboot-module @ 0x606000, 0x3df681 bytes]
> module /x86_64/sbin/monitor
>    [Multiboot-module @ 0x9e6000, 0x5cb35d bytes]
> module /x86_64/sbin/chips boot
>    [Multiboot-module @ 0xfb2000, 0x3da0bc bytes]
> module  /x86_64/sbin/ramfsd boot
>    [Multiboot-module @ 0x138d000, 0x477c4e bytes]
> module  /x86_64/sbin/skb boot
>    [Multiboot-module @ 0x1805000, 0x9acb7b bytes]
> modulenounzip /skb_ramfs.cpio.gz nospawn
>    [Multiboot-module @ 0x21b2000, 0x9eb0c bytes]
> module  /x86_64/sbin/pci boot
>    [Multiboot-module @ 0x2251000, 0x661965 bytes]
> module  /x86_64/sbin/spawnd boot
>    [Multiboot-module @ 0x28b3000, 0x6ca2c0 bytes]
> module  /x86_64/sbin/startd boot
>    [Multiboot-module @ 0x2f7e000, 0x69be8a bytes]
> module /x86_64/sbin/routing_setup boot
>    [Multiboot-module @ 0x361a000, 0x3e96c9 bytes]
> module /x86_64/sbin/ahcid
>    [Multiboot-module @ 0x3a04000, 0x49ffe6 bytes]
> module /x86_64/sbin/serial
>    [Multiboot-module @ 0x3ea4000, 0x42993b bytes]
> module /x86_64/sbin/fish
>    [Multiboot-module @ 0x42ce000, 0x6f8f73 bytes]
>
> Kernel starting at address 0xffffff80049c8000
> Barrelfish CPU driver starting on x86_64 apic_id 0
> kernel 0: Measured 999999116 APIC timer counts in one RTC second, 
> 102387 data points.
> kernel 0: Measured 2396570 TSC counts per ms, 99 data points. Average 
> jitter 1373 TSC ticks.
> Raw MMAP from BIOS
>     0x00000000 - 0x0009ec00 Type: 1 Length: 0x9ec00
>     0x0009ec00 - 0x000a0000 Type: 2 Length: 0x1400
>     0x000f0000 - 0x00100000 Type: 2 Length: 0x10000
>     0x00100000 - 0x3fffd000 Type: 1 Length: 0x3fefd000
>     0x3fffd000 - 0x40000000 Type: 2 Length: 0x3000
>     0xfeffc000 - 0xff000000 Type: 2 Length: 0x4000
>     0xfffc0000 - 0x100000000 Type: 2 Length: 0x40000
> Sorted MMAP
>     0x00000000 - 0x0009ec00 Type: 1 Length: 0x9ec00
>     0x0009ec00 - 0x000a0000 Type: 2 Length: 0x1400
>     0x000f0000 - 0x00100000 Type: 2 Length: 0x10000
>     0x00100000 - 0x3fffd000 Type: 1 Length: 0x3fefd000
>     0x3fffd000 - 0x40000000 Type: 2 Length: 0x3000
>     0xfeffc000 - 0xff000000 Type: 2 Length: 0x4000
>     0xfffc0000 - 0x100000000 Type: 2 Length: 0x40000
> Preprocessed MMAP
>     0x00000000 - 0x0009ec00 Type: 1 Length: 0x9ec00
>     0x0009ec00 - 0x000a0000 Type: 2 Length: 0x1400
>     0x000f0000 - 0x00100000 Type: 2 Length: 0x10000
>     0x00100000 - 0x3fffd000 Type: 1 Length: 0x3fefd000
>     0x3fffd000 - 0x40000000 Type: 2 Length: 0x3000
>     0xfeffc000 - 0xff000000 Type: 2 Length: 0x4000
>     0xfffc0000 - 0x100000000 Type: 2 Length: 0x40000
> Pagealigned MMAP
>     0x00000000 - 0x0009e000 Type: 1 Length: 0x9e000
>     0x0009e000 - 0x000a0000 Type: 2 Length: 0x2000
>     0x000f0000 - 0x00100000 Type: 2 Length: 0x10000
>     0x00100000 - 0x3fffd000 Type: 1 Length: 0x3fefd000
>     0x3fffd000 - 0x40000000 Type: 2 Length: 0x3000
>     0xfeffc000 - 0xff000000 Type: 2 Length: 0x4000
>     0xfffc0000 - 0x100000000 Type: 2 Length: 0x40000
> init: invoked as: init 2097152
> Spawning memory server (x86_64/sbin/mem_serv)...
> Spawning monitor (x86_64/sbin/monitor)...
> monitor: invoked as: x86_64/sbin/monitor 327680
> RAM allocator initialised, 924 MB (of 940 MB) available
> Spawning chips on core 0
> Spawning /x86_64/sbin/ramfsd on core 0
> Spawning /x86_64/sbin/skb on core 0
> Spawning /x86_64/sbin/pci on core 0
> Spawning /x86_64/sbin/spawnd on core 0
> Spawning /x86_64/sbin/startd on core 0
> Spawning /x86_64/sbin/routing_setup on core 0
> ramfsd.0: pre-populating from boot image...
> 0 chips: client waiting for ramfs
> 0 chips: client waiting for skb
> 0 chips: client waiting for ramfs
> 0 chips: client waiting for ramfs
> ramfsd.0: unpacking Gzipped CPIO /skb_ramfs.cpio.gz
> ramfsd.0: ready
> 0 chips: notifying client about ramfs
> 0 chips: notifying client about ramfs
> 0 chips: notifying client about ramfs
> 0 chips: client waiting for all_spawnds_up
> 0 chips: client waiting for skb
> 0 chips: notifying client about skb
> 0 chips: notifying client about skb
> 0 chips: client waiting for pci_discovery_done
> err_revoke_first: (0xffffff80076816c0, 1, 8)
> err_revoke_first: (0xffffff8004f59040, 1, 8)
> err_revoke_first: (0xffffff80076817c0, 1, 8)
> err_revoke_first: (0xffffff8004f59040, 1, 8)
> err_revoke_first: (0xffffff80076817c0, 1, 8)
> err_revoke_first: (0xffffff8004f59040, 1, 8)
> err_revoke_first: (0xffffff8004f59040, 1, 8)
> err_revoke_first: (0xffffff8004f59040, 1, 8)
> err_revoke_first: (0xffffff8004f59040, 1, 8)
> err_revoke_first: (0xffffff80076817c0, 1, 8)
> err_revoke_first: (0xffffff8004f59040, 1, 8)
> err_revoke_first: (0xffffff8004f59040, 1, 8)
> err_revoke_first: (0xffffff80076817c0, 1, 8)
> kernel: 0: installing handler for IRQ 0
> Installing fixed event handler for power button
> 0 chips: notifying client about pci_discovery_done
> spawnd.0: coreid 0 is arch id 0
> spawnd.0: coreid 1 is arch id 1
> Monitor 0: booting x86_64 core 1 as '/x86_64/sbin/cpu loglevel=4'
> Kernel starting at address 0xffffff800c801000
> Barrelfish CPU driver starting on x86_64 apic_id 1
> kernel 1: Measured 2396795 TSC counts per ms, 99 data points. Average 
> jitter 1209 TSC ticks.
> monitor: invoked as: monitor 0 chanid=0 archid=0
> Spawning spawnd on core 1
> all 2 monitors up
> monitor: synchronizing clocks
> 0 chips: client waiting for spawn.1.ready
> 0 chips: notifying client about spawn.1.ready
> 0 chips: client waiting for all_spawnds_up
> 0 chips: notifying client about all_spawnds_up
> 0 chips: notifying client about all_spawnds_up
> startd.0: starting app /x86_64/sbin/ahcid on core 0
> spawnd.0: spawning /x86_64/sbin/ahcid on core 0
> startd.0: starting app /x86_64/sbin/serial on core 0
> spawnd.0: spawning /x86_64/sbin/serial on core 0
> startd.0: starting app /x86_64/sbin/fish on core 0
> spawnd.0: spawning /x86_64/sbin/fish on core 0
> No bootscript
> kernel: 0: installing handler for IRQ 1
> ahcid: found QEMU ICH9R controller
> kernel: 0: installing handler for IRQ 2
> fish v0.2 -- pleased to meet you!
> File /init.fish not found
> available commands:
> help           print_cspace   quit           ps             demo
> pixels         mnfs           oncore         reset          poweroff
> skb            mount          ls             cd             pwd
> touch          cat            cat2           dd             cp
> rm             mkdir          rmdir          setenv         src
> printenv       free
> >
>
>
> it shows No Bootscript.. and init.fish file not found but in fish.c 
> file there is a line specifying
> #define BOOTSCRIPT_NAME "/init.fish"
>
> can u attach that file so that i can check my execution along with the 
> location of init.fish
> Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20120520/795f68e0/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4449 bytes
Desc: S/MIME Cryptographic Signature
Url : https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20120520/795f68e0/attachment.bin 


More information about the Barrelfish-users mailing list