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.
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)
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.