[Barrelfish-users] Running Barrelfish on QEMU Fails

Lukas Humbel lukas.humbel at inf.ethz.ch
Tue Dec 4 10:39:53 CET 2018


Hi

Unfortunately the e1000e efi rom is not shipped with ubuntu... To
install it:
                                                                                                                            

   - On Ubuntu install qemu-system-x86 qemu-efi
qemu-ipxe                                                                                                              

   - Then cd /usr/lib/ipxe/qemu/
&&                                                                                                                                    

     sudo wget
https://github.com/qemu/qemu/raw/master/pc-bios/efi-e1000e.rom 

Alternatively, you can change set a different network card in qemu by
setting the environment variable:

NIC_MODEL=e1000 make qemu_x86_64

Cheers,
Lukas


On 01.12.18 19:26, Karim Alomari wrote:
> Hi everyone,
>
> I'm trying to build and run Barrelfish but when I run the following
> command:
>
> make qemu_x86_64
>
> I got the following error:
>
> ../tools/qemu-wrapper.sh --menu platforms/x86/menu.lst.x86_64 --arch
> x86_64
> Using menu file platforms/x86/menu.lst.x86_64
> Initial kernel file: x86_64/sbin/elver
> Initial RAM disk contents: x86_64/sbin/cpu
> loglevel=3,x86_64/sbin/init,x86_64/sbin/mem_serv,x86_64/sbin/monitor,x86_64/sbin/ramfsd
> boot,x86_64/sbin/skb boot,eclipseclp_ramfs.cpio.gz
> nospawn,skb_ramfs.cpio.gz nospawn,x86_64/sbin/kaluga
> boot,x86_64/sbin/acpi boot,x86_64/sbin/spawnd
> boot,x86_64/sbin/proc_mgmt boot,x86_64/sbin/startd
> boot,x86_64/sbin/routing_setup boot,x86_64/sbin/pci
> auto,x86_64/sbin/corectrl auto,x86_64/sbin/ahcid
> auto,x86_64/sbin/serial_pc16550d auto,x86_64/sbin/e1000n
> auto,x86_64/sbin/net_sockets_server nospawn,x86_64/sbin/fish
> nospawn,x86_64/sbin/angler serial0.terminal xterm
> Kernel command line arguments: loglevel=3
> Requested architecture is x86_64.
> Creating hard disk image hd.img
> Formatting 'hd.img', fmt=raw size=10485760
> OK: about to run the follow qemu command:
> qemu-system-x86_64         -machine type=q35         -smp 1         -m
> 1024         -netdev user,id=network0         -device
> e1000e,netdev=network0         -device ahci,id=ahci         -device
> ide-drive,drive=disk,bus=ahci.0         -drive
> id=disk,file=hd.img,if=none -nographic -kernel x86_64/sbin/elver
> -append 'loglevel=3' -initrd x86_64/sbin/cpu
> loglevel=3,x86_64/sbin/init,x86_64/sbin/mem_serv,x86_64/sbin/monitor,x86_64/sbin/ramfsd
> boot,x86_64/sbin/skb boot,eclipseclp_ramfs.cpio.gz
> nospawn,skb_ramfs.cpio.gz nospawn,x86_64/sbin/kaluga
> boot,x86_64/sbin/acpi boot,x86_64/sbin/spawnd
> boot,x86_64/sbin/proc_mgmt boot,x86_64/sbin/startd
> boot,x86_64/sbin/routing_setup boot,x86_64/sbin/pci
> auto,x86_64/sbin/corectrl auto,x86_64/sbin/ahcid
> auto,x86_64/sbin/serial_pc16550d auto,x86_64/sbin/e1000n
> auto,x86_64/sbin/net_sockets_server nospawn,x86_64/sbin/fish
> nospawn,x86_64/sbin/angler serial0.terminal xterm
> WARNING: Image format was not specified for 'hd.img' and probing
> guessed raw.
>          Automatically detecting the format is dangerous for raw
> images, write operations on block 0 will be restricted.
>          Specify the 'raw' format explicitly to remove the restrictions.
> qemu-system-x86_64: warning: TCG doesn't support requested feature:
> CPUID.01H:ECX.vmx [bit 5]
> qemu-system-x86_64: -device e1000e,netdev=network0: failed to find
> romfile "efi-e1000e.rom"
> Makefile:66213: recipe for target 'qemu_x86_64' failed
> make: *** [qemu_x86_64] Error 1
>
> I'm using QEMU emulator version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.8)
> on a virtual machine with Ubuntu 18.04.
>
> Please advise.
>
> Thanks,
> Karim
>
> _______________________________________________
> Barrelfish-users mailing list
> Barrelfish-users at lists.inf.ethz.ch
> https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users

-- 
Lukas Humbel

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


More information about the Barrelfish-users mailing list