From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IfbuL-0000Km-4h for qemu-devel@nongnu.org; Wed, 10 Oct 2007 09:47:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IfbuK-0000Ka-KV for qemu-devel@nongnu.org; Wed, 10 Oct 2007 09:47:28 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IfbuK-0000KX-HX for qemu-devel@nongnu.org; Wed, 10 Oct 2007 09:47:28 -0400 Received: from hall.aurel32.net ([88.191.38.19]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IfbuK-0001P9-6k for qemu-devel@nongnu.org; Wed, 10 Oct 2007 09:47:28 -0400 Message-ID: <470CD7DF.2020906@aurel32.net> Date: Wed, 10 Oct 2007 15:47:11 +0200 From: Aurelien Jarno MIME-Version: 1.0 References: <47022E7E.3030509@aurel32.net> <470234DF.6030802@qumranet.com> <470237DC.5060008@aurel32.net> <47027161.50004@qumranet.com> <47027586.9020508@aurel32.net> <47027A01.5080903@aurel32.net> <47027F25.80001@aurel32.net> <470CB4DE.20707@qumranet.com> <470CD1F1.20305@aurel32.net> <470CD22C.5050003@qumranet.com> In-Reply-To: <470CD22C.5050003@qumranet.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] Re: [kvm-devel] FreeBSD image hangs during boot Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: kvm-devel@lists.sourceforge.net, qemu-devel@nongnu.org Avi Kivity a écrit : > Aurelien Jarno wrote: >> Avi Kivity a écrit : >> >>> Aurelien Jarno wrote: >>> >>>>>> I also confirm that using -no-acpi fixes the problem. However, I have >>>>>> seen strange data corruption, even on Intel. >>>>>> >>>>>> Basically, booting a recently installed FreeBSD leads to the following >>>>>> message from the bootloader: "No kernel found". And the next time, I get >>>>>> from the *BIOS*: "Boot from Hard Disk failed: not a bootable disk". >>>>>> >>>>>> Looking at the disk image, the partition table (and maybe more?) has >>>>>> disappeared. This is with a raw image disk. >>>>>> [snip] >> After a few more tests, I have been able to reproduce it with the >> current CVS version of QEMU. I conclude this is a QEMU or a BIOS >> problem, and not a KVM one. >> >> Sorry for the noise. >> > > Well, it still needs to be fixed. I think there's a git import of qemu > available somewhere, that can be used for bisecting. > Well the IDE code hasn't changed a lot recently, so I checked the CVS history and easily (first test) found the commit that causes the problem: Last AIO patch, by Vladimir N. Oleynik. http://cvs.savannah.nongnu.org/viewvc/qemu/hw/ide.c?root=qemu&r1=1.64&r2=1.65 -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net