From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Vivier Subject: Re: FreeBSD image hangs during boot Date: Wed, 03 Oct 2007 14:18:33 +0200 Message-ID: <47038899.1030603@bull.net> References: <47022E7E.3030509@aurel32.net> <470234DF.6030802@qumranet.com> <470237DC.5060008@aurel32.net> <47027161.50004@qumranet.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0566944707==" Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Aurelien Jarno To: Avi Kivity Return-path: In-Reply-To: <47027161.50004-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 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0566944707== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig745CC7732E5C676D48C9E6FC" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig745CC7732E5C676D48C9E6FC Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Avi Kivity wrote: > Aurelien Jarno wrote: >> Avi Kivity a =E9crit : >> =20 >>> Aurelien Jarno wrote: >>> =20 >>>> Hi all, >>>> >>>> That's not something new, but I never seen the problem mentioned her= e. >>>> FreeBSD does not work on KVM, approximately since the lapic merge. >>>> >>>> However, that does not seem related to lapic, as using -no-kvm-irqch= ip >>>> does not help. With -no-kvm I get a page fault in kernel mode, while= the >>>> normal QEMU (0.9.0 or CVS) does not have this problem. >>>> >>>> This can be easily reproduced with the latest installation CD: >>>> ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/6.2/6.2-RELEASE-i3= 86-bootonly.iso >>>> >>>> =20 >>>> =20 >>> It complains about the RSDT checksum. Running with -no-acpi works=20 >>> around the problem (it gets to some country selection screen). So it= =20 >>> looks like the ACPI tables are messed up. >>> =20 >> The RSDT checksum problem is not new, but it was harmless on previous >> versions (like kvm-37). >> >> Using -no-acpi, I am able to boot the machine with -no-kvm, but the >> guest still hang with -no-acpi and with -no-kvm-irqchip or lapic >> enabled. At least on AMD64, I haven't tested yet on an Intel machine. >> >> =20 >=20 > Looks like there is a compiler problem that's interfering here. A bios= =20 > compiled on one machine will boot fine on Intel, but on other machines = > (unfortunately my work machines) will not. >=20 > There is a separate issue with -no-acpi on AMD. Is there some version = > where -no-acpi worked on AMD? >=20 I've found the first bios that is not working on my machine (intel) is at= : commit 41675d73b654bd926670d69551a0903b8a9f7fd5 Author: Avi Kivity Date: Thu Sep 20 18:45:24 2007 +0200 kvm: bios: advertise pci irqs as active high now that kvm emulates the ioapic polarity correctly, we must describe= the polarity correctly in the acpi tables. otherwise pci interrupts = won't be delivered correctly. Signed-off-by: Avi Kivity Reverting this commit from master allows to boot again freebsd. It works fine with and without "-no-kvm-irqchip". But it doesn't allow to make working debian-31r0a-amd64 install CD. Laurent --=20 ------------- Laurent.Vivier-6ktuUTfB/bM@public.gmane.org -------------- "Software is hard" - Donald Knuth --------------enig745CC7732E5C676D48C9E6FC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) iD8DBQFHA4ie9Kffa9pFVzwRAsDWAKDUehcQCvkE7yI4WXCzO42LWuxhSACeMU/e 4NaxsIxcOyM+iKXF+rfsxtQ= =hnDw -----END PGP SIGNATURE----- --------------enig745CC7732E5C676D48C9E6FC-- --===============0566944707== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============0566944707== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --===============0566944707==--