[arch-general] virtualbox-host-dkms

Ralf Mardorf ralf.mardorf at alice-dsl.net
Fri Mar 8 10:21:38 EST 2013


Thank you Maxime :)

you solved my problem, resp. there never was a problem.

On Fri, 2013-03-08 at 14:53 +0100, Maxime Gauduin wrote:
> Also, modules are not in extramodules anymore, they are in
> '/usr/lib/modules/<your kernel>/kernel/misc/' now.

Indeed in /lib/modules/3.7.10-1-ARCH/kernel/misc/
and /lib/modules/3.6.11-rt30-1-rt/kernel/misc/ there are already the
vbox kernel modules, but I deleted modules in /extramodules, so I guess
I had modules in /misc and /extramodules. This might cause issues, but I
didn't run VBox by Arch until now, I also didn't enable the mkinitcpio
hook until now.

The package virtualbox-host-modules put the modules into /extramodules.

$ pacman -Qi virtualbox
Depends On     : virtualbox-host-modules

$ pacman -Ql virtualbox-host-modules
virtualbox-host-modules /usr/lib/modules/extramodules-3.7-ARCH/vboxdrv.ko.gz
virtualbox-host-modules /usr/lib/modules/extramodules-3.7-ARCH/vboxnetadp.ko.gz
virtualbox-host-modules /usr/lib/modules/extramodules-3.7-ARCH/vboxnetflt.ko.gz
virtualbox-host-modules /usr/lib/modules/extramodules-3.7-ARCH/vboxpci.ko.gz

On Fri, 2013-03-08 at 14:48 +0100, Maxime Gauduin wrote:
> Try 'dkms remove vboxhost/4.2.8 --all' and attempt to build
> again('dkms autoinstall' should do the trick for this).

# dkms remove vboxhost/4.2.8 --all

Removed the modules from /kernel/misc/ :).

# dkms autoinstall

Didn't work.

# dkms install vboxhost/$(pacman -Q virtualbox|awk {'print $2'}|sed 's/\-.\+//') -k $(uname -rm|sed 's/\ /\//')
# dkms install vboxhost/$(pacman -Q virtualbox|awk {'print $2'}|sed 's/\-.\+//') -k 3.6.11-rt30-1-rt/x86_64

Rebuild the modules. So there never was something broken, I just wasn't aware that the modules now are in /misc.

Regards,
Ralf

PS: On Ubuntu they are in different places too, I found them in
/run/media/rocketmouse/q/lib/modules/3.6.5-rt14/updates/dkms/
for an installed kernel and in
/run/media/rocketmouse/q/lib/modules/3.5.0-23-generic/misc/
for a kernel that is removed, but they're missing for
/run/media/rocketmouse/q/lib/modules/3.5.0-18-lowlatency
another installed kernel.



More information about the arch-general mailing list