VirtualBox

Changeset 20188 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jun 2, 2009 12:49:37 PM (16 years ago)
Author:
vboxsync
Message:

GUI: be more verbose if a wrong kernel driver version was detected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/main.cpp

    r19670 r20188  
    8181  "package first. This package keeps track of Linux kernel changes and "
    8282  "recompiles the vboxdrv kernel module if necessary."
     83  );
     84
     85QString g_QStrHinOtherWrongDriverVersion = QApplication::tr(
     86  "The VirtualBox kernel modules do not fit to this version of "
     87  "VirtualBox. The installation of VirtualBox was apparently not "
     88  "successful. It may help to completely uninstall and re-install "
     89  "VirtualBox."
     90  );
     91
     92QString g_QStrHintLinuxWrongDriverVersion = QApplication::tr(
     93  "The VirtualBox kernel modules do not fit to this version of "
     94  "VirtualBox. The installation of VirtualBox was apparently not "
     95  "successful. Executing<br/><br/>"
     96  "  <font color=blue>'/etc/init.d/vboxdrv setup'</font><br/><br/>"
     97  "should fix that problem. Make sure that you don't mix the "
     98  "OSE version and the PUEL version of VirtualBox."
    8399  );
    84100
     
    550566                msgText += QApplication::tr ("Kernel driver not accessible");
    551567                break;
     568            case VERR_VM_DRIVER_VERSION_MISMATCH:
     569# ifdef RT_OS_LINUX
     570                msgText += g_QStrHintLinuxWrongDriverVersion;
     571# else
     572                msgText += g_QStrHintOtherWrongDriverVersion;
     573# endif
     574                break;
    552575            default:
    553576                msgText += QApplication::tr (
     
    616639            else
    617640# endif
     641            if (rc == VERR_VM_DRIVER_VERSION_MISMATCH)
     642                msgText += g_QStrHintWrongDriverVersion;
     643            else
    618644                msgText += g_QStrHintReinstall;
    619645            break;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette