From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jx1q5-0001wX-4x for qemu-devel@nongnu.org; Fri, 16 May 2008 11:27:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jx1q3-0001uL-56 for qemu-devel@nongnu.org; Fri, 16 May 2008 11:27:20 -0400 Received: from [199.232.76.173] (port=47854 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jx1q2-0001u0-SN for qemu-devel@nongnu.org; Fri, 16 May 2008 11:27:18 -0400 Received: from ra.siriusit.co.uk ([217.207.197.130]:59019) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jx1q2-0007i6-BJ for qemu-devel@nongnu.org; Fri, 16 May 2008 11:27:18 -0400 Received: from [192.168.1.83] ([192.168.1.83]) by ra.siriusit.co.uk (8.13.3/8.13.3) with ESMTP id m4GFYv2N028075 for ; Fri, 16 May 2008 16:34:57 +0100 Message-ID: <482DA817.4010402@siriusit.co.uk> Date: Fri, 16 May 2008 16:28:23 +0100 From: Mark Cave-Ayland MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Problem installing NT4 under QEMU 0.9.1 - IDE driver error under high load? 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 Hi there, I've been trying to install NT 4.0 workstation on a local qemu 0.9.1 instance under Linux x86_64, and I believe that I have come across an error within the IDE driver under high load. My initial process was as follows: 1) Image the installation CD on my local machine; this was to speed up the installation process dd if=/media/cdrom of=winnt4.img bs=1024 2) Create a new disk image qemu-image create ntfs.img 2G 3) Fire up qemu and run the install: qemu-system-x86_64 -hda /home/images/ntfs.img -cdrom winnt4.img -vnc localhost:11 -no-acpi -win2k-hack -boot d 4) Run through the NT4 installation process 5) Reboot Upon reboot, I get a BSOD and errors about files being corrupted on the partition. However the error goes away, and the install completes fine after the reboot if I use the cdrom directly, i.e. I run qemu like this: qemu-system-x86_64 -hda /home/images/ntfs.img -cdrom /dev/hda -vnc localhost:11 -no-acpi -win2k-hack -boot d If I execute 'md5sum winnt4.img' and 'md5sum /dev/hda' then I get back the same MD5 hash for both the physical CDROM copy and the local CD image, so I am fairly sure the local CD image is not corrupt. I have also tried with/without -win2k-hack and it doesn't seem to make a difference. My theory is that there is some form of race condition in the IDE driver related to the transfer speed. When using the local winnt4.img CD image, the installation is very quick, but the resulting file system appears to be corrupted. When I use the real CD inserted into /dev/hda, the installation is much slower but the file system appears fine. Has anyone else experienced similar symptoms during normal QEMU usage? Many thanks, Mark. -- Mark Cave-Ayland Sirius Corporation - The Open Source Experts http://www.siriusit.co.uk T: +44 870 608 0063