You are not logged in.

#1 2020-01-05 14:27:17

Son_Of_Diablo
Member
Registered: 2020-01-05
Posts: 12

Issues with Arch as VirtualBox Guest

Hello,

I have now spent about 3 hours trying to install VirtualBox Guest Utils/Additions but whatever I do I keep getting one issue or another...

The only issue I'm running into at this moment is that I can't mount shared folders.

I have tried installing from:
The Guest Additions CD Image provided by the VirtualBox host installation.
The Guest Additions CD Image from https://download.virtualbox.org/virtualbox/6.1.0.
I have tried virtualbox-guest-dkms (with and without headers).
Also tried virtualbox-guest-modules-arch.

Currently I have the additions installed from the CD Image I got from download.virtualbox.org and pretty much everything seems to work.
Though the vboxservice.service doesn't exists and I can't mount my shared folder (getting this error: /usr/bin/mount.vboxsf: mounting failed with the error: No such device)

I have read that it's not possible to automount shared folders, but I should be able to mount them manually with the mount command right?

Any help would be greatly appreciated!
And please let me know if there is any other info you will need to help me out.


uname -a:
Linux ArchLinux 4.19.92-1-lts #1 SMP Tue, 31 Dec 2019 17:20:08 +0000 x86_64 GNU/Linux

Host OS is Win10

Offline

#2 2020-01-05 16:07:44

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,571

Re: Issues with Arch as VirtualBox Guest

Just wondering if you've had a look at this.
virtualbox-guest-utils looks like what you need.

Offline

#3 2020-01-05 16:21:52

Son_Of_Diablo
Member
Registered: 2020-01-05
Posts: 12

Re: Issues with Arch as VirtualBox Guest

d_fajardo wrote:

Just wondering if you've had a look at this.
virtualbox-guest-utils looks like what you need.

Yes the Arch Linux Wiki guide was the first things I looked at, then I ran into issues and tried different methods (as explained in the OP).
I installed virtualbox-guest-utils when trying virtualbox-guest-dkms and virtualbox-guest-modules-arch, however when installing from the iso I can't install the utils as it conflicts with the install from the iso.

Offline

#4 2020-01-05 16:47:42

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,571

Re: Issues with Arch as VirtualBox Guest

Son_Of_Diablo wrote:

Currently I have the additions installed from the CD Image I got from download.virtualbox.org

This is not really the Arch way of doing things. It is always best to use pacman, AUR or creating your own PKGBUILD to install things. I would think the virtual-guest-utils would be sufficient for what you're trying to achieve.
I would suggest uninstalling the Guest Additions you got from Virtualbox.
After that have another good read of  the Wiki. There's a whole paragraph there about shared folder.

Offline

#5 2020-01-05 16:47:45

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Issues with Arch as VirtualBox Guest

Did you install the correct packages for your kernel?

As you are using the LTS kernel you need to install virtualbox-guest-dkms and linux-lts-headers.


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

#6 2020-01-05 17:48:48

Son_Of_Diablo
Member
Registered: 2020-01-05
Posts: 12

Re: Issues with Arch as VirtualBox Guest

I have uninstalled the Additions from the iso and installed the following:

community/virtualbox-guest-dkms 6.1.0-1
community/virtualbox-guest-utils 6.1.0-1
core/linux-lts-headers 4.19.92-1

systemctl status vboxservice.service returns the following:

● vboxservice.service - VirtualBox Guest Service
     Loaded: loaded (/usr/lib/systemd/system/vboxservice.service; enabled; vendor preset: disabled)
     Active: active (running) since Sun 2020-01-05 18:40:57 CET; 4min 28s ago
    Process: 280 ExecStartPre=/usr/bin/modprobe vboxguest (code=exited, status=0/SUCCESS)
    Process: 282 ExecStartPre=/usr/bin/modprobe vboxvideo (code=exited, status=0/SUCCESS)
    Process: 283 ExecStartPre=/usr/bin/modprobe vboxsf (code=exited, status=1/FAILURE)
   Main PID: 284 (VBoxService)
      Tasks: 9 (limit: 2373)
     Memory: 2.8M
     CGroup: /system.slice/vboxservice.service
             └─284 /usr/bin/VBoxService -f

Jan 05 18:40:57 ArchLinux systemd[1]: Started VirtualBox Guest Service.
Jan 05 18:40:58 ArchLinux VBoxService[284]: 17:40:58.221158 main     VBoxService 6.1.0 r135406 (verbosity: 0) linux.amd64 (Dec 12 2019 21:11:25) release log
Jan 05 18:40:58 ArchLinux VBoxService[284]: 17:40:58.221168 main     Log opened 2020-01-05T17:40:58.179657000Z
Jan 05 18:40:58 ArchLinux VBoxService[284]: 17:40:58.221224 main     OS Product: Linux
Jan 05 18:40:58 ArchLinux VBoxService[284]: 17:40:58.221232 main     OS Release: 4.19.92-1-lts
Jan 05 18:40:58 ArchLinux VBoxService[284]: 17:40:58.221237 main     OS Version: #1 SMP Tue, 31 Dec 2019 17:20:08 +0000
Jan 05 18:40:58 ArchLinux VBoxService[284]: 17:40:58.221242 main     Executable: /usr/bin/VBoxService
Jan 05 18:40:58 ArchLinux VBoxService[284]: 17:40:58.221243 main     Process ID: 284
Jan 05 18:40:58 ArchLinux VBoxService[284]: 17:40:58.221244 main     Package type: LINUX_64BITS_GENERIC (OSE)
Jan 05 18:40:58 ArchLinux VBoxService[284]: 17:40:58.222429 main     6.1.0 r135406 started. Verbose level = 0

Manually running modprobe vboxsf returns the following:

modprobe: ERROR: could not insert 'vboxsf': Unknown symbol in module, or unknown parameter (see dmesg)

And finally trying to mind the shared folder:

sudo mount -t vboxsf -o gid=vboxsf Folder_Name /media/sf_Folder_Name
mount: /media/sf_Folder_Name: unknown filesystem type 'vboxsf'.

Offline

#7 2020-01-05 17:59:31

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,571

Re: Issues with Arch as VirtualBox Guest

Is the user in vboxsf user group? Also check dmesg as was suggested.

Offline

#8 2020-01-05 18:15:26

Son_Of_Diablo
Member
Registered: 2020-01-05
Posts: 12

Re: Issues with Arch as VirtualBox Guest

My user is member of the vboxsf group, but I'm running the command with sudo, does that mean that root has to be in the group too?

dmesg:

[ 2022.851331] audit: type=1101 audit(1578248058.584:81): pid=15318 uid=1000 auid=1000 ses=2 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="sonofdiablo" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 2022.852454] audit: type=1110 audit(1578248058.584:82): pid=15318 uid=0 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_unix,pam_permit,pam_env acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 2022.860921] audit: type=1105 audit(1578248058.594:83): pid=15318 uid=0 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 2022.880458] vboxsf: Unknown symbol VBoxGuest_RTLogBackdoorPrintf (err -2)
[ 2022.880555] vboxsf: Unknown symbol VBoxGuestIDC (err -2)
[ 2022.880593] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexRequest (err -2)
[ 2022.880619] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexRelease (err -2)
[ 2022.880647] vboxsf: Unknown symbol VBoxGuest_RTStrNLen (err -2)
[ 2022.880674] vboxsf: Unknown symbol VBoxGuest_RTLogRelGetDefaultInstanceEx (err -2)
[ 2022.880700] vboxsf: Unknown symbol VBoxGuest_RTStrCopy (err -2)
[ 2022.880725] vboxsf: Unknown symbol VBoxGuest_RTErrConvertToErrno (err -2)
[ 2022.880758] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexCreate (err -2)
[ 2022.880780] vboxsf: Unknown symbol VBoxGuest_RTSemFastMutexDestroy (err -2)
[ 2022.880835] vboxsf: Unknown symbol VBoxGuest_RTMemContFree (err -2)
[ 2022.880864] vboxsf: Unknown symbol VBoxGuest_RTSemMutexRelease (err -2)
[ 2022.880914] vboxsf: Unknown symbol VBoxGuest_rtR0MemObjLinuxVirtToPage (err -2)
[ 2022.880941] vboxsf: Unknown symbol VBoxGuest_RTAssertShouldPanic (err -2)
[ 2022.880967] vboxsf: Unknown symbol VBoxGuest_RTLogLoggerEx (err -2)
[ 2022.880992] vboxsf: Unknown symbol VBoxGuest_RTMemContAlloc (err -2)
[ 2022.881015] vboxsf: Unknown symbol VBoxGuest_RTSemMutexRequest (err -2)
[ 2022.881036] vboxsf: Unknown symbol VBoxGuest_RTSemMutexCreate (err -2)
[ 2022.881057] vboxsf: Unknown symbol VBoxGuest_RTSemMutexDestroy (err -2)
[ 2022.881085] vboxsf: Unknown symbol VBoxGuest_RTAssertMsg1Weak (err -2)
[ 2022.881127] vboxsf: Unknown symbol VBoxGuest_RTAssertMsg2Weak (err -2)
[ 2022.912437] audit: type=1106 audit(1578248058.644:84): pid=15318 uid=0 auid=1000 ses=2 msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 2022.912444] audit: type=1104 audit(1578248058.644:85): pid=15318 uid=0 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_unix,pam_permit,pam_env acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'

Offline

#9 2020-01-05 18:39:02

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,571

Re: Issues with Arch as VirtualBox Guest

Are you still using vboxservice.service? it says in the wiki that if you are using virtualbox-guest-dkms, you should be using systemd-modules-load.service instead.

Offline

#10 2020-01-05 19:08:38

Son_Of_Diablo
Member
Registered: 2020-01-05
Posts: 12

Re: Issues with Arch as VirtualBox Guest

d_fajardo wrote:

Are you still using vboxservice.service? it says in the wiki that if you are using virtualbox-guest-dkms, you should be using systemd-modules-load.service instead.

I seem to have missed that part of the wiki.. I stopped and disabled vboxservice.service then restarted the box.



Runnin systemctl status systemd-modules-load.service gives the following:

Alias tip: sc-status systemd-modules-load.service
● systemd-modules-load.service - Load Kernel Modules
     Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled)
     Active: active (exited) since Sun 2020-01-05 20:02:06 CET; 2min 39s ago
       Docs: man:systemd-modules-load.service(8)
             man:modules-load.d(5)
    Process: 190 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=0/SUCCESS)
   Main PID: 190 (code=exited, status=0/SUCCESS)

Jan 05 20:02:05 ArchLinux systemd-modules-load[190]: Inserted module 'crypto_user'
Jan 05 20:02:05 ArchLinux systemd-modules-load[190]: Inserted module 'vboxguest'
Jan 05 20:02:05 ArchLinux systemd-modules-load[190]: Failed to insert module 'vboxsf': No such file or directory
Jan 05 20:02:06 ArchLinux systemd-modules-load[190]: Inserted module 'vboxvideo'
Jan 05 20:02:06 ArchLinux systemd[1]: Started Load Kernel Modules.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

And modprobe vboxsf gives the same result.

I also have to run VBoxClient(-All) to enable clipboard sync and such.

Offline

#11 2020-01-05 19:11:32

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: Issues with Arch as VirtualBox Guest

You have the headers installed for the kernel you're running? Did the module actually build on install/update?

Offline

#12 2020-01-05 19:15:18

Son_Of_Diablo
Member
Registered: 2020-01-05
Posts: 12

Re: Issues with Arch as VirtualBox Guest

Scimmia wrote:

You have the headers installed for the kernel you're running? Did the module actually build on install/update?

I believe so.. I can't actually remember.

Is there a log I can check?

running dkms status gives me this:

vboxsf, 6.1.0_OSE: added

Offline

#13 2020-01-05 19:44:50

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,571

Re: Issues with Arch as VirtualBox Guest

What's the output of pacman -Q linux-headers? Just to make sure you have the headers.

Offline

#14 2020-01-05 19:45:56

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: Issues with Arch as VirtualBox Guest

That's not going to help they're not using the "linux" kernel.

Offline

#15 2020-01-05 19:56:16

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,571

Re: Issues with Arch as VirtualBox Guest

Yes of course. Completely forgot. And it looks like linux-lts-headers 4.19.92-1 is installed.

Failed to insert module 'vboxsf': No such file or directory

Still looks like vboxsf is not loading properly. I'm a bit at an end as I'm not familiar with dkms.

Offline

#16 2020-01-05 20:19:35

loqs
Member
Registered: 2014-03-06
Posts: 17,440

Re: Issues with Arch as VirtualBox Guest

What is the output of the following:

pacman -Q virtualbox-guest-dkms linux-lts-headers
# dkms status

Offline

#17 2020-01-06 12:20:43

Son_Of_Diablo
Member
Registered: 2020-01-05
Posts: 12

Re: Issues with Arch as VirtualBox Guest

I apologize for the late response

Here is the output of the two commands:

pacman -Q virtualbox-guest-dkms linux-lts-headers
virtualbox-guest-dkms 6.1.0-1
linux-lts-headers 4.19.92-1
sudo dkms status
vboxsf, 6.1.0_OSE: added

Also just for good measure, the service is also throwing an error on inserting the vboxsf module.

systemctl status systemd-modules-load.service
● systemd-modules-load.service - Load Kernel Modules
     Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled)
     Active: active (exited) since Mon 2020-01-06 13:10:50 CET; 3min 30s ago
       Docs: man:systemd-modules-load.service(8)
             man:modules-load.d(5)
    Process: 190 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=0/SUCCESS)
   Main PID: 190 (code=exited, status=0/SUCCESS)

Jan 06 13:10:49 ArchLinux systemd-modules-load[190]: Inserted module 'crypto_user'
Jan 06 13:10:49 ArchLinux systemd-modules-load[190]: Inserted module 'vboxguest'
Jan 06 13:10:49 ArchLinux systemd-modules-load[190]: Failed to insert module 'vboxsf': No such file or directory
Jan 06 13:10:50 ArchLinux systemd-modules-load[190]: Inserted module 'vboxvideo'
Jan 06 13:10:50 ArchLinux systemd[1]: Started Load Kernel Modules.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

Also, if it has any impact on anything, I'm using Awesome and LightDM (with LightDM-gtk-greeter)

Offline

#18 2020-01-06 14:50:46

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,571

Re: Issues with Arch as VirtualBox Guest

You can try running rcvboxdrv as root to recompile kernel modules.
Your system might have some configuration left over from when you first installed the Guest Additions from Virtualbox but that is purely speculation.

Offline

#19 2020-01-06 15:47:46

Son_Of_Diablo
Member
Registered: 2020-01-05
Posts: 12

Re: Issues with Arch as VirtualBox Guest

d_fajardo wrote:

You can try running rcvboxdrv as root to recompile kernel modules.
Your system might have some configuration left over from when you first installed the Guest Additions from Virtualbox but that is purely speculation.


I get a command not found error when trying to run rcvboxdrv.
It is however found in community/virtualbox is this package required for the guest OS? I thought it was intended for the host OS?

Offline

#20 2020-01-06 16:01:48

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: Issues with Arch as VirtualBox Guest

And again, did the module actually build? Check logs.

Offline

#21 2020-01-06 16:32:40

Son_Of_Diablo
Member
Registered: 2020-01-05
Posts: 12

Re: Issues with Arch as VirtualBox Guest

Scimmia wrote:

And again, did the module actually build? Check logs.

I would love to check the logs... But, I'm not sure which logs I should check.
Could you help me out by pointing me in the direction of the related logs?

Offline

#22 2020-01-06 18:00:10

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: Issues with Arch as VirtualBox Guest

As I said, it happens when you install or update things, so the pacman log would be the place to start. Or just reinstall the headers and watch it happen, just pay attention this time.

Offline

#23 2020-01-06 18:18:16

Son_Of_Diablo
Member
Registered: 2020-01-05
Posts: 12

Re: Issues with Arch as VirtualBox Guest

Scimmia wrote:

As I said, it happens when you install or update things, so the pacman log would be the place to start. Or just reinstall the headers and watch it happen, just pay attention this time.

Sorry, I didn't get that you meant it would be in the pacman logs, I thought there would be logs associated with DKMS.
However I removed the packages and installed them again, and yes there was an issue with building.


( 6/10) Install DKMS modules
==> dkms install vboxsf/6.1.0_OSE -k 4.19.92-1-lts
Error! Bad return status for module build on kernel: 4.19.92-1-lts (x86_64)
Consult /var/lib/dkms/vboxsf/6.1.0_OSE/build/make.log for more information.

make.log:

DKMS make.log for vboxsf-6.1.0_OSE for kernel 4.19.92-1-lts (x86_64)
Mon Jan  6 19:13:26 CET 2020
make: Entering directory '/usr/lib/modules/4.19.92-1-lts/build'
  CC [M]  /var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/dir.o
  CC [M]  /var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/file.o
  CC [M]  /var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/utils.o
  CC [M]  /var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.o
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c: In function ‘vboxsf_connect’:
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:15:3: error: ‘VMMDEV_REQUESTOR_KERNEL’ undeclared (first use in this function)
   15 |  (VMMDEV_REQUESTOR_KERNEL | VMMDEV_REQUESTOR_USR_DRV_OTHER | \
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:33:31: note: in expansion of macro ‘SHFL_REQUEST’
   33 |  err = vbg_hgcm_connect(gdev, SHFL_REQUEST, &loc,
      |                               ^~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:15:3: note: each undeclared identifier is reported only once for each function it appears in
   15 |  (VMMDEV_REQUESTOR_KERNEL | VMMDEV_REQUESTOR_USR_DRV_OTHER | \
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:33:31: note: in expansion of macro ‘SHFL_REQUEST’
   33 |  err = vbg_hgcm_connect(gdev, SHFL_REQUEST, &loc,
      |                               ^~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:15:29: error: ‘VMMDEV_REQUESTOR_USR_DRV_OTHER’ undeclared (first use in this function)
   15 |  (VMMDEV_REQUESTOR_KERNEL | VMMDEV_REQUESTOR_USR_DRV_OTHER | \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:33:31: note: in expansion of macro ‘SHFL_REQUEST’
   33 |  err = vbg_hgcm_connect(gdev, SHFL_REQUEST, &loc,
      |                               ^~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:16:3: error: ‘VMMDEV_REQUESTOR_CON_DONT_KNOW’ undeclared (first use in this function)
   16 |   VMMDEV_REQUESTOR_CON_DONT_KNOW | VMMDEV_REQUESTOR_TRUST_NOT_GIVEN)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:33:31: note: in expansion of macro ‘SHFL_REQUEST’
   33 |  err = vbg_hgcm_connect(gdev, SHFL_REQUEST, &loc,
      |                               ^~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:16:36: error: ‘VMMDEV_REQUESTOR_TRUST_NOT_GIVEN’ undeclared (first use in this function)
   16 |   VMMDEV_REQUESTOR_CON_DONT_KNOW | VMMDEV_REQUESTOR_TRUST_NOT_GIVEN)
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:33:31: note: in expansion of macro ‘SHFL_REQUEST’
   33 |  err = vbg_hgcm_connect(gdev, SHFL_REQUEST, &loc,
      |                               ^~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:33:45: error: passing argument 3 of ‘vbg_hgcm_connect’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   33 |  err = vbg_hgcm_connect(gdev, SHFL_REQUEST, &loc,
      |                                             ^~~~
      |                                             |
      |                                             struct vmmdev_hgcm_service_location *
In file included from /var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:11:
./include/linux/vbox_utils.h:29:13: note: expected ‘u32 *’ {aka ‘unsigned int *’} but argument is of type ‘struct vmmdev_hgcm_service_location *’
   29 |        u32 *client_id, int *vbox_status);
      |        ~~~~~^~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:33:8: error: too many arguments to function ‘vbg_hgcm_connect’
   33 |  err = vbg_hgcm_connect(gdev, SHFL_REQUEST, &loc,
      |        ^~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:11:
./include/linux/vbox_utils.h:27:5: note: declared here
   27 | int vbg_hgcm_connect(struct vbg_dev *gdev,
      |     ^~~~~~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c: In function ‘vboxsf_disconnect’:
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:15:3: error: ‘VMMDEV_REQUESTOR_KERNEL’ undeclared (first use in this function)
   15 |  (VMMDEV_REQUESTOR_KERNEL | VMMDEV_REQUESTOR_USR_DRV_OTHER | \
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:49:28: note: in expansion of macro ‘SHFL_REQUEST’
   49 |  vbg_hgcm_disconnect(gdev, SHFL_REQUEST, vboxsf_client_id, &vbox_status);
      |                            ^~~~~~~~~~~~
  CC [M]  /var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/super.o
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:15:29: error: ‘VMMDEV_REQUESTOR_USR_DRV_OTHER’ undeclared (first use in this function)
   15 |  (VMMDEV_REQUESTOR_KERNEL | VMMDEV_REQUESTOR_USR_DRV_OTHER | \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:49:28: note: in expansion of macro ‘SHFL_REQUEST’
   49 |  vbg_hgcm_disconnect(gdev, SHFL_REQUEST, vboxsf_client_id, &vbox_status);
      |                            ^~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:16:3: error: ‘VMMDEV_REQUESTOR_CON_DONT_KNOW’ undeclared (first use in this function)
   16 |   VMMDEV_REQUESTOR_CON_DONT_KNOW | VMMDEV_REQUESTOR_TRUST_NOT_GIVEN)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:49:28: note: in expansion of macro ‘SHFL_REQUEST’
   49 |  vbg_hgcm_disconnect(gdev, SHFL_REQUEST, vboxsf_client_id, &vbox_status);
      |                            ^~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:16:36: error: ‘VMMDEV_REQUESTOR_TRUST_NOT_GIVEN’ undeclared (first use in this function)
   16 |   VMMDEV_REQUESTOR_CON_DONT_KNOW | VMMDEV_REQUESTOR_TRUST_NOT_GIVEN)
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:49:28: note: in expansion of macro ‘SHFL_REQUEST’
   49 |  vbg_hgcm_disconnect(gdev, SHFL_REQUEST, vboxsf_client_id, &vbox_status);
      |                            ^~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:49:42: warning: passing argument 3 of ‘vbg_hgcm_disconnect’ makes pointer from integer without a cast [-Wint-conversion]
   49 |  vbg_hgcm_disconnect(gdev, SHFL_REQUEST, vboxsf_client_id, &vbox_status);
      |                                          ^~~~~~~~~~~~~~~~
      |                                          |
      |                                          u32 {aka unsigned int}
In file included from /var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:11:
./include/linux/vbox_utils.h:31:67: note: expected ‘int *’ but argument is of type ‘u32’ {aka ‘unsigned int’}
   31 | int vbg_hgcm_disconnect(struct vbg_dev *gdev, u32 client_id, int *vbox_status);
      |                                                              ~~~~~^~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:49:2: error: too many arguments to function ‘vbg_hgcm_disconnect’
   49 |  vbg_hgcm_disconnect(gdev, SHFL_REQUEST, vboxsf_client_id, &vbox_status);
      |  ^~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:11:
./include/linux/vbox_utils.h:31:5: note: declared here
   31 | int vbg_hgcm_disconnect(struct vbg_dev *gdev, u32 client_id, int *vbox_status);
      |     ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c: In function ‘vboxsf_call’:
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:15:3: error: ‘VMMDEV_REQUESTOR_KERNEL’ undeclared (first use in this function)
   15 |  (VMMDEV_REQUESTOR_KERNEL | VMMDEV_REQUESTOR_USR_DRV_OTHER | \
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:62:28: note: in expansion of macro ‘SHFL_REQUEST’
   62 |  err = vbg_hgcm_call(gdev, SHFL_REQUEST, vboxsf_client_id, function,
      |                            ^~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:15:29: error: ‘VMMDEV_REQUESTOR_USR_DRV_OTHER’ undeclared (first use in this function)
   15 |  (VMMDEV_REQUESTOR_KERNEL | VMMDEV_REQUESTOR_USR_DRV_OTHER | \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:62:28: note: in expansion of macro ‘SHFL_REQUEST’
   62 |  err = vbg_hgcm_call(gdev, SHFL_REQUEST, vboxsf_client_id, function,
      |                            ^~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/super.c:14:10: fatal error: linux/fs_parser.h: No such file or directory
   14 | #include <linux/fs_parser.h>
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:304: /var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/super.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:16:3: error: ‘VMMDEV_REQUESTOR_CON_DONT_KNOW’ undeclared (first use in this function)
   16 |   VMMDEV_REQUESTOR_CON_DONT_KNOW | VMMDEV_REQUESTOR_TRUST_NOT_GIVEN)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:62:28: note: in expansion of macro ‘SHFL_REQUEST’
   62 |  err = vbg_hgcm_call(gdev, SHFL_REQUEST, vboxsf_client_id, function,
      |                            ^~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:16:36: error: ‘VMMDEV_REQUESTOR_TRUST_NOT_GIVEN’ undeclared (first use in this function)
   16 |   VMMDEV_REQUESTOR_CON_DONT_KNOW | VMMDEV_REQUESTOR_TRUST_NOT_GIVEN)
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:62:28: note: in expansion of macro ‘SHFL_REQUEST’
   62 |  err = vbg_hgcm_call(gdev, SHFL_REQUEST, vboxsf_client_id, function,
      |                            ^~~~~~~~~~~~
In file included from ./include/asm-generic/bug.h:18,
                 from ./arch/x86/include/asm/bug.h:83,
                 from ./include/linux/bug.h:5,
                 from ./include/linux/mmdebug.h:5,
                 from ./include/linux/mm.h:9,
                 from /var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:8:
./include/linux/kernel.h:40:18: warning: passing argument 5 of ‘vbg_hgcm_call’ makes pointer from integer without a cast [-Wint-conversion]
   40 | #define U32_MAX  ((u32)~0U)
      |                  ^~~~~~~~~~
      |                  |
      |                  unsigned int
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:63:8: note: in expansion of macro ‘U32_MAX’
   63 |        U32_MAX, parms, parm_count, &vbox_status);
      |        ^~~~~~~
In file included from /var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:11:
./include/linux/vbox_utils.h:34:60: note: expected ‘struct vmmdev_hgcm_function_parameter64 *’ but argument is of type ‘unsigned int’
   34 |     u32 timeout_ms, struct vmmdev_hgcm_function_parameter *parms,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:63:17: warning: passing argument 6 of ‘vbg_hgcm_call’ makes integer from pointer without a cast [-Wint-conversion]
   63 |        U32_MAX, parms, parm_count, &vbox_status);
      |                 ^~~~~
      |                 |
      |                 void *
In file included from /var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:11:
./include/linux/vbox_utils.h:35:9: note: expected ‘u32’ {aka ‘unsigned int’} but argument is of type ‘void *’
   35 |     u32 parm_count, int *vbox_status);
      |     ~~~~^~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:63:24: warning: passing argument 7 of ‘vbg_hgcm_call’ makes pointer from integer without a cast [-Wint-conversion]
   63 |        U32_MAX, parms, parm_count, &vbox_status);
      |                        ^~~~~~~~~~
      |                        |
      |                        u32 {aka unsigned int}
In file included from /var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:11:
./include/linux/vbox_utils.h:35:26: note: expected ‘int *’ but argument is of type ‘u32’ {aka ‘unsigned int’}
   35 |     u32 parm_count, int *vbox_status);
      |                     ~~~~~^~~~~~~~~~~
/var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:62:8: error: too many arguments to function ‘vbg_hgcm_call’
   62 |  err = vbg_hgcm_call(gdev, SHFL_REQUEST, vboxsf_client_id, function,
      |        ^~~~~~~~~~~~~
In file included from /var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.c:11:
./include/linux/vbox_utils.h:33:5: note: declared here
   33 | int vbg_hgcm_call(struct vbg_dev *gdev, u32 client_id, u32 function,
      |     ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:304: /var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf/vboxsf_wrappers.o] Error 1
make[1]: *** [scripts/Makefile.build:544: /var/lib/dkms/vboxsf/6.1.0_OSE/build/vboxsf] Error 2
make: *** [Makefile:1522: _module_/var/lib/dkms/vboxsf/6.1.0_OSE/build] Error 2
make: Leaving directory '/usr/lib/modules/4.19.92-1-lts/build'

Offline

#24 2020-01-06 18:22:21

loqs
Member
Registered: 2014-03-06
Posts: 17,440

Re: Issues with Arch as VirtualBox Guest

Offline

#25 2020-01-06 18:34:57

Son_Of_Diablo
Member
Registered: 2020-01-05
Posts: 12

Re: Issues with Arch as VirtualBox Guest

Well... so at least I'm not alone in this issue.

Well poop hmm

Offline

Board footer

Powered by FluxBB