<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi</p>
    <p>Unfortunately the e1000e efi rom is not shipped with ubuntu... To
      install it:<br>
                                                                                                                            
      <br>
         - On Ubuntu install qemu-system-x86 qemu-efi
qemu-ipxe                                                                                                              
      <br>
         - Then cd /usr/lib/ipxe/qemu/
&&                                                                                                                                    
      <br>
           sudo wget
      <a class="moz-txt-link-freetext" href="https://github.com/qemu/qemu/raw/master/pc-bios/efi-e1000e.rom">https://github.com/qemu/qemu/raw/master/pc-bios/efi-e1000e.rom</a>  <br>
    </p>
    <p> Alternatively, you can change set a different network card in
      qemu by setting the environment variable:</p>
    <p>NIC_MODEL=e1000 make qemu_x86_64</p>
    <p>Cheers,<br>
      Lukas<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 01.12.18 19:26, Karim Alomari wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CANgBDfiyDfmB57ttb8PKA+LzFcwO47Y0_1bYJjjqO+ootWn4aA@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div>Hi everyone,</div>
              <div><br>
              </div>
              <div>I'm trying to build and run Barrelfish but when I run
                the following command:</div>
              <div><br>
              </div>
              <div>make qemu_x86_64</div>
              <div><br>
              </div>
              <div>I got the following error:</div>
              <div><br>
              </div>
              <div>../tools/qemu-wrapper.sh --menu
                platforms/x86/menu.lst.x86_64 --arch x86_64 <br>
                Using menu file platforms/x86/menu.lst.x86_64<br>
                Initial kernel file: x86_64/sbin/elver<br>
                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<br>
                Kernel command line arguments: loglevel=3<br>
                Requested architecture is x86_64.<br>
                Creating hard disk image hd.img<br>
                Formatting 'hd.img', fmt=raw size=10485760<br>
                OK: about to run the follow qemu command:<br>
                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<br>
                WARNING: Image format was not specified for 'hd.img' and
                probing guessed raw.<br>
                         Automatically detecting the format is dangerous
                for raw images, write operations on block 0 will be
                restricted.<br>
                         Specify the 'raw' format explicitly to remove
                the restrictions.<br>
                qemu-system-x86_64: warning: TCG doesn't support
                requested feature: CPUID.01H:ECX.vmx [bit 5]<br>
                qemu-system-x86_64: -device e1000e,netdev=network0:
                failed to find romfile "efi-e1000e.rom"<br>
                Makefile:66213: recipe for target 'qemu_x86_64' failed<br>
                make: *** [qemu_x86_64] Error 1</div>
              <div><br>
              </div>
              <div>I'm using QEMU emulator version 2.11.1(Debian
                1:2.11+dfsg-1ubuntu7.8) on a virtual machine with Ubuntu
                18.04.</div>
              <div><br>
              </div>
              <div>Please advise.</div>
              <div><br>
              </div>
              <div>Thanks,</div>
              <div>Karim<br>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Barrelfish-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a>
<a class="moz-txt-link-freetext" href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Lukas Humbel
</pre>
  </body>
</html>