[arch-general] virtualbox-host-dkms
Hi :) dkms can't rebuild deleted vbox modules for the "linux" kernel # dkms install vboxhost/$(pacman -Q virtualbox|awk {'print $2'}|sed 's/\-.\+//') -k $(uname -rm|sed 's/\ /\//') Module vboxhost/4.2.8 already installed on kernel 3.7.10-1-ARCH/x86_64 # ls /usr/lib/modules/extramodules-3.7-ARCH/ version and for linux-rt I get the same error # dkms install vboxhost/$(pacman -Q virtualbox|awk {'print $2'}|sed 's/\-.\+//') -k 3.6.11-rt30-1-rt/x86_64 Module vboxhost/4.2.8 already installed on kernel 3.6.11-rt30-1-rt/x86_64 but there never were modules installed for the kernel-rt. Regards, Ralf
On 03/08/13 18:04, Ralf Mardorf wrote:
Hi :)
dkms can't rebuild deleted vbox modules for the "linux" kernel
# dkms install vboxhost/$(pacman -Q virtualbox|awk {'print $2'}|sed 's/\-.\+//') -k $(uname -rm|sed 's/\ /\//') Module vboxhost/4.2.8 already installed on kernel 3.7.10-1-ARCH/x86_64
# ls /usr/lib/modules/extramodules-3.7-ARCH/ version
and for linux-rt I get the same error
# dkms install vboxhost/$(pacman -Q virtualbox|awk {'print $2'}|sed 's/\-.\+//') -k 3.6.11-rt30-1-rt/x86_64 Module vboxhost/4.2.8 already installed on kernel 3.6.11-rt30-1-rt/x86_64
but there never were modules installed for the kernel-rt.
Regards, Ralf
I don't know if this is because of I'm using a custom kernel, but on my system Virtualbox modules are located under /var/lib/dkms/vboxhost/ In you case they should be: /var/lib/dkms/vboxhost/4.2.8/3.7.10-1-ARCH/x86_64/module/ or /var/lib/dkms/vboxhost/4.2.8/3.6.11-rt30-1-rt/x86_64/module/
On Fri, 2013-03-08 at 13:34 +0100, Ralf Mardorf wrote:
Hi :)
dkms can't rebuild deleted vbox modules for the "linux" kernel
# dkms install vboxhost/$(pacman -Q virtualbox|awk {'print $2'}|sed 's/\-.\+//') -k $(uname -rm|sed 's/\ /\//') Module vboxhost/4.2.8 already installed on kernel 3.7.10-1-ARCH/x86_64
# ls /usr/lib/modules/extramodules-3.7-ARCH/ version
and for linux-rt I get the same error
# dkms install vboxhost/$(pacman -Q virtualbox|awk {'print $2'}|sed 's/\-.\+//') -k 3.6.11-rt30-1-rt/x86_64 Module vboxhost/4.2.8 already installed on kernel 3.6.11-rt30-1-rt/x86_64
but there never were modules installed for the kernel-rt.
Regards, Ralf
Try 'dkms remove vboxhost/4.2.8 --all' and attempt to build again ('dkms autoinstall' should do the trick for this). -- Maxime
On Fri, 2013-03-08 at 13:34 +0100, Ralf Mardorf wrote:
Hi :)
dkms can't rebuild deleted vbox modules for the "linux" kernel
# dkms install vboxhost/$(pacman -Q virtualbox|awk {'print $2'}|sed 's/\-.\+//') -k $(uname -rm|sed 's/\ /\//') Module vboxhost/4.2.8 already installed on kernel 3.7.10-1-ARCH/x86_64
# ls /usr/lib/modules/extramodules-3.7-ARCH/ version
and for linux-rt I get the same error
# dkms install vboxhost/$(pacman -Q virtualbox|awk {'print $2'}|sed 's/\-.\+//') -k 3.6.11-rt30-1-rt/x86_64 Module vboxhost/4.2.8 already installed on kernel 3.6.11-rt30-1-rt/x86_64
but there never were modules installed for the kernel-rt.
Regards, Ralf
Also, modules are not in extramodules anymore, they are in '/usr/lib/modules/<your kernel>/kernel/misc/' now. -- Maxime
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.
participants (3)
-
Maxime Gauduin
-
Ralf Mardorf
-
Sudaraka Wijesinghe