Ever since VBox Update to 7.1.x VMs doint start anymore

Hello all,
ever since Tumbleweed started shipping VirtualBox 7.1 I can nots tart VMs anymore. When trying to strart a VM, I receive the folowing error:

The virtual machine ‘OpenSuse Tumbleweed Para’ has terminated unexpectedly during startup because of signal 11.

Additionally it says:

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {e36a5081-a82a-40bd-9e4e-42a44d6ce50f}

I found hints about a missing link to libdl / libdl.so
https://bbs.archlinux.org/viewtopic.php?pid=2199355#p2199355

I tried to fix this manually for my Tumbleweed but I am not even sure if that is the actual issue.

Can anyone here confirm having similar challenges? If so: Is there a chance for a fixed package for Tumbleweed?

Kindd regards,
Martin

Are you trying to start a saved state, you have to discard when a new VirtualBox is installed as the hooks that VB uses are not in the same place.

Also try booting with secure boot off in the BIOS.

I am running 7.1.4 on Tumbleweed and this came from a Leap 15.6 guest.

I do not run secure boot.

Hello Larryr,
I am not trying to start a saved state. I am using Snapshots in one case though. So I have one VM with a snapshot, the other without. Both fail on startup, I don’t even get to see their VMs window come up. It immediately fails.
My host has Secure boot off at the moment. Starting the VMs still fails.

I have the 7.1.4 Extension Pack installed.

Kind regards,
Martin

Hi,

Are you sure that all your kernel modules are correctly loaded?

Regards, Sławek

Well, lsmod gives me the following:

vboxnetadp             32768  0
vboxnetflt             40960  0
vboxdrv               692224  2 vboxnetadp,vboxnetflt

So I assume I should be fine with that regards?

As I only install packages from the Tumbleweed repositories, these modules are for the latest Virtualbox build for Tumbleweed.

Ok, when I had an issues with running my virtualmachines. I’ve rebuild the modules and that solved the problem.

Hi, 7.1.4 works here, but I had a Guest that refused to load and I had to change the guest Network setting to fix it.
There are apparently some problems with NAT networking, something changed in recent versions, so try disabling Network or start with Bridged.
Then if a guest starts, you may be able to set a working NAT config if you need it.

No, changing to Bridged doesn’t solve the issue.
Deavtivating Network also doesn’t solve it. I am somewhat clueless…
The error message stays the same…

I bet he does not have virtualbox-kmp-longterm in his slowroll
if he has virtualbox-kmp-default it will not work.

Slowroll is build differently than Tumbleweed for virtualbox . VirtualBox on slowroll requires the longterm kernel and not the default kernel.

Hm. So - yes - I do NOT have Slowroll installed. Just regular Tumbleweed as was fit throughout the last couple of years. Are you saying in order to use VBox 7.1 I need to switch to Slowroll? Is this a permanent thing? Or just temporarily? If so: For how long is this estimated to be required?
Kind regards,
Martin

No Slowroll has different kernel and needs different virtualbox build.
If you started with Tumbleweed and switched to Slowroll - zypper will install the wrong versions. You fix that by installing longterm kernel in Slowroll. That gets things back in sync.

do you have the extension packs installed. They really are not needed in 7.x Virtualbox as the primary reason is built into 7.x - I would uninstall it from the GUI.

You only need if for special networking (guest to guest only).

Apparently, @larryr isn’t paying attention. He/she seems to be fixated that the OP is running Slowroll … the OP is NOT - read their response.

Hello all.
I had another look today. When I try to start a VM the following appears in the syslog (dmesg):

[ T10472] VirtualBoxVM[10472]: segfault at 0 ip 00007fd3a717b66d sp 00007ffcfee293c8 error 4 in libc.so.6[17b66d,7fd3a7095000+10d000] likely on CPU 2 (core 2, socket 0)

So it seems to be an issue between VBox and libc.

I fail to understand how this can only be affecting me? All my Tumbleweed packages are updated to the latest versions… Shouldn’t this be similar to a couple thousend other PCs as well?

Any hint is highly appreciated.

Googling for the segfault / libc issue brings me to this Arch thread again:
https://bbs.archlinux.org/viewtopic.php?id=299392
And here we are with the two missing links I mentioned in the beginning.
But the directory they are referring to does not exist in my suse installation:
/usr/lib/virtualbox/

How about some happy little sanity checks:

uname -rms

and

ls -l /usr/src/linux /usr/src/linux-obj/x86_64/default

should reference only the 6.11.5-1 kernel.

And zypper lu -a shouldn’t list any missing or blocked updates.

Next try rebuilding the kernel modules.

zypper in --force virtualbox-kmp-default
dracut --kver=6.11.5-1-default --force

The explicit dracut may be redundant and I agree that it should be redundant. However when I recently did this with the nvidia kmp, I found that even though dracut was invoked automatically not just once but twice as part of the reinstall, it didn’t actually touch the ramdisk images at all, which was very surprising. (snapper status showed that the images hadn’t changed.) This may just be an nvidia kmp oddity.

The other thing I’m wondering about is if this might have something to do with Oracle’s proprietary extensions pack?

Hm…

~> uname -rms
Linux 6.11.5-1-default x86_64
ls -l /usr/src/linux /usr/src/linux-obj/x86_64/default
lrwxrwxrwx 1 root root 14 27. Okt 09:10 /usr/src/linux -> linux-6.11.5-1
lrwxrwxrwx 1 root root 39 27. Okt 09:10 /usr/src/linux-obj/x86_64/default -> ../../linux-6.11.5-1-obj/x86_64/default
zypper lu -a

This one surprisingly shows quite some packages which have updates. They are from either Packman (Discord, dvgrab, libvulcan?!?, Mesa ?!?) - How the heck did the last two end up from Packman?!? - or from Graphics /Pdftk-gui.

Surprisingly enough, even though both the repos are active / enabled, a ‘zypper dup’ does not pick these up…

UPDATE: This was a bit misleading: mesa and libvulcan were shown as “Packman has an update”, but when checking in Yast they are actually installed from Opensuse. It is just that in the other repository (Packman) there is a newer version which is not picked up because I do not switch over to that repository…

Uninstalling the Extension Pack does not solve the problem. Same Error Message.

So later this morning I will try recompiling the Kernel Module but I am still somewhat irritated by the dmesg reference to libc…

This is probably a side quest but what’s the output from

zypper lr -Pd

The -a option shows all upgrades that are available with a vendor change or by ignoring locks. Normally when people use the full packman repo, they do want to switch things like Mesa or vulkan stuff over to Packman, with --allow-vendor-change. It would also show upgrades for packages that are currently locked which is why I wanted to see it. Unrelated to your problem: If you want to limit Packman usage, maybe packman-essentials would make sense.

Segmentation faults can be caused in many different ways (and programmers are finding new ones every day), but a linking issue is indeed one possibility. And almost everything uses glibc, including the kmp. It could also be that something is involved that most people don’t use like a plugin because as you noted this appears to be a rare problem. (I created a couple of vms and everything works fine over here, sorry works for me is of course not a helpful response.)

Do rebuild the kmp. As for glibc, that’s one of the basic building blocks of most Linux systems so kind of important. For example, if there was something obvious wrong with libc, the system probably wouldn’t even be able to boot.

$ find /usr -name 'libc.so*'
/usr/lib64/libc.so
/usr/lib64/libc.so.6
/usr/lib/libc.so.6

$ rpm -qf /usr/lib64/libc.so.6
glibc-2.40-2.1.x86_64
$ rpm -qf /usr/lib64/libc.so
glibc-devel-2.40-2.1.x86_64
$ rpm -qf /usr/lib/libc.so.6
glibc-32bit-2.40-2.1.x86_64

So those would be the expected locations for libc.so* and their respective packages, all from the openSUSE-Tumbleweed-Oss repo. You could use say zypper if glibc glibc-devel to check although it would be very surprising if they were different.

zypper lr -Pd
#  | Alias                            | Name                            | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                  | Service
---+----------------------------------+---------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------------------+--------
 1 | Mesa-Old                         | Mesa-Old                        | Nein    | ----      | ----    |   99     | rpm-md | https://download.opensuse.org/history/20240612/tumbleweed/repo/oss/                  | 
 2 | Repository                       | Razer Maustreiber               | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | https://download.opensuse.org/repositories/hardware:/razer/openSUSE_Tumbleweed/      | 
 3 | Unify_Network_Application        | Unify Network Application       | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | https://download.opensuse.org/repositories/home:hgraeber/openSUSE_Tumbleweed/        | 
 4 | download.opensuse.org-non-oss    | Haupt-Repository (NON-OSS)      | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/                                | 
 5 | download.opensuse.org-oss        | Haupt-Repository (DEBUG)        | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | http://download.opensuse.org/debug/tumbleweed/repo/oss/                              | 
 6 | download.opensuse.org-oss_1      | Haupt-Repository (Quellen)      | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | http://download.opensuse.org/source/tumbleweed/repo/oss/                             | 
 7 | download.opensuse.org-oss_2      | Haupt-Repository (OSS)          | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                                    | 
 8 | download.opensuse.org-tumbleweed | Hauptaktualisierungs-Repository | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                                      | 
 9 | google-chrome                    | google-chrome                   | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | https://dl.google.com/linux/chrome/rpm/stable/x86_64                                 | 
10 | openSUSE-20210527-0              | openSUSE-20210527-0             | Nein    | ----      | ----    |   99     | N/A    | hd:/?device=/dev/disk/by-id/usb-SanDisk_Ultra_USB_3.0_4C530001151012110171-0:0-part1 | 
11 | openSUSE_Tumbleweed              | Packman                         | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/                 | 
12 | openSUSE_Tumbleweed_1            | Graphics/Pdftk_gui              | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | https://download.opensuse.org/repositories/graphics/openSUSE_Tumbleweed              | 
13 | openSUSE_Tumbleweed_2            | Snapd_Softwarepakete via Snapd  | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | https://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumbleweed/       | 
14 | teams                            | teams                           | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | https://packages.microsoft.com/yumrepos/ms-teams                                     | 
15 | teamviewer                       | TeamViewer - x86_64             | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | https://linux.teamviewer.com/yum/stable/main/binary-x86_64/                          | 
16 | x86_64                           | Chrome                          | Ja      | (r ) Ja   | Ja      |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                  | 
S  | Repository                | Name                        | Current Version               | Available Version                      | Arch
---+---------------------------+-----------------------------+-------------------------------+----------------------------------------+-------
v  | Packman                   | discord                     | 0.0.70-1.2                    | 0.0.72-1699.172.pm.1                   | x86_64
v  | Packman                   | dvgrab                      | 3.5-1699.13.pm.152            | 3.5-1699.13.pm.154                     | i586
v  | Graphics/Pdftk_gui        | gegl-0_4                    | 0.4.48-4.2                    | 0.4.48-174.4                           | x86_64
v  | Graphics/Pdftk_gui        | gegl-0_4-lang               | 0.4.48-4.2                    | 0.4.48-174.4                           | noarch
v  | Graphics/Pdftk_gui        | gimp                        | 2.10.38-3.1                   | 2.10.38-3.4                            | x86_64
v  | Graphics/Pdftk_gui        | gimp-lang                   | 2.10.38-3.1                   | 2.10.38-3.4                            | noarch
v  | Graphics/Pdftk_gui        | gimp-plugin-aa              | 2.10.38-3.1                   | 2.10.38-3.4                            | x86_64
v  | Graphics/Pdftk_gui        | gimp-plugins-python         | 2.10.38-3.1                   | 2.10.38-3.4                            | x86_64
v  | Graphics/Pdftk_gui        | graphviz                    | 2.49.3-11.1                   | 2.49.3-236.2                           | x86_64
v  | Graphics/Pdftk_gui        | graphviz-gd                 | 2.49.3-11.2                   | 2.49.3-236.4                           | x86_64
v  | Graphics/Pdftk_gui        | graphviz-gnome              | 2.49.3-11.2                   | 2.49.3-236.4                           | x86_64
v  | Graphics/Pdftk_gui        | graphviz-plugins-core       | 2.49.3-11.1                   | 2.49.3-236.2                           | x86_64
v  | Graphics/Pdftk_gui        | hugin                       | 2023.0.0-3.5                  | 2023.0.0-155.20                        | x86_64
v  | Graphics/Pdftk_gui        | ImageMagick                 | 7.1.1.39-1.1                  | 7.1.1.39-759.2                         | x86_64
v  | Graphics/Pdftk_gui        | inkscape                    | 1.3.2-5.2                     | 1.4-136.3                              | x86_64
v  | Graphics/Pdftk_gui        | inkscape-extensions-extra   | 1.3.2-5.2                     | 1.4-136.3                              | x86_64
v  | Graphics/Pdftk_gui        | inkscape-extensions-gimp    | 1.3.2-5.2                     | 1.4-136.3                              | x86_64
v  | Graphics/Pdftk_gui        | inkscape-extensions-scribus | 1.3.2-5.2                     | 1.4-136.3                              | x86_64
v  | Graphics/Pdftk_gui        | inkscape-lang               | 1.3.2-5.2                     | 1.4-136.3                              | noarch
v  | Graphics/Pdftk_gui        | lensfun-data                | 0.3.4-3.1                     | 0.3.4-71.1                             | noarch
v  | Graphics/Pdftk_gui        | libbabl-0_1-0               | 0.1.108-1.2                   | 0.1.108-102.14                         | x86_64
v  | Graphics/Pdftk_gui        | libbabl-0_1-0-x86-64-v3     | 0.1.108-1.2                   | 0.1.108-102.14                         | x86_64
v  | Graphics/Pdftk_gui        | libdjvulibre21              | 3.5.28-7.2                    | 3.5.28-68.14                           | x86_64
v  | Graphics/Pdftk_gui        | libdmtx0                    | 0.7.7-1.7                     | 0.7.7-1.39                             | x86_64
v  | Packman                   | libgbm1                     | 24.1.7-391.1                  | 24.1.7-1699.394.pm.5                   | x86_64
v  | Graphics/Pdftk_gui        | libgd3                      | 2.3.3-4.2                     | 2.3.3-171.10                           | x86_64
v  | Graphics/Pdftk_gui        | libgegl-0_4-0               | 0.4.48-4.2                    | 0.4.48-174.4                           | x86_64
v  | Graphics/Pdftk_gui        | libgexiv2-2                 | 0.14.3-1.1                    | 0.14.3-93.8                            | x86_64
v  | Graphics/Pdftk_gui        | libgimp-2_0-0               | 2.10.38-3.1                   | 2.10.38-3.4                            | x86_64
v  | Graphics/Pdftk_gui        | libgimpui-2_0-0             | 2.10.38-3.1                   | 2.10.38-3.4                            | x86_64
v  | Graphics/Pdftk_gui        | libgphoto2-6                | 2.5.31-2.1                    | 2.5.31-261.4                           | x86_64
v  | Graphics/Pdftk_gui        | libgphoto2-6-lang           | 2.5.31-2.1                    | 2.5.31-261.4                           | noarch
v  | Graphics/Pdftk_gui        | libGraphicsMagick-Q16-3     | 1.3.43-1.3                    | 1.3.43-187.24                          | x86_64
v  | Graphics/Pdftk_gui        | libGraphicsMagick3-config   | 1.3.43-1.3                    | 1.3.43-187.24                          | x86_64
v  | Graphics/Pdftk_gui        | libgts-0_7-5                | 0.7.6_p20121130-4.36          | 0.7.6_p20121130-12.175                 | x86_64
v  | Graphics/Pdftk_gui        | libimagequant0              | 2.18.0-1.5                    | 2.18.0-21.24                           | x86_64
v  | Graphics/Pdftk_gui        | libjbig2                    | 2.1-5.3                       | 2.1-34.17                              | x86_64
v  | Graphics/Pdftk_gui        | libjpeg8                    | 8.3.2-81.1                    | 8.3.2-239.2                            | x86_64
v  | Graphics/Pdftk_gui        | libjpeg8-x86-64-v3          | 8.3.2-81.1                    | 8.3.2-239.2                            | x86_64
v  | Graphics/Pdftk_gui        | liblensfun1                 | 0.3.4-3.1                     | 0.3.4-71.1                             | x86_64
v  | Graphics/Pdftk_gui        | libmypaint-lang             | 1.6.1-2.6                     | 1.6.1-26.71                            | noarch
v  | Graphics/Pdftk_gui        | libnetpbm11                 | 11.7.0-1.1                    | 11.7.0-160.11                          | x86_64
v  | Graphics/Pdftk_gui        | libopenjp2-7                | 2.5.2-2.1                     | 2.5.2-63.4                             | x86_64
v  | Graphics/Pdftk_gui        | libopenjp2-7-x86-64-v3      | 2.5.2-2.1                     | 2.5.2-63.4                             | x86_64
v  | Graphics/Pdftk_gui        | libpng16-16                 | 1.6.43-3.2                    | 1.6.43-160.4                           | x86_64
v  | Graphics/Pdftk_gui        | libpng16-16-x86-64-v3       | 1.6.43-3.2                    | 1.6.43-160.4                           | x86_64
v  | Graphics/Pdftk_gui        | libpotrace0                 | 1.16-2.2                      | 1.16-125.11                            | x86_64
v  | Packman                   | libquicktime0               | 1.2.4+git20180804.fff99cd-5.1 | 1.2.4+git20180804.fff99cd-1699.7.pm.10 | x86_64
v  | Graphics/Pdftk_gui        | libsane1                    | 1.3.1-2.2                     | 1.3.1-154.5                            | x86_64
v  | Packman                   | libvdpau_r600               | 24.1.7-391.2                  | 24.1.7-1699.394.pm.12                  | x86_64
v  | Packman                   | libvdpau_radeonsi           | 24.1.7-391.2                  | 24.1.7-1699.394.pm.12                  | x86_64
v  | Packman                   | libvulkan_radeon            | 24.1.7-391.2                  | 24.1.7-1699.394.pm.12                  | x86_64
v  | Graphics/Pdftk_gui        | libwebp7                    | 1.4.0-1.1                     | 1.4.0-24.3                             | x86_64
v  | Graphics/Pdftk_gui        | libwebpdemux2               | 1.4.0-1.1                     | 1.4.0-24.3                             | x86_64
v  | Graphics/Pdftk_gui        | libwebpmux3                 | 1.4.0-1.1                     | 1.4.0-24.3                             | x86_64
v  | Packman                   | libxine2                    | 1.2.13-5.1                    | 1.2.13-1699.191.pm.7                   | x86_64
v  | Packman                   | libxine2-pulse              | 1.2.13-5.1                    | 1.2.13-1699.191.pm.7                   | x86_64
v  | Packman                   | Mesa                        | 24.1.7-391.1                  | 24.1.7-1699.394.pm.5                   | x86_64
v  | Packman                   | Mesa-dri                    | 24.1.7-391.2                  | 24.1.7-1699.394.pm.12                  | x86_64
v  | Packman                   | Mesa-gallium                | 24.1.7-391.2                  | 24.1.7-1699.394.pm.12                  | x86_64
v  | Packman                   | Mesa-libEGL1                | 24.1.7-391.1                  | 24.1.7-1699.394.pm.5                   | x86_64
v  | Packman                   | Mesa-libGL1                 | 24.1.7-391.1                  | 24.1.7-1699.394.pm.5                   | x86_64
v  | Packman                   | Mesa-libglapi0              | 24.1.7-391.1                  | 24.1.7-1699.394.pm.5                   | x86_64
v  | Packman                   | Mesa-libva                  | 24.1.7-391.2                  | 24.1.7-1699.394.pm.12                  | x86_64
v  | Packman                   | Mesa-vulkan-device-select   | 24.1.7-391.2                  | 24.1.7-1699.394.pm.12                  | x86_64
v  | Graphics/Pdftk_gui        | netpbm                      | 11.7.0-1.1                    | 11.7.0-160.11                          | x86_64
v  | Graphics/Pdftk_gui        | pngquant                    | 2.18.0-1.6                    | 2.18.0-22.27                           | x86_64
v  | Graphics/Pdftk_gui        | sane-backends               | 1.3.1-2.2                     | 1.3.1-154.5                            | x86_64
v  | Graphics/Pdftk_gui        | sane-backends-autoconfig    | 1.3.1-2.2                     | 1.3.1-154.5                            | noarch
v  | Unify Network Application | tuned                       | 2.22.1.2+git.86ac977-3.1      | 2.24.0.2+git.c082797-106.1             | noarch

Again: Not all of the above packages are actually from Packman / Pdftk-gui

find /usr -name 'libc.so*'
/usr/lib64/libc.so
/usr/lib64/libc.so.6
/usr/lib/libc.so.6
rpm -qf /usr/lib64/libc.so.6
glibc-2.40-2.1.x86_64
rpm -qf /usr/lib64/libc.so
glibc-devel-2.40-2.1.x86_64
rpm -qf /usr/lib/libc.so.6
glibc-32bit-2.40-2.1.x86_64

Rebuilding the Module did not solve the issue.