From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiiUk-00065g-41 for qemu-devel@nongnu.org; Thu, 16 Apr 2015 08:02:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YiiUg-0006sP-Tf for qemu-devel@nongnu.org; Thu, 16 Apr 2015 08:02:10 -0400 Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:36785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiiUg-0006sI-N1 for qemu-devel@nongnu.org; Thu, 16 Apr 2015 08:02:06 -0400 Received: by wizk4 with SMTP id k4so191750930wiz.1 for ; Thu, 16 Apr 2015 05:02:06 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <552FA4B9.4070204@redhat.com> Date: Thu, 16 Apr 2015 14:02:01 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <201504131929543844171@sangfor.com.cn> <552E30F5.2020207@imgtec.com> <552F97FF.4000109@imgtec.com> In-Reply-To: <552F97FF.4000109@imgtec.com> Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Question]Support of China loogson processor List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Leon Alrae , James Hogan , vt , qemu-devel On 16/04/2015 13:07, Leon Alrae wrote: > Since I also haven't had a chance to test Loongson emulation, I thought > I'd give it a try (TCG only, Loongson-2E cpu and fulong2e machine). > > Good news is that I'm able to get to the login prompt using ancient QEMU > v1.0, kernel 2.6.33 (with additional patch from > https://lists.gnu.org/archive/html/qemu-devel/2010-06/msg02566.html) and > some old debian image I had handy. However, in any newer version > starting from v1.1.0 of QEMU something goes horribly wrong and it just > segfaults somewhere inside hw/bonito.c quite early during kernel > booting. Where exactly? If it's related to the memory API conversion, it may be easy to fix. I can look at a backtrace (or you can just put the Debian image somewhere I can grab it). Paolo > I haven't looked deeper, but it seems it's not in the best shape...