From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aurelien Jarno Subject: Re: FreeBSD image hangs during boot Date: Wed, 10 Oct 2007 15:47:11 +0200 Message-ID: <470CD7DF.2020906@aurel32.net> 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> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, qemu-devel-qX2TKyscuCcdnm+yROfE0A@public.gmane.org To: Avi Kivity Return-path: In-Reply-To: <470CD22C.5050003-atKUWr5tajBWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Avi Kivity a =E9crit : > Aurelien Jarno wrote: >> Avi Kivity a =E9crit : >> = >>> 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 followi= ng >>>>>> 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=3Dqemu&r1=3D1.64&r= 2=3D1.65 -- = .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org | aurelien-rXXEIb44qovR7s880joybQ@public.gmane.org `- people.debian.org/~aurel32 | www.aurel32.net ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/