OpenSUSE Virtualization Repo guest additions keeps abending for OpenSUSE 15.1 guests

I installed 6.1.4 from here
baseurl=https://download.opensuse.org/repositories/Virtualization/openSUSE_Leap_15.1/
The host runs fine, Windows 10 guest runs fine, but OpenSUSE 15.1 guest installed via zypper from that repo fills the journal with virtualbox_kvm aborted over and over.
The guest appears to run fine - but I restored the guest backup from before the update to 6.1.4 - the 6.1.2 Guest additions in the guest works flawlessly with 6.1.4 host.

The interesting thing is that the setting wants to use a video drive that does not scale - it shows a warning that the guest might be configured wrong and suggests the wrong video driver VboxSVGA will allow different size screens the the VMSVGA does not for OpenSUSE guest OS.

The VMSVGA driver is working fine here on Leap 15.1 with any Guest.

Installed the latest guest-additions.

I have the OpenSUSE Guest Additions from the Virtualization site - do you think they need to be re-installed or are you suggesting using the Oracle Guest Additions ( which I use for Windows Guests ).

Not sure what you may mean by Guest Additions from the Virtualization site…
GA would never come from the Oracle website unless you did something highly unusual, GA should either be installed automatically (during installation and then updated with every system update) or from the HostOS when installing Virtualbox from the Oracle website instead of openSUSE repositories. When the latter happens, because the Guest Additions ISO is provided as part of the HostOS installation, it’ll always be perfectly matched to the VBox HostOS installation. Although I don’t see it happen often because the Guest Additions are typically compatible across a great many minor VBox versions, it’s rarely possible for the Guest Additions which are automatically installed from the openSUSE repositories to be incompatible with the VBox when installed from the Oracle website… Or, if you very intentionally install a version from the Oracle website which is very far off from what is current in the openSUSE repositories. When this happens, then you don’t have an option to use Guest Additions from the openSUSE repositories, you need to install from the GA ISO provided as part of the HostOS to ensure version compatibility.

Yeah, I know what I just described might seem a bit complex but I think I covered all possible scenarios and what a person should do to make sure Guest Additions are working properly… If it’s confusing, then people should just post details about their specific situation and the answer tailored to that would be provided.

And, that should be applicable not only specifically for openSUSE Guests, but generally for all Guests.

IMO,
TSU

With the VMSVGA driver there is no dynamic resizing by moving the edges like with the VBOXVGA driver.
The System Hardware Display setting allows for different fixed sizes but not dynamic.

Here it is working.

Start the Guest.
Delete all guest-kmps in the guest, because they have not the same Version as the Host.

Go to the Devices menu of the running guest-----Optical Drives----remove disk from virtual drive.
Goto Devices-----Insert Guest Addition CD Image

When download is finished goto the folder (/run/media/USERNAME/…) in your guest to install the Guest Additions.

from the guest zypper se -si output:

i+ | virtualbox-guest-kmp-default                 | package |  6.0.10_k4.12.14_lp151.28.10-lp151.2.6.1 | x86_64 |  openSUSE-Leap-15.1-Update 
i+ | virtualbox-guest-tools                       | package |  6.1.2-lp151.514.1                       | x86_64 | (System Packages)          
i+ | virtualbox-guest-x11                         | package |  6.1.2-lp151.514.1                       | x86_64 | (System Packages)          
i  | virtualbox-kmp-default                       | package |  6.1.2_k4.12.14_lp151.28.36-lp151.514.1  | x86_64 | (System Packages)   

From the host zypper se -si output:

i+ | virtualbox                                   | package |  6.1.2-lp151.514.1                       | x86_64 | (System Packages)          
i+ | virtualbox-host-kmp-default                  | package |  6.0.10_k4.12.14_lp151.28.10-lp151.2.6.1 | x86_64 |  openSUSE-Leap-15.1-Update 
i  | virtualbox-kmp-default                       | package |  6.1.2_k4.12.14_lp151.28.36-lp151.514.1  | x86_64 | (System Packages)          
i+ | virtualbox-qt                                | package |  6.1.2-lp151.514.1                       | x86_64 | (System Packages)  

You are correct - there is no 6.1.2 and 6.1.4 virtualbox-guest-kmp-default and virtualbox-guest-kmp-default in the virtualization repo - that is the problem as they are 6.0.10.

Wonder if the maintainers of the OpenSUSE Virtualization repo can fix this issue soon?

That is how you install Oracle’s Guest Additions - the OpenSUSE version installs via zypper from the virtualization repo.
this is the repo https://download.opensuse.org/repositories/Virtualization/openSUSE_Leap_15.1/ it has 6.1.4 of VirtualBox.

When you use the OpenSUSE repos - you automatically get the newest Guest Additions for OpenSUSE. Same is true for Linux Mint and Ubuntu. Linux Mint and Ubuntu apt repos have 6.1.4 that works fine. I have 5 flavors of Linux - Different sites that I consult for have different versions, RedHat (I do Centos) SUSE (I do OpenSUSE) and some run Ubuntu (and I run Mint). Centos is too far behind that I have to use Oracle’s Guest Additions since they are just now going to 5 and it was flakey. Oracle’s works as I need it for Centos.

Enable the Virtualization Repo in the guest or do it as decribed.

Its on you.

It is enabled - it is missing the 2 main kmp-defaults - I tried the Oracle and it fills the journal with it guest-kmd-default keeps dying and restarting - dropped back to last good working vdi that is using 6.1.2 from the OpenSUSE virtualization repo.

this is the OpenSUSE virtualization repo listings for virtualbox - see that there is no virtualbox-guest-kmp-default or virtualbox-host-kmp-default so it is basically useless as 6.1.4 installs in OpenSUSE.

 ]    virtualbox-6.1.4-lp151.520.1.x86_64.rpm    13-Mar-2020 18:01     37M     Details
 ]    virtualbox-debuginfo-6.1.4-lp151.520.1.x86_64.rpm    13-Mar-2020 18:01     40M     Details
 ]    virtualbox-debugsource-6.1.4-lp151.520.1.x86_64.rpm    13-Mar-2020 18:01     45M     Details
 ]    virtualbox-devel-6.1.4-lp151.520.1.x86_64.rpm    13-Mar-2020 18:01     1.0M     Details
 ]    virtualbox-guest-tools-6.1.4-lp151.520.1.x86_64.rpm    13-Mar-2020 18:01     842K     Details
 ]    virtualbox-guest-tools-debuginfo-6.1.4-lp151.520.1.x86_64.rpm    13-Mar-2020 18:01     1.7M     Details
 ]    virtualbox-guest-x11-6.1.4-lp151.520.1.x86_64.rpm    13-Mar-2020 18:01     666K     Details
 ]    virtualbox-guest-x11-debuginfo-6.1.4-lp151.520.1.x86_64.rpm    13-Mar-2020 18:01     1.3M     Details
 ]    virtualbox-kmp-default-6.1.4_k4.12.14_lp151.28.40-lp151.520.1.x86_64.rpm    13-Mar-2020 18:01     505K     Details
 ]    virtualbox-kmp-default-debuginfo-6.1.4_k4.12.14_lp151.28.40-lp151.520.1.x86_64.rpm    13-Mar-2020 18:01     2.5M     Details
 ]    virtualbox-qt-6.1.4-lp151.520.1.x86_64.rpm    13-Mar-2020 18:01     3.1M     Details
 ]    virtualbox-qt-debuginfo-6.1.4-lp151.520.1.x86_64.rpm    13-Mar-2020 18:01     12M     Details
 ]    virtualbox-vnc-6.1.4-lp151.520.1.x86_64.rpm    13-Mar-2020 18:01     228K     Details
 ]    virtualbox-websrv-6.1.4-lp151.520.1.x86_64.rpm    13-Mar-2020 18:01     4.2M     Details

You have to install the guest-x11 and guest-tools

They are installed - the clients are working with the 6.1.2 guest additions with no errors - the 6.1.4 guest additions do not work - the cause 100’s of log entries every second. the kernel defaults for 6.1.2 and 6.1.4 are not in the virtualization library and if you install the 6.1.4 guest additions from the virtualization library the guest comes up but your disk goes 100% for writing to the journal due to the kernel faults.

Someone needs to add the 2 missing (virtualbox-guest-kmp-default or virtualbox-host-kmp-default) for 6.1.4 and OpenSUSE 15.1 to that library to make it work. It is broken for OpenSUSE 15.1 guests as it stands.

Someone needs to add the 2 missing (virtualbox-guest-kmp-default or virtualbox-host-kmp-default) for 6.1.4 and OpenSUSE 15.1 to that library to make it work. It is broken for OpenSUSE 15.1 guests as it stands.

There is no host-kmp or guest-kmp anymore.
There is only the virtualbox-kmp-default and you need this in both, host and guest.

linux64:~ # rpm -ql virtualbox-kmp-default 
/lib/modules/5.5.9-3.ge9e359d-default
/lib/modules/5.5.9-3.ge9e359d-default/extra
/lib/modules/5.5.9-3.ge9e359d-default/extra/vboxdrv.ko
/lib/modules/5.5.9-3.ge9e359d-default/extra/vboxguest.ko
/lib/modules/5.5.9-3.ge9e359d-default/extra/vboxnetadp.ko
/lib/modules/5.5.9-3.ge9e359d-default/extra/vboxnetflt.ko
/lib/modules/5.5.9-3.ge9e359d-default/extra/vboxsf.ko
/lib/modules/5.5.9-3.ge9e359d-default/extra/vboxvideo.ko

OK, I zypper rm both the host and client default rebooted both and still have the same issue VBoxClient segfault at 968 every 5 seconds

VM12:~ # zypper se -si | grep lbox
i+ | virtualbox-guest-tools                       | package | 6.1.4-lp151.520.1                                  | x86_64 | openSUSE-Leap-15.1-Virtualization
i+ | virtualbox-guest-x11                         | package | 6.1.4-lp151.520.1                                  | x86_64 | openSUSE-Leap-15.1-Virtualization
i  | virtualbox-kmp-default                       | package | 6.1.4_k4.12.14_lp151.28.40-lp151.520.1   | x86_64 | openSUSE-Leap-15.1-Virtualization
VM12:~ # journalctl -f
Mar 15 15:18:50 VM12 kernel: VBoxClient[1832]: segfault at 968 ip 00007fc9d7d97190 sp 00007ffd9c648d40 error 4 in libX11.so.6.3.0[7fc9d7d5b000+13b000]
Mar 15 15:18:55 VM12 kernel: VBoxClient[1835]: segfault at 968 ip 00007fc9d7d97190 sp 00007ffd9c648d40 error 4 in libX11.so.6.3.0[7fc9d7d5b000+13b000]
Mar 15 15:19:00 VM12 kernel: VBoxClient[1840]: segfault at 968 ip 00007fc9d7d97190 sp 00007ffd9c648d40 error 4 in libX11.so.6.3.0[7fc9d7d5b000+13b000]
Mar 15 15:19:05 VM12 kernel: VBoxClient[1845]: segfault at 968 ip 00007fc9d7d97190 sp 00007ffd9c648d40 error 4 in libX11.so.6.3.0[7fc9d7d5b000+13b000]
Mar 15 15:19:10 VM12 kernel: VBoxClient[1848]: segfault at 968 ip 00007fc9d7d97190 sp 00007ffd9c648d40 error 4 in libX11.so.6.3.0[7fc9d7d5b000+13b000]
Mar 15 15:19:15 VM12 kernel: VBoxClient[1851]: segfault at 968 ip 00007fc9d7d97190 sp 00007ffd9c648d40 error 4 in libX11.so.6.3.0[7fc9d7d5b000+13b000]
Mar 15 15:19:20 VM12 kernel: VBoxClient[1878]: segfault at 968 ip 00007fc9d7d97190 sp 00007ffd9c648d40 error 4 in libX11.so.6.3.0[7fc9d7d5b000+13b000]
Mar 15 15:19:25 VM12 kernel: VBoxClient[1882]: segfault at 968 ip 00007fc9d7d97190 sp 00007ffd9c648d40 error 4 in libX11.so.6.3.0[7fc9d7d5b000+13b000]
Mar 15 15:19:30 VM12 kernel: VBoxClient[1885]: segfault at 968 ip 00007fc9d7d97190 sp 00007ffd9c648d40 error 4 in libX11.so.6.3.0[7fc9d7d5b000+13b000]
Mar 15 15:19:35 VM12 kernel: VBoxClient[1888]: segfault at 968 ip 00007fc9d7d97190 sp 00007ffd9c648d40 error 4 in libX11.so.6.3.0[7fc9d7d5b000+13b000]
llrainey@VM1:~> 

Bugreport?

FYI here is the files info from the errors

VM12:/lib # find . -name vboxguest.ko -print | xargs -n 1 ls -l
lrwxrwxrwx 1 root root 59 Mar 15 15:10 ./modules/4.12.14-lp151.28.36-default/weak-updates/extra/vboxguest.ko -> /lib/modules/4.12.14-lp151.28.40-default/extra/vboxguest.ko
-rw-r--r-- 1 root root 617223 Mar 13 12:58 ./modules/4.12.14-lp151.28.40-default/extra/vboxguest.ko
VM12:/lib # ll  /usr/lib/libX11.so.6.3.0 /usr/lib64/libX11.so.6.3.0
-rwxr-xr-x 1 root root 1371044 Dec 17  2018 /usr/lib/libX11.so.6.3.0
-rwxr-xr-x 1 root root 1314376 Dec 17  2018 /usr/lib64/libX11.so.6.3.0
VM12:/lib # 

Bug 1166782 has been added to the database

Bug has been fixed and the updated entries are working with no issues.

Thanks to all the Developers that make OpenSUSE work.