Received: from eggs.gnu.org ([2001:4830:134:3::10]:59082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGPpt-0008Gr-8h for qemu-devel@nongnu.org; Fri, 24 Jun 2016 08:03:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGPpn-0002b1-9U for qemu-devel@nongnu.org; Fri, 24 Jun 2016 08:03:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54166) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGPpn-0002ax-3u for qemu-devel@nongnu.org; Fri, 24 Jun 2016 08:03:43 -0400 References: <1456252389-4416-1-git-send-email-rth@twiddle.net> <1456252389-4416-6-git-send-email-rth@twiddle.net> <57607C9C.8070404@ilande.co.uk> <57631FC9.1040303@ilande.co.uk> <65a57d82-174f-cc1c-d613-984bffce13d3@twiddle.net> <03d5a05a-2674-b755-49d7-5a46dcadc237@redhat.com> <6c98d3be-ec72-cd33-1e74-fc32dea6a865@ilande.co.uk> From: Paolo Bonzini Message-ID: <6a0f7ea8-a901-e415-13bc-00f4061eceaf@redhat.com> Date: Fri, 24 Jun 2016 14:03:40 +0200 MIME-Version: 1.0 In-Reply-To: <6c98d3be-ec72-cd33-1e74-fc32dea6a865@ilande.co.uk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PULL 5/8] target-sparc: Use global registers for the register window List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mark Cave-Ayland , Richard Henderson Cc: qemu-devel@nongnu.org On 24/06/2016 12:42, Mark Cave-Ayland wrote: > On 24/06/16 07:36, Paolo Bonzini wrote: >=20 >> On 24/06/2016 05:57, Richard Henderson wrote: >>> >>> Whatever happens, it happens after 10GB of logs, which is simply too >>> much to sift through. I've tried to narrow it down, but the lack of = a >>> hardware tlb refill means that we get hundreds of thousands of Data >>> Access Faults that are simply TLB misses and not the actual Segmentat= ion >>> Fault in question. >>> >>> It doesn't seem to affect other OSes, so I can't imagine what quirk i= s >>> being exercised in this case. >>> >>> As loath as I am to suggest it, we may have to revert the sparc indir= ect >>> register patch for the release. >> >> We have more than a month. If it's reproducible, it can be fixed. :) >> >>> I do now ping the rest of my sparc improvements patchset. It's >>> completely independent of the use of indirect registers. >> >> Mark, perhaps you can try to use migration to reduce the amount of >> logging? (Start QEMU with -snapshot, try to stop the vm before it >> fails. If you succeed, do a "migrate exec:cat>foo.sav" followed by >> "commit"; if you fail, try again). >=20 > Yeah, given the improvements that Richard has made, I'd prefer not to > revert if at all possible. Finally I have some spare time today so I'll > try and get this down to an easily-testable qcow2 image that can > reproduce the issue. I've gotten an image that reaches the segmentation fault in about 1 second but I cannot upload it anywhere in the next few hours. The good news is that it fails even without a hard disk (so it's a stateless vm) and with -d nochain -singlestep. The bad news is that the dump is not very deterministic and that I failed to create images closer to the failu= re. Paolo