From mboxrd@z Thu Jan 1 00:00:00 1970 From: Artur Samborski Subject: Re: FreeBSD-amd64 fails to start with SMP on quemu-kvm Date: Tue, 08 Jan 2013 21:45:35 +0100 Message-ID: <50EC856F.7030905@semihalf.com> References: <50EB0232.4090003@semihalf.com> <20130107230028.GE1139@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Marcelo Tosatti Return-path: Received: from smtp.semihalf.com ([213.17.239.109]:49407 "EHLO smtp.semihalf.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751260Ab3AHUpj (ORCPT ); Tue, 8 Jan 2013 15:45:39 -0500 In-Reply-To: <20130107230028.GE1139@amt.cnet> Sender: kvm-owner@vger.kernel.org List-ID: W dniu 08.01.2013 00:00, Marcelo Tosatti pisze: > On Mon, Jan 07, 2013 at 06:13:22PM +0100, Artur Samborski wrote: >> Hello, >> >> When i try to run FreeBSD-amd64 on more than 1 vcpu in quemu-kvm >> (Fedora Core 17) eg. to run FreeBSD-9.0-RELEASE-amd64 with: >> >> qemu-kvm -m 1024m -cpu host -smp 2 -cdrom >> /storage/iso/FreeBSD-9.0-RELEASE-amd64-dvd1.iso >> >> it freezes KVM with: >> >> KVM internal error. Suberror: 1 >> emulation failure >> RAX=ffffffff80b0d4c0 RBX=000000000009f000 RCX=00000000c0000080 >> RDX=0000000000000000 >> RSI=000000000000d238 RDI=0000000000000000 RBP=0000000000000000 >> RSP=0000000000000000 >> R8 =0000000000000000 R9 =0000000000000000 R10=0000000000000000 >> R11=0000000000000000 >> R12=0000000000000000 R13=0000000000000000 R14=0000000000000000 >> R15=0000000000000000 >> RIP=000000000009f076 RFL=00010086 [--S--P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 >> ES =0000 0000000000000000 0000ffff 0000f300 DPL=3 DS16 [-WA] >> CS =0008 0000000000000000 00000000 00209900 DPL=0 CS64 [--A] >> SS =9f00 000000000009f000 0000ffff 0000f300 DPL=3 DS16 [-WA] >> DS =0018 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] >> FS =0000 0000000000000000 0000ffff 0000f300 DPL=3 DS16 [-WA] >> GS =0000 0000000000000000 0000ffff 0000f300 DPL=3 DS16 [-WA] >> LDT=0000 0000000000000000 0000ffff 00008200 DPL=0 LDT >> TR =0000 0000000000000000 0000ffff 00008b00 DPL=0 TSS64-busy >> GDT= 000000000009f080 00000020 >> IDT= 0000000000000000 0000ffff >> CR0=80000011 CR2=0000000000000000 CR3=000000000009c000 CR4=00000030 >> DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 >> DR3=0000000000000000 >> DR6=00000000ffff0ff0 DR7=0000000000000400 >> EFER=0000000000000501 >> Code=00 00 00 80 0f 22 c0 ea 70 f0 09 00 08 00 48 b8 c0 d4 b0 80 >> ff ff ff ff e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >> 00 99 20 00 ff ff 00 00 > > Artur, > > Can you check whether > > https://patchwork-mail.kernel.org/patch/1942681/ > > fixes your problem > Hi, thanks for the reply. Unfortunately, the patch does not help. Attempt to start FreeBSD amd64 via quemu-kvm with -smp parameter greater than 1 fails in exactly the same way as before. The patch was applied to the kernel from the 3.6.11-1.fc17.src.rpm package. Do I need some additional patches? -- Artur