Virtualbox webcam pass-through works flawlessly. However, I also tested the webcam as an USB device. In this case,
guest linux kernel generated a nice stack:
Code: Select all
[ 25.748099] ------------[ cut here ]------------
[ 25.749428] WARNING: CPU: 0 PID: 1956 at drivers/media/v4l2-core/videobuf2-core.c:2135 vb2_queue_init+0x418/0xc50 [videobuf2_core]()
[ 25.751225] Modules linked in: pppoe ppp_async iptable_nat snd_usb_audio pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT via_velocity via_rhine uvcvideo snd_usbmidi_lib slhc sis900 r8169 pcnet32 nf_reject_ipv4 nf_nat_masquerade_ipv4 nf_nat_irc nf_nat_ftp nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_irc nf_conntrack_ftp nf_conntrack ne2k_pci iptable_raw iptable_mangle iptable_filter ip_tables e100 crc_ccitt 8390 8139too videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev snd_soc_core i2c_dev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables 3c59x snd_intel8x0 e1000 snd_ac97_codec ac97_bus snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd soundcore regmap_spi regmap_i2c regmap_core lzo_decompress lzo_compress natsemi ipv6 xhci_pci xhci_hcd ohci_pci tg3 hwmon ptp pps_core mii libphy
[ 25.783532] CPU: 0 PID: 1956 Comm: v4l2src0:src Not tainted 3.18.10 #1
[ 25.784472] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
[ 25.785819] c1402bc7 c1030143 c14dcb98 00000000 000007a4 d0bcf3e0 00000857 d0bcb538
[ 25.788265] 00000009 ceca747c 00000000 ceca747c cedd83c0 c10301fb 00000009 00000000
[ 25.791128] d0bcb538 00000001 ceca747c 00000000 ceca75ac d0bcbe65 00000000 00000000
[ 25.795046] Call Trace:
[ 25.795637] [<c1402bc7>] ? dump_stack+0xa/0x13
[ 25.796402] [<c1030143>] ? warn_slowpath_common+0x73/0x90
[ 25.797224] [<d0bcb538>] ? vb2_queue_init+0x418/0xc50 [videobuf2_core]
[ 25.798749] [<c10301fb>] ? warn_slowpath_null+0x1b/0x20
[ 25.799508] [<d0bcb538>] ? vb2_queue_init+0x418/0xc50 [videobuf2_core]
[ 25.800353] [<d0bcbe65>] ? vb2_ioctl_querybuf+0x55/0xd0 [videobuf2_core]
[ 25.801205] [<d0d18bcd>] ? uvc_queue_enable+0x3d/0x70 [uvcvideo]
[ 25.802019] [<d0d1cf27>] ? uvc_video_enable+0x137/0x11a0 [uvcvideo]
[ 25.802875] [<d0d1a54b>] ? uvc_queue_next_buffer+0x18db/0x35f0 [uvcvideo]
[ 25.803739] [<d0ba1767>] ? video_usercopy+0x247/0x360 [videodev]
[ 25.804628] [<c10605ed>] ? get_futex_key+0x1ad/0x1d0
[ 25.805367] [<c106075a>] ? futex_wake+0xda/0x100
[ 25.806087] [<d0d18f8a>] ? uvc_queue_next_buffer+0x31a/0x35f0 [uvcvideo]
[ 25.807014] [<d0d195f0>] ? uvc_queue_next_buffer+0x980/0x35f0 [uvcvideo]
[ 25.807897] [<d0b9e634>] ? v4l2_prio_init+0x574/0x610 [videodev]
[ 25.808709] [<d0b9e5c0>] ? v4l2_prio_init+0x500/0x610 [videodev]
[ 25.809952] [<c10afd00>] ? do_vfs_ioctl+0x490/0x4e0
[ 25.810705] [<c10931e4>] ? do_mmap_pgoff+0x2a4/0x320
[ 25.811413] [<c10625e5>] ? SyS_futex+0x105/0x150
[ 25.812101] [<c10afd8c>] ? SyS_ioctl+0x3c/0x60
[ 25.812779] [<c14068ca>] ? syscall_call+0x7/0x7
[ 25.813458] ---[ end trace 546fbc59b4c8cb7d ]---