You are not logged in.

#1 2014-08-21 06:55:05

jsnlry
Member
Registered: 2012-06-26
Posts: 39

URB Flag warnings in log when using USB with VirtualBox

Hi,

I have a VirtualBox VM and an external hard drive which is directly connected to this VM. VirtualBox extension pack is installed and USB2.0 (EHCI) Controller is enabled for this machine.

When I now copy files onto this hard drive (inside the VM) I get millions of the following warnings in my journalctl of the host computer:

Aug 21 08:42:07 jasonsOffice kernel: WARNING: CPU: 0 PID: 1837 at drivers/usb/core/urb.c:476 usb_submit_urb+0x2f0/0x600 [usbcore]()
Aug 21 08:42:07 jasonsOffice kernel: usb 4-2: BOGUS urb flags, 1 --> 0
Aug 21 08:42:07 jasonsOffice kernel: Modules linked in: fuse cfg80211 rfkill mousedev evdev mac_hid kvm_amd edac_core kvm serio_raw snd_hda_codec_hdmi k10temp edac_mce_amd microcode snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep radeon snd_pcm ttm drm_kms_helper drm sp5100_tco hwmon i2c_algo_bit i2c_piix4 snd_timer i2c_core r8169 mii snd soundcore wmi shpchp button acpi_cpufreq processor pci_stub vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) nfs lockd fscache sunrpc ext4 crc16 mbcache jbd2 hid_generic usbhid hid sd_mod sr_mod cdrom crc_t10dif crct10dif_common ata_generic pata_acpi uas usb_storage atkbd libps2 pata_jmicron firewire_ohci firewire_core crc_itu_t pata_atiixp ahci libahci ehci_pci ohci_pci ohci_hcd ehci_hcd xhci_hcd libata scsi_mod usbcore usb_common i8042
Aug 21 08:42:07 jasonsOffice kernel:  serio
Aug 21 08:42:07 jasonsOffice kernel: CPU: 0 PID: 1837 Comm: USBDevIo--1 Tainted: G        W  O  3.16.1-1-ARCH #1
Aug 21 08:42:07 jasonsOffice kernel: Hardware name: Gigabyte Technology Co., Ltd. GA-880GMA-UD2H/GA-880GMA-UD2H, BIOS F5 09/30/2010
Aug 21 08:42:07 jasonsOffice kernel:  0000000000000000 00000000bb1ed052 ffff88017fc43c98 ffffffff8152ae6c
Aug 21 08:42:07 jasonsOffice kernel:  ffff88017fc43ce0 ffff88017fc43cd0 ffffffff8106e45d ffff88021f4b4cc0
Aug 21 08:42:07 jasonsOffice kernel:  0000000000000020 0000000000000002 ffff880217031800 0000000000000001
Aug 21 08:42:07 jasonsOffice kernel: Call Trace:
Aug 21 08:42:07 jasonsOffice kernel:  [<ffffffff8152ae6c>] dump_stack+0x4d/0x6f
Aug 21 08:42:07 jasonsOffice kernel:  [<ffffffff8106e45d>] warn_slowpath_common+0x7d/0xa0
Aug 21 08:42:07 jasonsOffice kernel:  [<ffffffff8106e4dc>] warn_slowpath_fmt+0x5c/0x80
Aug 21 08:42:07 jasonsOffice kernel:  [<ffffffffa005fdd0>] usb_submit_urb+0x2f0/0x600 [usbcore]
Aug 21 08:42:07 jasonsOffice kernel:  [<ffffffffa006c248>] proc_do_submiturb+0xcb8/0xd00 [usbcore]
Aug 21 08:42:07 jasonsOffice kernel:  [<ffffffffa006c8ff>] usbdev_do_ioctl+0x59f/0x11b0 [usbcore]
Aug 21 08:42:07 jasonsOffice kernel:  [<ffffffff811c173b>] ? new_sync_read+0x8b/0xd0
Aug 21 08:42:07 jasonsOffice kernel:  [<ffffffffa006d53e>] usbdev_ioctl+0xe/0x20 [usbcore]
Aug 21 08:42:07 jasonsOffice kernel:  [<ffffffff811d4a70>] do_vfs_ioctl+0x2d0/0x4b0
Aug 21 08:42:07 jasonsOffice kernel:  [<ffffffff811df18e>] ? __fget+0x6e/0xb0
Aug 21 08:42:07 jasonsOffice kernel:  [<ffffffff811d4cd1>] SyS_ioctl+0x81/0xa0
Aug 21 08:42:07 jasonsOffice kernel:  [<ffffffff81530be9>] system_call_fastpath+0x16/0x1b
Aug 21 08:42:07 jasonsOffice kernel: ---[ end trace 6fbdb725227065ca ]---

The write process seemed to work, but the warnings don't look good to me. What do you think? Can I ignore these warnings? If yes, can I disable them?

I already found some other threads out there, talking about a similar problem, but in all cases, the USB devices did not work inside the virtual machine.

(Yes, my system is up-to-date.)

Offline

Board footer

Powered by FluxBB