Kernel KVM-PPC virtualization development
 help / color / mirror / Atom feed
From: Alexander Graf <agraf@suse.de>
To: kvm-ppc@vger.kernel.org
Subject: Re: Does KVM support the P.A. Semi PA6T cpu?
Date: Fri, 30 May 2014 12:21:09 +0000	[thread overview]
Message-ID: <538877B5.2060107@suse.de> (raw)
In-Reply-To: <53511C7B.5010208@xenosoft.de>


On 30.05.14 13:39, Christian Zigotzky wrote:
> On 30.05.2014 09:49, Alexander Graf wrote:
>>
>> On 30.05.14 01:50, Christian Zigotzky wrote:
>>> Hi Alex,
>>>
>>> I have traced a Mac OS X Tiger guest. I have started it in the 
>>> single user mode. Sometimes I get a shell. But the cpu load rise up 
>>> to 100% and I can't enter any commands.
>>>
>>> Screenshot: 
>>> http://forum.hyperion-entertainment.biz/download/file.php?id\x1205&mode=view
>>>
>>> Trace log: 
>>> http://forum.hyperion-entertainment.biz/download/file.php?id\x1204
>>>
>>> Could you look in the trace log, please? I can do more tests if you 
>>> like.
>>
>> $ echo 1 > /sys/kernel/debug/tracing/events/kvm/enabled
>> $ echo 1 > /sys/kernel/debug/tracing/events/kvm_pr/enabled
>> $ cat /sys/kernel/debug/tracing/trace_pipe > /dev/shm/trace &
>> $ start_mol -X
>> ...
>>
>> then check out /dev/shm/trace :).
>>
>>
>> Alex
>>
> Hi Alex,
>
> Thank you for your answer. Here are the traces:
>
> http://www.xenosoft.de/trace_mol_mac_os_x_tiger.txt.tar.gz
> http://www.xenosoft.de/trace_mol_mac_os_x_jaguar.txt.tar.gz

Looking at the Jaguar log, the guest seems to be stuck trying to map a page:

              mol-4087  [001] ....   252.368002: kvm_exit: 
exitÚTA_STORAGE | pc=0x900074c4 | msr=0x4000d030 | dar=0xa000a434 | 
srr1=0x100000000000d032 | last_inst=0x912b0
000

If you look at the trace, you will see that this PC with the exact same 
DAR happens over and over again - every time the guest thinks it's 
mapped the page.

I don't know why that's happening. Try to enable the debug prints (or 
convert them to trace points ;)) in the book3s_32 guest and book3s_64 
host emulation. Maybe that tells us something.


Alex


  parent reply	other threads:[~2014-05-30 12:21 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-18 12:37 Does KVM support the P.A. Semi PA6T cpu? Christian Zigotzky
2014-04-18 15:35 ` Alexander Graf
2014-04-18 22:10 ` Christian Zigotzky
2014-04-18 22:46 ` Alexander Graf
2014-04-19 11:40 ` Christian Zigotzky
2014-04-19 12:36 ` Christian Zigotzky
2014-04-19 15:08 ` Christian Zigotzky
2014-04-19 19:56 ` Christian Zigotzky
2014-04-21 15:45 ` Christian Zigotzky
2014-04-26 22:11 ` Christian Zigotzky
2014-04-27 17:41 ` Christian Zigotzky
2014-04-27 17:47 ` Alexander Graf
2014-04-28 14:19 ` Christian Zigotzky
2014-04-28 19:03 ` Christian Zigotzky
2014-04-29  9:14 ` Alexander Graf
2014-05-29 23:50 ` Christian Zigotzky
2014-05-30  7:49 ` Alexander Graf
2014-05-30 11:39 ` Christian Zigotzky
2014-05-30 12:21 ` Alexander Graf [this message]
2014-05-30 12:42 ` Christian Zigotzky
2014-05-30 12:47 ` Alexander Graf
2014-05-30 15:44 ` Christian Zigotzky
2014-05-30 17:38 ` Christian Zigotzky
2014-06-10 10:39 ` Christian Zigotzky
2014-06-10 13:56 ` Alexander Graf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=538877B5.2060107@suse.de \
    --to=agraf@suse.de \
    --cc=kvm-ppc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox