Fedora升級到4.3.4核心後virtualbox執行/sbin/rcvboxdrvsetup報Badargumentsetup

天飛.h發表於2016-02-03

[t@bjb0541 ~]$ uname -a
Linux bjb0541 4.3.4-300.fc23.x86_64 #1 SMP Mon Jan 25 13:39:23 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
         升級核心後,VirtualBox 通常要執行核心驅動的重新編譯載入,跟據執行過程中的提示,執行驅動編譯載入命令:
[t@bjb0541 ~]$ virtualbox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (4.3.4-300.fc23.x86_64) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /sbin/rcvboxdrv setup

         You will not be able to start VMs until this problem is fixed.
        但是提示Bad argument setup
[t@bjb0541 ~]$ sudo /sbin/rcvboxdrv setup
Bad argument setup
替代解決方法是執行sudo /usr/lib/virtualbox/vboxdrv.sh setup

[t@bjb0541 ~]$ sudo /usr/lib/virtualbox/vboxdrv.sh setup
Stopping VirtualBox kernel modules                         [  確定  ]
Uninstalling old VirtualBox DKMS kernel modules            [  確定  ]
Trying to register the VirtualBox kernel modules using DKMS[  確定  ]
Starting VirtualBox kernel modules                         [  確定  ]
[t@bjb0541 ~]$

具體可以參考https://www.virtualbox.org/ticket/15055

The above mentioned test builds contain the fix. And the next 5.0.x maintenance release will contain the fix (no ETA). As furthemore written about, doing

sudo /usr/lib/virtualbox/vboxdrv.sh setup

will work as well, even if you didn`t install a test build and the maintenance update is not available yet.


相關文章