public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Laurent Vivier <Laurent.Vivier-6ktuUTfB/bM@public.gmane.org>
To: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	Aurelien Jarno <aurelien-rXXEIb44qovR7s880joybQ@public.gmane.org>
Subject: Re: FreeBSD image hangs during boot
Date: Wed, 03 Oct 2007 14:18:33 +0200	[thread overview]
Message-ID: <47038899.1030603@bull.net> (raw)
In-Reply-To: <47027161.50004-atKUWr5tajBWk0Htik3J/w@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 2435 bytes --]

Avi Kivity wrote:
> Aurelien Jarno wrote:
>> Avi Kivity a écrit :
>>   
>>> Aurelien Jarno wrote:
>>>     
>>>> Hi all,
>>>>
>>>> That's not something new, but I never seen the problem mentioned here.
>>>> FreeBSD does not work on KVM, approximately since the lapic merge.
>>>>
>>>> However, that does not seem related to lapic, as using -no-kvm-irqchip
>>>> 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-i386-bootonly.iso
>>>>
>>>>   
>>>>       
>>> It complains about the RSDT checksum.  Running with -no-acpi works 
>>> around the problem (it gets to some country selection screen).  So it 
>>> looks like the ACPI tables are messed up.
>>>     
>> 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.
>>
>>   
> 
> Looks like there is a compiler problem that's interfering here.  A bios 
> compiled on one machine will boot fine on Intel, but on other machines 
> (unfortunately my work machines) will not.
> 
> There is a separate issue with -no-acpi on AMD.  Is there some version 
> where -no-acpi worked on AMD?
> 

I've found the first bios that is not working on my machine (intel) is at:

commit 41675d73b654bd926670d69551a0903b8a9f7fd5
Author: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
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 <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>

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
-- 
------------- Laurent.Vivier-6ktuUTfB/bM@public.gmane.org  --------------
          "Software is hard" - Donald Knuth


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
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/

[-- Attachment #3: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

  parent reply	other threads:[~2007-10-03 12:18 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-02 11:41 FreeBSD image hangs during boot Aurelien Jarno
     [not found] ` <47022E7E.3030509-rXXEIb44qovR7s880joybQ@public.gmane.org>
2007-10-02 11:53   ` Laurent Vivier
     [not found]     ` <47023130.6000805-6ktuUTfB/bM@public.gmane.org>
2007-10-02 12:18       ` Aurelien Jarno
2007-10-02 12:09   ` Avi Kivity
     [not found]     ` <470234DF.6030802-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-02 12:21       ` Aurelien Jarno
     [not found]         ` <470237DC.5060008-rXXEIb44qovR7s880joybQ@public.gmane.org>
2007-10-02 12:38           ` Avi Kivity
     [not found]             ` <47023BBB.3020806-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-10 20:42               ` Aurelien Jarno
2007-10-02 16:27           ` Avi Kivity
     [not found]             ` <47027161.50004-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-02 16:44               ` Aurelien Jarno
     [not found]                 ` <47027586.9020508-rXXEIb44qovR7s880joybQ@public.gmane.org>
2007-10-02 17:04                   ` Aurelien Jarno
     [not found]                     ` <47027A01.5080903-rXXEIb44qovR7s880joybQ@public.gmane.org>
2007-10-02 17:25                       ` Aurelien Jarno
     [not found]                         ` <47027F25.80001-rXXEIb44qovR7s880joybQ@public.gmane.org>
2007-10-10 11:17                           ` Avi Kivity
     [not found]                             ` <470CB4DE.20707-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-10 11:27                               ` Aurelien Jarno
     [not found]                                 ` <470CB709.5050205-rXXEIb44qovR7s880joybQ@public.gmane.org>
2007-10-10 11:29                                   ` Avi Kivity
2007-10-10 13:21                               ` Aurelien Jarno
     [not found]                                 ` <470CD1F1.20305-rXXEIb44qovR7s880joybQ@public.gmane.org>
2007-10-10 13:22                                   ` Avi Kivity
     [not found]                                     ` <470CD22C.5050003-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-10 13:47                                       ` Aurelien Jarno
     [not found]                                         ` <470CD7DF.2020906-rXXEIb44qovR7s880joybQ@public.gmane.org>
2007-11-08  6:41                                           ` Avi Kivity
     [not found]                                             ` <4732AF9B.9010201-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-08  9:44                                               ` Aurelien Jarno
2007-10-03 12:18               ` Laurent Vivier [this message]
2007-10-02 12:26       ` Laurent Vivier
     [not found]         ` <4702390F.9070809-6ktuUTfB/bM@public.gmane.org>
2007-10-02 12:59           ` Aurelien Jarno
2007-10-05 13:25   ` Laurent Vivier
     [not found]     ` <47063B31.6000001-6ktuUTfB/bM@public.gmane.org>
2007-10-05 13:51       ` Aurelien Jarno
     [not found]         ` <20071005135122.GA17767-OqXK5JiLQY5aJl8KAwiEcA@public.gmane.org>
2007-10-05 16:06           ` Laurent Vivier
2007-10-05 16:07           ` Avi Kivity
     [not found]             ` <47066153.2040406-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-05 16:36               ` Avi Kivity
2007-10-06  8:38               ` Laurent Vivier
     [not found]                 ` <47074989.9080100-6ktuUTfB/bM@public.gmane.org>
2007-10-06 19:31                   ` Avi Kivity
2007-10-08  7:57           ` Avi Kivity
     [not found]             ` <4709E2DF.10701-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-08  8:21               ` Laurent Vivier
     [not found]                 ` <4709E896.1090806-6ktuUTfB/bM@public.gmane.org>
2007-10-08  9:39                   ` Avi Kivity
     [not found]                     ` <4709FAC1.8050502-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-08 10:35                       ` Laurent Vivier
     [not found]                         ` <470A07FC.80407-6ktuUTfB/bM@public.gmane.org>
2007-10-08 10:47                           ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47038899.1030603@bull.net \
    --to=laurent.vivier-6ktuutfb/bm@public.gmane.org \
    --cc=aurelien-rXXEIb44qovR7s880joybQ@public.gmane.org \
    --cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox