From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Vivier Subject: Re: FreeBSD image hangs during boot Date: Mon, 08 Oct 2007 12:35:40 +0200 Message-ID: <470A07FC.80407@bull.net> References: <47022E7E.3030509@aurel32.net> <47063B31.6000001@bull.net> <20071005135122.GA17767@hall.aurel32.net> <4709E2DF.10701@qumranet.com> <4709E896.1090806@bull.net> <4709FAC1.8050502@qumranet.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1329044078==" Cc: kvm-devel , Aurelien Jarno To: Avi Kivity Return-path: In-Reply-To: <4709FAC1.8050502-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) --===============1329044078== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5B46816489DD0501E35FD1BA" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5B46816489DD0501E35FD1BA Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Avi Kivity wrote: > Laurent Vivier wrote: >> Avi Kivity wrote: >> =20 >>> Aurelien Jarno wrote: >>> =20 >>>> It's actually described page 200 of the specifications (page 216 in >>>> ACPIspec30.pdf): >>>> >>>> Note: This descriptor is meant for describing interrupts that are >>>> connected to PIC-compatible >>>> interrupt controllers, which can only be programmed for >>>> Active-High-Edge-Triggered or Active- >>>> Low-Level-Triggered interrupts. Any other combination is illegal. >>>> The Extended Interrupt >>>> Descriptor can be used to describe other combinations. >>>> >>>> >>>> =20 >>>> =20 >>>>> Avi, if you think this anlysis is correct I can provide the patch >>>>> changing >>>>> "Level" to "Edge"... >>>>> >>>>> =20 >>>>> =20 >>>> It looks like the solution is either to describe the IRQ with an >>>> "Extended Interrupt Descriptor" or to change this value to one of th= e >>>> two allowed values. In the later case we have to make sure it is >>>> consistent with the way the PIC works. >>>> >>>> =20 >>>> =20 >>> The attached patch attempts to override the pci irqs (now limited to = 5, >>> 9, 10, and 11) to be active high level triggered. Linux boots and >>> parses this correctly. Freebsd still fails. >>> =20 >> FreeBSD will fail while ACPI will have Active-High and Level-triggered= , except >> if you define, as Aur=E9lien said, an "Extended Interrupt Descriptor" = in ACPI table. >> >> BTW, I'm not able to boot Debian Sarge (2.6.8-11-amd64-generic) with y= our patch >> (as before). >> >> Moreover, I don't understand what this patch resolves... >=20 > I thought this was the extended interrupt descriptor; sorry my confusio= n. >=20 > Meanwhile I changed the dsdt to use the _real_ extended enhanced=20 > advanced improved interrupt descriptor, and freebsd now boots. FC6 and= =20 > Windows survived. I'll push this after further testing. Great ! If you send me your patch I can test it and make it run on distros I have= (I can wait the push too). Is this THE solution to this issue or only a workaround ? Laurent --=20 ---------------- Laurent.Vivier-6ktuUTfB/bM@public.gmane.org ----------------- "Given enough eyeballs, all bugs are shallow" E. S. Raymond --------------enig5B46816489DD0501E35FD1BA 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) iD8DBQFHCgf/9Kffa9pFVzwRAhXyAJ44GUU+3HFyqIsQD1khSPJ3rCs4igCcDuo7 KHHYxVAMR7joouTe1smmZi4= =9ifP -----END PGP SIGNATURE----- --------------enig5B46816489DD0501E35FD1BA-- --===============1329044078== 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: 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/ --===============1329044078== 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 --===============1329044078==--