[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bochs-dev
Subject:    Re: [Bochs-developers] System Restore from Suspend - Seems to be
From:       Adnan Khaleel <adnan () khaleel ! us>
Date:       2009-10-05 16:11:23
Message-ID: e4f0771f0910050911p5bec6d8dse0bb47ad3845b23e () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I don't know much about the i/o devices but this give me a clue to start
somewhere. I'll try to compare the execution flow prior to and after
restoring and see if that yields any clues.

Thanks

Adnan

On Sun, Oct 4, 2009 at 10:58 AM, Stanislav <stlintel@gmail.com> wrote:

> Hi All,
> 
> 
> 
> In is about the bug:
> 
> 1686859            save/restore restored simulation \
> frozen<https://sourceforge.net/tracker/?func=detail&aid=1686859&group_id=12580&atid=112580>
>  
> 
> 
> I want to understand and close this major Save/Restore issue we have.
> 
> After resuming system the emulated CPU is running well, it is Halted but
> periodically wakeups from some (timer?) interrupts and runs instructions.
> 
> EIP is changing at least so I guess CPU isn’t a problem.
> 
> 
> 
> But when user moves a mouse or presses keyboard button – nothing happens.
> 
> I am sure that keyboard/mouse interrupts just do not reach CPU in restored
> system and therefore it looks “frozen”.
> 
> 
> 
> Ø  Someone could help me to understand the way of delivering such
> keyboard/mouse event into the CPU ?
> 
> Ø  Then we’ll try to go over Bochs code and add debug dumps to see where
> the connection breaks.
> 
> 
> 
> Thanks,
> 
> Stanislav
> 
> 
> 
> *From:* Adnan Khaleel [mailto:adnan@khaleel.us]
> *Sent:* Tuesday, September 22, 2009 12:22 AM
> *To:* bochs-developers@lists.sourceforge.net
> *Subject:* [Bochs-developers] System Restore from Suspend - Seems to be
> stuck in handleAsyncEvent
> 
> 
> 
> I've been playing around with Bochs' Suspend/Restore feature and I haven't
> managed to successfully restore the machine. For some reason, the execution
> is stuck in the handleAsyncEvent() method in cpu/cpu.cc and it never exits.
> Is there some state I should the guest system into prior to the suspend or
> is there a know workaround to the problem?
> 
> AK
> 


[Attachment #5 (text/html)]

I don&#39;t know much about the i/o devices but this give me a clue to start \
somewhere. I&#39;ll try to compare the execution flow prior to and after restoring \
and see if that yields any clues.<br><br>Thanks<br><br>Adnan<br> <br><div \
class="gmail_quote">On Sun, Oct 4, 2009 at 10:58 AM, Stanislav <span dir="ltr">&lt;<a \
href="mailto:stlintel@gmail.com">stlintel@gmail.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">










<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hi All,</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">In is about the \
bug:</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">                \
</span><span style="font-size: 9.5pt; color: rgb(94, 94, 94);">1686859            <a \
href="https://sourceforge.net/tracker/?func=detail&amp;aid=1686859&amp;group_id=12580&amp;atid=112580" \
target="_blank">save/restore restored simulation frozen</a></span><span \
style="font-size: 11pt; color: rgb(31, 73, 125);"></span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">I want to understand and \
close this major Save/Restore issue we have.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">After resuming system the \
emulated CPU is running well, it is Halted but periodically wakeups from some \
(timer?) interrupts and runs instructions.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">EIP is changing at least \
so I guess CPU isn’t a problem.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">But when user moves a \
mouse or presses keyboard button – nothing happens.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">I am sure that \
keyboard/mouse interrupts just do not reach CPU in restored system and therefore it \
looks “frozen”.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; font-family: Wingdings; color: rgb(31, 73, \
125);"><span>Ø<span style="font-family: &quot;Times New Roman&quot;; font-style: \
normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: \
normal; font-size-adjust: none; font-stretch: normal;">  </span></span></span><span \
dir="LTR"></span><span style="font-size: 11pt; color: rgb(31, 73, 125);">Someone \
could help me to understand the way of delivering such keyboard/mouse event into the \
CPU ?</span></p>

<p><span style="font-size: 11pt; font-family: Wingdings; color: rgb(31, 73, \
125);"><span>Ø<span style="font-family: &quot;Times New Roman&quot;; font-style: \
normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: \
normal; font-size-adjust: none; font-stretch: normal;">  </span></span></span><span \
dir="LTR"></span><span style="font-size: 11pt; color: rgb(31, 73, 125);">Then we’ll \
try to go over Bochs code and add debug dumps to see where the connection \
breaks.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Thanks,</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Stanislav</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) \
-moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: \
3pt 0in 0in;">

<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> \
Adnan Khaleel [mailto:<a href="mailto:adnan@khaleel.us" \
target="_blank">adnan@khaleel.us</a>] <br> <b>Sent:</b> Tuesday, September 22, 2009 \
12:22 AM<br> <b>To:</b> <a href="mailto:bochs-developers@lists.sourceforge.net" \
target="_blank">bochs-developers@lists.sourceforge.net</a><br> <b>Subject:</b> \
[Bochs-developers] System Restore from Suspend - Seems to be stuck in \
handleAsyncEvent</span></p>

</div>

<p> </p>

<p>I&#39;ve been playing around with Bochs&#39; Suspend/Restore feature
and I haven&#39;t managed to successfully restore the machine. For some reason, the
execution is stuck in the handleAsyncEvent() method in cpu/cpu.cc and it never
exits. Is there some state I should the guest system into prior to the suspend
or is there a know workaround to the problem?<br>
<br>
AK</p>

</div>

</div>


</blockquote></div><br>



------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf

_______________________________________________
bochs-developers mailing list
bochs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bochs-developers


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic