Pour info, j'ai esayé avec les paquets VirtualBox depuis le repo Oracle, même résultat. Je reviens à RPMFusion.
Nicosss wrote:D'ailleurs tu avais installé le
kmod ou
akmod de
VirtualBox ?
$ rpm -qa \*VirtualBox\*
Ayant fait beaucoup de tentatives depuis, je ne sais plus. Mais j'ai probablement fait comme ci-dessous.
Désinstallation complète (vérification):
[root@localhost ~]# dnf remove *VirtualBox*
No match for argument: *VirtualBox*
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!
[root@localhost ~]# dnf remove *virtualbox*
No match for argument: *virtualbox*
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!
[root@localhost ~]# lsmod | grep vbox
[root@localhost ~]# rpm -qa \*VirtualBox\*
[root@localhost ~]#
Réinstallation:
[root@localhost ~]# dnf install VirtualBox
[...]Dependencies resolved.
=================================================================================================================
Package Arch Version Repository Size
=================================================================================================================
Installing:
VirtualBox x86_64 6.0.12-1.fc30 rpmfusion-free-updates 2.3 M
Installing dependencies:
akmods noarch 0.5.6-20.fc30 updates 23 k
annobin x86_64 8.71-2.fc30 updates 107 k
kmodtool noarch 1-34.fc30 updates 13 k
nim-srpm-macros noarch 2-1.fc30 updates 8.2 k
qt5-srpm-macros noarch 5.12.4-1.fc30 updates 8.9 k
redhat-rpm-config noarch 130-1.fc30 updates 63 k
rpm-build x86_64 4.14.2.1-5.fc30 updates 106 k
rust-srpm-macros noarch 10-1.fc30 updates 9.5 k
zstd x86_64 1.4.2-1.fc30 updates 371 k
dwz x86_64 0.12-10.fc30 fedora 102 k
efi-srpm-macros noarch 4-2.fc30 fedora 23 k
fakeroot x86_64 1.23-3.fc30 fedora 96 k
fakeroot-libs x86_64 1.23-3.fc30 fedora 30 k
fpc-srpm-macros noarch 1.2-1.fc30 fedora 7.5 k
ghc-srpm-macros noarch 1.4.2-9.fc30 fedora 7.6 k
gnat-srpm-macros noarch 4-9.fc30 fedora 8.5 k
go-srpm-macros noarch 2-19.fc30 fedora 11 k
ocaml-srpm-macros noarch 5-5.fc30 fedora 7.7 k
openblas-srpm-macros noarch 2-5.fc30 fedora 7.3 k
perl-srpm-macros noarch 1-29.fc30 fedora 8.2 k
python-srpm-macros noarch 3-42.fc30 fedora 11 k
rpmdevtools noarch 8.10-8.fc30 fedora 91 k
xemacs-filesystem noarch 21.5.34-33.20190323hgc0ed7ef9a5a1.fc30 fedora 10 k
akmod-VirtualBox x86_64 6.0.12-1.fc30 rpmfusion-free-updates 47 k
VirtualBox-kmodsrc noarch 6.0.12-1.fc30 rpmfusion-free-updates 860 k
VirtualBox-server x86_64 6.0.12-1.fc30 rpmfusion-free-updates 41 M
Après reboot:
[root@localhost ~]# lsmod | grep vbox
vboxpci 28672 0
vboxnetadp 28672 0
vboxnetflt 32768 0
vboxdrv 503808 3 vboxpci,vboxnetadp,vboxnetflt
[root@localhost ~]# rpm -qa \*VirtualBox\*
kmod-VirtualBox-5.2.13-200.fc30.x86_64-6.0.12-1.fc30.x86_64
VirtualBox-server-6.0.12-1.fc30.x86_64
VirtualBox-kmodsrc-6.0.12-1.fc30.noarch
akmod-VirtualBox-6.0.12-1.fc30.x86_64
VirtualBox-6.0.12-1.fc30.x86_64
[root@localhost ~]#
Je rappelle le message d'erreur:
Failed to open a session for the virtual machine XXX.
VirtualBox can't enable the AMD-V extension. Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_SVM_IN_USE).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
Et les modules kvm du noyau:
[root@localhost ~]# lsmod | grep kvm
kvm_amd 106496 0
ccp 98304 1 kvm_amd
kvm 749568 1 kvm_amd
irqbypass 16384 1 kvm
Je précise que mon CPU est de la génération Juin 2009. Trop vieux? Le support s'est perdu (régression)?
model name : AMD Phenom(tm) II X3 705e Processor
Et quelques infos de boot si ça peut aider:
[root@localhost ~]# dmesg | grep -i vbox
[ 16.016635] vboxdrv: loading out-of-tree module taints kernel.
[ 16.016942] vboxdrv: module verification failed: signature and/or required key missing - tainting kernel
[ 16.020072] vboxdrv: Found 3 processor cores
[ 16.037331] vboxdrv: TSC mode is Invariant, tentative frequency 2511416717 Hz
[ 16.037333] vboxdrv: Successfully loaded version 6.0.12_RPMFusion (interface 0x00290008)
[ 16.061122] VBoxNetFlt: Successfully started.
[ 16.107371] VBoxNetAdp: Successfully started.
[ 16.136531] VBoxPciLinuxInit
[ 16.136538] vboxpci: IOMMU not found (not registered)
[ 750.064846] vboxdrv: 00000000de9ceac7 VMMR0.r0
[ 750.637076] vboxdrv: 00000000680ad5f0 VBoxDDR0.r0