- Timestamp:
- Aug 31, 2008 4:06:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VM.cpp
r11794 r11883 269 269 break; 270 270 case VERR_VM_DRIVER_NOT_ACCESSIBLE: 271 #ifdef RT_OS_LINUX 272 pszError = N_("The VirtualBox kernel driver is not accessible to the current " 273 "user. Make sure that the user has write permissions for " 274 "/dev/vboxdrv by adding them to the vboxusers groups. You " 275 "will need to logout for the change to take effect."); 271 #ifdef VBOX_WITH_HARDENING 272 /* This should only happen if the executable wasn't hardened - bad code/build. */ 273 pszError = N_("VirtualBox kernel driver not accessible, permission problem. " 274 "Re-install VirtualBox. If you are building it yourself, you " 275 "should make sure it installed correctly and that the setuid " 276 "bit is set on the executables calling VMR3Create."); 276 277 #else 277 pszError = N_("VirtualBox kernel driver not accessible, permission problem"); 278 /* This should only happen when mixing builds or with the usual /dev/vboxdrv access issues. */ 279 # if defined(RT_OS_DARWIN) 280 pszError = N_("VirtualBox KEXT is not accessible, permission problem. " 281 "If you have built VirtualBox yourself, make sure that you do not " 282 "have the vboxdrv KEXT from a different build or installation loaded."); 283 # elif defined(RT_OS_LINUX) 284 pszError = N_("VirtualBox kernel driver is not accessible, permission problem. " 285 "If you have built VirtualBox yourself, make sure that you do " 286 "not have the vboxdrv kernel module from a different build or " 287 "installation loaded. Also, make sure the vboxdrv udev rule gives " 288 "you the permission you need to access the device."); 289 # elif defined(RT_OS_WINDOWS) 290 pszError = N_("VirtualBox kernel driver is not accessible, permission problem."); 291 # else /* solaris, freebsd, ++. */ 292 pszError = N_("VirtualBox kernel module is not accessible, permission problem. " 293 "If you have built VirtualBox yourself, make sure that you do " 294 "not have the vboxdrv kernel module from a different install loaded."); 295 # endif 278 296 #endif 279 297 break; 298 case VERR_INVALID_HANDLE: /** @todo track down and fix this error. */ 280 299 case VERR_VM_DRIVER_NOT_INSTALLED: 281 case VERR_INVALID_HANDLE:282 300 #ifdef RT_OS_LINUX 283 301 pszError = N_("VirtualBox kernel driver not installed. The vboxdrv kernel module "
Note:
See TracChangeset
for help on using the changeset viewer.