From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin O'Connor Subject: Re: [Qemu-devel] E5-2620v2 - emulation stop error Date: Wed, 11 Mar 2015 13:37:38 -0400 Message-ID: <20150311173738.GD29522@morn.localdomain> References: <54FF337A.1010202@redhat.com> <54FF4541.9080608@redhat.com> <20150310202958.GR2338@work-vm> <20150311134556.GH2334@work-vm> <20150311154220.GA26463@morn.localdomain> <20150311155306.GK2334@work-vm> <20150311163739.GA29522@morn.localdomain> <20150311165203.GL2334@work-vm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Bandan Das , Paolo Bonzini , kraxel@redhat.com, Andrey Korolyov , "qemu-devel@nongnu.org" , "kvm@vger.kernel.org" To: "Dr. David Alan Gilbert" Return-path: Received: from mail-qc0-f182.google.com ([209.85.216.182]:38531 "EHLO mail-qc0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752402AbbCKRhl (ORCPT ); Wed, 11 Mar 2015 13:37:41 -0400 Received: by qcvp6 with SMTP id p6so12095252qcv.5 for ; Wed, 11 Mar 2015 10:37:40 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20150311165203.GL2334@work-vm> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Mar 11, 2015 at 04:52:03PM +0000, Dr. David Alan Gilbert wrote: > * Kevin O'Connor (kevin@koconnor.net) wrote: > > So, I couldn't get this to fail on my older AMD machine at all with > > the default SeaBIOS code. But, when I change the code with the patch > > below, it failed right away. [...] > > And the failed debug output looks like: > > > > SeaBIOS (version rel-1.8.0-7-gd23eba6-dirty-20150311_121819-morn.localdomain) > > [...] > > cmos_smp_count0=20 > > [...] > > cmos_smp_count=1 > > cmos_smp_count2=1/20 > > Found 1 cpu(s) max supported 20 cpu(s) > > > > I'm going to check the assembly for a compiler error, but is it > > possible QEMU is returning incorrect data in cmos index 0x5f? I checked the SeaBIOS assembler and it looks sane. So, I think the question is, why is QEMU sometimes returning a 0 instead of 127 from cmos 0x5f. > > David, any chance you can recompile seabios and double check your > > output? > > Done; > > =========== Working =========== > SeaBIOS (version rel-1.8.0-0-g4c59f5d-dirty-20150311_164408-dgilbert-t530) [...] > cmos_smp_count0=20 > cmos_smp_count=20 > cmos_smp_count2=20/20 > Found 20 cpu(s) max supported 20 cpu(s) [...] > =========== Broken =========== > SeaBIOS (version rel-1.8.0-0-g4c59f5d-dirty-20150311_164408-dgilbert-t530) [...] > cmos_smp_count0=20 > cmos_smp_count=1 > cmos_smp_count2=1/20 > Found 1 cpu(s) max supported 20 cpu(s) That's the same pattern I see. -Kevin