yum install VirtualBox-6.0 on CentOS 7 panic with null pointer deference

Discussions related to using VirtualBox on Linux hosts.
Post Reply
lauatic
Posts: 4
Joined: 10. Dec 2019, 21:16

yum install VirtualBox-6.0 on CentOS 7 panic with null pointer deference

Post by lauatic »

I want to install VirtualBox-6.0 on a host with CentOS 7. The "sudo yum install VirtualBox-6.0" has a null pointer deference in the vboxdrv driver and crashed the system. Has anyone else encountered this issue?
$ uname -r
4.19.25-mtpnr_release-develop_rc2-1941-g3899b621-rt16

$ cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: yum install VirtualBox-6.0 on CentOS 7 panic with null pointer deference

Post by scottgus1 »

First question is, does "yum" pull from CentOS's repository, or are you installing from https://www.virtualbox.org/wiki/Linux_Downloads ?

The CentOS repository has a forked version, which we don't support here. We can help if you download Virtualbox from the virtualbox.org link.
lauatic
Posts: 4
Joined: 10. Dec 2019, 21:16

Re: yum install VirtualBox-6.0 on CentOS 7 panic with null pointer deference

Post by lauatic »

I downloaded oracle_vbox.asc and virtualbox.repo files from the virtualbox org site. I verified the /etc/yum.repos.d/virtualbox.repo points to the virtualbox org. Are these the right steps?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: yum install VirtualBox-6.0 on CentOS 7 panic with null pointer deference

Post by scottgus1 »

Honestly, I don't know. I'm really a Windows guy trying to expand my horizons. You could either wait for a Linux guru to confirm, or take a shot and see what happens.

There's some lines at the bottom of the downloads link:
Users of Oracle Linux / RHEL can add the Oracle Linux repo file to /etc/yum.repos.d/.
Users of Fedora can add the Fedora repo file to /etc/yum.repos.d/.
that look to me like it's right.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: yum install VirtualBox-6.0 on CentOS 7 panic with null pointer deference

Post by socratis »

lauatic wrote:I want to install VirtualBox-6.0 on a host with CentOS 7.
"CentOS 7.x", there's no "CentOS 7". What's the "x"?
lauatic wrote:
4.19.25-mtpnr_release-develop_rc2-1941-g3899b621-rt16
Are you running a pre-released CentOS version?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
lauatic
Posts: 4
Joined: 10. Dec 2019, 21:16

Re: yum install VirtualBox-6.0 on CentOS 7 panic with null pointer deference

Post by lauatic »

$ cat /etc/centos-release
CentOS Linux release 7.7.1908 (Core)
Last edited by socratis on 11. Dec 2019, 20:19, edited 1 time in total.
Reason: Enclosed the information in [quote][pre] tags for better readability
lauatic
Posts: 4
Joined: 10. Dec 2019, 21:16

Re: yum install VirtualBox-6.0 on CentOS 7 panic with null pointer deference

Post by lauatic »

$ cat /proc/version 
Linux version 4.19.25-mtpnr_release-develop_rc2-1941-g3899b621-rt16 (lpnava@b5-mtpnr_lpnava-vm004) (gcc version 5.4.0 (GCC)) #1 SMP PREEMPT RT Wed Jun 12 09:56:29 PDT 2019
[allau@inmp83 ~]$
Last edited by socratis on 11. Dec 2019, 20:18, edited 1 time in total.
Reason: Enclosed the information in [quote][pre] tags for better readability
Post Reply