From: Bandan Das <bsd@redhat.com>
To: John Nielsen <lists@jnielsen.net>
Cc: Gleb Natapov <gleb@kernel.org>,
Paolo Bonzini <pbonzini@redhat.com>,
"kvm\@vger.kernel.org" <kvm@vger.kernel.org>,
John Nielsen <john@jnielsen.net>
Subject: Re: Hang on reboot in FreeBSD guest on Linux KVM host
Date: Mon, 22 Jun 2015 17:48:48 -0400 [thread overview]
Message-ID: <jpgioafjtxb.fsf@redhat.com> (raw)
In-Reply-To: <6850B127-F16B-465F-BDDB-BA3F99B9E446@jnielsen.net> (John Nielsen's message of "Mon, 22 Jun 2015 12:02:29 -0600")
John Nielsen <lists@jnielsen.net> writes:
> On Jun 17, 2014, at 10:48 AM, John Nielsen <lists@jnielsen.net> wrote:
>
>> On Jun 17, 2014, at 12:05 AM, Gleb Natapov <gleb@kernel.org> wrote:
>>
>>> On Tue, Jun 17, 2014 at 06:21:23AM +0200, Paolo Bonzini wrote:
>>>> Il 16/06/2014 18:47, John Nielsen ha scritto:
>>>>> On Jun 16, 2014, at 10:39 AM, Paolo Bonzini <pbonzini@redhat.com>
>>>>> wrote:
>>>>>
>>>>>> Il 16/06/2014 18:09, John Nielsen ha scritto:
>>>>>>>>> The only substantial difference on the hardware side is the
>>>>>>>>> CPU. The hosts where the problem occurs use "Intel(R)
>>>>>>>>> Xeon(R) CPU E5-2650 v2 @ 2.60GHz", while the hosts that don't
>>>>>>>>> show the problem use the prior revision, "Intel(R) Xeon(R)
>>>>>>>>> CPU E5-2650 0 @ 2.00GHz".
>>>>>> Can you do "grep . /sys/module/kvm_intel/parameters/*" on both
>>>>>> hosts please?
>>>>> No differences that I can see. Output below.
>>>> Not really:
>>>>
>>>>> Working host: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz # grep
>>>>> . /sys/module/kvm_intel/parameters/*
>>>>> /sys/module/kvm_intel/parameters/enable_apicv:N
>>>>>
>>>>> Problem host: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz # grep
>>>>> . /sys/module/kvm_intel/parameters/*
>>>>> /sys/module/kvm_intel/parameters/enable_apicv:Y
>>>> So we have a clue. Let me study the code more, I'll try to get
>>>> back with a suggestion.
>> Wow, can't believe I missed that. Good catch!
>>
>>> Does disabling apicv on E5-2650 v2 make reboot problem go away?
>> Yes it does!
>>
>> # modprobe kvm_intel /sys/module/kvm_intel/parameters/enable_apicv:Y
>> # /usr/bin/qemu-system-x86_64 -machine accel=kvm -name bsdtest -m
>> 512 -smp 2,sockets=1,cores=1,threads=2 -drive
>> file=./20140613_FreeBSD_9.2-RELEASE_ufs.qcow2,if=none,id=drive0,format=qcow2
>> -device virtio-blk-pci,scsi=off,drive=drive0 -vnc 0.0.0.0:0 -net
>> none
>>
>> [problem occurs]
>>
>> # rmmod kvm_intel # modprobe kvm_intel enable_apicv=N
>> /sys/module/kvm_intel/parameters/enable_apicv:N #
>> /usr/bin/qemu-system-x86_64 -machine accel=kvm -name bsdtest -m 512
>> -smp 2,sockets=1,cores=1,threads=2 -drive
>> file=./20140613_FreeBSD_9.2-RELEASE_ufs.qcow2,if=none,id=drive0,format=qcow2
>> -device virtio-blk-pci,scsi=off,drive=drive0 -vnc 0.0.0.0:0 -net
>> none
>>
>> [problem does not occur]
>>
>> Thank you. This both narrows the problem considerably and provides
>> an acceptable workaround. It would still be nice to see it fixed, of
>> course. Keep me CC'ed as I'm not on the KVM list.
>
> I’m resurrecting an old thread since I haven’t heard anything in a
> while. Has anyone looked in to the KVM+apicv bug documented above as
> well as here:
>
> https://bugs.launchpad.net/qemu/+bug/1329956 ?
>
> If appropriate, where should I go to file a KVM bug (since this isn’t
> really Qemu’s problem)?
Hi John, does this happen with the latest upstream kernel version ?
Bandan
> Thanks,
>
> JN-- To unsubscribe from this list: send the line "unsubscribe kvm" in
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
next prev parent reply other threads:[~2015-06-22 21:48 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <6DBD3DBB-24B1-4564-B524-E8E73508BBC5@jnielsen.net>
2014-06-16 16:09 ` [Qemu-devel] Hang on reboot in FreeBSD guest on Linux KVM host John Nielsen
2014-06-16 16:39 ` Paolo Bonzini
2014-06-16 16:47 ` John Nielsen
2014-06-17 4:21 ` Paolo Bonzini
2014-06-17 4:21 ` [Qemu-devel] " Paolo Bonzini
2014-06-17 6:05 ` Gleb Natapov
2014-06-17 16:48 ` John Nielsen
2015-06-22 18:02 ` John Nielsen
2015-06-22 21:48 ` Bandan Das [this message]
2015-06-22 22:08 ` John Nielsen
2015-06-23 8:14 ` Paolo Bonzini
2015-06-24 15:50 ` Paolo Bonzini
2015-06-24 15:57 ` Bandan Das
2015-06-24 15:58 ` Paolo Bonzini
2015-06-24 17:07 ` John Nielsen
2015-06-24 17:15 ` Paolo Bonzini
2025-10-08 12:42 ` Jack Wang
2025-10-08 12:42 ` Jack Wang
2025-10-08 12:44 ` Jack Wang
2025-10-08 12:54 ` Hang on reboot in multi-core FreeBSD guest on Linux KVM host with Intel Sierra Forest CPU Jinpu Wang
2025-10-08 15:55 ` Sean Christopherson
2025-10-09 3:44 ` Jinpu Wang
2025-10-09 11:21 ` Jinpu Wang
2025-10-09 12:36 ` Jinpu Wang
2025-10-09 12:52 ` Vitaly Kuznetsov
2025-10-10 5:04 ` Jinpu Wang
2014-06-20 15:41 ` Hang on reboot in FreeBSD guest on Linux KVM host John Nielsen
2014-06-20 19:53 ` Paolo Bonzini
2014-06-20 21:39 ` John Nielsen
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=jpgioafjtxb.fsf@redhat.com \
--to=bsd@redhat.com \
--cc=gleb@kernel.org \
--cc=john@jnielsen.net \
--cc=kvm@vger.kernel.org \
--cc=lists@jnielsen.net \
--cc=pbonzini@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.