charlie 10 Posted March 6, 2013 Report Share Posted March 6, 2013 Salve, in ambiente Mac OSX 10.7.5 uso talvolta VirtualBox per lavorare con Windows o Ubuntu in macchina virtuale.Da qualche tempo, incontro un problema all'avvio con il seguente messaggio:"Kernel driver not installed (rc=-1908)Make sure the kernel module has been loaded successfully."In rete ho trovato un rimedio da digitare da terminale:sudo kextload /Library/Extensions/VBoxDrv.kext/Il rimedio funziona ma lo devo ripetere ad ogni avvio del Mac.Anche la disinstallazione e la re-installazione di VBox risolve il problema fino al successivo riavvio del Mac.Ho provato anche la riparazione dei permessi su Utility disco, e altri suggerimenti trovati in rete, ma senza risultato.Conoscete una soluzione stabile?Grazie. Link to post Share on other sites
faxus 79 Posted March 6, 2013 Report Share Posted March 6, 2013 Ciao Charlie, benvenuto nel Forum.Dapprima esegui una copia di sicurezza della cartella /Library/ExtensionsPoi prova questa sequenza di ordini, facendo seguire accapo per eseguire ad ogni ordine.Non mi dilungo sull'uso e sulla password, visto che sai già usare Terminale:sudo -ssudo chown -R root:wheel /System/Library/Extensions/VBoxDrv.kextsudo chmod -R 755 /System/Library/Extensions/VBoxDrv.kextrm -r /System/Library/Extensions/Cacheskextcache -a i386 -K /mach_kernel -m /System/Library/Extensions.mkext /System/Library/ExtensionsEsci da Terminale e riavvia il sistema Link to post Share on other sites
charlie 10 Posted March 6, 2013 Author Report Share Posted March 6, 2013 Ciao faxus, grazie per il benvenuto e per l'aiuto.Purtroppo però qualcosa non funziona, come si rileva dalla copia del terminale: login: Wed Mar 6 13:31:12 on ttys000iMac-di-Carlo:~ charlie$ sudo -sPassword:bash-3.2# sudo chown -R root:wheel /System/Library/Extensions/VBoxDrv.kextchown: /System/Library/Extensions/VBoxDrv.kext: No such file or directorybash-3.2# sudo chmod -R 755 /System/Library/Extensions/VBoxDrv.kextchmod: /System/Library/Extensions/VBoxDrv.kext: No such file or directorybash-3.2# rm -r /System/Library/Extensions/Cachesrm: /System/Library/Extensions/Caches: No such file or directorybash-3.2# kextcache -a i386 -K /mach_kernel -m /System/Library/Extensions.mkext /System/Library/ExtensionsJMicronATA.kext does not declare a kernel dependency; using com.apple.kernel.6.0.bash-3.2#Naturalmente non ci ho capito niente ....Edit: forse non sono nella giusta directory?la seconda e la terza riga di codice non danno messaggio di errore se tolgo la parte "/System", la terza riga dà ugualmente lo stesso errore (ma con il Finder non vedo il file Cache, è forse nascosto?)la quarta riga di codice, levata la parte "System", mi dà questo risultato:VBoxUSB.kext - no dependency found for com.apple.kpi.mach.VBoxUSB.kext - no dependency found for com.apple.kpi.libkern.VBoxUSB.kext - no dependency found for com.apple.iokit.IOUSBFamily.VBoxUSB.kext - no dependency found for com.apple.kpi.bsd.VBoxUSB.kext - no dependency found for com.apple.kpi.iokit.VBoxUSB.kext - no dependency found for com.apple.kpi.unsupported.VBoxUSB.kext - no dependency found for com.apple.iokit.IOUSBUserClient.VBoxDrv.kext - no dependency found for com.apple.kpi.libkern.VBoxDrv.kext - no dependency found for com.apple.kpi.iokit.VBoxDrv.kext - no dependency found for com.apple.kpi.unsupported.VBoxDrv.kext - no dependency found for com.apple.kpi.mach.VBoxDrv.kext - no dependency found for com.apple.kpi.bsd.VBoxUSB.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)VBoxNetFlt.kext - no dependency found for com.apple.kpi.libkern.VBoxNetFlt.kext - no dependency found for com.apple.kpi.iokit.VBoxNetFlt.kext - no dependency found for com.apple.kpi.unsupported.VBoxNetFlt.kext - no dependency found for com.apple.kpi.mach.VBoxNetFlt.kext - no dependency found for com.apple.kpi.bsd.VBoxDrv.kext - no dependency found for com.apple.kpi.libkern.VBoxDrv.kext - no dependency found for com.apple.kpi.iokit.VBoxDrv.kext - no dependency found for com.apple.kpi.unsupported.VBoxDrv.kext - no dependency found for com.apple.kpi.mach.VBoxDrv.kext - no dependency found for com.apple.kpi.bsd.VBoxNetFlt.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)VBoxNetAdp.kext - no dependency found for com.apple.kpi.libkern.VBoxNetAdp.kext - no dependency found for com.apple.kpi.mach.VBoxNetAdp.kext - no dependency found for com.apple.kpi.bsd.VBoxDrv.kext - no dependency found for com.apple.kpi.libkern.VBoxDrv.kext - no dependency found for com.apple.kpi.iokit.VBoxDrv.kext - no dependency found for com.apple.kpi.unsupported.VBoxDrv.kext - no dependency found for com.apple.kpi.mach.VBoxDrv.kext - no dependency found for com.apple.kpi.bsd.VBoxNetAdp.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)VBoxDrv.kext - no dependency found for com.apple.kpi.libkern.VBoxDrv.kext - no dependency found for com.apple.kpi.iokit.VBoxDrv.kext - no dependency found for com.apple.kpi.unsupported.VBoxDrv.kext - no dependency found for com.apple.kpi.mach.VBoxDrv.kext - no dependency found for com.apple.kpi.bsd.VBoxDrv.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)bash-3.2# Link to post Share on other sites
faxus 79 Posted March 6, 2013 Report Share Posted March 6, 2013 ... /System/Library/Extensions/VBoxDrv.kext: No such file or directory...Chiedo scusa... a volte per seguire il significato perdo la strada (path)...Il percorso giusto è /Library/Extensions/VBoxDrv.kext.Però debbo verificare se è possibile stabilizzare il comando anche per quel percorso.E come fare per svuotare la cache per la libreria Link to post Share on other sites
faxus 79 Posted March 6, 2013 Report Share Posted March 6, 2013 Ho rivisto il problema, confermo che consiste in permessi sbagliati relativi a wheel sul file.Puoi fare una verifica?Clicca sul file e col menù contestuale verifica che siano questi: Link to post Share on other sites
charlie 10 Posted March 6, 2013 Author Report Share Posted March 6, 2013 Avevo già verificato io, confermo che i permessi sono identici a quelli postati (anche la cartella Extensions ha gli stessi permessi). Link to post Share on other sites
faxus 79 Posted March 7, 2013 Report Share Posted March 7, 2013 Ho trovato in rete soluzioni strampalate e/o incomprensibili, tipica quella di trasferire l'estensione del kernel nella libreria di sistema ed applicare le indicazioni già date da me con la path errata, non avendo considerato che è un'estensione del kernel che non risiede naturalmente nel sistema ma solo nella libreria del disco.Prova questa, potrebbe funzionare:[FONT=monospace]sudo kextunload -b org.virtualbox.kext.VBoxUSB[/FONT][FONT=monospace]sudo kextunload -b org.virtualbox.kext.VBoxNetFlt[/FONT][FONT=monospace]sudo kextunload -b org.virtualbox.kext.VBoxNetAdp[/FONT][FONT=monospace]sudo kextunload -b org.virtualbox.kext.VBoxDrv[/FONT]Poi[FONT=monospace]sudo kextload /Library/Extensions/VBoxDrv.kext -r /Library/Extensions/[/FONT][FONT=monospace]sudo kextload /Library/Extensions/VBoxNetFlt.kext -r /Library/Extensions/[/FONT][FONT=monospace]sudo kextload /Library/Extensions/VBoxNetAdp.kext -r /Library/Extensions/[/FONT][FONT=monospace]sudo kextload /Library/Extensions/VBoxUSB.kext -r /Library/Extensions/[/FONT]Scarica ed usa OnyX (http://www.macitynet.it/forum/altre-applicazioni/124098-manutenzione-di-os-x-come-si-usa-onyx-ed-altri-tool.html) per svuotare la cache di sistema e la cache utente.Ripara i permessi del volume principale con Utility Disco.Riavvia Link to post Share on other sites
charlie 10 Posted March 7, 2013 Author Report Share Posted March 7, 2013 Le prime 4 righe di codice danno l'errore;(kernel) Kext org.virtualbox.kext.VBoxUSB not found for unload request.Failed to unload org.virtualbox.kext.VBoxUSB - (libkern/kext) not found.Le seconde 4 righe funzionano in modo temporaneo (come il mio script), fino al riavvio del Mac.Sto studiando Onyx, poi procederò, grazie.Edit:Eseguito svuotamento cache sistema (con spunta anche su "Kernel e Estensioni") e utente.Eseguita riparazione permessi con Utillity disco.Risultato negativo. Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now