Page 1 sur 1

[virtualbox] Démarrage bloqué ( Résolu )

Publié : sam. 03 mars 2018, 07:47
par lui-même
Bonjour,

Lorsque je veux démarrer Virtualbox, une fenêtre m'indique ceci:

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.


Pourtant, tout est installé dans pacman. :o

Merci d'aider un newbie un peu paumé dans le monde Arch, mais qui cherche. :wink:

Re: [virtualbox] Démarrage bloqué

Publié : sam. 03 mars 2018, 08:01
par waitnsea
lui-même a écrit : sam. 03 mars 2018, 07:47 Lorsque je veux démarrer Virtualbox, une fenêtre m'indique ceci:

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.


Pourtant, tout est installé dans pacman. :o

Merci d'aider un newbie un peu paumé dans le monde Arch, mais qui cherche. :wink:
Bonjour et bienvenue,
Pour progresser rapidement, donne des renseignements:
* sur ton installation = fais-toi une signature détaillée (vois dans ton profil)
* sur ta question :
Tu es sur une distribution Arch qui fonctionne et tu veux créer une machine virtuelle ?
ou
Tu es sur une autre distribution et tu veux installer une machine virtuelle Arch ?
As-tu lancé la commande /sbin/vboxconfig et quel est le retour ?
Edit : normalement il n'y a pas de commande vboxconfig... :cry:

Re: [virtualbox] Démarrage bloqué

Publié : sam. 03 mars 2018, 09:41
par benjarobin
Bonjour, si je suppose que l'hôte est Arch Linux (tu veux lancer une VM depuis ce dernier), peux tu donner la sortie de :
pacman -Qs virtualbox linux
uname -a

Re: [virtualbox] Démarrage bloqué

Publié : sam. 03 mars 2018, 09:59
par lui-même
Merci pour vos rapides réponses. :bravo:

Voilà les résultats. ( Arch est bien l'hôte )

Code : Tout sélectionner

[michel@micarch Bureau]$ pacman -Qs virtualbox linux
erreur : l’enregistrement de la base de données « spooky_aur » a échoué (base de données déjà enregistrée)
[michel@micarch Bureau]$ uname -a
Linux micarch 4.15.6-1-ARCH #1 SMP PREEMPT Sun Feb 25 12:53:23 UTC 2018 x86_64 GNU/Linux
[michel@micarch Bureau]$ /sbin/vboxconfig 
bash: /sbin/vboxconfig: Aucun fichier ou dossier de ce type
[michel@micarch Bureau]$ 

Re: [virtualbox] Démarrage bloqué

Publié : sam. 03 mars 2018, 11:03
par guardiancats
bonjour
regarde dans le wiki virtualbox
https://wiki.archlinux.fr/VirtualBox
je crois qu il faut ajouter l utilisateur au group vboxusers
gpasswd -a utilisateur vboxusers (utilisateur ton nom user)
cdt

Re: [virtualbox] Démarrage bloqué

Publié : sam. 03 mars 2018, 11:08
par lui-même
Merci, jobtiens celà:

Code : Tout sélectionner

[root@micarch Bureau]# gpasswd -a michel vboxusers
Adding user michel to group vboxusers
[root@micarch Bureau]# 
Mais le problème demeure.... :o

Re: [virtualbox] Démarrage bloqué

Publié : sam. 03 mars 2018, 11:10
par guardiancats
bonjour
vboxusers avec un seul u
cdt

Re: [virtualbox] Démarrage bloqué

Publié : sam. 03 mars 2018, 11:10
par benjarobin
Oups me suis planté dans la première commande, mais je crois tu dois quand même avoir un souci dans la configuration de Pacman.
Donne la sortie de :
pacman -Qs virtualbox
pacman -Qs linux

Re: [virtualbox] Démarrage bloqué

Publié : sam. 03 mars 2018, 11:18
par lui-même

Code : Tout sélectionner

[michel@micarch Bureau]$ pacman -Qs virtualbox
erreur : l’enregistrement de la base de données « spooky_aur » a échoué (base de données déjà enregistrée)
local/virtualbox 5.2.8-1
    Powerful x86 virtualization for enterprise as well as home use
local/virtualbox-host-dkms 5.2.8-1
    VirtualBox Host kernel modules sources
[michel@micarch Bureau]$ pacman -Qs linux
erreur : l’enregistrement de la base de données « spooky_aur » a échoué (base de données déjà enregistrée)
local/alsa-lib 1.1.5-1
    An alternative implementation of Linux sound support
local/alsa-utils 1.1.5-2
    An alternative implementation of Linux sound support
local/archlinux-appstream-data 20180221-1
    Arch Linux application database for AppStream-based software centers
local/archlinux-keyring 20180108-1
    Arch Linux PGP keyring
local/avahi 0.7-4
    Service Discovery for Linux using mDNS/DNS-SD -- compatible with Bonjour
local/filesystem 2017.10-2 (base)
    Base Arch Linux files
local/iptables 1.6.2-2
    Linux kernel packet control tool
local/keyutils 1.5.10-1
    Linux Key Management Utilities
local/kmod 24-1
    Linux kernel module management tools and library
local/ladspa 1.13-6
    Linux Audio Developer's Simple Plugin API (LADSPA)
local/libaio 0.3.110-1
    The Linux-native asynchronous I/O facility (aio) library
local/libiec61883 1.2.0-4
    A higher level API for streaming DV, MPEG-2 and audio over Linux IEEE 1394
local/libimobiledevice 1.2.0+66+g5a85432-1
    Library that talks the protocols to support iPhone and iPod Touch devices on
    Linux
local/libraw1394 2.1.2-1
    Provides an API to the Linux IEEE1394 (FireWire) driver
local/libutil-linux 2.31.1-1
    util-linux runtime libraries
local/libva 2.1.0-1
    Video Acceleration (VA) API for Linux
local/libxshmfence 1.3-1
    a library that exposes a event API on top of Linux futexes
local/linux 4.15.6-1 (base)
    The Linux kernel and modules
local/linux-api-headers 4.14.8-1
    Kernel headers sanitized for use in userspace
local/linux-firmware 20180119.2a713be-1
    Firmware files for Linux
local/man-pages 4.15-1 (base)
    Linux man pages
local/mdadm 4.0-1 (base)
    A tool for managing/monitoring Linux md device arrays, also known as
    Software RAID
local/pacman-mirrorlist 20180224-1
    Arch Linux mirror list for use by pacman
local/util-linux 2.31.1-1 (base base-devel)
    Miscellaneous system utilities for Linux
local/v4l-utils 1.14.2-1
    Userspace tools and conversion library for Video 4 Linux
[michel@micarch Bureau]$ 

Re: [virtualbox] Démarrage bloqué

Publié : sam. 03 mars 2018, 11:23
par benjarobin
Si tu installes virtualbox-host-dkms il te faut les header du kernel. Attention de ne pas confondre avec les api header.
Sinon tu peux remplacer virtualbox-host-dkms par le paquet avec les modules déjà compilés pour le kernel par défaut.

Ton pacman.conf possède un problème, peux tu donner son contenu ?

Re: [virtualbox] Démarrage bloqué

Publié : sam. 03 mars 2018, 11:33
par lui-même

Code : Tout sélectionner

[michel@micarch Bureau]$ pacman.conf
bash: pacman.conf : commande introuvable
[michel@micarch Bureau]$ 

Re: [virtualbox] Démarrage bloqué

Publié : sam. 03 mars 2018, 11:52
par oxydium
pour pacman.conf
c'est cette manip qu'il faut faire pour avoir un retour de terminal, et la possibilité de poster le retour dans ta prochaine réponse

Code : Tout sélectionner

cat /etc/pacman.conf

Re: [virtualbox] Démarrage bloqué

Publié : sam. 03 mars 2018, 12:06
par lui-même
Alors voilà:

Code : Tout sélectionner

[michel@micarch Bureau]$ cat /etc/pacman.conf
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

#[multilib]
#Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
[revenge_repo]
SigLevel = Optional TrustAll
Server = https://raw.github.com/obrevenge/revenge_repo/master/x86_64
Server = https://downloads.sourceforge.net/project/revenge-repo/revenge_repo/x86_64
Server = ftp://ftp.heanet.ie/mirrors/sourceforge/r/re/revenge-repo/revenge_repo/x86_64
[spooky_aur]
SigLevel = Optional TrustAll
Server = https://raw.github.com/spookykidmm/spooky_aur/master/x86_64
[spooky_aur]
SigLevel = Optional TrustAll
Server = https://raw.github.com/spookykidmm/spooky_aur/master/x86_64
[michel@micarch Bureau]$ 

Re: [virtualbox] Démarrage bloqué

Publié : sam. 03 mars 2018, 12:22
par oxydium
c'est quoi ça.??
ca correspond à quoi Spooky et Revenge.??
c'est toi qui a rajouté manuellement ces entrées.??
les 5 mirroirs sont inaccessibles en +
sur une archlinux de base, ces entrées n'existent pas....

Re: [virtualbox] Démarrage bloqué

Publié : sam. 03 mars 2018, 12:42
par lui-même
Se serait une bonne chose de calmer tes petits nerfs.... :aimepas:

Re: [virtualbox] Démarrage bloqué

Publié : sam. 03 mars 2018, 13:00
par oxydium
Je pose simplement des questions pour comprendre le commznt du pourquoi a ton problème de pacman.conf..
Qui me parait pas normal (en tout cas en comparaison avec le mien). 🙄

Re: [virtualbox] Démarrage bloqué

Publié : sam. 03 mars 2018, 13:38
par waitnsea
Assure-toi avec un # pacman -Syu que ta distribution est à jour et cohérente, qu'il n'y a pas eu de MaJ partielle (ne jamais utiliser -Sy <un paquet> , mais -Syu ou -S <un paquet> pour garder un système cohérent)
Puis vérifie que tu as installé tout ceci :

Code : Tout sélectionner

community/libvirt
community/virtualbox
community/virtualbox-guest-iso
community/virtualbox-host-dkms
aur/virtualbox-ext-oracle
extra/qt5-x11extras
Un pacman.conf "standard" :

Code : Tout sélectionner

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/aria2c --allow-overwrite=true -c --file-allocation=none --log-level=error -m2 -x2 --max-file-not-found=5 -k5M --no-conf -Rtrue --summary-interval=60 -t5 -d / -o %o %u
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg   = pilot-link 
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

#[archlinuxfr]
#SigLevel = Never
#Server = http://repo.archlinux.fr/$arch

#[oracle]
#SigLevel = Never
#Server = http://linux.shikadi.net/arch/$repo/$arch/

[options]
ILoveCandy

Re: [virtualbox] Démarrage bloqué

Publié : sam. 03 mars 2018, 15:46
par benjarobin
Il manque les headers kernel dans ta liste. Mais franchement il n'est pas forcément nécessaire d'utiliser le paquet dkms, il est tout à fait possible d'utiliser les paquets déjà compilés

Re: [virtualbox] Démarrage bloqué

Publié : sam. 03 mars 2018, 16:17
par waitnsea
benjarobin a écrit : sam. 03 mars 2018, 15:46 Il manque les headers kernel dans ta liste. Mais franchement il n'est pas forcément nécessaire d'utiliser le paquet dkms, il est tout à fait possible d'utiliser les paquets déjà compilés
Très vrai, mais parfois les paquets non compilés sont mis à jour un peu plus tard que les noyaux et on a des erreurs au lancement...

Re: [virtualbox] Démarrage bloqué ( Resolu )

Publié : dim. 04 mars 2018, 16:20
par lui-même
Bonjour tous,
Après une réinstallation, le problème a disparu... :P
Merci à vous. :chinois: