Ciao,
Anche io ho debian con il kernel 3.9 e virtualbox mi funziona benissimo.
Ecco come faccio di solito (nota: virtualbox 4.1 dei repository ufficiali
debian non è compatibile con kernel 3.7 o superiore):

** COMPILAZIONE - ESTRAZIONE ***
cd /usr/src
wget -c http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.9.tar.bz2
tar jxvf linux-3.9.tar.bz2

** COMPILAZIONE - CONFIG ***
cd linux-3.8.10
cp /boot/config-`uname -r` ./.config
make oldconfig
make-kpkg clean

** COMPILAZIONE - COMPILAZIONE (il 2 è il numero dei processori) ***
CONCURRENCY_LEVEL=2 fakeroot make-kpkg --initrd
--append-to-version=-vanilla kernel_image kernel_headers

** VIRTUAL BOX REPOSITORY ***
sudo wget -q
http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- |
apt-key add

nano /etc/apt/sources.list
INCOLLA: deb http://download.virtualbox.org/virtualbox/debian wheezy contrib

** VIRTUAL BOX INSTALL ***
sudo apt-get install virtualbox-4.2



Cordiali Saluti,
*Patryk Rzucidlo*

me.ptkdev.it


2013/4/29 GIlberto Conti <[email protected]>

>
>
>
> Il giorno 29 aprile 2013 22:09, Gianfranco Costamagna <
> [email protected]> ha scritto:
>
> Domanda stupida:
>> Hai provato a lanciare da root
>> '/etc/init.d/vboxdrv setup'
>>
>
> mi ero dimenticato di scriverlo!
> quando ci provo mi dice:
>
> Stopping VirtualBox kernel modules ...failed!
>   (Cannot unload module vboxpci)
>
>>  Altra cosa ricorda di aggiungere il tuo username al gruppo usb (o
>> qualcosa del genere) per usare le usb
>>
>> Gianfranco
>>
>> Sent from my Yahoo Mail for Android
>>
>>  ------------------------------
>> * From: * GIlberto Conti <[email protected]>;
>> * To: * <[email protected]>;
>> * Subject: * virtualbox
>> * Sent: * Mon, Apr 29, 2013 7:17:56 PM
>>
>>   salve a tutti!
>>
>> //debian wheezy con kernel 3.9
>>
>> uso definitivamente debian da qualche settimana e mi sto trovando molto
>> bene, ma ho un problema che non riesco proprio a risolvere:
>>
>> <code>
>> Virtual box all'avvio di qualsiasi macchina virtuale presenta questi
>> errori:
>>
>> Apertura di una sessione per la Macchina Virtuale ubuntu non riuscita.
>>
>> The virtual machine 'ubuntu' has terminated unexpectedly during startup
>> with exit code 1.
>>
>> Codice 'uscita: NS_ERROR_FAILURE (0x80004005)
>> Componente: Machine
>> Interfaccia: IMachine {22781af3-1c96-4126-9edf-67a020e0e858}
>>
>> </code>
>>
>> e poi
>>
>> <code>
>>
>> Kernel driver not installed (rc=-1908)
>>
>> The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or
>> there is a permission problem with /dev/vboxdrv. Please reinstall the
>> kernel module by executing
>>
>> '/etc/init.d/vboxdrv setup'
>>
>> as root. If it is available in your distribution, you should install the
>> DKMS package first. This package keeps track of Linux kernel changes and
>> recompiles the vboxdrv kernel module if necessary.
>> </code>
>>
>>
>> ho provato anche ad installarlo da codice sorgente e non da repository,
>> ma rimane uguale.
>>
>> grazie in anticipo
>>
>>
>>
>> --
>>
>> ********************************************
>> Militante Free Software Foundation
>> ***********************************
>> *Prima di stampare pensa all'ambiente - Think about the environment
>> before printing*
>>
>> ********************************************************************************************
>>
>> Le informazioni contenute in questo messaggio di posta elettronica sono
>> riservate e confidenziali e ne è vietata la diffusione in qualunque modo
>> eseguita. Qualora Lei non fosse la persona a cui il presente messaggio è
>> destinato, La invitiamo a eliminarlo e a non leggerlo, dandone gentilmente
>> comunicazione al mittente.
>>
>> The information contained in this e-mail and any attachments is
>> confidential and may well also be legally privileged. If you are not among
>> the named recipients, please notify the sender immediately by reply e-mail
>> and then delete this message from your system, do not use the contents for
>> any purpose whatsoever nor disclose them to anyone else.
>>
>
>
>
> --
>
>  ********************************************
> Militante Free Software Foundation
> ***********************************
> *Prima di stampare pensa all'ambiente - Think about the environment
> before printing*
>
> ********************************************************************************************
>
> Le informazioni contenute in questo messaggio di posta elettronica sono
> riservate e confidenziali e ne è vietata la diffusione in qualunque modo
> eseguita. Qualora Lei non fosse la persona a cui il presente messaggio è
> destinato, La invitiamo a eliminarlo e a non leggerlo, dandone gentilmente
> comunicazione al mittente.
>
> The information contained in this e-mail and any attachments is
> confidential and may well also be legally privileged. If you are not among
> the named recipients, please notify the sender immediately by reply e-mail
> and then delete this message from your system, do not use the contents for
> any purpose whatsoever nor disclose them to anyone else.
>

Rispondere a