[aur-general] aur/virtualbox-bin or extra/dkms is broken
Hi, I have to work, so there's no time to check log files before the weekend and I couldn't find something related at https://bugs.archlinux.org/ or https://aur.archlinux.org/packages/virtualbox-bin/ . However, maybe somebody noticed this, too. I build and installed virtualbox-bin 6.1.30-1 from AUR. The output of dkms didn't mention something to worry about, but actually no modules were installed. For testing purpose I downgraded virtualbox-bin to the previous version that worked before, but now the modules were also missing. After downgrading dkms from 3.0.2-1 to 3.0.1-1, dkms build and installed the virtualbox-bin modules again. So at the moment I have no idea if dkms is broken or if virtualbox-bin needs a fix to fit to the latest dkms package. Regards, Ralf [rocketmouse@archlinux aur]$ sudo pacman -U current/virtualbox-bin-6.1.30-1-x86_64.pkg.tar.zst [snip] warning: virtualbox-bin-6.1.30-1 is up to date -- reinstalling [snip] :: Running pre-transaction hooks... (1/2) Remove upgraded DKMS modules ==> dkms remove --no-depmod vboxhost/6.1.30_non_OSE -k 4.19.211-rt91-0.300-pussytoes ==> dkms remove --no-depmod vboxhost/6.1.30_non_OSE -k 4.19.212-rt92-0.300-securityink ==> dkms remove --no-depmod vboxhost/6.1.30_non_OSE -k 4.19.214-rt93-0.300-cornflower ==> dkms remove --no-depmod vboxhost/6.1.30_non_OSE -k 4.19.217-rt95-0.1000 ==> dkms remove --no-depmod vboxhost/6.1.30_non_OSE -k 5.15.4-arch1-1 [snip] (5/8) Install DKMS modules ==> dkms install --no-depmod vboxhost/6.1.30_non_OSE -k 4.19.217-rt95-0.1000 ==> dkms install --no-depmod vboxhost/6.1.30_non_OSE -k 5.15.4-arch1-1 ==> dkms install --no-depmod vboxhost/6.1.30_non_OSE -k 4.19.214-rt93-0.300-cornflower ==> dkms install --no-depmod vboxhost/6.1.30_non_OSE -k 4.19.212-rt92-0.300-securityink ==> dkms install --no-depmod vboxhost/6.1.30_non_OSE -k 4.19.211-rt91-0.300-pussytoes ==> depmod 4.19.212-rt92-0.300-securityink ==> depmod 4.19.211-rt91-0.300-pussytoes ==> depmod 4.19.217-rt95-0.1000 ==> depmod 4.19.214-rt93-0.300-cornflower ==> depmod 5.15.4-arch1-1 (6/8) Updating icon theme caches... (7/8) Updating the desktop file MIME type cache... (8/8) Updating the MIME type database... [rocketmouse@archlinux aur]$ sudo pacman -U old/virtualbox-bin-6.1.28-1-x86_64.pkg.tar.zst old/virtualbox{-bin-sdk,-bin-guest-iso,-ext-oracle}-6.1.28-1-any.pkg.tar.zst [snip] warning: downgrading package virtualbox-bin (6.1.30-1 => 6.1.28-1) warning: downgrading package virtualbox-bin-sdk (6.1.30-1 => 6.1.28-1) warning: downgrading package virtualbox-bin-guest-iso (6.1.30-1 => 6.1.28-1) warning: downgrading package virtualbox-ext-oracle (6.1.30-1 => 6.1.28-1) [snip] :: Running pre-transaction hooks... (1/2) Remove DKMS modules ==> dkms remove --no-depmod vboxhost/6.1.30_non_OSE -k 4.19.211-rt91-0.300-pussytoes ==> dkms remove --no-depmod vboxhost/6.1.30_non_OSE -k 4.19.212-rt92-0.300-securityink ==> dkms remove --no-depmod vboxhost/6.1.30_non_OSE -k 4.19.214-rt93-0.300-cornflower ==> dkms remove --no-depmod vboxhost/6.1.30_non_OSE -k 4.19.217-rt95-0.1000 ==> dkms remove --no-depmod vboxhost/6.1.30_non_OSE -k 5.15.4-arch1-1 [snip] (5/8) Install DKMS modules ==> dkms install --no-depmod vboxhost/6.1.28_non_OSE -k 5.15.4-arch1-1 ==> dkms install --no-depmod vboxhost/6.1.28_non_OSE -k 4.19.211-rt91-0.300-pussytoes ==> dkms install --no-depmod vboxhost/6.1.28_non_OSE -k 4.19.214-rt93-0.300-cornflower ==> dkms install --no-depmod vboxhost/6.1.28_non_OSE -k 4.19.217-rt95-0.1000 ==> dkms install --no-depmod vboxhost/6.1.28_non_OSE -k 4.19.212-rt92-0.300-securityink ==> depmod 4.19.212-rt92-0.300-securityink ==> depmod 4.19.211-rt91-0.300-pussytoes ==> depmod 4.19.217-rt95-0.1000 ==> depmod 4.19.214-rt93-0.300-cornflower ==> depmod 5.15.4-arch1-1 (6/8) Updating icon theme caches... (7/8) Updating the desktop file MIME type cache... (8/8) Updating the MIME type database... [rocketmouse@archlinux aur]$ grep 3.0.2 /var/log/pacman.log | grep dkms [2021-11-21T13:30:15+0100] [ALPM] upgraded dkms (3.0.1-1 -> 3.0.2-1) [rocketmouse@archlinux aur]$ sudo downgrade dkms [snip] warning: downgrading package dkms (3.0.2-1 => 3.0.1-1) [snip] [rocketmouse@archlinux aur]$ sudo pacman -U current/virtualbox-* [snip] Packages (4) virtualbox-bin-6.1.30-1 virtualbox-bin-guest-iso-6.1.30-1 virtualbox-bin-sdk-6.1.30-1 virtualbox-ext-oracle-6.1.30-1 [snip] :: Running pre-transaction hooks... (1/2) Remove DKMS modules ==> dkms remove --no-depmod vboxhost/6.1.28_non_OSE -k 4.19.211-rt91-0.300-pussytoes rmdir: failed to remove '': No such file or directory rmdir: failed to remove '': No such file or directory rmdir: failed to remove '': No such file or directory ==> dkms remove --no-depmod vboxhost/6.1.28_non_OSE -k 4.19.212-rt92-0.300-securityink rmdir: failed to remove '': No such file or directory rmdir: failed to remove '': No such file or directory rmdir: failed to remove '': No such file or directory ==> dkms remove --no-depmod vboxhost/6.1.28_non_OSE -k 4.19.214-rt93-0.300-cornflower rmdir: failed to remove '': No such file or directory rmdir: failed to remove '': No such file or directory rmdir: failed to remove '': No such file or directory ==> dkms remove --no-depmod vboxhost/6.1.28_non_OSE -k 4.19.217-rt95-0.1000 rmdir: failed to remove '': No such file or directory rmdir: failed to remove '': No such file or directory rmdir: failed to remove '': No such file or directory ==> dkms remove --no-depmod vboxhost/6.1.28_non_OSE -k 5.15.4-arch1-1 rmdir: failed to remove '': No such file or directory rmdir: failed to remove '': No such file or directory rmdir: failed to remove '': No such file or directory [snip] (5/8) Install DKMS modules ==> dkms install --no-depmod vboxhost/6.1.30_non_OSE -k 4.19.217-rt95-0.1000 ==> dkms install --no-depmod vboxhost/6.1.30_non_OSE -k 5.15.4-arch1-1 ==> dkms install --no-depmod vboxhost/6.1.30_non_OSE -k 4.19.214-rt93-0.300-cornflower ==> dkms install --no-depmod vboxhost/6.1.30_non_OSE -k 4.19.212-rt92-0.300-securityink ==> dkms install --no-depmod vboxhost/6.1.30_non_OSE -k 4.19.211-rt91-0.300-pussytoes ==> depmod 4.19.212-rt92-0.300-securityink ==> depmod 4.19.211-rt91-0.300-pussytoes ==> depmod 4.19.217-rt95-0.1000 ==> depmod 4.19.214-rt93-0.300-cornflower ==> depmod 5.15.4-arch1-1 (6/8) Updating icon theme caches... (7/8) Updating the desktop file MIME type cache... (8/8) Updating the MIME type database...
On 11/25/21 12:32 AM, Ralf Mardorf via aur-general wrote:
Hi,
I have to work, so there's no time to check log files before the weekend and I couldn't find something related at https://bugs.archlinux.org/ or https://aur.archlinux.org/packages/virtualbox-bin/ . However, maybe somebody noticed this, too.
I build and installed virtualbox-bin 6.1.30-1 from AUR. The output of dkms didn't mention something to worry about, but actually no modules were installed. For testing purpose I downgraded virtualbox-bin to the previous version that worked before, but now the modules were also missing.
After downgrading dkms from 3.0.2-1 to 3.0.1-1, dkms build and installed the virtualbox-bin modules again.
So at the moment I have no idea if dkms is broken or if virtualbox-bin needs a fix to fit to the latest dkms package.
Regards, Ralf
Passed along to the vbox-users-community@lists.sourceforge.net list -- David C. Rankin, J.D.,P.E.
On Fri, 26 Nov 2021 12:17:10 -0600, David C. Rankin wrote:
Passed along to the vbox-users-community@lists.sourceforge.net list
Thank you David :). I'm not subscribed. Actually I tend to migrate to QEMU/KVM after I have done my very first test, https://i.imgur.com/xUjIoa4.png . OTOH VirtualBox has some pros, too, so maybe I'll subscribe to this mailing list. FWIW https://sourceforge.net/p/vbox-users/mailman/message/37391555/ Regards, Ralf
On 11/26/21 12:40 PM, Ralf Mardorf via aur-general wrote:
On Fri, 26 Nov 2021 12:17:10 -0600, David C. Rankin wrote:
Passed along to the vbox-users-community@lists.sourceforge.net list
Thank you David :).
I'm not subscribed. Actually I tend to migrate to QEMU/KVM after I have done my very first test, https://i.imgur.com/xUjIoa4.png . OTOH VirtualBox has some pros, too, so maybe I'll subscribe to this mailing list.
Ironically, that is been my intent as well. I have my qcow2 Arch guest image as well I've been working with, but I always end up back with vbox just from a convenience and already learned standpoint. I access all guest headless over the LAN and use rdesktop to connect to the running guests. I know KVM/QEMU will do the same thing, I just haven't sat down and made friends with it to the same extent -- yet.
FWIWb https://sourceforge.net/p/vbox-users/mailman/message/37391555/
Still no replies. I saw some funny behavior with 5.15.2 and modesetting, but that disappeared with the kernel updates to 5.15.3, and in the last update to 5.15.5 things appeared normal with one box using 3.0.1 dkms and the other using 3.0.2. Arch host with Arch/SuSE and Windows guests. Host builds both current and LTS kernel modules. Frustrating when the gremlins are all but impossible to identify and seem to appear and disappear at will. (adavistic gremlins?) I'll let you know if anything come back from the vbox list and follow up if I see any similar behavior and something that might help. -- David C. Rankin, J.D.,P.E.
On 11/25/21 12:32 AM, Ralf Mardorf via aur-general wrote:
After downgrading dkms from 3.0.2-1 to 3.0.1-1, dkms build and installed the virtualbox-bin modules again.
So at the moment I have no idea if dkms is broken or if virtualbox-bin needs a fix to fit to the latest dkms package.
Investigation further, I downgraded dkms to 3.0.1 on one box based on your note and than upgraded the system to Linux-5.15.5. All modules for virtualbox-bin built fine with dkms. Second test, installed vbox-bin 6.1.30 on another box (upgrade from 6.1.28) and then did the system update to 5.15.5. All modules built here to with dkms 3.0.2 -- so I'm a bit confused. So you are saying after upgrade with dkms 3.0.2 installed no modules were either a) built, or b) configured to be loaded on boot properly by dkms? After the upgrade with dkms 3.0.2, I found they were both built and installed, e.g. after upgrade and reboot: $ lsmod | grep vbox vboxnetflt 32768 0 vboxnetadp 28672 0 vboxdrv 544768 2 vboxnetadp,vboxnetflt Now I also got the messages like during virtualbox-bin updates from the testbuild versions I had: :: Running pre-transaction hooks... (1/1) Remove DKMS modules ==> dkms remove --no-depmod vboxhost/6.1.29_non_OSE -k 5.10.81-1-lts rmdir: failed to remove '': No such file or directory rmdir: failed to remove '': No such file or directory rmdir: failed to remove '': No such file or directory ==> dkms remove --no-depmod vboxhost/6.1.29_non_OSE -k 5.15.4-arch1-1 rmdir: failed to remove '': No such file or directory rmdir: failed to remove '': No such file or directory rmdir: failed to remove '': No such file or directory ==> depmod 5.15.4-arch1-1 ==> depmod 5.10.81-1-lts But those are not troubling are not that troubling. A couple of versions back dkms was failing due to not removing old version folders under a given kernel, so I just took those as being checks for any of the older versions in response to that. I'll let you know if I get anything back from the vbox list. -- David C. Rankin, J.D.,P.E.
1. important to me are 4.19 rt patched kernels 2. however, IIRC the modules for the 5+ kernels were missing, too, but I might be mistaken 3. I'm building 4.19 rt patched kernels myself, but install "linux" from official repositories, too 4. [rocketmouse@archlinux ~]$ pacman -Q linux linux 5.15.4.arch1-1 [rocketmouse@archlinux ~]$ /bin/ls -l /lib/modules/ total 28 drwxr-xr-x 5 root root 4096 Nov 25 07:02 4.19.211-rt91-0.300-pussytoes drwxr-xr-x 5 root root 4096 Nov 25 07:02 4.19.212-rt92-0.300-securityink drwxr-xr-x 5 root root 4096 Nov 25 07:02 4.19.214-rt93-0.300-cornflower drwxr-xr-x 5 root root 4096 Nov 25 07:02 4.19.217-rt95-0.1000 drwxr-xr-x 3 root root 4096 Sep 10 07:58 5.13.13-arch1-1 drwxr-xr-x 3 root root 4096 Sep 14 08:30 5.14.2-arch1-2 drwxr-xr-x 5 root root 4096 Nov 25 07:02 5.15.4-arch1-1 At least automagically removing outdated/removed 5.n kernels fails. 4.19 kernels are well.
participants (2)
-
David C. Rankin
-
Ralf Mardorf