Unable to insert vboxvideo.ko module in both CentOS 6 and 7.
Posted: 19. Nov 2016, 08:59
This happens on both Linux and Windows host. Here's what happens -
1. Install either the CentOS 6 or the CentOS 7 minimal server version that ships with no GUI in a VirtualBox 5.1.8 VM
2. yum install epel-release
3. yum install kernel-devel make gcc perl bzip2 xorg-x11-server-Xorg xorg-x11-xinit xorg-x11-drv-evdev icewm
4. Attach Guest Additions ISO via the VirtualBox GUI
5. mkdir -p /media/cdrom
6. mount /dev/cdrom /media/cdrom
7. /media/cdrom/VBoxLinuxAdditions.run
Everything builds successfully. No errors, nothing. All good so far.
8. reboot
9. lsmod | grep vbox
10. ps ax | grep vbox
WHY ISN"T VBOXVIDEO running?
11. On CentOS 6
On CentOS 7
WHY? If vboxvideo is not added to the list of kernel modules, I am not able to get auto-resize of my VMs, among other benefits that I lose.
Can anyone help me out here?
1. Install either the CentOS 6 or the CentOS 7 minimal server version that ships with no GUI in a VirtualBox 5.1.8 VM
2. yum install epel-release
3. yum install kernel-devel make gcc perl bzip2 xorg-x11-server-Xorg xorg-x11-xinit xorg-x11-drv-evdev icewm
4. Attach Guest Additions ISO via the VirtualBox GUI
5. mkdir -p /media/cdrom
6. mount /dev/cdrom /media/cdrom
7. /media/cdrom/VBoxLinuxAdditions.run
Everything builds successfully. No errors, nothing. All good so far.
8. reboot
9. lsmod | grep vbox
Code: Select all
vboxsf
vboxguestCode: Select all
/usr/sbin/VBoxService --pidfile /var/run/vboxadd-service.sh 11. On CentOS 6
Code: Select all
find /lib/modules | grep vboxvideo
/lib/modules/2.6.32-642.6.2.el6.x86_64/misc/vboxvideo.ko
insmod /lib/modules/2.6.32-642.6.2.el6.x86_64/misc/vboxvideo.ko
insmod: error inserting '/lib/modules/2.6.32-642.6.2.el6.x86_64/misc/vboxvideo.ko': -1 Invalid parameters
Code: Select all
find /lib/modules | grep vboxvideo
/lib/modules/3.10.0-327.36.3.el7.x86_64/misc/vboxvideo.ko
insmod /lib/modules/3.10.0-327.36.3.el7.x86_64/misc/vboxvideo.ko
insmod: ERROR: could not insert module /lib/modules/3.10.0-327.36.3.el7.x86_64/misc/vboxvideo.ko: Invalid parameters
Can anyone help me out here?