Fórum Ubuntu CZ/SK

Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: george65 28 Července 2011, 18:33:28

Název: VirtualBox chyba - Kernel driver not installed (rc=-1908)
Přispěvatel: george65 28 Července 2011, 18:33:28
Ahoj, mam problem s VirtualBoxem jde spustit vsechno nastaveni v pohode, ale jakmile chci spustit nejaky virtualni OS dostanu nasledujici chybovou hlasku:

Kód: [Vybrat]
The virtual machine 'Windows XP' has terminated unexpectedly during startup with exit code 1.
Návratový kód:
NS_ERROR_FAILURE (0x80004005)
Komponenta:
Machine
Rozhraní:
IMachine {5eaa9319-62fc-4b0a-843c-0cb1940f8a91}

a hned nato:

Kód: [Vybrat]
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'

ale kdyz ten prikaz '/etc/init.d/vboxdrv setup' spustim v terminalu skonci chybou:

Kód: [Vybrat]
WARNING: /etc/modprobe.d/blacklist.conf line 3: ignoring bad line starting with 'e'
 * Stopping VirtualBox kernel modules                                    [ OK ]
 * Uninstalling old VirtualBox DKMS kernel modules                       [ OK ]
 * Trying to register the VirtualBox kernel modules using DKMS                 
Error! Your kernel headers for kernel 2.6.38-10-generic-pae cannot be found at
/lib/modules/2.6.38-10-generic-pae/build or /lib/modules/2.6.38-10-generic-pae/source.

 * Failed, trying without DKMS
 * Recompiling VirtualBox kernel modules                                       
 * Look at /var/log/vbox-install.log to find out what went wrong

ten log do ktereho se mam podivat pak vypada takhle:

Kód: [Vybrat]
Uninstalling modules from DKMS
  removing old DKMS module vboxhost version  4.1.0

------------------------------
Deleting module version: 4.1.0
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxhost/4.1.0/source ->
                 /usr/src/vboxhost-4.1.0

DKMS: add Completed.
You can use the --kernelsourcedir option to tell DKMS where it's located, or you could install the linux-headers-2.6.38-10-generic-pae package.
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=<directory> and run Make again.  Stop.

dal ale nerozumim co mam delat, poradil by nekdo?
Název: Re: VirtualBox chyba - Kernel driver not installed (rc=-1908)
Přispěvatel: Tetsuya 28 Července 2011, 19:17:36
Nenaistaloval se ti náhodou při aktualizaci systému novej kernel? Pokud jo, tak si musíš nainstalovat i novej driver, ten se při aktualizaci nestáhne.
Název: Re: VirtualBox chyba - Kernel driver not installed (rc=-1908)
Přispěvatel: george65 28 Července 2011, 21:09:20
no jenze ja jsem virtualbox nainstaloval az po kompletni aktualizaci systemu, navic driver pro novej kernel se pokud vim instaluje prave tim prikazem nahore jenze ten konci chybou :-(
Název: Re: VirtualBox chyba - Kernel driver not installed (rc=-1908)
Přispěvatel: pacholik 28 Července 2011, 22:21:08
nainstaluj linux-headers-2.6.38-10-generic-pae
Název: Re: VirtualBox chyba - Kernel driver not installed (rc=-1908)
Přispěvatel: george65 30 Července 2011, 00:04:41
jo jo uz to funguje jak ma, dik :-)
Název: Re: VirtualBox chyba - Kernel driver not installed (rc=-1908)
Přispěvatel: jAster_BA 30 Července 2011, 00:36:57
Inač nechcem nič hovoriť ale je to tam napísané :)
Kód: [Vybrat]
Error! Your kernel headers for kernel 2.6.38-10-generic-pae cannot be found at
/lib/modules/2.6.38-10-generic-pae/build or /lib/modules/2.6.38-10-generic-pae/source.
To len do nabudúcna, lebo nie vždy sa môže stať, že to neotvorí skôr NTZ ako niekdo iný a potom sa to zvrhne na flame o tom, že si si to neprečítal :)...je to zbytočné dráždenie nervov na jednej aj druhej strane...(väčšina sa urazí a začne s rečami, že toto je komunita a jej pomoc...aj keď zas  NTZ dá odkaz na manuál, v ktorom sa dá všetko dočítať...:/)
Název: Re: VirtualBox chyba - Kernel driver not installed (rc=-1908)
Přispěvatel: george65 30 Července 2011, 01:03:07
ja vim vsak jsem to pak taky udelal sam kdyz jsem si to asi po treti poradne precetl jenze jeste nejsem v ubuntu a v tech prikazech tolik zbehly tak jsem z toho porad nemohl pochopit co mam udelat