From: Jan Kiszka <jan.kiszka@web.de>
To: Eduardo Habkost <ehabkost@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: 2.6.27.5 guest boot failure using in-kernel PIT
Date: Fri, 21 Nov 2008 08:54:56 +0100 [thread overview]
Message-ID: <49266950.40200@web.de> (raw)
In-Reply-To: <20081120220517.GB30825@blackpad>
[-- Attachment #1: Type: text/plain, Size: 1445 bytes --]
Eduardo Habkost wrote:
> On Thu, Nov 20, 2008 at 12:22:53PM -0200, Eduardo Habkost wrote:
>> Hi,
>>
>> When using a kvm.git kernel as host, I am getting guest boot failures
>> when booting Fedora Rawhide kernel (2.6.27.5-117.fc10.x86_64). Guest
>> stops booting at:
>>
>> ENABLING IO-APIC IRQs
>> ..TIMER: vector=0x30 apic1=0 pin1=0 apic2=-1 pin2=-1
>> ..MP-BIOS bug: 8254 timer not connected to IO-APIC
>> ...trying to set up timer (IRQ0) through the 8259A ...
>> ..... (found apic 0 pin 0) ...
>> ....... failed.
>> ...trying to set up timer as Virtual Wire IRQ...
>> ..... failed.
>> ...trying to set up timer as ExtINT IRQ...
>
> I've just found out this problem happens because the guest has HZ=1000
> and the host had HZ=250 and no CONFIG_HIGH_RES_TIMERS.
>
> With this setup, the host is not managing to inject enough timer
> interrupts during the mdelay() loop on timer_irq_works().
>
Interesting, and plausible.
My observation so far is a sporadic test failure, often correlating with
some raised host OS load. I'm running a high-res kernel, but that cannot
prevent that this only 10 ticks long loop of the guest may obtain too
few CPU cycles to handle enough of them once in a while (IIRC, it needs
4 out of the 10 ticks to declare the timer routing functional).
Maybe Gleb's anti-coalesce patches for the PIC can also deal with your
timer resolution conflict. At least worth a try...
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
next prev parent reply other threads:[~2008-11-21 7:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-20 14:22 2.6.27.5 guest boot failure using in-kernel PIT Eduardo Habkost
2008-11-20 22:05 ` Eduardo Habkost
2008-11-21 3:05 ` Sheng Yang
2008-11-21 7:54 ` Jan Kiszka [this message]
2008-11-21 13:17 ` Eduardo Habkost
2008-11-21 15:41 ` Jan Kiszka
2008-11-21 16:39 ` Eduardo Habkost
2008-11-21 17:06 ` Eduardo Habkost
2008-11-24 17:02 ` hrtimer_forward() semantics when using non-high-res timers Eduardo Habkost
2008-11-21 17:10 ` 2.6.27.5 guest boot failure using in-kernel PIT Marcelo Tosatti
2008-11-24 14:33 ` Glauber Costa
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=49266950.40200@web.de \
--to=jan.kiszka@web.de \
--cc=ehabkost@redhat.com \
--cc=kvm@vger.kernel.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