VirtualBox

Ticket #15323 (new defect)

Opened 5 years ago

Sandisk Extreme SDCZ80 flash drive 'no medium found'

Reported by: crahan Owned by:
Component: USB Version: VirtualBox 5.0.18
Keywords: sandisk, SDCZ80 , partitions, mount, nomedium Cc:
Guest type: all Host type: Mac OS X

Description

When connecting a Sandisk Extreme SDCZ80 64GB (partitioned as either fat32 or exfat) to either a Linux or Windows 7 guest OS in VirtualBox 5.0.18 running on OS X 10.11, the flash drive is recognised by the guest OS, but in all instances it appears as an empty drive.

On the Windows 7 VM trying to access the flash drive pops up a message requesting to insert a disk (as it does with an empty DVD drive). When trying to access the drive in Linux (Ubuntu) the OS errors "cannot open /dev/sdb: No medium found". Also, while lsusb on the Linux VM lists the device and /dev/sdb is created, Gparted does not list the drive for formatting and no /dev/sdb1 partition is present on the Linux VM.

The Sandisk Extreme SDCZ80 mounts fine on dedicated Linux, Windows 7 and OS X hosts. Data can be copied and read without issue. Only when using the Sandisk Extreme USB3 flash drive inside of VirtualBox VM's do they appear as an empty drive.

Other USB3 flash drives do not exhibit this behaviour in VirtualBox and data on the drives is accessible without issue inside both the Linux and the Windows 7 VM. The problem only manifests itself with the Sandisk Extreme SDCZ80 64GB model.

Dmesg output (from the Linux guest VM)

[   28.654211] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
[   28.680737] usb 2-1: New USB device found, idVendor=0781, idProduct=5580
[   28.680741] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   28.680743] usb 2-1: Product: Extreme
[   28.680745] usb 2-1: Manufacturer: SanDisk
[   28.680746] usb 2-1: SerialNumber: AA010118161550470319
[   28.708104] usb-storage 2-1:1.0: USB Mass Storage device detected
[   28.708196] scsi host3: usb-storage 2-1:1.0
[   28.711502] usbcore: registered new interface driver usb-storage
[   28.717525] usbcore: registered new interface driver uas
[   29.708039] scsi 3:0:0:0: Direct-Access     SanDisk  Extreme          0001 PQ: 0 ANSI: 6
[   29.712811] sd 3:0:0:0: Attached scsi generic sg2 type 0
[   29.718321] sd 3:0:0:0: [sdb] Attached SCSI removable disk

lsusb output (from the Linux guest VM)

vm@xubuntu:~$ lsusb
Bus 002 Device 002: ID 0781:5580 SanDisk Corp. SDCZ80 Flash Drive
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Output when trying to access the drive using cfdisk (from the Linux guest VM)

vm@xubuntu:~$ sudo cfdisk /dev/sdb
[sudo] password for vm: 
cfdisk: cannot open /dev/sdb: No medium found

So in summary:

  1. Other (somewhat slower) USB3 flash drives work fine in these VirtualBox VM's (they all mount and can be read without issue on both a Linux and Windows 7 VM)
  2. The Sandisk Extreme 64GB works fine on dedicated hardware and can be mounted and read by different operating systems (Windows 7, OS X, Linux). But it's detected as a drive without any media inserted (like a DVD drive) on both the Linux and Windows 7 VMs in VirtualBox.

Attachments

Xubuntu-2016-04-15-14-06-57.log.gz Download (17.8 KB) - added by crahan 5 years ago.
VirtualBox log files (Xubuntu VM)

Change History

Changed 5 years ago by crahan

VirtualBox log files (Xubuntu VM)

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use