Date: Thu, 1 Apr 2021 20:11:04 +0300 From: Oleg Ginzburg <olevole@olevole.ru> To: Ka Ho Ng <khng@freebsd.org> Cc: freebsd-virtualization@freebsd.org Subject: Re: recent changed in vmm lead to panic: AMD, ivhd_setup_intr Message-ID: <CAMsb%2BmbMQC%2Be_Jc58ML=vHM5qP-xDQd8pfEYtFvmfFyWDTaG=A@mail.gmail.com> In-Reply-To: <73d31884-8c31-2880-b0e6-8decade073ee@FreeBSD.org> References: <CAMsb%2BmZtH3b_hhe=fmGY-1Y4Wa8Na%2BLzQy8sOhvhs1Dv9S-mzQ@mail.gmail.com> <51113310-d4f3-a38a-b3cb-bd8d55a280cc@FreeBSD.org> <CAMsb%2Bmb%2BxH6k69LBC-i6v5_BhNQoM5d7fJr9XAhjfj9Xz=ko7w@mail.gmail.com> <bbc1e069-c02a-e3e3-0fc9-e5ae1c1f8c9e@FreeBSD.org> <688df763-38bd-8eb9-4a71-961b3e48d5f2@freebsd.org> <9b8652d4-d5a1-589f-c4ec-21908356315c@FreeBSD.org> <a5857e91-854c-d385-4db3-11fc591d254d@FreeBSD.org> <CAMsb%2BmZubL0JKmVbDXoH8kxfoPG3vRLvfxp8b5QX%2BHsLMr5CdQ@mail.gmail.com> <73d31884-8c31-2880-b0e6-8decade073ee@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 1, 2021 at 10:27 AM Ka Ho Ng <khng@freebsd.org> wrote:
> On 4/1/21 3:21 pm, Oleg Ginzburg wrote:
> > However, the bhyve process is crashed:
> >
> > ..
> > fbuf frame buffer base: 0x844600000 [sz 16777216]
> > pci_xhci no USB devices configured
> > ld-elf.so.1: /usr/sbin/bhyve: Undefined symbol "vm_munmap_memseg"
> >
>
> Did you update the libvmmapi as well during system upgrade? There's
> recently an addition of a few ioctls supporting pci bar remapping of
> emulated and passthrough devices.
>
>
Yes, for some reason 'bhyve' on my host was linked to /lib/libvmmapi.so.5
instead of /usr/lib/libvmmapi.so.5
% ldd `which bhyve`
/usr/sbin/bhyve:
libvmmapi.so.5 => /lib/libvmmapi.so.5 (0x8010c7000)
..
I do not know where it came from, maybe from the old patch on the
phabricator. Removing /lib/libvmmapi.so* fix my problem.
Thanks for your work!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMsb%2BmbMQC%2Be_Jc58ML=vHM5qP-xDQd8pfEYtFvmfFyWDTaG=A>
