Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2023 22:19:08 -0500
From:      Ka Ho Ng <khng300@gmail.com>
To:        Graham Perrin <grahamperrin@freebsd.org>
Cc:        VirtualBox on FreeBSD team <vbox@freebsd.org>,  Virtualisation on FreeBSD <freebsd-virtualization@freebsd.org>,  FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Re: 13.1-STABLE vritualbox-ose-kmod panic
Message-ID:  <CANnchUYtYmnA9pBdo9bDkiK4-4HP0zmDfy_GVt5TFO5LxUS0fQ@mail.gmail.com>
In-Reply-To: <3d8f8238-020b-0706-1c48-b17db12891f1@freebsd.org>
References:  <CAFYkXjkwYJBx=naj75WbKAGbZv2f-9fVeWu5Bd2bRtpp9W=45A@mail.gmail.com> <3d8f8238-020b-0706-1c48-b17db12891f1@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000fd810705f30e18ea
Content-Type: text/plain; charset="UTF-8"

virtualbox-ose-kmod uses non-public kernel interfaces, thus requires
rebuild after kernel buildkernel (in this case -STABLE). It is simply
irrelevant whether it works on -RELEASE / -CURRENT.

Further triage is needed only if the virtualbox-ose-kmod after rebuild
still panics the kernel.

Ka Ho

On Tue, Jan 24, 2023, 18:07 Graham Perrin <grahamperrin@freebsd.org> wrote:

> On 24/01/2023 22:06, Tomek CEDRO wrote:
> > Hello world :-)
> >
> > I did upgrade world and kernel today.. still I cannot kldload
> > virtualbox modules (modules are built from ports, vbox from package)..
> > that renders VirtualBox useless because it cannot start any virtual
> > machine due to missing driver error.
> >
> > The first time I noticed that problem was beginning of January 2023.
> > Before I was able to use virtualbox-ose(-kmod) on STABLE with no
> > problem.
> >
> > How can I make things work again?
> >
> > Will virtualbox-ose-kmod work only with a RELEASE and not with STABLE?
> >
> > Do I need to rebuild both virtualbox-ose and virtualbox-ose-kmod from
> ports?
> >
> > Do I have to wait with virtualbox-ose-kmod until STABLE gets in align
> > with RELEASE?
> >
> > Any hints welcome :-)
> > Tomek
> >
> > % uname -a
> > FreeBSD octagon 13.1-STABLE FreeBSD 13.1-STABLE #4
> > stable/13-n253680-16ae7b665c7e: Tue Jan 24 07:20:27 CET 2023
> > root@octagon:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
> >
> > % pkg info virtualbox-ose
> > virtualbox-ose-6.1.36
> > Name           : virtualbox-ose
> > Version        : 6.1.36
> > Installed on   : Sat Jan  7 06:50:23 2023 CET
> > Origin         : emulators/virtualbox-ose
> > Architecture   : FreeBSD:13:amd64
> > Prefix         : /usr/local
> > Categories     : emulators
> > Licenses       : GPLv2
> > Maintainer     : vbox@FreeBSD.org
> > WWW            : https://www.virtualbox.org/
> > Comment        : General-purpose full virtualizer for x86 hardware
> > Options        :
> >          AIO            : on
> >          ALSA           : off
> >          DBUS           : on
> >          DEBUG          : off
> >          GUESTADDITIONS : off
> >          MANUAL         : off
> >          NLS            : on
> >          OPUS           : off
> >          PYTHON         : off
> >          QT5            : on
> >          R0LOGGING      : off
> >          UDPTUNNEL      : on
> >          VDE            : off
> >          VNC            : on
> >          VPX            : off
> >          WEBSERVICE     : on
> >          X11            : on
> > Shared Libs required:
> >          libxml2.so.2
> >          libxcb.so.1
> >          libvncserver.so.1
> >          libpng16.so.16
> >          libcurl.so.4
> >          libXt.so.6
> >          libXext.so.6
> >          libXcursor.so.1
> >          libX11.so.6
> >          libSDL-1.2.so.0
> >          libQt5X11Extras.so.5
> >          libQt5Widgets.so.5
> >          libQt5PrintSupport.so.5
> >          libQt5OpenGL.so.5
> >          libQt5Gui.so.5
> >          libQt5Core.so.5
> >          libGL.so.1
> > Annotations    :
> >          FreeBSD_version: 1301000
> >          cpe            :
> cpe:2.3:a:oracle:vm_virtualbox:6.1.36:::::freebsd13:x64
> >          repo_type      : binary
> >          repository     : FreeBSD
> > Flat size      : 164MiB
> > Description    :
> > Oracle VM VirtualBox is a hosted hypervisor for x86 virtualisation.
> > Supported guests include BSD, Haiku, Linux, OS/2, ReactOS, Solaris and
> > Windows.
> >
> > Guest Additions are available from: emulators/virtualbox-ose-additions
> >
> > For the Extension Pack: FreeBSD is not a supported host platform.
> > Installation of the Pack will not extend the feature set.
> >
> > WWW: https://www.virtualbox.org/
> >
> >
> > % pkg info virtualbox-ose-kmod
> > virtualbox-ose-kmod-6.1.36
> > Name           : virtualbox-ose-kmod
> > Version        : 6.1.36
> > Installed on   : Tue Jan 24 21:05:52 2023 CET
> > Origin         : emulators/virtualbox-ose-kmod
> > Architecture   : FreeBSD:13:amd64
> > Prefix         : /usr/local
> > Categories     : kld emulators
> > Licenses       : GPLv2
> > Maintainer     : vbox@FreeBSD.org
> > WWW            : https://www.virtualbox.org/
> > Comment        : VirtualBox kernel module for FreeBSD
> > Options        :
> >          DEBUG          : on
> >          VIMAGE         : on
> > Annotations    :
> >          FreeBSD_version: 1301511
> >          cpe            :
> cpe:2.3:a:oracle:vm_virtualbox:6.1.36:::::freebsd13:x64
> > Flat size      : 3.92MiB
> > Description    :
> > VirtualBox is a family of powerful x86 virtualization products for
> > enterprise as well as home use. Not only is VirtualBox an extremely
> > feature rich, high performance product for enterprise customers, it
> > is also the only professional solution that is freely available as
> > Open Source Software under the terms of the GNU General Public License.
> >
> > WWW: https://www.virtualbox.org/
>
> FAO maintainer (omitted from the original email).
>
> Adding freebsd-virtualization@freebsd.org, dropping
> freebsd-emulation@freebsd.org (we should address no more than two lists).
>
>

--000000000000fd810705f30e18ea
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">virtualbox-ose-kmod uses non-public kernel interfaces, th=
us requires rebuild after kernel buildkernel (in this case -STABLE). It is =
simply irrelevant whether it works on -RELEASE / -CURRENT.<div dir=3D"auto"=
><br></div><div dir=3D"auto">Further triage is needed only if the virtualbo=
x-ose-kmod after rebuild still panics the kernel.<br></div><div dir=3D"auto=
"><div dir=3D"auto"><br></div><div dir=3D"auto">Ka Ho</div></div></div><br>=
<div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Ja=
n 24, 2023, 18:07 Graham Perrin &lt;<a href=3D"mailto:grahamperrin@freebsd.=
org">grahamperrin@freebsd.org</a>&gt; wrote:<br></div><blockquote class=3D"=
gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-=
left:1ex">On 24/01/2023 22:06, Tomek CEDRO wrote:<br>
&gt; Hello world :-)<br>
&gt;<br>
&gt; I did upgrade world and kernel today.. still I cannot kldload<br>
&gt; virtualbox modules (modules are built from ports, vbox from package)..=
<br>
&gt; that renders VirtualBox useless because it cannot start any virtual<br=
>
&gt; machine due to missing driver error.<br>
&gt;<br>
&gt; The first time I noticed that problem was beginning of January 2023.<b=
r>
&gt; Before I was able to use virtualbox-ose(-kmod) on STABLE with no<br>
&gt; problem.<br>
&gt;<br>
&gt; How can I make things work again?<br>
&gt;<br>
&gt; Will virtualbox-ose-kmod work only with a RELEASE and not with STABLE?=
<br>
&gt;<br>
&gt; Do I need to rebuild both virtualbox-ose and virtualbox-ose-kmod from =
ports?<br>
&gt;<br>
&gt; Do I have to wait with virtualbox-ose-kmod until STABLE gets in align<=
br>
&gt; with RELEASE?<br>
&gt;<br>
&gt; Any hints welcome :-)<br>
&gt; Tomek<br>
&gt;<br>
&gt; % uname -a<br>
&gt; FreeBSD octagon 13.1-STABLE FreeBSD 13.1-STABLE #4<br>
&gt; stable/13-n253680-16ae7b665c7e: Tue Jan 24 07:20:27 CET 2023<br>
&gt; root@octagon:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64<br>
&gt;<br>
&gt; % pkg info virtualbox-ose<br>
&gt; virtualbox-ose-6.1.36<br>
&gt; Name=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: virtualbox-ose<br>
&gt; Version=C2=A0 =C2=A0 =C2=A0 =C2=A0 : 6.1.36<br>
&gt; Installed on=C2=A0 =C2=A0: Sat Jan=C2=A0 7 06:50:23 2023 CET<br>
&gt; Origin=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: emulators/virtualbox-ose<br>
&gt; Architecture=C2=A0 =C2=A0: FreeBSD:13:amd64<br>
&gt; Prefix=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: /usr/local<br>
&gt; Categories=C2=A0 =C2=A0 =C2=A0: emulators<br>
&gt; Licenses=C2=A0 =C2=A0 =C2=A0 =C2=A0: GPLv2<br>
&gt; Maintainer=C2=A0 =C2=A0 =C2=A0: vbox@FreeBSD.org<br>
&gt; WWW=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : <a href=3D"https://www.=
virtualbox.org/" rel=3D"noreferrer noreferrer" target=3D"_blank">https://ww=
w.virtualbox.org/</a><br>
&gt; Comment=C2=A0 =C2=A0 =C2=A0 =C2=A0 : General-purpose full virtualizer =
for x86 hardware<br>
&gt; Options=C2=A0 =C2=A0 =C2=A0 =C2=A0 :<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 AIO=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 : on<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ALSA=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0: off<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 DBUS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0: on<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 DEBUG=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 : off<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 GUESTADDITIONS : off<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 MANUAL=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0: off<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 NLS=C2=A0 =C2=A0 =C2=A0 =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C2=A0 =C2=A0 =C2=A0 =C2=A0 libvncserver.so.1<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libpng16.so.16<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libcurl.so.4<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libXt.so.6<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libXext.so.6<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libXcursor.so.1<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libX11.so.6<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libSDL-1.2.so.0<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libQt5X11Extras.so.5<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libQt5Widgets.so.5<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libQt5PrintSupport.so.5<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libQt5OpenGL.so.5<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libQt5Gui.so.5<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libQt5Core.so.5<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libGL.so.1<br>
&gt; Annotations=C2=A0 =C2=A0 :<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 FreeBSD_version: 1301000<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 cpe=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 : cpe:2.3:a:oracle:vm_virtualbox:6.1.36:::::freebsd13:x64<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 repo_type=C2=A0 =C2=A0 =C2=A0 : bina=
ry<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 repository=C2=A0 =C2=A0 =C2=A0: Free=
BSD<br>
&gt; Flat size=C2=A0 =C2=A0 =C2=A0 : 164MiB<br>
&gt; Description=C2=A0 =C2=A0 :<br>
&gt; Oracle VM VirtualBox is a hosted hypervisor for x86 virtualisation.<br=
>
&gt; Supported guests include BSD, Haiku, Linux, OS/2, ReactOS, Solaris and=
<br>
&gt; Windows.<br>
&gt;<br>
&gt; Guest Additions are available from: emulators/virtualbox-ose-additions=
<br>
&gt;<br>
&gt; For the Extension Pack: FreeBSD is not a supported host platform.<br>
&gt; Installation of the Pack will not extend the feature set.<br>
&gt;<br>
&gt; WWW: <a href=3D"https://www.virtualbox.org/" rel=3D"noreferrer norefer=
rer" target=3D"_blank">https://www.virtualbox.org/</a><br>;
&gt;<br>
&gt;<br>
&gt; % pkg info virtualbox-ose-kmod<br>
&gt; virtualbox-ose-kmod-6.1.36<br>
&gt; Name=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: virtualbox-ose-kmod<br>
&gt; Version=C2=A0 =C2=A0 =C2=A0 =C2=A0 : 6.1.36<br>
&gt; Installed on=C2=A0 =C2=A0: Tue Jan 24 21:05:52 2023 CET<br>
&gt; Origin=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: emulators/virtualbox-ose-kmo=
d<br>
&gt; Architecture=C2=A0 =C2=A0: FreeBSD:13:amd64<br>
&gt; Prefix=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: /usr/local<br>
&gt; Categories=C2=A0 =C2=A0 =C2=A0: kld emulators<br>
&gt; Licenses=C2=A0 =C2=A0 =C2=A0 =C2=A0: GPLv2<br>
&gt; Maintainer=C2=A0 =C2=A0 =C2=A0: vbox@FreeBSD.org<br>
&gt; WWW=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : <a href=3D"https://www.=
virtualbox.org/" rel=3D"noreferrer noreferrer" target=3D"_blank">https://ww=
w.virtualbox.org/</a><br>
&gt; Comment=C2=A0 =C2=A0 =C2=A0 =C2=A0 : VirtualBox kernel module for Free=
BSD<br>
&gt; Options=C2=A0 =C2=A0 =C2=A0 =C2=A0 :<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 DEBUG=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 : on<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 VIMAGE=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0: on<br>
&gt; Annotations=C2=A0 =C2=A0 :<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 FreeBSD_version: 1301511<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 cpe=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 : cpe:2.3:a:oracle:vm_virtualbox:6.1.36:::::freebsd13:x64<br>
&gt; Flat size=C2=A0 =C2=A0 =C2=A0 : 3.92MiB<br>
&gt; Description=C2=A0 =C2=A0 :<br>
&gt; VirtualBox is a family of powerful x86 virtualization products for<br>
&gt; enterprise as well as home use. Not only is VirtualBox an extremely<br=
>
&gt; feature rich, high performance product for enterprise customers, it<br=
>
&gt; is also the only professional solution that is freely available as<br>
&gt; Open Source Software under the terms of the GNU General Public License=
.<br>
&gt;<br>
&gt; WWW: <a href=3D"https://www.virtualbox.org/" rel=3D"noreferrer norefer=
rer" target=3D"_blank">https://www.virtualbox.org/</a><br>;
<br>
FAO maintainer (omitted from the original email).<br>
<br>
Adding <a href=3D"mailto:freebsd-virtualization@freebsd.org" target=3D"_bla=
nk" rel=3D"noreferrer">freebsd-virtualization@freebsd.org</a>, dropping <br=
>
<a href=3D"mailto:freebsd-emulation@freebsd.org" target=3D"_blank" rel=3D"n=
oreferrer">freebsd-emulation@freebsd.org</a> (we should address no more tha=
n two lists).<br>
<br>
</blockquote></div>

--000000000000fd810705f30e18ea--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANnchUYtYmnA9pBdo9bDkiK4-4HP0zmDfy_GVt5TFO5LxUS0fQ>