From: Artur Samborski <sam@semihalf.com>
To: Gleb Natapov <gleb@redhat.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>, kvm@vger.kernel.org
Subject: Re: FreeBSD-amd64 fails to start with SMP on quemu-kvm
Date: Fri, 11 Jan 2013 15:57:05 +0100 [thread overview]
Message-ID: <50F02841.9040203@semihalf.com> (raw)
In-Reply-To: <20130109101540.GC700@redhat.com>
W dniu 09.01.2013 11:15, Gleb Natapov pisze:
> On Tue, Jan 08, 2013 at 09:45:35PM +0100, Artur Samborski wrote:
>> 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 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?
>>
>>
> Can you try queue branch from kvm.git?
>
Thanks for the advice - I used kernel from kvm.git(queue) and was able
to run FreeBSD-amd guest with SMP on my kvm-host server without previous
problems. Unfortunately, after few hours server was hung up. Case
requires further investigations, but generally speaking we went forward.
Unfortunately, experiments on the server are difficult, because it is
used for everyday work.
--
Artur
next prev parent reply other threads:[~2013-01-11 14:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-07 17:13 FreeBSD-amd64 fails to start with SMP on quemu-kvm Artur Samborski
2013-01-07 23:00 ` Marcelo Tosatti
2013-01-08 20:45 ` Artur Samborski
2013-01-09 10:15 ` Gleb Natapov
2013-01-11 14:57 ` Artur Samborski [this message]
2013-01-13 9:23 ` Gleb Natapov
2013-01-15 11:18 ` Artur Samborski
2013-01-16 13:05 ` Gleb Natapov
2013-01-16 14:42 ` Michael S. Tsirkin
2013-01-17 6:37 ` Gleb Natapov
2013-01-17 7:53 ` Artur Samborski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50F02841.9040203@semihalf.com \
--to=sam@semihalf.com \
--cc=gleb@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox