Bug 241393 - Suspend resume does not work after using bhyve
Summary: Suspend resume does not work after using bhyve
Status: Closed Unable to Reproduce
Alias: None
Product: Base System
Classification: Unclassified
Component: bhyve (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-virtualization (Nobody)
URL:
Keywords: bhyve
Depends on:
Blocks:
 
Reported: 2019-10-21 12:05 UTC by mmatalka
Modified: 2024-01-07 15:10 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mmatalka 2019-10-21 12:05:53 UTC
I am still working on making this reproducible, but I have fairly consistently seen on my machine over several builds of CURRENT that suspend and resume work if I have not used bhyve, but if I have, the machine fails to resume and I have to hard-restart.  I am stopping bhyve before suspending.

FreeBSD bsdell 13.0-CURRENT FreeBSD 13.0-CURRENT #35 r353099: Fri Oct  4 12:14:25 CEST 2019     root@bsdell:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

I'm using a Dell XPS 13.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2019-10-21 12:10:05 UTC
Thank you for your report

Along with steps to reproduce, the following would also be handy:

- /var/run/dmesg.boot (as an attachment)
- pciconf -lv (as an attachment)
- /var/log/messages during suspend/resume cycle (as an attachment)
Comment 2 mmatalka 2019-11-17 13:40:13 UTC
I think believing this was bhyve related was not correct.  Maybe using bhyve makes it more likely to trigger the actual issue but sometimes my machine resumes just fine after running bhyve.  Sometimes it does even if I haven't stopped the VM.  And sometimes it doesn't resume after not running bhyve.  It's pretty hit-or-miss.  I am no sure what the root cause is.
Comment 3 mmatalka 2024-01-07 15:10:03 UTC
I do not experience this anymore.