Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0

Discussions related to using VirtualBox on Linux hosts.
Post Reply
cansinismo
Posts: 10
Joined: 21. Feb 2017, 10:11

Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0

Post by cansinismo »

Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0: World writable: '/usr/lib' (VERR_SUPLIB_WORLD_WRITABLE).
Failed to load VMMR0.r0 (VERR_SUPLIB_WORLD_WRITABLE).
Código Resultado:
NS_ERROR_FAILURE (0x80004005)
Componente:
ConsoleWrap
Interfaz:
IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

I try changing the permissions of usr/lb with chown and don't work.

Anybody can help me?
Thanks
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: Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0

Post by socratis »

cansinismo wrote:I try changing the permissions of usr/lb with chown and don't work.
Changed the permissions to what? As you clearly saw, the /usr/lib has got to be non-writable by everyone. You do not mention your host (omission) but for a Ubuntu and a Fedora, the /usr and the /usr/lib permissions look like that (very close actually):
socratis@VB-Ubuntu:~$ ls -al /usr
total 124
drwxr-xr-x  11 root root  4096 Jul 19  2016 .
drwxr-xr-x  23 root root  4096 Jan 19 22:12 ..

socratis@VB-Ubuntu:~$ ls -al /usr/lib
total 840
drwxr-xr-x 143 root root   4096 Jan 19 23:42 .
drwxr-xr-x  11 root root   4096 Jul 19  2016 ..

[socratis@VB-Fedora ~]$ ls -al /usr/
total 224
drwxr-xr-x.  12 root root   4096 Nov 15 23:27 .
dr-xr-xr-x.  18 root root   4096 Nov 15 23:32 ..

[socratis@VB-Fedora ~]$ ls -al /usr/lib
total 204
dr-xr-xr-x. 46 root root  4096 Feb  8 19:54 .
drwxr-xr-x. 12 root root  4096 Nov 15 23:27 ..
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.
cansinismo
Posts: 10
Joined: 21. Feb 2017, 10:11

Re: Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0

Post by cansinismo »

The permissions are:

Code: Select all

ls -al /usr
drwxr-xr-x  12 root root   4096 sep  2 12:05 .
drwxrwxrwx  28 root root   4096 feb 21 11:12 ..
drwxr-xr-x   2 root root 118784 feb 21 13:21 bin
drwxr-xr-x   2 root root   4096 sep  9 09:41 games
drwxr-xr-x  68 root root  20480 feb 13 12:29 include
drwxrwxrwx 202 root root  53248 feb 21 13:20 lib
drwxr-xr-x   3 root root   4096 nov 20  2012 lib64
drwxr-xr-x  12 root root   4096 nov  5  2015 local
drwxr-xr-x   3 root root   4096 ago 17  2016 locale
drwxr-xr-x   2 root root  12288 feb 13 12:29 sbin
drwxr-xr-x 417 root root  20480 feb 21 13:20 share
drwxr-xr-x   9 root root   4096 feb 21 13:20 src
Any idea...??
Last edited by socratis on 21. Feb 2017, 15:17, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
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: Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0

Post by socratis »

cansinismo wrote:Any idea...??
What do you mean any idea? It there! In plain sight!
cansinismo wrote:
ls -al /usr
drwxrwxrwx 202 root root  53248 feb 21 13:20 lib
Your /usr/lib directory is group/world writable. But besides that, you have a much, much bigger issue:
cansinismo wrote:
ls -al /usr
drwxr-xr-x  12 root root   4096 sep  2 12:05 .
drwxrwxrwx  28 root root   4096 feb 21 11:12 ..
Your root directory is group/everyone writable!
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.
cansinismo
Posts: 10
Joined: 21. Feb 2017, 10:11

Re: Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0

Post by cansinismo »

Really, that's the problem in the end!?
There isn't solution??
Can I fix the permissions or must re-install ubuntu? :cry: :cry:
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: Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0

Post by socratis »

Have you tried searching for "Ubuntu reset permissions to default"?
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.
cansinismo
Posts: 10
Joined: 21. Feb 2017, 10:11

Re: Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0

Post by cansinismo »

The solution was simple: sudo chmod 755 /usr/lib

Thank you for your special form of make me learn: give a man a fish, and you feed him for a day; teach a man to fish, and you feed him for life. :)

I can not wait less than Socratis :D
Post Reply