On 01/28/17 22:01, Chris Hellberg wrote:
Hi,
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
addr 3: B-READE, GENERICU
root@NYCD-5K%
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
root@NYCD-5K%
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
root@NYCD-QFX5100-48S-2:RE:0%
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.
Hi,
Some formats don't have a partition label. Did you try to mount /dev/da0
directly ? Are you expecting labels to be present?
--HPS
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[email protected]"