Summary: | bhyve: Unkillable processes stuck in 'STOP' state (vmm::vm_handle_suspend()) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Aleksandr Fedorov <afedorov> | ||||||||||
Component: | bhyve | Assignee: | Konstantin Belousov <kib> | ||||||||||
Status: | Closed FIXED | ||||||||||||
Severity: | Affects Many People | CC: | andrey, jhb, kib, markj, rgrimes, virtualization | ||||||||||
Priority: | --- | ||||||||||||
Version: | CURRENT | ||||||||||||
Hardware: | Any | ||||||||||||
OS: | Any | ||||||||||||
Attachments: |
|
Description
Aleksandr Fedorov
2019-12-19 13:04:00 UTC
Created attachment 210059 [details]
procstat -k
Created attachment 210060 [details]
prockstat threads
Created attachment 210061 [details]
prockstat signals
Created attachment 210062 [details]
procstat tsignals
Show line number for vm_run+0x6c7. What you wrote about vm_handle_rendezvous() might be reasonable but I am not sure that this is the case. Anyway, the line number information should confirm or deny. If indeed the issue is the infinite wait for rendezvous, it seems to be easy to handle it. Try https://reviews.freebsd.org/D22881. I did not tested that. https://smartos.org/bugview/OS-6888 yandex save :) https://yandexwebcache.net/yandbtm?lang=en&fmode=inject&tm=1576826734&tld=ru&la=1560740864&text=OS-6888%20bhyve%20wedged%20on%20vioapic%20write&url=https%3A%2F%2Fsmartos.org%2Fbugview%2FOS-6888&l10n=ru&mime=html&sign=0c8dee200fcb04690f50b361149607d8&keyno=0 (In reply to Andrey Fesenko from comment #7) I have no idea what did you tried to say. smartos link opens up as a blank page, and the yandex link returns 404. (In reply to Konstantin Belousov from comment #8) hm... yandex cach not permanent link :( original page bug OS-6888 long time not work, now working, save https://web.archive.org/web/20191220195714/https://smartos.org/bugview/OS-6888 if smartos bugview down again. A commit references this bug: Author: kib Date: Thu Jan 2 22:37:05 UTC 2020 New revision: 356296 URL: https://svnweb.freebsd.org/changeset/base/356296 Log: bhyve: terminate waiting loops if thread suspension is requested. PR: 242724 Reviewed by: markj Reported and tested by: Aleksandr Fedorov <aleksandr.fedorov@itglobal.com> (previous version) Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D22881 Changes: head/sys/amd64/include/vmm.h head/sys/amd64/vmm/io/vioapic.c head/sys/amd64/vmm/vmm.c head/sys/amd64/vmm/vmm_dev.c A commit references this bug: Author: kib Date: Thu Jan 9 08:29:32 UTC 2020 New revision: 356543 URL: https://svnweb.freebsd.org/changeset/base/356543 Log: MFC r356296: bhyve: terminate waiting loops if thread suspension is requested. PR: 242724 Changes: _U stable/12/ stable/12/sys/amd64/include/vmm.h stable/12/sys/amd64/vmm/io/vioapic.c stable/12/sys/amd64/vmm/vmm.c stable/12/sys/amd64/vmm/vmm_dev.c |