You are not logged in.

#1 2018-05-03 16:01:57

Aklo09
Member
Registered: 2017-05-17
Posts: 9

[Solved] Kernel 4.16 and vboxguest

While upgrading to 4.16.6-1 kernel I got an error from a pacman hook that (I suppose) should have rebuilt vboxguest kernel module.

I'm sorry I don't have pacman output but the error was exactly like running this:

 
~ > dkms install vboxguest/5.2.10_OSE
Error!  The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.  This indicates that it should not be built.

vboxguest's dkms.conf contains:

....
# Build only for kernels before Linux 4.16
BUILD_EXCLUSIVE_KERNEL="^(4\.[0-9]\..*|4\.1[0-5]\..*|3\..*)"
....

Now it looks like vboxguest module has been included into kernel source tree starting with kernel 4.16.
(see https://www.phoronix.com/scan.php?page= … vboxguest)


At the moment I have:

~ > dkms status
vboxguest, 5.2.10_OSE: added
vboxsf-4.16, 5.2.10_OSE, 4.16.6-1-ARCH, x86_64: installed

Should I remove the vboxguest module?

thanks
Andrea


edit: I mean : :"should I remove vboxguest from dkms lists with the command 'dksm remove' ?"

Last edited by Aklo09 (2018-05-04 07:15:46)

Offline

#2 2018-05-03 16:08:18

Slithery
Forum Moderator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 2,996

Re: [Solved] Kernel 4.16 and vboxguest

Removing the virtualbox-guest-dkms package should take care of that for you.

PS - The pacman output can be found at /var/log/pacman.log.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2018-05-03 16:09:53

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 7,086

Re: [Solved] Kernel 4.16 and vboxguest

But you don't want to do that as you'd miss the vboxsf module.

I don't see a problem here.

Online

#4 2018-05-03 16:15:18

Slithery
Forum Moderator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 2,996

Re: [Solved] Kernel 4.16 and vboxguest

Scimmia wrote:

But you don't want to do that as you'd miss the vboxsf module.

You're correct, of course. There is no problem apart from Error! being a bit too harsh for just a friendly warning message  smile
It's been such a long time since I used VirtualBox that I'd forgotten that the guest additions contained more than just the now-merged DRM/KMS and vboxguest kernel modules.

If the OP doesn't use the shared folder functionality (I know I didn't) then the package can be safely removed.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2018-05-03 16:28:44

Aklo09
Member
Registered: 2017-05-17
Posts: 9

Re: [Solved] Kernel 4.16 and vboxguest

Thank you for the replies.
I don't know if there's a problem but the error message during kernel upgrade was a bit scary.

The wiki page on dkms seems to suggest to remove old module with a "dkms remove" but after some research on the subject I'm still unsure .

Offline

#6 2018-05-04 07:15:15

Aklo09
Member
Registered: 2017-05-17
Posts: 9

Re: [Solved] Kernel 4.16 and vboxguest

Module removed from dkms tree:

~ > dkms status
vboxguest, 5.2.10_OSE: added
vboxsf-4.16, 5.2.10_OSE, 4.16.6-1-ARCH, x86_64: installed
~ > 
~ > dkms remove vboxguest/5.2.10_OSE --all

------------------------------
Deleting module version: 5.2.10_OSE
completely from the DKMS tree.
------------------------------
Done.

and after a reboot:

~ > lsmod | grep vbox
vboxvideo              45056  3
ttm                   122880  1 vboxvideo
drm_kms_helper        200704  1 vboxvideo
drm                   466944  6 vboxvideo,ttm,drm_kms_helper
vboxsf                 32768  0
vboxguest              40960  5 vboxsf

Problem(?) solved.


edit:
Should vboxguest be removed from virtualbox-guest-dkms package?

Last edited by Aklo09 (2018-05-04 07:18:19)

Offline

#7 2018-05-04 08:08:03

progandy
Member
Registered: 2012-05-17
Posts: 3,195

Re: [Solved] Kernel 4.16 and vboxguest

Aklo09 wrote:

edit:
Should vboxguest be removed from virtualbox-guest-dkms package?

There are still lts kernels that do not include the module, so I think not.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB