On 01/28/17 22:01, Chris Hellberg wrote:

I have a freebsd guest in a VM that receives a USB controller via PCI
passthrough. There was a USB drive inserted in the port when the host
and freebsd guest were booted. I'd like to be able to mount that drive.
The device is detected with usbdevs:

root@NYCD-5K% usbdevs
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel
 addr 2: product 0x0020, vendor 0x8087

However the kernel does not detect the drive (normally there would be
/dev/da0s1 present as well as the block device):

root@NYCD-5K% ls -la /dev/da*
crw-r-----  1 root  operator    0,  73 Jan 27 23:30 /dev/da0

Fdisk can't get at the device:

root@NYCD-QFX5100-48S-2:RE:0% fdisk /dev/da0
fdisk: cannot open disk /dev/da0: Device not configured

Unfortunately the system does not have the camcontrol binary nor lsusb
nor gpart. There is /usr/sbin/usbd installed on the system but I don't
know if that helps. And unfortunately the system only allows signed
binaries so it's essentially a locked environment from the perspective
of installing any other binaries.

Any ideas how I can get at the disk. I can easily get everything working
fine if I pull out and reinsert the USB drive.


Some formats don't have a partition label. Did you try to mount /dev/da0 directly ? Are you expecting labels to be present?


freebsd-usb@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to