Re: kvm hangs w/o nolapic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 20, 2009 at 12:11:55PM +0100, Johannes Berg wrote:
> My 2.6.32-rc7 kvm (both guest+host, x86_64) hangs w/o "nolapic" here:
> 
>   while (lapic_cal_loops <= LAPIC_CAL_LOOPS)
>      cpu_relax();
> 
> because lapic_cal_loops never changes from -1.
> 
> Code was last changed by
> commit 2f04fa888d270951b9e0fe9e641ddd560d77ad1b
> Author: Yinghai Lu <yhlu.kernel@xxxxxxxxx>
> Date:   Sun Aug 24 02:01:54 2008 -0700
> 
>     x86: apic copy calibrate_APIC_clock to each other in apic_32/64.c
> 
> but I haven't tested reverting that.
> 
> johannes

Hi Johannes,

It will be not easy to revert since the commit was "preparing to merge"
apic_32/64.c. It rather seems there is a problem with timer(s) other then
APIC's one (ie PIT, HPET, PM). And since you're under kvm -- it could be
a corner case as well.

I've just booted a latest -tip with kvm without problems.
I've been using

|
| QEMU PC emulator version 0.9.1 (kvm-84)
|

Perhaps you could capture console with "debug apic=debug") and to gather
more info? And .config?

	-- Cyrill
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux