You are not logged in.

#1 2016-03-17 18:55:05

colinkeenan
Member
From: Kansas City, MO USA
Registered: 2013-06-13
Posts: 213
Website

[SOLVED] ERROR: could not insert 'vboxguest': No such device . . .

After the recent upgrades to virtualbox, I installed linux-headers as now required to make it work, but I'm getting errors about vboxguest and vboxsf on boot. Those errors are coming from the systemd module:

# cat /usr/lib/systemd/system/vboxservice.service
[Unit]
Description=VirtualBox Guest Service
ConditionVirtualization=oracle

[Service]
ExecStartPre=-/usr/bin/modprobe vboxguest
ExecStartPre=-/usr/bin/modprobe vboxvideo
ExecStartPre=-/usr/bin/modprobe vboxsf
ExecStart=/usr/bin/VBoxService -f

[Install]
WantedBy=multi-user.target

The only one that works is vboxvideo. Here are the specific errors:

# modprobe vboxsf
modprobe: ERROR: could not insert 'vboxsf': No such device
# modprobe vboxguest
modprobe: ERROR: could not insert 'vboxguest': No such device

Reading the wiki, I tried:

# dkms autoinstall

and

# dkms install vboxhost/$(pacman -Q virtualbox|awk '{print $2}'|sed 's/\-.\+//')_OSE -k $(uname -rm|sed 's/\ /\//')
Module vboxhost/5.0.16_OSE already installed on kernel 4.4.5-1-ARCH/x86_64

Someone else is having the same problem (they only mention vboxguest though): http://stackoverflow.com/questions/3461 … -vboxguest

The two answers mentioned in that stackoverflow post don't help.

Last edited by colinkeenan (2016-03-17 19:40:22)

Offline

#2 2016-03-17 18:59:34

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,806
Website

Re: [SOLVED] ERROR: could not insert 'vboxguest': No such device . . .

What's the output of pacman -Qs virtualbox and pacman -Qoo /usr/lib/systemd/system/vboxservice.service

Is your Arch install host or guest?

Last edited by ugjka (2016-03-17 19:04:53)


https://ugjka.net
paru > yay | webcord > discord
pacman -S spotify-launcher
mount /dev/disk/by-...

Offline

#3 2016-03-17 19:12:15

colinkeenan
Member
From: Kansas City, MO USA
Registered: 2013-06-13
Posts: 213
Website

Re: [SOLVED] ERROR: could not insert 'vboxguest': No such device . . .

I only use virtualbox to run Windows XP for an application that interacts with some hardware on my front door. I did install virtualbox-guest-iso, and installed that inside guest Windows XP.

Arch install: host

 /home/colin %pacman -Qs virtualbox
local/virtualbox 5.0.16-3
    Powerful x86 virtualization for enterprise as well as home use
local/virtualbox-ext-oracle 5.0.16-1
    Oracle VM VirtualBox Extension Pack
local/virtualbox-guest-dkms 5.0.16-3
    VirtualBox Guest kernel modules sources
local/virtualbox-guest-iso 5.0.16-1
    The official VirtualBox Guest Additions ISO image
local/virtualbox-guest-utils 5.0.16-3
    VirtualBox Guest userspace utilities
local/virtualbox-host-dkms 5.0.16-3
    VirtualBox Host kernel modules sources
 /home/colin %pacman -Qoo /usr/lib/systemd/system/vboxservice.service
/usr/lib/systemd/system/vboxservice.service is owned by virtualbox-guest-utils 5.0.16-3

Offline

#4 2016-03-17 19:16:03

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,806
Website

Re: [SOLVED] ERROR: could not insert 'vboxguest': No such device . . .

So your arch is a host! Then you need to uninstall virtualbox-guest-dkms and virtualbox-guest-utils because those are needed only when your install is a guest.


https://ugjka.net
paru > yay | webcord > discord
pacman -S spotify-launcher
mount /dev/disk/by-...

Offline

#5 2016-03-17 19:24:24

colinkeenan
Member
From: Kansas City, MO USA
Registered: 2013-06-13
Posts: 213
Website

Re: [SOLVED] ERROR: could not insert 'vboxguest': No such device . . .

Great. I was wondering why if there were errors it was still working fine. Of course, removing virtualbox-guest-utils and dependency (virtualbox-guest-dkms), removed the boot errors. Thanks.

Offline

#6 2016-03-17 19:34:26

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,806
Website

Re: [SOLVED] ERROR: could not insert 'vboxguest': No such device . . .

Isn't that great, you did something silly and it didn't nuke your entire system? smile

Last edited by ugjka (2016-03-17 19:35:17)


https://ugjka.net
paru > yay | webcord > discord
pacman -S spotify-launcher
mount /dev/disk/by-...

Offline

#7 2016-04-07 12:29:50

xxxifan
Member
Registered: 2016-03-22
Posts: 15

Re: [SOLVED] ERROR: could not insert 'vboxguest': No such device . . .

hahaha I did this too P

Offline

#8 2016-10-23 17:30:08

bloadvenro
Member
Registered: 2016-10-23
Posts: 1

Re: [SOLVED] ERROR: could not insert 'vboxguest': No such device . . .

ugjka wrote:

So your arch is a host! Then you need to uninstall virtualbox-guest-dkms and virtualbox-guest-utils because those are needed only when your install is a guest.

Thank you! I understood the problem) Everything works now.

Last edited by bloadvenro (2016-10-23 17:30:47)

Offline

Board footer

Powered by FluxBB