VirtualBox

Opened 4 years ago

Closed 4 years ago

#20444 closed defect (duplicate)

Error installing kernel module on openSUSE Leap 15.3

Reported by: Manfred Schwarb Owned by:
Component: installer Version: VirtualBox 6.1.22
Keywords: Cc:
Guest type: other Host type: Linux

Description

openSUSE Leap 15.3 uses the kernel of the enterprise edition SLE15 SP3 (version 5.3.18-59.10), and there seem to be some items backported from more recent kernels, which result in compilation errors.

Installing VirtualBox-6.1-6.1.22_144080_openSUSE150-1.x86_64.rpm results in errors from running /sbin/vboxconfig, see attachment.

In essence, there are the following errors: /tmp/vbox.0/linux/SUPDrv-linux.c:182:5: error: 'struct file_operations' has no member named 'ioctl' /tmp/vbox.0/linux/SUPDrv-linux.c:93:37: error: positional initialization of field in 'struct' declared with 'designated_init' attribute /tmp/vbox.0/linux/SUPDrv-linux.c:93:37: error: initialization from incompatible pointer type /tmp/vbox.0/linux/SUPDrv-linux.c:594:5: error: implicit declaration of function 'unlock_kernel' /tmp/vbox.0/linux/SUPDrv-linux.c:600:5: error: implicit declaration of function 'lock_kernel'

Attachments (1)

vbox-setup.log (32.8 KB ) - added by Manfred Schwarb 4 years ago.

Download all attachments as: .zip

Change History (6)

by Manfred Schwarb, 4 years ago

Attachment: vbox-setup.log added

comment:1 by galitsyn, 4 years ago

Status: newawaitsfeedback

Hi manfredsch,

Please give it a try with the latest test build from https://www.virtualbox.org/wiki/Testbuilds. Test build should support SLES15 SP3 for both host and guest. Please give us a short feedback, so I will close this ticket as a duplicate of #20396.

Last edited 4 years ago by galitsyn (previous) (diff)

comment:2 by Manfred Schwarb, 4 years ago

Unfortunately, there is no rpm, so I installed the *.run variant.

# bash VirtualBox-6.1.23-145326-Linux_amd64.run
Verifying archive integrity... All good.
Uncompressing VirtualBox for Linux installation.............
VirtualBox Version 6.1.23 r145326 (2021-06-23T18:09:12Z) installer
Installing VirtualBox to /opt/VirtualBox
Python found: python2.7, installing bindings...

VirtualBox has been installed successfully.

You will find useful information about using VirtualBox in the user manual
  /opt/VirtualBox/UserManual.pdf
and in the user FAQ
  http://www.virtualbox.org/wiki/User_FAQ

We hope that you enjoy using VirtualBox.

There are no errors in vbox-setup.log and vbox-install.log, so all looks fine, and my VM runs fine, too. Thanks!

comment:3 by galitsyn, 4 years ago

Thank you for the feedback!

comment:4 by galitsyn, 4 years ago

Status: awaitsfeedbacknew

comment:5 by galitsyn, 4 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette