From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Igki5-00059e-LH for qemu-devel@nongnu.org; Sat, 13 Oct 2007 13:23:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Igki3-000565-Ot for qemu-devel@nongnu.org; Sat, 13 Oct 2007 13:23:33 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Igki3-00055X-FR for qemu-devel@nongnu.org; Sat, 13 Oct 2007 13:23:31 -0400 Received: from [66.135.41.201] (helo=server2linux.rebelnetworks.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Igki2-0004hZ-QJ for qemu-devel@nongnu.org; Sat, 13 Oct 2007 13:23:31 -0400 From: Julian Seward Subject: Re: [Qemu-devel] Kqemu on x86_64 host with x86_64 guest Date: Sat, 13 Oct 2007 19:13:57 +0200 References: <470ECD80.40505@asterdata.com> <20071013120515.GI8216@victoria2.home.musique-ancienne.org> <4710D52D.1060903@t-online.de> In-Reply-To: <4710D52D.1060903@t-online.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710131913.58047.jseward@acm.org> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Werner Dittmann On Saturday 13 October 2007 16:24, Werner Dittmann wrote: > Bruno Cornec wrote: > > On Sat, Oct 13, 2007 at 01:53:37PM +0200, Bruno Cornec wrote: > >> However, mandriva 2008.0 x86_64 doesn't exhibit this error on the same > >> host. > > > > I stand corrected. It also crashed but later during the install process, > > where the other were at the start. Back to -no-kqemu. > > > > Bruno. > > Even when using -no-kqemu it somehow fails/hangs during setup of Grub > when I try to install a openSuse 10.2 or 10.3 . These problems are know > for quite some time - but no solution yet. Yes. I also observed that with openSUSE 10.{1,2,3}. After some experimentation I successfully installed 10.1 by asking the installer to use LILO instead of Grub. However, even then, some user space code does not work properly - running the YaST online update inside the successfully-installed 10.1 fails. I wondered if there is some problem in the x86_64 instruction set emulation. I ran some tests from Valgrind, and it appears that some FP->int conversion instructions do not take care of the rounding mode. I did not detect any other errors. See http://lists.gnu.org/archive/html/qemu-devel/2007-10/msg00233.html I tried to build x86_64-softmmu using softfloat.c rather than softfloat-native.c since it looks like softfloat.c emulates these corner cases (rounding mode, etc) more completely. So far I got a lot of compilation errors and did not make much progress. I get the impression x86_64-softmmu and i386-softmmu are intended only to be built with softfloat-native.c. It might be worth installing SuSE 10.1 and finding some small program which fails to work properly. Then we might have a hope of determining what the problem is. J