in r315408, disk_cleanup was removed, which is called at sys/boot/userboot/userboot/userboot_disk.c:113. This causes bhyveload to fail with the following error message:
/boot/userboot.so: Undefined symbol "disk_cleanup"
Given that disk_cleanup just cleans up some caching, I'm not sure if it's actually needed by userboot. I'll try to whip up a patch to remove that code from sys/boot/userboot/userboot/userboot_disk.c.
Over to committer of r315408.
(In reply to Fabian Freyer from comment #0)
If you could check https://reviews.freebsd.org/D10060
D10060 fixes the problem for me.
A commit references this bug:
Date: Mon Mar 20 18:03:40 UTC 2017
New revision: 315645
loader: disk_cleanup was left in userboot_disk.c
In r315408, disk_cleanup was removed, which is called at
This causes bhyveload to fail.
Reported by: Fabian Freyer
Reviewed by: allanjude
Approved by: allanjude (mentor)
Differential Revision: https://reviews.freebsd.org/D10060