Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760086Ab1CDTJg (ORCPT ); Fri, 4 Mar 2011 14:09:36 -0500 Received: from mx1.redhat.com ([209.132.183.28]:5296 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759999Ab1CDTJe (ORCPT ); Fri, 4 Mar 2011 14:09:34 -0500 Subject: Re: regression - 2.6.36 -> 2.6.37 - kvm - 32bit SMP guests don't boot From: Glauber Costa To: Nikola Ciprich Cc: Zachary Amsden , Avi Kivity , Nikola Ciprich , KVM list , Linux kernel list In-Reply-To: <20110304182733.GA2867@nik-comp.lan> References: <20110228152823.GF29840@pcnci.linuxbox.cz> <4D6BC5CA.8060004@redhat.com> <20110228171550.GA2173@nik-comp.lan> <4D6EF536.305@redhat.com> <20110303070652.GG29840@pcnci.linuxbox.cz> <4D6FFE5D.1030401@redhat.com> <20110303210647.GA27691@nik-comp.lan> <4D700F09.9000002@redhat.com> <20110303220155.GB27691@nik-comp.lan> <4D7101AF.6060009@redhat.com> <20110304182733.GA2867@nik-comp.lan> Content-Type: text/plain; charset="UTF-8" Organization: Red Hat Date: Fri, 04 Mar 2011 16:09:22 -0300 Message-ID: <1299265762.11618.140.camel@mothafucka.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1438 Lines: 40 On Fri, 2011-03-04 at 19:27 +0100, Nikola Ciprich wrote: > Hello Zachary, > > > You don't see any messages about TSC being unstable or switching > > clocksource after loading the KVM module? And you are not suspending > > the host or anything? > no messages, no suspending, nothing. > > > > Can you try using "processor.max_cstate=1" on the host as a kernel > > parameter and see if it makes a difference? > I tried it, no change.. > n. Zach, I don't understand 100 % the logic behind all your tsc changes. But kvm-clock-wise, most of the problems we had in the past were related to the difference in resolution between the tsc and the host clocksource (hpet, acpi_pm, etc), which in his case, it is a non-issue. It does seem to me like some compensation logic kicked in, dismantling an otherwise good tsc. He does have nonstop_tsc, which means it can't get any better. One thing I noticed when reading the culprit patch in bisect, is that in vcpu_load(), there were previously a call to kvm_request_guest_time_update(vcpu) that was removed without a counterpart addition. Any idea about why it was done? Nikola, does adding that line back alleviate the problem for you ? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/