<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">I recently got the same problem on a
      regular machine, booting Barrelfish. The problem occurs when the
      Barrelfish kernel is trying to add a large area of memory to the
      memory-handover CNode (supercn) of the init process.<br>
      <br>
      I am not sure whether this has been introduced as a bug in a
      recent release or whether it's always been there. Making the CNode
      and associated data structures larger is an obvious workaround,
      but it should be investigated first, whether there is something
      wrong with the way capabilities are created for large memory
      regions.<br>
      <br>
      Simon<br>
      <br>
      On 13-03-01 06:38 PM, Mateusz Olczak wrote:<br>
    </div>
    <blockquote
      cite="mid:49957667.277.1362191901097.JavaMail.root@olczak.se"
      type="cite">
      <pre wrap="">Hi,

I'm having trouble with segfault below at boot under Simics.
Same image file works fine under Qemu.

Pagealigned MMAP
        0x00000000 - 0x0009f000 Type: 1 Length: 0x9f000
        0x0009f000 - 0x000a0000 Type: 2 Length: 0x1000
        0x000f0000 - 0x00100000 Type: 2 Length: 0x10000
        0x00100000 - 0xdfffd000 Type: 1 Length: 0xdfefd000
        0xdfffd000 - 0xe0000000 Type: 2 Length: 0x3000
        0xfffc0000 - 0x100000000 Type: 2 Length: 0x40000
        0x100000000 - 0x1fff00000 Type: 1 Length: 0xfff00000
kernel 0: create_caps_to_cnode: Cannot create more caps in CNode
kernel 0 PANIC! kernel assertion "err_is_ok(err)" failed at ../src/kernel/arch/x86_64/startup_arch.c:412
kernel 0: exception 3 (error code 0x0): vec_bp: breakpoint
Faulting instruction pointer (or next instruction): 0xffffff80082861fd
  =&gt; i.e. unrelocated kernel address 0x10f1fd
Registers:
 rax: 0xffffff80082a4000  r8 : 0xffffff80000b8fa0
 rbx: 0x00000001fff00000  r9 : 0x0000000000000000
 rcx: 0x0000000000000020  r10: 0x0000000000000000
 rdx: 0xffffff80083392e0  r11: 0xffffffffffffffff
 rsp: 0xffffff8008b3fe08  r12: 0xffffff800829e600
 rdi: 0x00000000000003f8  r13: 0xffffff80090ae0a8
 rsi: 0x000000000000000a  r14: 0x00000000090ae000
 rip: 0xffffff80082861fd  r15: 0x0000000100000000
Top o' stack:
 0          0xffffff8008289dbb (18446743524090617275)
 1          0x000000003ff00000 (1072693248)
 2          0xffffff8000000020 (18446743523953737760)
 3          0xffffff8008b3fe70 (18446743524099751536)
 4          0xffffff8008b3fe30 (18446743524099751472)
 5          0xffffff80082b3094 (18446743524090785940)
 6          0xffffff800829cc82 (18446743524090694786)
 7          0xffffff800829a930 (18446743524090685744)
 8          0x000000000000019c (412)
 9          0xffffff80000b8fa0 (18446743523954495392)
kernel 0: Waiting for GDB connection...

Please see attached file for whole boot log.

Regards,
// Mateusz 

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>
    <br>
  </body>
</html>