Problem z instalacją Virtual Box na Debian 6 - vboxdrv


(Smrodek221) #1

Jakoś zainstalowałem w końcu tego nieszczęsnego virtualboxa ale teraz mam coś takiego:

WARNING: The vboxdrv kernel module is not loaded. Either there is no module

         available for the current kernel (2.6.32-042stab057.1) or it failed to

         load. Please recompile the kernel module and install it by


           sudo /etc/init.d/vboxdrv setup


         You will not be able to start VMs until this problem is fixed.

Failed to open the X11 display!

Ok, więcj próbuje sudo /etc/init.d/vboxdrv setup co skutkuje:

WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.

 * Stopping VirtualBox kernel modules

   ...done.

 * Uninstalling old VirtualBox DKMS kernel modules

   ...done.

 * Trying to register the VirtualBox kernel modules using DKMS

Error! Your kernel headers for kernel 2.6.32-042stab057.1 cannot be found.

Please install the linux-headers-2.6.32-042stab057.1 package,

or use the --kernelsourcedir option to tell DKMS where it's located


 * Failed, trying without DKMS

 * Recompiling VirtualBox kernel modules


 * Look at /var/log/vbox-install.log to find out what went wrong

Co robić? :confused:


(marcin82) #2

Co jest w tym pliku?

Podaj wynik:

uname -r

Czy system jest na bieżąco aktualizowany? Może pomóc instalacja nowszego jądra i ponowna instalacja virtualbox. Podaj wynik:

apt-cache search linux-image-*

(Smrodek221) #3

Przeinstalowałem system na Debian'a 6 ale i tak mam to co w pierwszym poście ..

vbox-install.log:

Mój linux stoi na vps'ie

Uninstalling modules from DKMS

  removing old DKMS module vboxhost version 4.1.20


-------- Uninstall Beginning --------

Module: vboxhost

Version: 4.1.20

Kernel: 2.6.32-5-amd64 (x86_64)

-------------------------------------


Status: Before uninstall, this module version was ACTIVE on this kernel.


vboxdrv.ko:

 - Uninstallation

   - Deleting from: /lib/modules/2.6.32-5-amd64/

 - Original module

   - No original module was found for this module on this kernel.

   - Use the dkms install command to reinstall any previous module version.



vboxnetflt.ko:

 - Uninstallation

   - Deleting from: /lib/modules/2.6.32-5-amd64/

 - Original module

   - No original module was found for this module on this kernel.

   - Use the dkms install command to reinstall any previous module version.



vboxnetadp.ko:

 - Uninstallation

   - Deleting from: /lib/modules/2.6.32-5-amd64/

 - Original module

   - No original module was found for this module on this kernel.

   - Use the dkms install command to reinstall any previous module version.



vboxpci.ko:

 - Uninstallation

   - Deleting from: /lib/modules/2.6.32-5-amd64/

 - Original module

   - No original module was found for this module on this kernel.

   - Use the dkms install command to reinstall any previous module version.


depmod....


DKMS: uninstall Completed.


------------------------------

Deleting module version: 4.1.20

completely from the DKMS tree.

------------------------------

Done.

Attempting to install using DKMS


Attempting to install using DKMS


Creating symlink /var/lib/dkms/vboxhost/4.1.20/source ->

                 /usr/src/vboxhost-4.1.20


DKMS: add Completed.

You can use the --kernelsourcedir option to tell DKMS where it's located, or you could install the linux-heade$

Failed to install using DKMS, attempting to install without

Makefile:172: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=




uname -r: 2.6.32-042stab057.1



apt-cache searsch linux-image-*:

[code]alsa-base - ALSA driver configuration files linux-headers-2.6.32-5-amd64 - Header files for Linux 2.6.32-5-amd64 linux-headers-2.6.32-5-openvz-amd64 - Header files for Linux 2.6.32-5-openvz-amd64 linux-headers-2.6.32-5-vserver-amd64 - Header files for Linux 2.6.32-5-vserver-amd64 linux-headers-2.6.32-5-xen-amd64 - Header files for Linux 2.6.32-5-xen-amd64 linux-image-2.6.32-5-amd64-dbg - Debugging infos for Linux 2.6.32-5-amd64 linux-image-2.6.32-5-amd64 - Linux 2.6.32 for 64-bit PCs linux-image-2.6.32-5-openvz-amd64-dbg - Debugging infos for Linux 2.6.32-5-openvz-amd64 linux-image-2.6.32-5-openvz-amd64 - Linux 2.6.32 for 64-bit PCs, OpenVZ support linux-image-2.6.32-5-vserver-amd64-dbg - Debugging infos for Linux 2.6.32-5-vserver-amd64 linux-image-2.6.32-5-vserver-amd64 - Linux 2.6.32 for 64-bit PCs, Linux-VServer support linux-image-2.6.32-5-xen-amd64-dbg - Debugging infos for Linux 2.6.32-5-xen-amd64 linux-image-2.6.32-5-xen-amd64 - Linux 2.6.32 for 64-bit PCs, Xen dom0 support linux-image-2.6-amd64 - Linux 2.6 for 64-bit PCs (meta-package) linux-image-2.6-openvz-amd64 - Linux 2.6 for 64-bit PCs (meta-package), OpenVZ support linux-image-2.6-vserver-amd64 - Linux 2.6 for 64-bit PCs (meta-package), Linux-VServer support linux-image-2.6-xen-amd64 - Linux 2.6 for 64-bit PCs (meta-package), Xen dom0 support linux-image-amd64 - Linux for 64-bit PCs (meta-package) linux-image-openvz-amd64 - Linux for 64-bit PCs (meta-package), OpenVZ support linux-image-vserver-amd64 - Linux for 64-bit PCs (meta-package), Linux-VServer support linux-image-xen-amd64 - Linux for 64-bit PCs (meta-package), Xen dom0 support nvidia-kernel-2.6.32-5-amd64 - NVIDIA binary kernel module for Linux 2.6.32-5-amd64 nvidia-kernel-2.6.32-5-vserver-amd64 - NVIDIA binary kernel module for Linux 2.6.32-5-vserver-amd64


#4

smrodek11 , proszę zapoznaj się z tą stroną oraz tym tematem, a następnie,używając przycisku image.php?album_id=20&image_id=4038


(Smrodek221) #5

Poprawione


(marcin82) #6


(Smrodek221) #7

No tak, przecież to stoi na OpenVZ .. z tego co pamiętam to na tym Virtual Box'a nie odpalę .. ;/


(roobal) #8

Pod jaką architekturę pobrałeś paczkę?


(Marek77k) #9

A spróbuj wpisać to polecenie jako root.

modprobe vboxdrv

(mati75) #10

Na openvz nie uruchomisz virtualbox.