Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Virtualbox drivers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pdr
l33t
l33t


Joined: 20 Mar 2004
Posts: 604

PostPosted: Tue Jun 27, 2017 2:55 pm    Post subject: Virtualbox drivers Reply with quote

I have virtualbox, virtualbox-additions, virtualbox-extpack-oracle, virtualbox-modules emerged, but I have not been doing a @module-rebuild because I removed the 3 vbox modules from /etc/conf.d/modules because I don't currently run it (if I need another VM I'll do the @module-rebuild, manually modprobe, etc).

But at boot time the system keeps wanting to load the modules (and is failing since I have not rebuilt them for the current kernel). How do I get the system to quit trying to autoload the Virtualbox modules (vboxdrv, vboxnetadp, vboxnetflt)?
Back to top
View user's profile Send private message
chiefbag
Guru
Guru


Joined: 01 Oct 2010
Posts: 542
Location: The Kingdom

PostPosted: Tue Jun 27, 2017 3:54 pm    Post subject: Reply with quote

You could blacklist them as a temporary fix.
There is probably a better way but for example the following may do:
Code:
lsmod | grep vbox       
vboxpci                24576  0
vboxnetadp             28672  0
vboxnetflt             28672  1
vboxdrv               397312  4 vboxnetadp,vboxnetflt,vboxp


Then add them to /etc/modprobe.d/blacklist.conf

Code:
blacklist vboxdrv
blacklist vboxnetflt


.. etc
Back to top
View user's profile Send private message
guitou
Guru
Guru


Joined: 02 Oct 2003
Posts: 400
Location: France

PostPosted: Wed Jun 28, 2017 12:01 pm    Post subject: Reply with quote

Hi.

You may also comment unnecessary modules in your /etc/modules-load.d/*.conf

++
Gi)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum