Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CprJD-00043K-82 for qemu-devel@nongnu.org; Sat, 15 Jan 2005 12:01:55 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CprJ7-000428-KE for qemu-devel@nongnu.org; Sat, 15 Jan 2005 12:01:52 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CprJ2-0003uk-T2 for qemu-devel@nongnu.org; Sat, 15 Jan 2005 12:01:45 -0500 Received: from [220.248.27.114] (helo=soulinfo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1Cpr19-0006sg-4U for qemu-devel@nongnu.org; Sat, 15 Jan 2005 11:43:15 -0500 Date: Sun, 16 Jan 2005 00:40:56 +0800 From: hugang@soulinfo.com Subject: Re: [Qemu-devel] Re: 2.6.10-mm3: swsusp: out of memory on resume Message-ID: <20050115164056.GA28549@hugang.soulinfo.com> References: <200501131909.26021.rjw@sisk.pl> <20050114143400.GA27657@hugang.soulinfo.com> <200501150042.35377.rjw@sisk.pl> <20050115012120.GA4743@hugang.soulinfo.com> <41E90326.2020901@bellard.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41E90326.2020901@bellard.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, fabrice@bellard.org Cc: "Rafael J. Wysocki" On Sat, Jan 15, 2005 at 12:48:54PM +0100, Fabrice Bellard wrote: ..... > I recently made a fix in fxsave/fxrestor which may correct some issues > on x86_64. Strangely, the CVS commit mail did not appear on the mailing > list... > > The state of x86_64 is that the install of Fedora core 3 for x86_64 > begins to work (you can select the language for example), but there are > some invalid characters displayed on screen. I believe there is a sign > extension problem in a 64 bit instruction. > > Now that SSE and MMX are implemented, no feature is lacking in the QEMU > x86_64 emulation... "just" a problem of debugging now :-) When I using Qemu as X86_64 emulataion for testing software suspend, I get the first oops the instruction is this, IN: 0xffffffff80116a8a: movzwl 0x8(%rbx),%eax 0xffffffff80116a8e: mov %eax,%ss <- general protection That's in arch/x86_64/kernel/suspend.c +105 asm volatile ("movw %0, %%ss" :: "r" (ctxt->ss)); <-- general protection. I don't why, but I check %eax and %ss are same value, so I just comment this line, the oops go away, But still geting hang, Now I have no idea, :) I put the all logs in this http://soulinfo.com/~hugang/swsusp/x86_64_log/ thanks. -- Hu Gang .-. /v\ // \\ Linux User /( )\ [204016] GPG Key ID ^^-^^ http://soulinfo.com/~hugang/hugang.asc