You are not logged in.

#1 2016-11-23 15:50:35

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

No more USB in Virtualbox machines

Hi there,
Some days ago, after a system update, the USB gadgets of my Virtualbox machine (Windows 10 guest, Arch host) stopped working. The virtual machine shows no USB. During Arch (host) boot, I get the following errors concerning Virtualbox:

nov 23 09:08:12 aerocool systemd-udevd[275]: failed to execute '/opt/VirtualBox/VBoxCreateUSBNode.sh' '/opt/VirtualBox/VBoxCreateUSBNode.sh 189 0 09': No such file or directory
nov 23 09:08:12 aerocool systemd-udevd[274]: failed to execute '/opt/VirtualBox/VBoxCreateUSBNode.sh' '/opt/VirtualBox/VBoxCreateUSBNode.sh 189 128 09': No such file or directory
nov 23 09:08:12 aerocool systemd-udevd[277]: failed to execute '/opt/VirtualBox/VBoxCreateUSBNode.sh' '/opt/VirtualBox/VBoxCreateUSBNode.sh 189 129 09': No such file or directory
nov 23 09:08:12 aerocool systemd-udevd[276]: failed to execute '/opt/VirtualBox/VBoxCreateUSBNode.sh' '/opt/VirtualBox/VBoxCreateUSBNode.sh 189 1 09': No such file or directory
nov 23 09:08:15 aerocool systemd-udevd[330]: failed to execute '/opt/VirtualBox/VBoxCreateUSBNode.sh' '/opt/VirtualBox/VBoxCreateUSBNode.sh 189 3 00': No such file or directory
nov 23 09:08:15 aerocool systemd-udevd[331]: failed to execute '/opt/VirtualBox/VBoxCreateUSBNode.sh' '/opt/VirtualBox/VBoxCreateUSBNode.sh 189 4 00': No such file or directory
nov 23 09:08:15 aerocool systemd-udevd[332]: failed to execute '/opt/VirtualBox/VBoxCreateUSBNode.sh' '/opt/VirtualBox/VBoxCreateUSBNode.sh 189 130 00': No such file or directory
nov 23 09:08:15 aerocool systemd-udevd[333]: failed to execute '/opt/VirtualBox/VBoxCreateUSBNode.sh' '/opt/VirtualBox/VBoxCreateUSBNode.sh 189 2 00': No such file or directory
nov 23 09:08:37 aerocool systemd[410]: vboxdrv.service: Failed at step EXEC spawning /opt/VirtualBox/vboxdrv.sh: No such file or directory
nov 23 09:08:39 aerocool systemd[1]: Failed to start VirtualBox Linux kernel module.
nov 23 09:08:39 aerocool systemd[418]: vboxballoonctrl-service.service: Failed at step EXEC spawning /opt/VirtualBox/vboxballoonctrl-service.sh: No such file or directory
nov 23 09:08:39 aerocool systemd[419]: vboxautostart-service.service: Failed at step EXEC spawning /opt/VirtualBox/vboxautostart-service.sh: No such file or directory
nov 23 09:08:39 aerocool systemd[425]: vboxweb-service.service: Failed at step EXEC spawning /opt/VirtualBox/vboxweb-service.sh: No such file or directory
nov 23 09:08:39 aerocool systemd[1]: Failed to start vboxballoonctrl-service.service.
nov 23 09:08:39 aerocool systemd[1]: Failed to start vboxautostart-service.service.
nov 23 09:08:39 aerocool systemd[1]: Failed to start vboxweb-service.service.
nov 23 09:09:34 aerocool systemd[1]: Timed out waiting for device sys-subsystem-net-devices-eth0.device.
nov 23 09:12:23 aerocool systemd-udevd[786]: failed to execute '/opt/VirtualBox/VBoxCreateUSBNode.sh' '/opt/VirtualBox/VBoxCreateUSBNode.sh 189 131 00': No such file or directory

The following Virtualbox packages are installed:

local/virtualbox 5.1.10-1
    Powerful x86 virtualization for enterprise as well as home use
local/virtualbox-ext-oracle 5.1.10-1
    Oracle VM VirtualBox Extension Pack
local/virtualbox-ext-vnc 5.1.10-1
    VirtualBox VNC extension pack
local/virtualbox-guest-iso 5.1.10-1
    The official VirtualBox Guest Additions ISO image
local/virtualbox-host-dkms 5.1.10-1
    VirtualBox Host kernel modules sources

I'm using Virtualbox 5.1.10-1 (latest version), but I was having the same troubles with the previous versions. The problem started after a system update (VBox was not update then).

Any ideas on how to make my USBs usable again?

Thanks,
D.

Last edited by dicaiopolis (2016-11-23 22:11:49)

Offline

#2 2016-11-24 00:17:58

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: No more USB in Virtualbox machines

Additional information. When trying to load vboxservice.service, I get an error:

modprobe vboxservice.service
modprobe: FATAL: Module vboxservice.service not found in directory /lib/modules/4.8.10-1-ARCH

In Ubuntu Forum, I found a tip: I should put 'sleep 10' " at the top of file /etc/default/virtualbox. There's no such a thing in Arch. Is it located elsewhere?
Thanks,
D.

Last edited by dicaiopolis (2016-11-24 00:22:52)

Offline

#3 2016-11-24 09:51:50

modified_bessel
Member
Registered: 2016-05-10
Posts: 2

Re: No more USB in Virtualbox machines

I am having difficulty also in getting 5.1.10-1 installed; the first system update that included this version a few days ago failed and crashed my system due to the failure of dkms to load groups of kernel modules; the culprit was the virtualbox modules not being found.  I have yet to solve the problem, so I downgraded to the previous (5.1.8-x version).  I have not yet tried the following, but will in the next couple of days:  if you look at the main package page, at https://www.archlinux.org/packages/comm … irtualbox/ , you will find that a further dependency to the main package is virtualbox-host-modules-arch-5.1.10-2 which you may not have installed (it does not appear in your list).  You might want to try to install that package and try again.

EDIT:  I have told you wrong.  That dependency is already included in the make setup for virtualbox-host-dkms, so trying to install that package again leads to a dependency conflict.  My apologies.

Last edited by modified_bessel (2016-11-24 10:33:12)

Offline

#4 2016-11-24 13:21:05

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: No more USB in Virtualbox machines

dicaiopolis wrote:

Additional information. When trying to load vboxservice.service, I get an error:

modprobe vboxservice.service
modprobe: FATAL: Module vboxservice.service not found in directory /lib/modules/4.8.10-1-ARCH

That error is because vboxservice.service is not a kernel module, but a systemd service.

try systemctl start vboxservice.service .

Last edited by Lone_Wolf (2016-11-24 13:21:15)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2016-11-24 14:50:05

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: No more USB in Virtualbox machines

Lone_Wolf wrote:
dicaiopolis wrote:

Additional information. When trying to load vboxservice.service, I get an error:

modprobe vboxservice.service
modprobe: FATAL: Module vboxservice.service not found in directory /lib/modules/4.8.10-1-ARCH

That error is because vboxservice.service is not a kernel module, but a systemd service.

try systemctl start vboxservice.service .

Thanks for your tip. But it didn't work. After starting the services, I get:

● shadow.service                  loaded failed failed Verify integrity of password and group files
● systemd-modules-load.service    loaded failed failed Load Kernel Modules
● vboxautostart-service.service   loaded failed failed vboxautostart-service.service
● vboxballoonctrl-service.service loaded failed failed vboxballoonctrl-service.service
● vboxdrv.service                 loaded failed failed VirtualBox Linux kernel module
● vboxweb-service.service         loaded failed failed vboxweb-service.service

Any clue?
Thanks.

Offline

#6 2016-11-24 15:45:38

seth
Member
Registered: 2012-09-03
Posts: 51,240

Re: No more USB in Virtualbox machines

Provide outputs of "uname -r" and "lsmod"
Install virtualbox-host-modules-arch or, if you're indeed using a custom kernel, ensure to rebuild the module for the installed kernel.

Online

#7 2016-11-24 16:03:56

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: No more USB in Virtualbox machines

seth wrote:

Provide outputs of "uname -r" and "lsmod"
Install virtualbox-host-modules-arch or, if you're indeed using a custom kernel, ensure to rebuild the module for the installed kernel.

uname-r:

4.8.10-1-ARCH

lsmod:

Module                  Size  Used by
snd_seq_dummy          16384  2
snd_seq                61440  7 snd_seq_dummy
snd_seq_device         16384  1 snd_seq
sr9700                 16384  0
dm9601                 16384  0
usbnet                 36864  2 sr9700,dm9601
mii                    16384  3 sr9700,usbnet,dm9601
cfg80211              495616  0
rfkill                 20480  4 cfg80211
nls_utf8               16384  3
isofs                  40960  3
loop                   28672  6
intel_rapl             20480  0
fuse                   98304  11
x86_pkg_temp_thermal    16384  0
coretemp               16384  0
kvm_intel             188416  0
kvm                   516096  1 kvm_intel
8188eu                712704  0
joydev                 20480  0
mousedev               20480  0
irqbypass              16384  1 kvm
input_leds             16384  0
led_class              16384  1 input_leds
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
crc32c_intel           24576  0
ghash_clmulni_intel    16384  0
aesni_intel           167936  0
aes_x86_64             20480  1 aesni_intel
lrw                    16384  1 aesni_intel
gf128mul               16384  1 lrw
i915                 1241088  48
snd_hda_codec_hdmi     45056  1
snd_hda_codec_realtek    69632  1
snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
glue_helper            16384  1 aesni_intel
snd_hda_intel          32768  3
video                  36864  1 i915
drm_kms_helper        126976  1 i915
snd_hda_codec         106496  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
ablk_helper            16384  1 aesni_intel
cryptd                 20480  3 ablk_helper,ghash_clmulni_intel,aesni_intel
drm                   294912  11 i915,drm_kms_helper
intel_gtt              20480  1 i915
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
snd_hda_core           65536  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
gpio_ich               16384  0
mac_hid                16384  0
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
sysimgblt              16384  1 drm_kms_helper
mxm_wmi                16384  0
evdev                  24576  7
fb_sys_fops            16384  1 drm_kms_helper
snd_hwdep              16384  1 snd_hda_codec
fjes                   28672  0
intel_cstate           16384  0
shpchp                 32768  0
i2c_i801               24576  0
mei_me                 36864  0
i2c_smbus              16384  1 i2c_i801
tpm_infineon           20480  0
snd_pcm                90112  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_timer              28672  2 snd_seq,snd_pcm
snd                    69632  18 snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,snd_hda_codec_realtek,snd_pcm
soundcore              16384  1 snd
i2c_algo_bit           16384  1 i915
mei                    86016  1 mei_me
lpc_ich                24576  0
pcspkr                 16384  0
wmi                    16384  1 mxm_wmi
button                 16384  1 i915
tpm_tis                16384  0
tpm_tis_core           20480  1 tpm_tis
tpm                    36864  3 tpm_infineon,tpm_tis,tpm_tis_core
intel_rapl_perf        16384  0
sch_fq_codel           20480  5
vboxnetflt             28672  0
vboxnetadp             28672  0
pci_stub               16384  1
vboxpci                24576  0
vboxdrv               385024  3 vboxnetadp,vboxnetflt,vboxpci
ip_tables              28672  0
x_tables               28672  1 ip_tables
ext4                  524288  3
crc16                  16384  1 ext4
jbd2                   90112  1 ext4
fscrypto               24576  1 ext4
mbcache                16384  4 ext4
hid_generic            16384  0
usbhid                 49152  0
hid                   114688  2 hid_generic,usbhid
sr_mod                 24576  0
cdrom                  53248  1 sr_mod
sd_mod                 36864  7
serio_raw              16384  0
atkbd                  24576  0
ata_generic            16384  0
libps2                 16384  1 atkbd
pata_acpi              16384  0
ata_piix               36864  6
libata                208896  3 ata_piix,ata_generic,pata_acpi
ehci_pci               16384  0
scsi_mod              159744  3 sd_mod,libata,sr_mod
ehci_hcd               73728  1 ehci_pci
usbcore               208896  7 sr9700,usbnet,usbhid,ehci_hcd,dm9601,8188eu,ehci_pci
usb_common             16384  1 usbcore
i8042                  28672  0
serio                  20480  4 serio_raw,atkbd,i8042

Thanks.

Offline

#8 2016-11-24 20:37:11

seth
Member
Registered: 2012-09-03
Posts: 51,240

Re: No more USB in Virtualbox machines

No idea about the virtualbox service (never used that) but the host modules are loaded.

What's overly suspicious is the access to /opt - did you install vbox from some AUR or upstream distribution (binary installer etc.) which may linger around and pollute the packaged instalation?

One last thing: no usb means "no usb", not "no usb 2.0 and therefore some usb devices don't work"?

Online

#9 2016-11-24 20:52:51

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: No more USB in Virtualbox machines

seth wrote:

No idea about the virtualbox service (never used that) but the host modules are loaded.

What's overly suspicious is the access to /opt - did you install vbox from some AUR or upstream distribution (binary installer etc.) which may linger around and pollute the packaged instalation?

One last thing: no usb means "no usb", not "no usb 2.0 and therefore some usb devices don't work"?

I usually install virtualbox using pacman. Maybe a long time ago I might have installed it from AUR...
"No USB"  means "no USB at all" (1.0, 2.0, 3.0). I've chosen all 3 options, but the virtual machine still see no USB gadget connected...

Offline

#10 2016-11-24 21:04:18

seth
Member
Registered: 2012-09-03
Posts: 51,240

Re: No more USB in Virtualbox machines

Permission issue?
Are you in vboxusers (and is that *not* your primary group)?
Strace'd virtualbox and "grep -i usb"?

Online

#11 2016-11-24 22:19:52

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: No more USB in Virtualbox machines

seth wrote:

Permission issue?
Are you in vboxusers (and is that *not* your primary group)?
Strace'd virtualbox and "grep -i usb"?

I'm in vboxusers and vboxsf groups. My primary group is "users".

strace virtualbox:

there's a lot of code, but I also get a window:

Effective UID is not root (euid=1000 egid=100 uid=1000 gid=100) (rc=-10)
Please try reinstalling VirtualBox.
where: SUPR3HardenedMain what: 2 VERR_PERMISSION_DENIED (-10) - Permission denied.

grep -i usb starts in terminal, shows nothing and "keep running".

Offline

#12 2016-11-24 22:33:06

seth
Member
Registered: 2012-09-03
Posts: 51,240

Re: No more USB in Virtualbox machines

The error is because of the strace but what I meant is "strace virtualbox 2>&1 | grep -i usb"
The suid requirement may be a problem here, though (VB may refuse operation before attempting to access usb devices)

Online

#13 2016-11-24 23:15:56

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: No more USB in Virtualbox machines

seth wrote:

The error is because of the strace but what I meant is "strace virtualbox 2>&1 | grep -i usb"
The suid requirement may be a problem here, though (VB may refuse operation before attempting to access usb devices)

strace virtualbox 2>&1 | grep -i usb

gives me the same window:

Effective UID is not root (euid=1000 egid=100 uid=1000 gid=100) (rc=-10)
Please try reinstalling VirtualBox.
where: SUPR3HardenedMain what: 2 VERR_PERMISSION_DENIED (-10) - Permission denied.

Offline

#14 2016-11-25 04:34:26

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: No more USB in Virtualbox machines

Reinstalling linux-headers give me the following:

1) reinstalling linux-headers                                [###################################] 100%
:: Running post-transaction hooks...
(1/1) Install DKMS modules
==> dkms install 8188eu/v4.3.0.8_13968 -k 4.8.10-1-ARCH
Error! Bad return status for module build on kernel: 4.8.10-1-ARCH (x86_64)
Consult /var/lib/dkms/8188eu/v4.3.0.8_13968/build/make.log for more information.
==> dkms install vboxhost/4.3.18 -k 4.8.10-1-ARCH
dkms.conf: Error! No 'DEST_MODULE_LOCATION' directive specified.
dkms.conf: Error! No 'PACKAGE_NAME' directive specified.
dkms.conf: Error! No 'PACKAGE_VERSION' directive specified.
Error! Bad conf file.
File: /usr/src/vboxhost-4.3.18/dkms.conf
does not represent a valid dkms.conf file.
==> dkms install vboxhost/5.1.10_OSE -k 4.8.10-1-ARCH
==> dkms install 8188eu/v4.1.4_6773 -k 4.8.10-1-ARCH

Offline

#15 2016-11-25 10:06:14

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: No more USB in Virtualbox machines

Consult /var/lib/dkms/8188eu/v4.3.0.8_13968/build/make.log for more information.

Post that file please.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#16 2016-11-25 11:34:52

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: No more USB in Virtualbox machines

Lone_Wolf wrote:
Consult /var/lib/dkms/8188eu/v4.3.0.8_13968/build/make.log for more information.

Post that file please.

Here's the file content:

DKMS make.log for 8188eu-v4.3.0.8_13968 for kernel 4.8.10-1-ARCH (x86_64)
sex nov 25 02:32:07 BRST 2016
make: Entering directory '/usr/lib/modules/4.8.10-1-ARCH/build'
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_cmd.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_security.o
/var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_security.c: In function ‘aes_cipher’:
/var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_security.c:1598:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for (j = 0; j < 8; j++)
     ^~~
/var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_security.c:1601:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
  payload_index = hdrlen + 8;
  ^~~~~~~~~~~~~
/var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_security.c: In function ‘aes_decipher’:
/var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_security.c:1983:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for (j = 0; j < 8; j++)
     ^~~
/var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_security.c:1986:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
  payload_index = hdrlen + 8;
  ^~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_debug.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_io.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_ioctl_query.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_ioctl_set.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_ieee80211.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_mlme.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_mlme_ext.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_wlan_util.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_vht.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_pwrctrl.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_rf.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_recv.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_sta_mgt.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_ap.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_xmit.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_p2p.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_tdls.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_br_ext.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_iol.o
/var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_iol.c: In function ‘rtw_IOL_cmd_buf_dump’:
/var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_iol.c:261:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   if(j%32 ==0) printk("\n");j++;
   ^~
/var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_iol.c:261:29: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
   if(j%32 ==0) printk("\n");j++;
                             ^
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_sreset.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_btcoex.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_beamforming.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/rtw_odm.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/core/efuse/rtw_efuse.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/os_dep/osdep_service.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/os_dep/linux/os_intfs.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/os_dep/linux/usb_intf.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/os_dep/linux/usb_ops_linux.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/os_dep/linux/ioctl_linux.o
/var/lib/dkms/8188eu/v4.3.0.8_13968/build/os_dep/linux/ioctl_linux.c: In function ‘rtw_mp_read_reg’:
/var/lib/dkms/8188eu/v4.3.0.8_13968/build/os_dep/linux/ioctl_linux.c:10583:8: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
        if ( data[i] != '\0' )
        ^~
/var/lib/dkms/8188eu/v4.3.0.8_13968/build/os_dep/linux/ioctl_linux.c:10586:10: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
          j++;
          ^
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/os_dep/linux/xmit_linux.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/os_dep/linux/mlme_linux.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/os_dep/linux/recv_linux.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/os_dep/linux/ioctl_cfg80211.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/os_dep/linux/wifi_regd.o
  CC [M]  /var/lib/dkms/8188eu/v4.3.0.8_13968/build/os_dep/linux/rtw_android.o
/var/lib/dkms/8188eu/v4.3.0.8_13968/build/os_dep/linux/rtw_android.c: In function ‘rtw_android_priv_cmd’:
/var/lib/dkms/8188eu/v4.3.0.8_13968/build/os_dep/linux/rtw_android.c:515:6: error: implicit declaration of function ‘is_compat_task’ [-Werror=implicit-function-declaration]
  if (is_compat_task()) {
      ^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:290: /var/lib/dkms/8188eu/v4.3.0.8_13968/build/os_dep/linux/rtw_android.o] Error 1
make: *** [Makefile:1471: _module_/var/lib/dkms/8188eu/v4.3.0.8_13968/build] Error 2
make: Leaving directory '/usr/lib/modules/4.8.10-1-ARCH/build'

Offline

#17 2016-11-26 17:10:57

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: No more USB in Virtualbox machines

looks like some error in settings,but i haven't seen other reports about this.

You are running official kernel,right ?
If so, please try if virtualbox-host-modules-arch works for you.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#18 2016-11-26 22:03:07

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 288

Re: No more USB in Virtualbox machines

Sorry to enter an "I'm having the same problem too" entry but,,, i am and have seen in other linux forums that is a problem started in VirtualBox 5.8.
USB isn't working since linux 4.8.? I hadn't paid attention which exact version. Windows 7 guest shows in its Device Mgr, "Other Devices" with USB Controller in it with the yellow /?\ triangle, and unable to update or install the drivers for it in the guest. It worked for a long time as I use it for a usb TI Graphlink calculator (and other things now and then). I'm running stock kernel 4.8.10-1. and the virtualbox-host-modules-arch and the ~ext-vnc, ~guest-additions, and ~ext-oracle(AUR) are all up to date 5.1.10 r112026. Hadn't researched this until today either.
EDIT: It is problem with EXCI USB3.0, setting it to OHCI/EHCI USB2.0 fixes it (which might not "fix" 3.0 if you need 3.0...), but see that you've tried all three settings for W10, sorry no help here.

Last edited by WFV (2016-11-26 22:43:14)


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

#19 2016-11-27 20:00:53

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: No more USB in Virtualbox machines

Lone_Wolf wrote:

looks like some error in settings,but i haven't seen other reports about this.

You are running official kernel,right ?
If so, please try if virtualbox-host-modules-arch works for you.

I'm running the offical kernel. virtualbox-host-modules-arch works makes no difference. Same result.
Thanks,
D.

Offline

#20 2016-11-27 22:55:34

seth
Member
Registered: 2012-09-03
Posts: 51,240

Re: No more USB in Virtualbox machines

did you check whether some dated rule (from you far in the past installation) lingers around in /etc/udev/rules.d?

https://wiki.archlinux.org/index.php/Vi … t_or_guest

Online

#21 2016-11-29 19:24:27

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: No more USB in Virtualbox machines

I've just upgraded my system and kernel/headers (4.8.11-1). I'm getting the following compile error. Maybe this is the reason why there is no more USB recognition in the virtual machine.

==> dkms install vboxhost/4.3.18 -k 4.8.11-1-ARCH
dkms.conf: Error! No 'DEST_MODULE_LOCATION' directive specified.
dkms.conf: Error! No 'PACKAGE_NAME' directive specified.
dkms.conf: Error! No 'PACKAGE_VERSION' directive specified.
Error! Bad conf file.
File: /usr/src/vboxhost-4.3.18/dkms.conf
does not represent a valid dkms.conf file.

Any ideas?
Thanks,
D.

Offline

#22 2016-11-29 19:28:23

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: No more USB in Virtualbox machines

seth wrote:

did you check whether some dated rule (from you far in the past installation) lingers around in /etc/udev/rules.d?

https://wiki.archlinux.org/index.php/Vi … t_or_guest

Everything seems to be OK in this case. I get:

sudo pacman -Qo /usr/lib/udev/rules.d/60-vboxdrv.rules
/usr/lib/udev/rules.d/60-vboxdrv.rules is owned by virtualbox 5.1.10-1

Offline

#23 2016-11-29 20:40:38

dicaiopolis
Member
Registered: 2010-07-21
Posts: 126

Re: No more USB in Virtualbox machines

Downgraded to 4.8.10, since the new kernel broke my system Now, I can't start the virtual machine anymore. I get:

Processing package changes...
(1/2) reinstalling linux                                                                                                                                           [####################################################################################################] 100%
>>> Updating module dependencies. Please wait ...
depmod: ERROR: failed to load symbols from /lib/modules/4.8.10-1-ARCH/extramodules/vboxnetflt.ko.gz: Invalid argument
depmod: ERROR: failed to load symbols from /lib/modules/4.8.10-1-ARCH/extramodules/vboxnetadp.ko.gz: Invalid argument
depmod: ERROR: failed to load symbols from /lib/modules/4.8.10-1-ARCH/extramodules/vboxpci.ko.gz: Invalid argument
depmod: ERROR: failed to load symbols from /lib/modules/4.8.10-1-ARCH/extramodules/vboxdrv.ko.gz: Invalid argument
(2/2) reinstalling linux-headers                                                                                                                                   [####################################################################################################] 100%
:: Running post-transaction hooks...
(1/2) Install DKMS modules
==> dkms install 8188eu/v4.3.0.8_13968 -k 4.8.10-1-ARCH
Error! Bad return status for module build on kernel: 4.8.10-1-ARCH (x86_64)
Consult /var/lib/dkms/8188eu/v4.3.0.8_13968/build/make.log for more information.
==> dkms install vboxhost/5.1.10_OSE -k 4.8.10-1-ARCH
==> dkms install 8188eu/v4.1.4_6773 -k 4.8.10-1-ARCH
(2/2) Updating linux initcpios
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 4.8.10-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 4.8.10-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: aic94xx
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful

Ideas?

Offline

Board footer

Powered by FluxBB