From nobody Wed Jan 25 03:19:08 2023 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P1pwR11MJz3bNfx; Wed, 25 Jan 2023 03:19:19 +0000 (UTC) (envelope-from khng300@gmail.com) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P1pwR0YMGz4F4j; Wed, 25 Jan 2023 03:19:19 +0000 (UTC) (envelope-from khng300@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-x831.google.com with SMTP id m26so5291517qtp.9; Tue, 24 Jan 2023 19:19:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Ho8UTHYQmyi1EUDHvjmF1fz0PC4TxPN7YgTwuHgT6pM=; b=WM0inBUF67SZyw/gAximfS1As/pNkeXt51E0tTtUR0ESpQW0fU2GwB7+6kHWX0MNAU ottWNRP3FPTSgDBjNqUDBZQqgp+PGxPWWamDP6Ojsjl9LjIBTycoRybATdy43EaA1bVe WBh/9AuYVbu5jqoNNoJ32xmTZmNl4f/Uim1btxPe2UqilV7KFGIwfymu9q10diAArd4T LOY9UbbmJ5Z6YoxplAq/PCFoiYci+oHEhAZQ/8EuawCBs0E25FFTverxm5UnXJeXVSJq /2THZgvDLCgTi4NSehmOMe7U5Ts7MrokLL3c4JPux2t3CR4XIbrlIfBD99yhaaJeVLPT C0yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Ho8UTHYQmyi1EUDHvjmF1fz0PC4TxPN7YgTwuHgT6pM=; b=fzJ2Vnnks2fJflm2KFJOJGG4aDuHJZV0isSKnoI8L/ttoJTK2Qyckx6uzYevnRjxTC pWiekIeRWKiu7U1mUnC8hGjx4hs/Rs9VKF87HgyGkRweHZNsJJB1RAXDYWB/tIiGXFdL nho4i+0IU12mp/TYmdXVyV3thhgU2blii0O7DPBvOHu9JtslKMQa07hkA5Oo+ghcZpsA MqQbZLUL3/crKnfsN8/qlDD3ftRi1XZuZi9uyVLwrvGGVRRv6gI9USr1IcaX/TYcwreq qfAb02D0c+3dwMt1Eox0++ER5NXpDPb3dUYtb/dLZ62ap0AZ8iSQLhv7NHi1sgZPKAgT wyMw== X-Gm-Message-State: AFqh2koxfqiJyz3Nw8MhafOL+RwoCA6AcKOahBC3QLtg/vjVxGIWQud8 w0kLu0V9c0PcNdTsXFvK3/aF4w26Yv50PQxjlCZz+O5oE8U= X-Google-Smtp-Source: AMrXdXv9i55xuFWRwmhHD/mcWjZnNaTZMC7lhDYH+dOzqrdVEMNwxdoMpCnvn0giROCvA0tf6bzdviXh3JKv96FjZoY= X-Received: by 2002:a05:622a:598b:b0:3b6:2bad:1950 with SMTP id gb11-20020a05622a598b00b003b62bad1950mr1427709qtb.584.1674616757910; Tue, 24 Jan 2023 19:19:17 -0800 (PST) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 References: <3d8f8238-020b-0706-1c48-b17db12891f1@freebsd.org> In-Reply-To: <3d8f8238-020b-0706-1c48-b17db12891f1@freebsd.org> From: Ka Ho Ng Date: Tue, 24 Jan 2023 22:19:08 -0500 Message-ID: Subject: Re: 13.1-STABLE vritualbox-ose-kmod panic To: Graham Perrin Cc: VirtualBox on FreeBSD team , Virtualisation on FreeBSD , FreeBSD questions Content-Type: multipart/alternative; boundary="000000000000fd810705f30e18ea" X-Rspamd-Queue-Id: 4P1pwR0YMGz4F4j X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --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 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
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.

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

Ka Ho

=
On Tue, Ja= n 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<= br> > 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=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: virtualbox-ose
> Version=C2=A0 =C2=A0 =C2=A0 =C2=A0 : 6.1.36
> Installed on=C2=A0 =C2=A0: Sat Jan=C2=A0 7 06:50:23 2023 CET
> Origin=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: emulators/virtualbox-ose
> Architecture=C2=A0 =C2=A0: FreeBSD:13:amd64
> Prefix=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: /usr/local
> Categories=C2=A0 =C2=A0 =C2=A0: emulators
> Licenses=C2=A0 =C2=A0 =C2=A0 =C2=A0: GPLv2
> Maintainer=C2=A0 =C2=A0 =C2=A0: vbox@FreeBSD.org
> WWW=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : https://ww= w.virtualbox.org/
> Comment=C2=A0 =C2=A0 =C2=A0 =C2=A0 : General-purpose full virtualizer = for x86 hardware
> Options=C2=A0 =C2=A0 =C2=A0 =C2=A0 :
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 AIO=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 : on
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ALSA=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0: off
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 DBUS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0: on
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 DEBUG=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 : off
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 GUESTADDITIONS : off
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 MANUAL=C2=A0 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C2=A0 =C2=A0 =C2=A0 libvncserver.so.1
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libpng16.so.16
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libcurl.so.4
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libXt.so.6
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libXext.so.6
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libXcursor.so.1
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libX11.so.6
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libSDL-1.2.so.0
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libQt5X11Extras.so.5
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libQt5Widgets.so.5
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libQt5PrintSupport.so.5
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libQt5OpenGL.so.5
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libQt5Gui.so.5
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libQt5Core.so.5
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libGL.so.1
> Annotations=C2=A0 =C2=A0 :
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 FreeBSD_version: 1301000
>=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
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 repo_type=C2=A0 =C2=A0 =C2=A0 : bina= ry
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 repository=C2=A0 =C2=A0 =C2=A0: Free= BSD
> Flat size=C2=A0 =C2=A0 =C2=A0 : 164MiB
> Description=C2=A0 =C2=A0 :
> 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=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: virtualbox-ose-kmod
> Version=C2=A0 =C2=A0 =C2=A0 =C2=A0 : 6.1.36
> Installed on=C2=A0 =C2=A0: Tue Jan 24 21:05:52 2023 CET
> Origin=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: emulators/virtualbox-ose-kmo= d
> Architecture=C2=A0 =C2=A0: FreeBSD:13:amd64
> Prefix=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: /usr/local
> Categories=C2=A0 =C2=A0 =C2=A0: kld emulators
> Licenses=C2=A0 =C2=A0 =C2=A0 =C2=A0: GPLv2
> Maintainer=C2=A0 =C2=A0 =C2=A0: vbox@FreeBSD.org
> WWW=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : https://ww= w.virtualbox.org/
> Comment=C2=A0 =C2=A0 =C2=A0 =C2=A0 : VirtualBox kernel module for Free= BSD
> Options=C2=A0 =C2=A0 =C2=A0 =C2=A0 :
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 DEBUG=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 : on
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 VIMAGE=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0: on
> Annotations=C2=A0 =C2=A0 :
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 FreeBSD_version: 1301511
>=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
> Flat size=C2=A0 =C2=A0 =C2=A0 : 3.92MiB
> Description=C2=A0 =C2=A0 :
> 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 tha= n two lists).

--000000000000fd810705f30e18ea--