Failed to load VMMR0.r0 (VERR_SUPLIB_WORLD_WRITABLE)

Discussions related to using VirtualBox on Linux hosts.
Post Reply
MrChimp
Posts: 2
Joined: 25. Jul 2011, 16:37
Primary OS: PCLinuxOS
VBox Version: OSE other
Guest OSses: Win XP

Failed to load VMMR0.r0 (VERR_SUPLIB_WORLD_WRITABLE)

Post by MrChimp »

Hi, I have been using VirtualBox quite successfully until suddenly I am getting this error, I have tried uninstalling it and re-installing it but to no avail, I did almost find a solution here http://www.virtualbox.org/ticket/8410 but my installation is in the /usr/lib/virtualbox directory, as opposed to /opt. I did try and make the virtualbox directory only writeable by root (as mentioned in the ticket) but that didn't work, I also tried running virtualbox as root. and now I am stuck.

I have included the log file below (I put it in code tags to make it a bit easier to read)

Code: Select all

00:00:00.279 VirtualBox 4.0.12 r72916 linux.amd64 (Jul 15 2011 16:28:41) release log
00:00:00.279 Log opened 2011-07-25T14:38:44.240820000Z
00:00:00.279 OS Product: Linux
00:00:00.279 OS Release: 2.6.35-22-generic
00:00:00.279 OS Version: #33-Ubuntu SMP Sun Sep 19 20:32:27 UTC 2010
00:00:00.279 DMI Product Name: K52F
00:00:00.279 DMI Product Version: 1.0       
00:00:00.280 Host RAM: 3752MB RAM, available: 1723MB
00:00:00.280 Executable: /usr/lib/virtualbox/VirtualBox
00:00:00.280 Process ID: 14444
00:00:00.280 Package type: LINUX_64BITS_UBUNTU_10_10
00:00:00.459 Installed Extension Packs:
00:00:00.459   None installed!
00:00:00.461 pdmR3LoadR0U: pszName="VMMR0.r0" rc=VERR_SUPLIB_WORLD_WRITABLE szErr="World writable: '/usr'"
00:00:00.461 VMSetError: /home/vbox/vbox-4.0.12/src/VBox/VMM/VMMR3/VM.cpp(583) int vmR3CreateU(UVM*, uint32_t, int (*)(VM*, void*), void*); rc=VERR_SUPLIB_WORLD_WRITABLE
00:00:00.461 VMSetError: Failed to load VMMR0.r0
00:00:00.461 VMSetError: /home/vbox/vbox-4.0.12/src/VBox/VMM/VMMR3/VM.cpp(354) int VMR3Create(uint32_t, const VMM2USERMETHODS*, void (*)(VM*, void*, int, const char*, unsigned int, const char*, const char*, __va_list_tag*), void*, int (*)(VM*, void*), void*, VM**); rc=VERR_SUPLIB_WORLD_WRITABLE
00:00:00.461 VMSetError: Unknown error creating VM
00:00:00.461 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={515e8e8d-f932-4d8e-9f32-79a52aead882} aComponent={Console} aText={Failed to load VMMR0.r0 (VERR_SUPLIB_WORLD_WRITABLE).
00:00:00.461 Unknown error creating VM (VERR_SUPLIB_WORLD_WRITABLE)}, preserve=false
00:00:00.543 Using XKB for keycode to scan code conversion
00:00:00.560 Power up failed (vrc=VERR_SUPLIB_WORLD_WRITABLE, rc=NS_ERROR_FAILURE (0X80004005))
Also I am not sure how helpful this would be but here is the permissions of the virtualbox directory (form ls -ld virtualbox)

Code: Select all

drwxr-xr-x 5 root root 4096 2011-07-25 14:50 virtualbox
Any help would be greatly appreciated, thankyou
Martin
Volunteer
Posts: 2561
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: Failed to load VMMR0.r0 (VERR_SUPLIB_WORLD_WRITABLE)

Post by Martin »

The interesting line in the log is
00:00:00.461 pdmR3LoadR0U: pszName="VMMR0.r0" rc=VERR_SUPLIB_WORLD_WRITABLE szErr="World writable: '/usr'"
So it looks like on your system /usr is writable which it shouldn't be.
MrChimp
Posts: 2
Joined: 25. Jul 2011, 16:37
Primary OS: PCLinuxOS
VBox Version: OSE other
Guest OSses: Win XP

Re: Failed to load VMMR0.r0 (VERR_SUPLIB_WORLD_WRITABLE)

Post by MrChimp »

Thank you very much for pointing that out, can't believe I missed that bit, it all works now I just changed the permissions with chmod o-w /usr and it worked fine. :D

Thanks again :mrgreen:
Post Reply