From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zachary Amsden Subject: Re: regression - 2.6.36 -> 2.6.37 - kvm - 32bit SMP guests don't boot Date: Thu, 03 Mar 2011 15:47:25 -0500 Message-ID: <4D6FFE5D.1030401@redhat.com> References: <20110225104823.GD29840@pcnci.linuxbox.cz> <4D67C077.6060108@redhat.com> <20110227172052.GB2474@nik-comp.lan> <4D6BA85B.7080908@redhat.com> <20110228143247.GE29840@pcnci.linuxbox.cz> <4D6BBC84.6020408@redhat.com> <20110228152823.GF29840@pcnci.linuxbox.cz> <4D6BC5CA.8060004@redhat.com> <20110228171550.GA2173@nik-comp.lan> <4D6EF536.305@redhat.com> <20110303070652.GG29840@pcnci.linuxbox.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Avi Kivity , Nikola Ciprich , KVM list , Linux kernel list , Glauber Costa To: Nikola Ciprich Return-path: In-Reply-To: <20110303070652.GG29840@pcnci.linuxbox.cz> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 03/03/2011 02:06 AM, Nikola Ciprich wrote: >> No worries. What mess? >> > twice sending the same mail, nevermind :) > > >> I have two things you can try: >> >> first is running a single VCPU guest, if you have not done so already. >> > yup, UP guest is fine, just SMP doesn't work. > > >> Second is adding the bootparameter "clocksource=acpi_pm" to your guest >> kernel. >> > yes, this makes SMP work too! I just realized when You were asking about current > clocksource, I told You only host source, not the guest. So I checked now, > and (at least for UP, I guess for SMP it's the same), the clocksource is > kvm-clock! So seems like it got broken with the TSC changes? > What is the exact kernel version you are using in the guest. It appears that some earlier 32-bit versions of kvm-clock enabled kernels are still missing the required atomic check for backwards-time protection which would be needed on SMP. This explains why 64-bit is fine, 32-bit is not. Why this change triggers that problem still is a slight mystery, logically it should only affect the system if you have an unstable TSC. Zach