[Barrelfish-users] Error while booting Barrelfish: can't find boot dir

Achermann Reto reto.achermann at inf.ethz.ch
Thu Jan 24 14:46:42 CET 2019


Hi Mohan,

There seems to be the old networking modules in your menu.lst.

try using this one (update the paths accordingly)

title Barrelfish
root (nd)
kernel /x86_64/sbin/elver loglevel=3
module /x86_64/sbin/cpu loglevel=3
module /x86_64/sbin/init
# Domains spawned by init
module /x86_64/sbin/mem_serv
module /x86_64/sbin/monitor
# Special boot time domains spawned by monitor
module  /x86_64/sbin/ramfsd boot
module  /x86_64/sbin/skb boot
modulenounzip /eclipseclp_ramfs.cpio.gz nospawn
modulenounzip /skb_ramfs.cpio.gz nospawn
module  /x86_64/sbin/kaluga boot
module  /x86_64/sbin/acpi boot
module  /x86_64/sbin/spawnd boot
module  /x86_64/sbin/proc_mgmt boot
#bootapic-x86_64=1-15
module  /x86_64/sbin/startd boot
module /x86_64/sbin/routing_setup boot
# Drivers
module /x86_64/sbin/pci auto
module /x86_64/sbin/corectrl auto
module /x86_64/sbin/serial_pc16550d auto
## For networking
module /x86_64/sbin/e1000n auto
module /x86_64/sbin/net_sockets_server nospawn
# General user domains
module  /x86_64/sbin/fish nospawn
module /x86_64/sbin/angler serial0.terminal xterm


-- Reto

--

Reto Achermann
PhD Student, Systems Group, ETH Zurich



On 2019-01-24 14:41:49+01:00 Kumar, Mohan Kumar wrote:

Hi Reto,



I am using a baremetal setup, not a VM.

Is there something in the menu.lst that

I should not use?



Thanks,

Mohan

________________________________
From: Achermann Reto <reto.achermann at inf.ethz.ch>
Sent: Thursday, January 24, 2019 8:23:59 AM
To: Kumar, Mohan Kumar; barrelfish-users at lists.inf.ethz.ch
Subject: RE: [Barrelfish-users] Error while booting Barrelfish: can't find boot dir
Hi Mohan,

Unfortunately, I cannot reproduce your error on my machine. It seems, however, that Fish was started before angler was started which may be causing the error regarding the session cap.

It seems you are using a virtual machine. What type of VM and version are you using?

Can you please copy-paste the entire Barrelfish boot process and not just the last 20 lines or so?
(i.e. from make qemu_x86_64 to where it aborts)

-- Reto


--

Reto Achermann
PhD Student, Systems Group, ETH Zurich



On 2019-01-24 13:37:12+01:00 Kumar, Mohan Kumar wrote:

Hi Reto,



Thanks for your help! I modified the menu.lst file. However, I get another error from fish now. Attached is the image with the error.



Below is my menu.lst file:


title           Barrelfish
uuid            ab18dcf7-049c-4005-b6b6-a8547ffda9de
kernel          /boot/barrelfish/x86_64/sbin/elver

module          /boot/barrelfish/x86_64/sbin/cpu
module          /boot/barrelfish/x86_64/sbin/init

module          /boot/barrelfish/x86_64/sbin/mem_serv
module          /boot/barrelfish/x86_64/sbin/monitor

module          /boot/barrelfish/x86_64/sbin/ramfsd boot
module          /boot/barrelfish/x86_64/sbin/skb boot
modulenounzip   /boot/barrelfish/eclipseclp_ramfs.cpio.gz nospawn
modulenounzip   /boot/barrelfish/skb_ramfs.cpio.gz nospawn
module          /boot/barrelfish/x86_64/sbin/kaluga boot
module          /boot/barrelfish/x86_64/sbin/acpi boot
module          /boot/barrelfish/x86_64/sbin/spawnd boot
module          /boot/barrelfish/x86_64/sbin/proc_mgmt boot
#bootapic-x86_64=1-15
module          /boot/barrelfish/x86_64/sbin/startd boot
module          /boot/barrelfish/x86_64/sbin/routing_setup boot

module          /boot/barrelfish/x86_64/sbin/pci auto
module          /boot/barrelfish/x86_64/sbin/corectrl auto
module          /boot/barrelfish/x86_64/sbin/ahcid auto
module          /boot/barrelfish/x86_64/sbin/serial_pc16550d

#networking
module          /boot/barrelfish/x86_64/sbin/e1000n auto
module          /boot/barrelfish/x86_64/sbin/net_sockets_server nospawn

#other networking
#module          /boot/barrelfish/x86_64/sbin/NGD_mng auto
#module          /boot/barrelfish/x86_64/sbin/netd auto

module          /boot/barrelfish/x86_64/sbin/fish
module          /boot/barrelfish/x86_64/sbin/angler serial0.terminal xterm

Thanks,

Mohan

________________________________
From: Achermann Reto <reto.achermann at inf.ethz.ch>
Sent: Thursday, January 24, 2019 3:08:12 AM
To: barrelfish-users at lists.inf.ethz.ch; Kumar, Mohan Kumar
Subject: RE: [Barrelfish-users] Error while booting Barrelfish: can't find boot dir
Dear Mohan,

The problem seems to be a mismatch between the menu.lst and the Barrelfish version you are running.

Assuming you are on the current release (otherwise consider updating)

You will need to add:

modulenounzip /eclipseclp_ramfs.cpio.gz nospawn

To your menu.lst, which contains the required eclipse files.
Please refer to:
https://github.com/BarrelfishOS/barrelfish/blob/master/hake/menu.lst.x86_64


-- Reto
--

Reto Achermann
PhD Student, Systems Group, ETH Zurich



On 2019-01-24 03:58:33+01:00 Barrelfish-users wrote:

Hello,



I am getting an error ("Aborting: can't find boot file!") when I try to

boot Barrelfish on my baremetal server. Attached is the image with

the error.



I checked the Barrelfish mailing list for such previous errors, and found

that the path to skb_ramfs.cpio.gz was the problem. However, the path

to that file is correct in my setup.



Below is my menu.lst file:


title           Barrelfish
uuid            ab18dcf7-049c-4005-b6b6-a8547ffda9de
kernel          /boot/barrelfish/x86_64/sbin/elver

module          /boot/barrelfish/x86_64/sbin/cpu
module          /boot/barrelfish/x86_64/sbin/init

module          /boot/barrelfish/x86_64/sbin/mem_serv
module          /boot/barrelfish/x86_64/sbin/monitor

module          /boot/barrelfish/x86_64/sbin/ramfsd boot
module          /boot/barrelfish/x86_64/sbin/skb boot
modulenounzip   /boot/barrelfish/skb_ramfs.cpio.gz nospawn
module          /boot/barrelfish/x86_64/sbin/kaluga boot
module          /boot/barrelfish/x86_64/sbin/acpi boot
module          /boot/barrelfish/x86_64/sbin/spawnd boot
module          /boot/barrelfish/x86_64/sbin/startd boot
module          /boot/barrelfish/x86_64/sbin/routing_setup boot

module          /boot/barrelfish/x86_64/sbin/pci auto
module          /boot/barrelfish/x86_64/sbin/corectrl auto
module          /boot/barrelfish/x86_64/sbin/ahcid auto

#networking
module          /boot/barrelfish/x86_64/sbin/rtl8029 auto
module          /boot/barrelfish/x86_64/sbin/e1000n auto

#other networking
module          /boot/barrelfish/x86_64/sbin/NGD_mng auto
module          /boot/barrelfish/x86_64/sbin/netd auto

module          /boot/barrelfish/x86_64/sbin/serial_pc16550d
module          /boot/barrelfish/x86_64/sbin/fish

Thanks,

Mohan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20190124/0a6232b6/attachment.html>


More information about the Barrelfish-users mailing list