<div dir="ltr">Thanks Eviatar, I appreciate all your help. Did you see the config file? Do you see any problems with that? <div><br>My next step would be to try with another higher kernel. I am in a team. One of my other team mates got this problem solved with 3.6.7 kernel. I have not the faintest idea how and why.<div>
<br>I've attached the shortened disassembly file for anyone who stumbles upon this thread. </div><div><br></div><div><div style>Naman</div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Apr 27, 2013 at 1:28 AM, Eviatar Khen <span dir="ltr"><<a href="mailto:eviatarkhen@gmail.com" target="_blank">eviatarkhen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Well after examining the code I see that Lguest sets a default trap number to 256 before switching to the guest.<div>
Hence it seems that your first switch fails. I'm not sure how to debug this.</div>
<div>Perhaps if you'll find a way to output the registers status during the switch.</div><div>Or, you can wait for Rusty to save the day again...<br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">
On Sat, Apr 27, 2013 at 4:59 AM, Naman Muley <span dir="ltr"><<a href="mailto:naman.g.muley@gmail.com" target="_blank">naman.g.muley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Hello again,<div><br></div><div>Thanks Eviatar. I have attached the the System.map and the config file with this email. The disassembly.txt is pretty huge, 818 Mb, hence not on this email. I'll upload it on dropbox and share the link for  future use of anyone. </div>


<div><br></div><div>I tried to have the config exactly as Rusty mentions in the lguest.txt. But the default values of CONFIG_PHYSICAL_ALIGN and CONFIG_PHYSICAL_START were 0x1000000 and not 0x100000 i think. I changed them to 0x100000 as Rusty mentions. Could you explain what both these values do? I know that the new guest starts from here, but could you elaborate on that ?</div>


<div><br></div><div>Thanks for all your help. I appreciate all the help </div><span><font color="#888888"><div><br></div><div>Naman</div></font></span></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Apr 26, 2013 at 5:18 PM, Eviatar Khen <span dir="ltr"><<a href="mailto:eviatarkhen@gmail.com" target="_blank">eviatarkhen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You are wrong, the interrupt was not delivered to the guest because it in invalid. An unhanded interrupt makes the host crash the guest. <div>


It is hard to understand something from the screenshot. dSend to the mailing list the config file and the system.map. </div>
</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Apr 27, 2013 at 1:04 AM, Naman Muley <span dir="ltr"><<a href="mailto:naman.g.muley@gmail.com" target="_blank">naman.g.muley@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey Eviatar,<div><br></div><div>Thank you so much. I understand what i was doing.</div><div>I've attached a screenshot of the disassembly. But i did not understand "it is very interesting to understand who generated it". how can you figure that out from the binary disassembly? </div>




<div><br></div><div>Also, i did try read up on the unhandled trap, i found this: <a href="http://wiki.debian.org/Lguest" target="_blank">http://wiki.debian.org/Lguest</a><br>and I understand why 256 is kind of odd because that interrupt number is not covered by the host and so we send it as a valid number to the guest. But the guest doesnt know how to handle this one.<br>




</div><div>But i have no idea what is causing this and how to remove this.</div><div><br></div><div>Any idea? </div><span><font color="#888888"><div><br></div><div>Naman</div></font></span></div><div>
<div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Apr 26, 2013 at 4:33 PM, Eviatar Khen <span dir="ltr"><<a href="mailto:eviatarkhen@gmail.com" target="_blank">eviatarkhen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Hi Naman,<br>
      <br>
      I think what Ron meant was to disassembly of the kernel's image
      (vmlinux), not the Lguest binary (which is user space and does not
      generate directly interrupts).<br>
      The guest crashes because the host got an invalid interrupt
      number, and it is very interesting to understand who generated it.<br>
      <br>
      Good luck,<br>
      <br>
      Eviatar<div><div><br>
      <br>
      On 04/26/2013 08:34 PM, Naman Muley wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div>
      <div dir="ltr">Hey Ron,
        <div><br>
        </div>
        <div>Thanks for reaching out. I did the following( i am not sure
          if that's what you wanted me to do) :</div>
        <div><br>
        </div>
        <div>objdump -D -b binary -m i386
          Documentation/virtual/lguest/lguest  >
          /home/ngm7/disassembly.txt </div>
        <div>Following is the screenshot: Does that make sense
          ?</div>
        <div><br>
        </div>
        <div>I had to take a screenshot because the
          disassembly.txt is inside the virtual machine. I'm working on
          ways to get that file out of the virtual machine. <br>
          <br>
          NOTE: the last line in the file was 6a1d. In the meanwhile, if
          you want to look at any specific line, let me know. </div>
        <div>I apologize for the raw kind of feedback. </div>
        <div><br>
        </div>
        <div>Naman</div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Fri, Apr 26, 2013 at 11:45 AM, ron
          minnich <span dir="ltr"><<a href="mailto:rminnich@gmail.com" target="_blank">rminnich@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">you might
            want to do a quick disassembly of the binary to see what's<br>
            at 0x100000. The 256 is (to me) kind of odd. So what's the
            start of<br>
            that image look like? Sorry, I'm rusty on lguest (i.e. I'm
            not Rusty)<br>
            so I'm not going to be as useful. But I would be curious to
            see the<br>
            disassembly.<br>
            <span><font color="#888888"><br>
                ron<br>
              </font></span></blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
Lguest mailing list
<a href="mailto:Lguest@lists.ozlabs.org" target="_blank">Lguest@lists.ozlabs.org</a>
<a href="https://lists.ozlabs.org/listinfo/lguest" target="_blank">https://lists.ozlabs.org/listinfo/lguest</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>