From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Date: Fri, 30 May 2014 12:21:09 +0000 Subject: Re: Does KVM support the P.A. Semi PA6T cpu? Message-Id: <538877B5.2060107@suse.de> List-Id: References: <53511C7B.5010208@xenosoft.de> In-Reply-To: <53511C7B.5010208@xenosoft.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: kvm-ppc@vger.kernel.org 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=20 >>> single user mode. Sometimes I get a shell. But the cpu load rise up=20 >>> to 100% and I can't enter any commands. >>> >>> Screenshot:=20 >>> http://forum.hyperion-entertainment.biz/download/file.php?id=1205&mode= =3Dview >>> >>> Trace log:=20 >>> http://forum.hyperion-entertainment.biz/download/file.php?id=1204 >>> >>> Could you look in the trace log, please? I can do more tests if you=20 >>> 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:=20 exit=DATA_STORAGE | pc=3D0x900074c4 | msr=3D0x4000d030 | dar=3D0xa000a434 |= =20 srr1=3D0x100000000000d032 | last_inst=3D0x912b0 000 If you look at the trace, you will see that this PC with the exact same=20 DAR happens over and over again - every time the guest thinks it's=20 mapped the page. I don't know why that's happening. Try to enable the debug prints (or=20 convert them to trace points ;)) in the book3s_32 guest and book3s_64=20 host emulation. Maybe that tells us something. Alex