You are not logged in.
well, i have installed the latest version of linux-lts kernel but when I reboot and run "modprobe vboxdrv" it's returns a error
so who can help me?
Last edited by wolfito-sam (2022-04-09 15:44:13)
Offline
"a error" doesn't tell us much. Always post complete errors.
If I had to guess, did you update the kernel and not reboot?
Edit: Or, more likely, you didn't install or build the driver for that kernel?
Last edited by Scimmia (2022-04-06 15:11:33)
Offline
I actually reboot, but when I digit `modprobe vboxdrv`:
`modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.15.32-1-lts `
the same happens with `sudo modprobe vboxdrv`.
Offline
OK, so how did you install that module?
Offline
sudo pacman -S virtualbox virtualbox-host-dkms
I followed the Arch wiki to install https://wiki.archlinux.org/title/VirtualBox
Offline
Ok, so when you installed that, did the module build successfully? Did you install the optional deps that you would need when pacman told you about them?
Offline
I run the pacman man again:
warning: virtualbox-6.1.32-2 is up to date -- reinstalling
warning: virtualbox-host-dkms-6.1.32-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (2) virtualbox-6.1.32-2 virtualbox-host-dkms-6.1.32-2
Total Installed Size: 172.79 MiB
Net Upgrade Size: 0.00 MiB
So nothing about vboxdrv
Offline
The dkms hook builds it after that.
Offline
I will read the whole wiki and try something else, thanks for try help.
Offline
Try:
sudo modprobe vboxdrv
Offline
Try:
sudo modprobe vboxdrv
I tried it but the same error appear.
Offline
Post the output of:
pacman -Qi dkmsOffline
Post the output of:
pacman -Qi dkms
Name : dkms
Version : 3.0.3-1
Description : Dynamic Kernel Modules System
Architecture : any
URL : https://github.com/dell/dkms
Licenses : GPL2
Groups : None
Provides : None
Depends On : coreutils bash gawk sed kmod gcc make patch
Optional Deps : linux-headers: build modules against the Arch kernel [installed]
linux-lts-headers: build modules against the LTS kernel
linux-zen-headers: build modules against the ZEN kernel
linux-hardened-headers: build modules against the HARDENED kernel
Required By : virtualbox-host-dkms
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 104.35 KiB
Packager : Sébastien Luttringer <seblu@seblu.net>
Build Date : Fri 17 Dec 2021 07:25:15 AM -03
Install Date : Wed 06 Apr 2022 11:30:28 AM -03
Install Reason : Installed as a dependency for another package
Install Script : Yes
Validated By : Signature
Offline
i have installed the latest version of linux-lts kernel
You need to install the appropriate kernel headers package.
Optional Deps : linux-headers: build modules against the Arch kernel [installed] linux-lts-headers: build modules against the LTS kernel linux-zen-headers: build modules against the ZEN kernel linux-hardened-headers: build modules against the HARDENED kernel
Offline
Problem solved! Thanks nl6720
for people who will see this post after and will have the same problem:
I tried update linux-lts kernel using this command:
sudo pacman -S linux-lts linux-headers
but what I actually needed to do is:
sudo pacman -S linux-lts linux-lts-headers
well, sometimes we need to make mistakes to avoid others.
Offline
All you actually needed to do was install the linux-lts-headers package - you already had the LTS kernel installed.
Offline
Please remember to mark your thread [SOLVED] (edit the title of your first post).
Offline