From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JguYz-0004pJ-Nd for qemu-devel@nongnu.org; Wed, 02 Apr 2008 00:27:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JguYx-0004oP-R6 for qemu-devel@nongnu.org; Wed, 02 Apr 2008 00:27:05 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JguYx-0004oK-Kc for qemu-devel@nongnu.org; Wed, 02 Apr 2008 00:27:03 -0400 Received: from nwd2mail11.analog.com ([137.71.25.57]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JguYx-0001h2-CC for qemu-devel@nongnu.org; Wed, 02 Apr 2008 00:27:03 -0400 Received: from nwd2exm4.ad.analog.com (nwd2exm4.ad.analog.com [10.64.53.123]) by nwd2mhb1.analog.com (8.9.3 (PHNE_28810+JAGae91741)/8.9.3) with ESMTP id AAA17716 for ; Wed, 2 Apr 2008 00:26:57 -0400 (EDT) Message-ID: <47F30B13.60409@analog.com> Date: Wed, 02 Apr 2008 12:26:59 +0800 From: Jie Zhang MIME-Version: 1.0 Subject: Re: [Qemu-devel] A bug of running existing windows xp from x86 64linux host References: <47ED253E.6070701@analog.com> <47F1ECFA.2070407@analog.com> <447C1BA60C6B40A5AF5AE189492E1F36@intranet> In-Reply-To: <447C1BA60C6B40A5AF5AE189492E1F36@intranet> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Sergey Bychkov wrote: > ----- Original Message ----- From: "Jie Zhang" >>>> I'm trying to run an existing windows xp (32 bit) partition in qemu >>>> on a x86 64 bit linux host. I always got >>>> >>>> A disk read error occurred >>>> Press Ctrl+Alt+Del to restart >>>> >>>> when qemu starts. >>> >>> Maybe, You should show qemu command line first? >>> >> I use the following command line: >> >> sudo qemu -hda /dev/sda -m 512 >> >> I can see the grub, but cannot boot into windows xp because of the >> disk read error. It's weird that the same command line works on my >> AMD64 pc, although qemu crashed when I passed "-d in_asm" to it. > > Hmm. The only error I could expect in this place is "inaccesible boot > device" (0x2b, afair) > > If your host is x86_64, try: > > $ sudo qemu-system-x86_64 -hda /dev/sda -m 512 > I tried before. I got the same error. Jie