#1 Le 01/08/2017, à 21:26
- malmsteen
(resolu)impossible de lancer vm apres passage au noyau 4.8
salut a tous
apres avoir installer le noyau 4.8.0-040800-generic #201610022031 SMP Mon Oct 3 00:32:57 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
je n arrive plus a lancer xp dans la machine virtuelle
K93SM:~$ virtualbox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (4.8.0-040800-generic) or it failed to
load. Please recompile the kernel module and install it by
sudo /sbin/vboxconfig
You will not be able to start VMs until this problem is fixed.
K93SM:/home/johnny# sudo /sbin/vboxconfig
Adding system startup for /etc/init.d/vboxdrv ...
/etc/rc0.d/K80vboxdrv -> ../init.d/vboxdrv
/etc/rc1.d/K80vboxdrv -> ../init.d/vboxdrv
/etc/rc6.d/K80vboxdrv -> ../init.d/vboxdrv
/etc/rc2.d/S20vboxdrv -> ../init.d/vboxdrv
/etc/rc3.d/S20vboxdrv -> ../init.d/vboxdrv
/etc/rc4.d/S20vboxdrv -> ../init.d/vboxdrv
/etc/rc5.d/S20vboxdrv -> ../init.d/vboxdrv
Adding system startup for /etc/init.d/vboxballoonctrl-service ...
/etc/rc0.d/K65vboxballoonctrl-service -> ../init.d/vboxballoonctrl-service
/etc/rc1.d/K65vboxballoonctrl-service -> ../init.d/vboxballoonctrl-service
/etc/rc6.d/K65vboxballoonctrl-service -> ../init.d/vboxballoonctrl-service
/etc/rc2.d/S35vboxballoonctrl-service -> ../init.d/vboxballoonctrl-service
/etc/rc3.d/S35vboxballoonctrl-service -> ../init.d/vboxballoonctrl-service
/etc/rc4.d/S35vboxballoonctrl-service -> ../init.d/vboxballoonctrl-service
/etc/rc5.d/S35vboxballoonctrl-service -> ../init.d/vboxballoonctrl-service
Adding system startup for /etc/init.d/vboxautostart-service ...
/etc/rc0.d/K65vboxautostart-service -> ../init.d/vboxautostart-service
/etc/rc1.d/K65vboxautostart-service -> ../init.d/vboxautostart-service
/etc/rc6.d/K65vboxautostart-service -> ../init.d/vboxautostart-service
/etc/rc2.d/S35vboxautostart-service -> ../init.d/vboxautostart-service
/etc/rc3.d/S35vboxautostart-service -> ../init.d/vboxautostart-service
/etc/rc4.d/S35vboxautostart-service -> ../init.d/vboxautostart-service
/etc/rc5.d/S35vboxautostart-service -> ../init.d/vboxautostart-service
Adding system startup for /etc/init.d/vboxweb-service ...
/etc/rc0.d/K65vboxweb-service -> ../init.d/vboxweb-service
/etc/rc1.d/K65vboxweb-service -> ../init.d/vboxweb-service
/etc/rc6.d/K65vboxweb-service -> ../init.d/vboxweb-service
/etc/rc2.d/S35vboxweb-service -> ../init.d/vboxweb-service
/etc/rc3.d/S35vboxweb-service -> ../init.d/vboxweb-service
/etc/rc4.d/S35vboxweb-service -> ../init.d/vboxweb-service
/etc/rc5.d/S35vboxweb-service -> ../init.d/vboxweb-service
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong.
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root.
vbox-install.log
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /lib/modules/4.8.0-040800-generic/build -j2 modules
make[1]: AVERTISSEMENT : -jN forcé dans un submake : désactivation du mode serveur de tâches.
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/tmp/vbox.0
gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -fno-pie -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-pie -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -pg -DCC_HAVE_ASM_GOTO -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/4.8.0-040800-generic/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -Wno-declaration-after-statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -fno-omit-frame-pointer -fno-pie -DMODULE -DKBUILD_BASENAME='"SUPDrv_linux"' -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/linux/.tmp_SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
gcc: error: unrecognized command line option ‘-fstack-protector-strong’
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Erreur 1
make[2]: *** Attente des tâches non terminées....
gcc -Wp,-MD,/tmp/vbox.0/.SUPDrv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -fno-pie -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-pie -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -pg -DCC_HAVE_ASM_GOTO -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/4.8.0-040800-generic/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -Wno-declaration-after-statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -fno-omit-frame-pointer -fno-pie -DMODULE -DKBUILD_BASENAME='"SUPDrv"' -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/.tmp_SUPDrv.o /tmp/vbox.0/SUPDrv.c
gcc: error: unrecognized command line option ‘-fstack-protector-strong’
make[2]: *** [/tmp/vbox.0/SUPDrv.o] Erreur 1
make[1]: *** [_module_/tmp/vbox.0] Erreur 2
make: *** [vboxdrv] Erreur 2
make.log
DKMS make.log for virtualbox-4.3.36 for kernel 4.8.0-040800-generic (x86_64)
mardi 1 août 2017, 20:54:24 (UTC+0100)
make: entrant dans le répertoire « /usr/src/linux-headers-4.8.0-040800-generic »
LD /var/lib/dkms/virtualbox/4.3.36/build/built-in.o
LD /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/built-in.o
CC [M] /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/linux/SUPDrv-linux.o
gcc: error: unrecognized command line option ‘-fstack-protector-strong’
make[2]: *** [/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/linux/SUPDrv-linux.o] Erreur 1
make[1]: *** [/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv] Erreur 2
make: *** [_module_/var/lib/dkms/virtualbox/4.3.36/build] Erreur 2
make: quittant le répertoire « /usr/src/linux-headers-4.8.0-040800-generic »
merci pour votre aide
Dernière modification par malmsteen (Le 02/08/2017, à 15:44)
OS: Ubuntu 22.04 LTS x86_64 Kernel: 5.15.0-40-generic DE: MATE
CPU: AMD Ryzen 5 3350G (8) @ 3.600GHz
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series
Mémoire : 13,6 Gio
Hors ligne
#2 Le 02/08/2017, à 09:41
- abelthorne
Re : (resolu)impossible de lancer vm apres passage au noyau 4.8
Est-ce que tu as le Secure Boot d'activé sur ton PC ? Si c'est le cas, depuis la version 4.4.0-20, le noyau ne peut plus lancer de modules non-signés si le SB est activé. Plus d'infos là : https://askubuntu.com/questions/760671/ … keep-secur (la première réponse). Dans ce cas de figure, il y a deux solutions :
1) Désactiver complètement le SB.
2) Signer le module VirtualBox manuellement.
Hors ligne
#3 Le 02/08/2017, à 15:44
- malmsteen
Re : (resolu)impossible de lancer vm apres passage au noyau 4.8
merci pour l reponse
mon probleme est reglé en mettant a jour gcc voila http://wiki.audacityteam.org/wiki/Upgrade_to_gcc_4.9
merci a vous
OS: Ubuntu 22.04 LTS x86_64 Kernel: 5.15.0-40-generic DE: MATE
CPU: AMD Ryzen 5 3350G (8) @ 3.600GHz
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series
Mémoire : 13,6 Gio
Hors ligne