F16 USB pass-through to VirtualBox
by Dave Close
I have no previous experience with VirtualBox but have been trying to
use it for the last couple of weeks. Now I'm having what ought to be
a simple problem, but I'm stuck. I can't get a VBox guest to see a
connected USB flash drive.
Host: Fedora 16
Guest: Fedora 8
VirtualBox: 4.1.8 with (the only) extension
Host uses a USB keyboard and mouse which are attached normally
during boot and are visible and useable by both the host and the
guest. However, I'm usually running the guest headless. A VBox blank
USB "filter" is installed. When connecting a flash drive, the host
immediately reports detection but the guest does not see anything. These
are the only USB devices anticipated. Host /var/log/messages extract:
Feb 18 20:37:04 sunvale kernel: [ 208.186078] usb 1-5: new high-speed USB device number 4 using
ehci_hcd
Feb 18 20:37:04 sunvale kernel: [ 208.304139] usb 1-5: New USB device found, id Vendor=0dd8, id
Product=c100
Feb 18 20:37:04 sunvale kernel: [ 208.304148] usb 1-5: New USB device strings: Mfr=2, Product=1,
SerialNumber=3
Feb 18 20:37:04 sunvale kernel: [ 208.304156] usb 1-5: Product: USB Flash Disk
Feb 18 20:37:04 sunvale kernel: [ 208.304162] usb 1-5: Manufacturer: Netac
Feb 18 20:37:04 sunvale kernel: [ 208.304167] usb 1-5: SerialNumber: 4880787365A536E3
Feb 18 20:37:04 sunvale kernel: [ 208.304980] scsi5 : usb-storage 1-5:1.0
Feb 18 20:37:04 sunvale mtp-probe: checking bus 1, device 4:
"/sys/devices/pci0000:00/0000:00:12.2/usb1/1-5"
Feb 18 20:37:04 sunvale mtp-probe: bus: 1, device: 4 was not an MTP device
Feb 18 20:37:05 sunvale kernel: [ 209.308678] scsi 5:0:0:0: Direct-Access Netac OnlyDisk
1.00 PQ: 0 ANSI: 2
Feb 18 20:37:05 sunvale kernel: [ 209.311032] sd 5:0:0:0: Attached scsi generic sg6 type 0
Feb 18 20:37:05 sunvale kernel: [ 209.649594] sd 5:0:0:0: [sdf] Assuming drive cache: write through
Feb 18 20:37:05 sunvale kernel: [ 209.649602] sd 5:0:0:0: [sdf] Attached SCSI removable disk
There are no new lines added to /var/log/messages on the guest. (Yes,
the flash drive referenced here is ancient. It is just a test device.)
Further information:
# VBoxManage list usbhost
Host USB Devices:
...
UUID: c85d93b6-59a0-43b2-a347-e4f2d52dd924
VendorId: 0x0dd8 (0DD8)
ProductId: 0xc100 (C100)
Revision: 1.0 (0100)
Manufacturer: Netac
Product: USB Flash Disk
SerialNumber: 4880787365A536E3
Address: sysfs:/sys/devices/pci0000:00/0000:00:12.2/usb1/1-5//device:/dev/vboxusb/001/0
04
Current State: Busy
The VBox manual seems to say that USB pass-through will not work if
the USB device is actively used by the host. I presume this attachment
constitutes active use, especially since it is reported as busy, but
the drive is not mounted. (I have explicitly disabled auto-mount.) What
do I need to do to let this device (and any other USB flash drives
inserted) be seen by the guest?
Searching online finds only references to using auto-mount on the
host, then sharing the mount directory with the guest. That is not
an ideal solution in this case as software on the guest expects to
mount the drive and would need to be extensively modified. Besides,
I hate auto-mount.
The issue is the flash drive. What can't the guest see it?
--
Dave Close, Compata, Irvine CA "You can't turn shovelware into
dave(a)compata.com, +1 714 434 7359 reliable software by patching it
dhclose(a)alumni.caltech.edu a whole lot." -- Marcus Ranum
12 years, 2 months
Policykit in fedora 16?
by shreyas m
How can i register my application to policykit in fedora16? If i do so,
will it ask for the root password as soon i start my application?
thank you
--
*Regards
Shreyas.M
*
12 years, 2 months
Problem with atl1c driver for AR8152 network card.
by Simon Slater
G'day all,
I have seen a couple of unresolved references to this driver in
bugzilla and some fixes for older Fedora and kernel versions that don't
reliably work in F16.
Removing and reloading the atl1c module repeatedly will get it working
less than 5% of the time yet when working may stay up for as little as a few
seconds but sometimes for an hour or so. The atl1e driver does not create an
em1 device at all.
Does anyone know of a fix for this?
The situation is:
[root@toshiba650 ~]# uname -r
3.2.6-3.fc16.x86_64
[root@toshiba650 ~]# ifconfig em1
em1 Link encap:Ethernet HWaddr 00:26:6C:64:85:0E
inet6 addr: fe80::226:6cff:fe64:850e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3325 errors:71047 dropped:1040 overruns:0 frame:23923
TX packets:49 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:347987 (339.8 KiB) TX bytes:14942 (14.5 KiB)
Interrupt:46
[root@toshiba650 ~]# dmesg | grep atl1c
[ 23.059344] atl1c 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 23.059359] atl1c 0000:02:00.0: setting latency timer to 64
[ 23.195859] atl1c 0000:02:00.0: version 1.0.1.0-NAPI
[ 23.561012] atl1c 0000:02:00.0: vpd r/w failed. This is likely a firmware
bug on this device. Contact the card vendor for a firmware update.
[ 36.417987] atl1c 0000:02:00.0: irq 46 for MSI/MSI-X
[ 36.418199] atl1c 0000:02:00.0: atl1c: em1 NIC Link is Up<100 Mbps Half
Duplex>
Regards
--
Simon Slater
Registered Linux User #463789
http://linuxcounter.net
12 years, 2 months
re-mapping an older disk ??
by Bill Case
Hi;
I have some hard disk problems, every thing I try just keeps digging a
deeper hole.
SMART Data
Disk HAS MANY BAD SECTORS
Backup all data and replace the disk
Current Pending Sector Count
Number of sectors waiting to be remapped
Problem(s) could also be mixed with my trying to set up and use LVM for
the first time. !! If anyone recognizes a LVM problem please let me
know? Could also be from physicaly switching two 500g harddrives
around?
Diagnosis suggestions would be welcome.
googled for suggested fix because the disk is not that old. Got the dd
suggestion below. Looks destructive.
dd if=/dev/zero of=/dev/sda bs=1M conv=noerror
SMART Data -- warning
Disk HAS MANY BAD SECTORS
Backup all data and replace the disk
Current Pending Sector Count
Number of sectors waiting to be remapped
Problem(s) could also be mixed with my trying to set up and use LVM for
the first time. !! If anyone recognizes a LVM problem please let me
know?
Could also be from physicaly switching two 500g harddrives around?
Diagnosis suggestions would be welcome.
googled for suggested fix because the disk is not that old. Got the dd
suggestion below. Looks destructive.
dd if=/dev/zero of=/dev/sda bs=1M conv=noerror
--
Regards Bill
Fedora 15, Gnome 3.0.2
Evo.3.0.2, Emacs 23.2.1
12 years, 2 months
OpenSSH ECDSA support
by Carsten Mattner
I've tried to search bugzilla and forums for information on ECDSA support
in the Fedora provided OpenSSH packages, but didn't find anything conclusive.
What is the status?
12 years, 2 months