<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Dear Rui,<br>
      <br>
      could you try by recompiling a more recent version of the kernel?<br>
      The Makefile contains appropriate parameters to choose the release
      to work on, see
      <a class="moz-txt-link-freetext" href="https://github.com/maxonthegit/netkit-uml-kernel/blob/master/Makefile.devel#L35">https://github.com/maxonthegit/netkit-uml-kernel/blob/master/Makefile.devel#L35</a>.
      Most likely, you will need to disable MPLS support, which requires
      quite a bit of tweaking of the Makefile itself (or just a round of
      kernel compilation by hand).<br>
      <br>
      Regards,<br>
      Massimo<br>
    </tt><br>
    Il 09/09/2011 16.25, Costa >> ha scritto:
    <blockquote
cite="mid:CACS32yDShj7=+2Ev5Nr3+z1G8W1Dmc4z5goOM5ZMgHeXk+bFUg@mail.gmail.com"
      type="cite"><br>
      Hi all,<br>
      <br>
      I'm new with netkit as well as with kernel building and I'm <br>
      having some trouble setting up a custom kernel for netkit.<br>
      I've tried both the ways that come in netkit's documentation <br>
      (automatic and manual) and tried a few more tweaks by myself.<br>
      <br>
      Compiling the customized kernel always goes OK, in whatever <br>
      way I do it, but the netkit's virtual machines crash on <br>
      booting. The trace results (you can check them at the end of <br>
      the e-mail below) are always extremely similar to another <br>
      issue reported on the netkit mailing list:<br>
      <a moz-do-not-send="true"
href="http://list.dia.uniroma3.it/pipermail/netkit.users/2010-November/000686.html">http://list.dia.uniroma3.it/pipermail/netkit.users/2010-November/000686.html</a><br>
      I've also tried the approach explained in this thread but <br>
      ended up with the same result as before.<br>
      <br>
      <br>
      Does anyone have any hint on what is causing this or how to <br>
      solve it?<br>
      <br>
      Thanks in advance,<br>
      Best Regards,<br>
      <br>
      Rui Costa<br>
      <br>
      <br>
      <br>
      <br>
      <br>
      Here is the Netkit output:<br>
      <br>
      ============= Starting virtual machine "pc1" =============<br>
         Kernel:    
      /home/user-netkit/Desktop/netkit/custom-kernel/netkit/kernel/linu<br>
      x-2.6.26.5/linux<br>
         Memory:     32 MB<br>
         Model fs:  
      /home/user-netkit/Desktop/netkit/netkit/fs/netkit-fs<br>
         Filesystem: /home/user-netkit/Desktop/netkit/pc1.disk (new)<br>
         Hostfs at:  /home/user-netkit<br>
         Other args: sch_teql.max_equalizers=0<br>
      <br>
      Running ==>
      /home/user-netkit/Desktop/netkit/custom-kernel/netkit/kernel/linux-2<br>
      .6.26.5/linux name=pc1 title=pc1 umid=pc1 mem=36M
      ubd0=/home/user-netkit/Desktop<br>
      /netkit/pc1.disk,/home/user-netkit/Desktop/netkit/netkit/fs/netkit-fs
      root=98:1<br>
      uml_dir=/home/user-netkit/.netkit/mconsole
      hosthome=/home/user-netkit  sch_teql.<br>
      max_equalizers=0 quiet con0=fd:0,fd:1 con1=null SELINUX_INIT=0<br>
      Locating the bottom of the address space ... 0x10000<br>
      Locating the top of the address space ... 0xc0000000<br>
      Core dump limits :<br>
              soft - 0<br>
              hard - NONE<br>
      0xc0000000<br>
      Core dump limits :<br>
              soft - 0<br>
              hard - NONE<br>
      0xc0000000<br>
      Core dump limits :<br>
              soft - 0<br>
              hard - NONE<br>
      0xc0000000<br>
      Core dump limits :<br>
              soft - 0<br>
              hard - NONE<br>
      Checking for tmpfs mount on /dev/shm...OK<br>
      Checking PROT_EXEC mmap in /dev/shm/...OK<br>
      OK<br>
      OK<br>
      OK<br>
      UML running in SKAS0 mode<br>
      Adding 2260992 bytes to physical memory to account for exec-shield
      gap<br>
      Checking that ptrace can change system call numbers...OK<br>
      Checking syscall emulation patch for ptrace...OK<br>
      Checking advanced syscall emulation patch for ptrace...OK<br>
      Checking for the skas3 patch in the host:<br>
        - /proc/mm...not found: No such file or directory<br>
        - PTRACE_FAULTINFO...not found<br>
        - PTRACE_LDT...not found<br>
      *** buffer overflow detected ***:
      /home/user-netkit/Desktop/netkit/custom-kernel<br>
      /netkit/kernel/linux-2.6.26.5/linux terminated<br>
      ======= Backtrace: =========<br>
      /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x50)[0x1f2390]<br>
      /lib/tls/i686/cmov/libc.so.6(+0xe12ca)[0x1f12ca]<br>
      /lib/tls/i686/cmov/libc.so.6(+0xe0c29)[0x1f0c29]<br>
      /lib/tls/i686/cmov/libc.so.6(__snprintf_chk+0x34)[0x1f0b14]<br>
/home/user-netkit/Desktop/netkit/custom-kernel/netkit/kernel/linux-2.6.26.5/linu<br>
      x[0x808cdee]<br>
      [0x0]<br>
      ======= Memory map: ========<br>
      00110000-00263000 r-xp 00000000 68:01 9438224   
      /lib/tls/i686/cmov/libc-2.11.1.<br>
      so<br>
      00263000-00264000 ---p 00153000 68:01 9438224   
      /lib/tls/i686/cmov/libc-2.11.1.<br>
      so<br>
      00264000-00266000 r-xp 00153000 68:01 9438224   
      /lib/tls/i686/cmov/libc-2.11.1.<br>
      so<br>
      00266000-00267000 rwxp 00155000 68:01 9438224   
      /lib/tls/i686/cmov/libc-2.11.1.<br>
      so<br>
      00267000-0026a000 rwxp 00000000 00:00 0<br>
      0026a000-00272000 r-xp 00000000 68:01 9438245   
      /lib/tls/i686/cmov/libnss_nis-2<br>
      .<a moz-do-not-send="true" href="http://11.1.so">11.1.so</a><br>
      00272000-00273000 r-xp 00007000 68:01 9438245   
      /lib/tls/i686/cmov/libnss_nis-2<br>
      .<a moz-do-not-send="true" href="http://11.1.so">11.1.so</a><br>
      00273000-00274000 rwxp 00008000 68:01 9438245   
      /lib/tls/i686/cmov/libnss_nis-2<br>
      .<a moz-do-not-send="true" href="http://11.1.so">11.1.so</a><br>
      00276000-00291000 r-xp 00000000 68:01 9306137    /lib/<a
        moz-do-not-send="true" href="http://ld-2.11.1.so">ld-2.11.1.so</a><br>
      00291000-00292000 r-xp 0001a000 68:01 9306137    /lib/<a
        moz-do-not-send="true" href="http://ld-2.11.1.so">ld-2.11.1.so</a><br>
      00292000-00293000 rwxp 0001b000 68:01 9306137    /lib/<a
        moz-do-not-send="true" href="http://ld-2.11.1.so">ld-2.11.1.so</a><br>
      00402000-00404000 rwxp 00000000 00:00 0<br>
      00429000-00446000 r-xp 00000000 68:01 9306195   
      /lib/libgcc_s.so.1<br>
      00446000-00447000 r-xp 0001c000 68:01 9306195   
      /lib/libgcc_s.so.1<br>
      00447000-00448000 rwxp 0001d000 68:01 9306195   
      /lib/libgcc_s.so.1<br>
      004f9000-004fc000 rwxp 00000000 00:00 0<br>
      00681000-00694000 r-xp 00000000 68:01 9438235   
      /lib/tls/i686/cmov/libnsl-2.11.<br>
      1.so<br>
      00694000-00695000 r-xp 00012000 68:01 9438235   
      /lib/tls/i686/cmov/libnsl-2.11.<br>
      1.so<br>
      00695000-00696000 rwxp 00013000 68:01 9438235   
      /lib/tls/i686/cmov/libnsl-2.11.<br>
      1.so<br>
      00696000-00698000 rwxp 00000000 00:00 0<br>
      0072f000-00730000 rwxp 00000000 00:00 0<br>
      00747000-00748000 rwxp 00000000 00:00 0<br>
      008a2000-008a3000 r-xp 00000000 00:00 0          [vdso]<br>
      009c0000-009ca000 r-xp 00000000 68:01 9438241   
      /lib/tls/i686/cmov/libnss_files<br>
      -<a moz-do-not-send="true" href="http://2.11.1.so">2.11.1.so</a><br>
      009ca000-009cb000 r-xp 00009000 68:01 9438241   
      /lib/tls/i686/cmov/libnss_files<br>
      -<a moz-do-not-send="true" href="http://2.11.1.so">2.11.1.so</a><br>
      009cb000-009cc000 rwxp 0000a000 68:01 9438241   
      /lib/tls/i686/cmov/libnss_files<br>
      -<a moz-do-not-send="true" href="http://2.11.1.so">2.11.1.so</a><br>
      00d36000-00d37000 rwxp 00000000 00:00 0<br>
      00d9b000-00d9d000 r-xp 00000000 68:01 9438258   
      /lib/tls/i686/cmov/libutil-2.11<br>
      .1.so<br>
      00d9d000-00d9e000 r-xp 00001000 68:01 9438258   
      /lib/tls/i686/cmov/libutil-2.11<br>
      .1.so<br>
      00d9e000-00d9f000 rwxp 00002000 68:01 9438258   
      /lib/tls/i686/cmov/libutil-2.11<br>
      .1.so<br>
      00e05000-00e0b000 r-xp 00000000 68:01 9438237   
      /lib/tls/i686/cmov/libnss_compa<br>
      <a moz-do-not-send="true" href="http://t-2.11.1.so">t-2.11.1.so</a><br>
      00e0b000-00e0c000 r-xp 00006000 68:01 9438237   
      /lib/tls/i686/cmov/libnss_compa<br>
      <a moz-do-not-send="true" href="http://t-2.11.1.so">t-2.11.1.so</a><br>
      00e0c000-00e0d000 rwxp 00007000 68:01 9438237   
      /lib/tls/i686/cmov/libnss_compa<br>
      <a moz-do-not-send="true" href="http://t-2.11.1.so">t-2.11.1.so</a><br>
      08048000-08422000 rwxp 00000000 68:01 12327718  
      /home/user-netkit/Desktop/netki<br>
      t/custom-kernel/netkit/kernel/linux-2.6.26.5/linux<br>
      08422000-08446000 rwxp 00000000 00:00 0<br>
      0864d000-0866e000 rwxp 00000000 00:00 0          [heap]<br>
      0866e000-0a670000 rwxs 00626000 00:10 8225      
      /dev/shm/vm_file-RhLyFA (delete<br>
      d)<br>
      bf8fb000-bf910000 rwxp 00000000 00:00 0          [stack]<br>
      Terminated<br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Netkit.users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Netkit.users@list.dia.uniroma3.it">Netkit.users@list.dia.uniroma3.it</a>
<a class="moz-txt-link-freetext" href="http://list.dia.uniroma3.it/mailman/listinfo/netkit.users">http://list.dia.uniroma3.it/mailman/listinfo/netkit.users</a>
</pre>
    </blockquote>
  </body>
</html>