View previous topic :: View next topic |
Author |
Message |
trigg Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 14 Jun 2018 Posts: 179
|
Posted: Tue Sep 25, 2018 6:29 am Post subject: [RISOLTO; ]virtualbox - error in supliboslnit |
|
|
buongiorno da 2 giorni quando lancio virtualbox
mi esce una finestra con il seguente errore
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
'/sbin/vboxconfig'
as root.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT. |
e per avviare virtualbox devo lanciare da root i comandi
Code: | gpasswd -a trigg vboxguest
modprobe vboxnetadp
modprobe vboxnetflt
modprobe vboxpci
|
ho anche reinstallato tutto ma ad oggi ogni volta che lancio virtualx mi da l'errore Code: | virtualbox - error in supliboslnit |
e quindi devo dare i comandi precedenti per farla avviare.
Last edited by trigg on Fri Oct 19, 2018 3:34 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sabayonino Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/20209838565fb448891ad70.gif)
Joined: 03 Jan 2012 Posts: 1047
|
Posted: Tue Sep 25, 2018 6:39 am Post subject: |
|
|
Code: | gpasswd -a trigg vboxuser |
ma il problema non sembra quello
per avviare i moduli all'avvio , come da wiki
crea il file /etc/modules-load.d/virtualbox.conf
ed inserisci i moduli che ti servono.
nel tuo elenco manca il driver principale ... vboxdrv
https://wiki.gentoo.org/wiki/VirtualBox _________________ LRS 64/32 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trigg Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 14 Jun 2018 Posts: 179
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sabayonino Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/20209838565fb448891ad70.gif)
Joined: 03 Jan 2012 Posts: 1047
|
Posted: Tue Sep 25, 2018 10:45 am Post subject: |
|
|
se l'errore te lo dà nella compilazione , semplicemente non trova il makefile nella cartella sorgenti kernel (sono installati e compilati ? )
al massimo se hai errori nell'avvio prova a rimuovere il configurazione di VBox nella tua home
~/.config/VirtualBox _________________ LRS 64/32 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trigg Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 14 Jun 2018 Posts: 179
|
Posted: Wed Sep 26, 2018 8:57 am Post subject: |
|
|
ho rimosso la configurazione in /.config/VirtualBox
ma non è cambiato nulla , per quanto riguarca makefile nella cartella sorgenti kernel credo siamo installati e non compilati |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trigg Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 14 Jun 2018 Posts: 179
|
Posted: Wed Sep 26, 2018 10:20 am Post subject: |
|
|
per adesso lancio virtualbox con lo script
Code: | #!/bin/bash
sudo su -c "modprobe vboxdrv ; modprobe vboxnetad ; modprobe vboxnetflt ; modprobe vboxpci "
/usr/lib64/virtualbox/VirtualBox --comment "arch7win" --startvm "13f7e572-08c9-48ce-b87f-90fd610caac6"
exit |
devo digitare la password , dopo cercherò di capire cosa è successo ![Crying or Very sad :cry:](images/smiles/icon_cry.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sabayonino Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/20209838565fb448891ad70.gif)
Joined: 03 Jan 2012 Posts: 1047
|
Posted: Wed Sep 26, 2018 6:30 pm Post subject: |
|
|
è inguardabile.... _________________ LRS 64/32 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trigg Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 14 Jun 2018 Posts: 179
|
Posted: Thu Sep 27, 2018 5:24 am Post subject: |
|
|
e vabbè ho eliminato sudo
cmq questo è solo una toppa , ho reinstallato virtualbox con lo stesso esito finale
com'è possibile che nn carica i moduli in automatico e bisogna aggiungerli ogni volta ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sabayonino Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/20209838565fb448891ad70.gif)
Joined: 03 Jan 2012 Posts: 1047
|
Posted: Thu Sep 27, 2018 6:52 pm Post subject: |
|
|
Code: |
Found kernel source directory:
[32;01m*[0m /usr/src/linux
[31;01m*[0m Could not find a Makefile in the kernel source directory.
Kernel not configured; no .config found in
|
Il modulo non è compilato per la versione del kernel a cui punta /usr/src/linux _________________ LRS 64/32 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trigg Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 14 Jun 2018 Posts: 179
|
Posted: Tue Oct 09, 2018 7:37 am Post subject: |
|
|
ho provato ad inastallare virtaulbox-modules
ed ho ottenuto questo output
Code: | >>> Failed to emerge app-emulation/virtualbox-modules-5.2.14, Log file:
>>> '/var/tmp/portage/app-emulation/virtualbox-modules-5.2.14/temp/build.log'
* Messages for package app-emulation/virtualbox-modules-5.2.14:
* Could not find a Makefile in the kernel source directory.
* Please ensure that /usr/src/linux points to a complete set of Linux sources
* Unable to calculate Linux Kernel version for build, attempting to use running version
* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources.
* If you are using KBUILD_OUTPUT, please set the environment var so that
* it points to the necessary object directory so that it might find .config.
* ERROR: app-emulation/virtualbox-modules-5.2.14::gentoo failed (setup phase):
* Kernel not configured; no .config found in
*
* Call stack:
* ebuild.sh, line 124: Called pkg_setup
* virtualbox-modules-5.2.14.ebuild, line 31: Called linux-mod_pkg_setup
* linux-mod.eclass, line 586: Called linux-info_pkg_setup
* linux-info.eclass, line 965: Called check_extra_config
* linux-info.eclass, line 773: Called require_configured_kernel
* linux-info.eclass, line 307: Called die
* The specific snippet of code:
* die "Kernel not configured; no .config found in ${KV_OUT_DIR}"
*
* If you need support, post the output of `emerge --info '=app-emulation/virtualbox-modules-5.2.14::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-modules-5.2.14::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-modules-5.2.14/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-modules-5.2.14/temp/die.env'.
* Working directory: '/var/tmp/portage/app-emulation/virtualbox-modules-5.2.14/homedir'
* S: '/var/tmp/portage/app-emulation/virtualbox-modules-5.2.14/work' |
leggendo questo topic per risolvere devo ricompilare il genhernel?
https://forums.gentoo.org/viewtopic-t-1055502-start-0.html |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31465 Location: here
|
Posted: Tue Oct 09, 2018 7:49 am Post subject: |
|
|
Hai lanciato un depclean ultimamente?
Posta l'output dei seguenti comandi
Code: | $ ls -l /usr/src/linux
$ ls /usr/src/linux
$ uname -a |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trigg Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 14 Jun 2018 Posts: 179
|
Posted: Tue Oct 09, 2018 8:41 am Post subject: |
|
|
Code: | gentoo /home/trigg # ls -l /usr/src/linux
lrwxrwxrwx 1 root root 20 1 lug 18.12 /usr/src/linux -> linux-4.14.52-gentoo |
Code: | gentoo /home/trigg # ls /usr/src/linux
arch crypto include lib Module.symvers sound virt
block drivers init mm net System.map vmlinux
built-in.o firmware ipc modules.builtin scripts tools vmlinux.o
certs fs kernel modules.order security usr |
Code: | gentoo /home/trigg # uname -a
Linux gentoo 4.14.52-gentoo #1 SMP Sun Jul 1 18:45:59 CEST 2018 x86_64 AMD Athlon(tm) 5150 APU with Radeon(tm) R3 AuthenticAMD GNU/Linux
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31465 Location: here
|
Posted: Tue Oct 09, 2018 8:46 am Post subject: |
|
|
E cosa da
Code: | $ qlist -Iv gentoo-sources | ?
sembra che hai cancellato (con depclean probabilmente) i gentoo-sources-4.14.52 _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trigg Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 14 Jun 2018 Posts: 179
|
Posted: Tue Oct 09, 2018 9:31 am Post subject: |
|
|
si infatti tutto è successo dopo un deep-clean
come posso procedere per ripristinare gentoo-sources-4.14.52 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31465 Location: here
|
Posted: Tue Oct 09, 2018 9:49 am Post subject: |
|
|
trigg wrote: | come posso procedere per ripristinare gentoo-sources-4.14.52 |
Devi reinstallare questa versione e poi ricompila il kernel con la giusta config _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trigg Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 14 Jun 2018 Posts: 179
|
Posted: Wed Oct 10, 2018 4:35 pm Post subject: |
|
|
quindi devo lanciare genkernel all ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31465 Location: here
|
Posted: Thu Oct 11, 2018 5:49 am Post subject: |
|
|
trigg wrote: | quindi devo lanciare genkernel all ? |
Si meglio ma controlla che il .config sia quello corretto _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trigg Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 14 Jun 2018 Posts: 179
|
Posted: Thu Oct 11, 2018 6:45 am Post subject: |
|
|
ciao fedeliallalinea e buongiorno
ho lanciato prima genkernel all
e mi ha detto di installare sources
così ho lanciato
Code: | emerge sys-kernel/gentoo-sources |
dopo ho ridato gebkernel all
con il risultato del log seguente
Code: | * Gentoo Linux Genkernel; Version 3.5.3.3[0m
* Running with options: all
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..
* ERROR: Kernel Makefile (/usr/src/linux/Makefile) missing. Maybe re-install the kernel sources.
*
* -- Grepping log... --
*
*
* -- End log... --
*
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
*
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs! |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31465 Location: here
|
Posted: Thu Oct 11, 2018 7:15 am Post subject: |
|
|
trigg wrote: | così ho lanciato
Code: | emerge sys-kernel/gentoo-sources |
|
Questo ti scarica l'ultimo stabile, ovvero 4.14.65, mentre tu vorresti il 4.14.52.
Ora no so se vuoi aggiornare il kernel da 4.14.52 a 4.14.65 o mantenere il corrente _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trigg Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 14 Jun 2018 Posts: 179
|
Posted: Thu Oct 11, 2018 7:21 am Post subject: |
|
|
proviamo ad aggiornare il kernel
devo imparare a farlo prima o poi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31465 Location: here
|
Posted: Thu Oct 11, 2018 7:27 am Post subject: |
|
|
trigg wrote: | proviamo ad aggiornare il kernel
devo imparare a farlo prima o poi |
Tanto basta che non rimuovi il vecchio dalla /boot finche' il nuovo non funziona, cosi' puoi tornare sempre su quello funzionante durante l'aggiornamento _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trigg Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 14 Jun 2018 Posts: 179
|
Posted: Thu Oct 11, 2018 8:24 am Post subject: |
|
|
non riesco a capire
in /boot ho solo kernel-genkernel-x86_64-4.14.52-gentoo
mentre quando lancio eselect kernel list nricevo questo output
Code: | gentoo /home/trigg # eselect kernel list
Available kernel symlink targets:
[1] linux-4.14.65-gentoo * |
quindi nn ci sto capendo niente di quello che sta accadendo
ora ho lanciato
Code: | emerge --ask --update --deep --with-bdeps=y --newuse @world |
dopo non so cosa farò |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zar Marco Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Mortal Kombat/Mortal_Kombat_-_Sub_Zero.gif)
Joined: 09 Sep 2016 Posts: 450 Location: Colle Umberto ( TV )
|
Posted: Thu Oct 11, 2018 9:47 am Post subject: |
|
|
Ti succede perché, o hai dato un depclean, oppure si sovrascrive se rimane lo stesso "ramo", ma non sono sicuro di quest'ultima affermazione, prova a dare un eix -s gentoo-sources |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31465 Location: here
|
Posted: Thu Oct 11, 2018 9:52 am Post subject: |
|
|
trigg wrote: | non riesco a capire
in /boot ho solo kernel-genkernel-x86_64-4.14.52-gentoo
mentre quando lancio eselect kernel list nricevo questo output
Code: | gentoo /home/trigg # eselect kernel list
Available kernel symlink targets:
[1] linux-4.14.65-gentoo * |
|
Questo e' corretto perche' ora hai compilato e installato solo il kernel 4.14.52, mentre dei sorgenti hai solo i 4.14.65.
eselect cambia solo il link simbolico /usr/src/linux che punta a quello selezionato ma poi dei compilare il kernel.
Di solito i passi con genkernel sono
Code: | # eselect kernel set <kernel_che_vuoi>
# cd /usr/src/linux
# genkernel --kernel-config=/etc/kernels/<quello_del_kernel_funzionante> all
# grub-mkconfig -o /boot/grub/grub.cfg
# emerge @module-rebuild |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trigg Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry_2.gif)
Joined: 14 Jun 2018 Posts: 179
|
Posted: Sun Oct 14, 2018 7:49 am Post subject: |
|
|
nulla non riesco a venirne a capo
come posso ripristinare il makefile ?
o come posso fare il downgrade del kernel? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|