[OpenIndiana-discuss] USB flash drives

russell stream at willows7.myzen.co.uk
Thu Oct 21 13:09:29 UTC 2021


Good Afternoon

When I insert a USB flash drive, the system detects and reports its 
presence as can be seen from "dmesg"

Oct 21 13:50:36 tesla usba: [ID 349649 kern.info] USB Flash Disk 
FBF1101121303975
Oct 21 13:50:36 tesla genunix: [ID 936769 kern.info] scsa2usb1 is 
/pci at 0,0/pci1022,1483 at 1,2/pci1b21,1142 at 0/hub at 6/storage at 3
Oct 21 13:50:36 tesla genunix: [ID 408114 kern.info] 
/pci at 0,0/pci1022,1483 at 1,2/pci1b21,1142 at 0/hub at 6/storage at 3 (scsa2usb1) online
Oct 21 13:50:36 tesla scsi: [ID 583861 kern.info] sd11 at scsa2usb1: 
target 0 lun 0

However the drive is not automatically mounted.

I can manually mount the USB flash drive by using "rmformat -l" to 
identify the device

      3. Logical Node: /dev/rdsk/c7t0d0p0
         Physical Node: 
/pci at 0,0/pci1022,1483 at 1,2/pci1b21,1142 at 0/hub at 6/storage at 3/disk at 0,0
         Connected Device: USB      Flash Disk       1100
         Device Type: Removable
         Bus: USB
         Size: 1.9 GB
         Label: <Unknown>
         Access permissions: Medium is not write protected.

I can then use "mount -F pcfs /dev/dsk/c7t0d0p1 <mount point>", note 
that the I have to use the none raw device and use drive partition 1 not 
partition 0.

The other thing I find that is that I can get the following and when 
this occurs the usb device is not accessible.

Oct 21 13:03:11 tesla xhci: [ID 902155 kern.info] NOTICE: xhci0: xhci 
stop endpoint command (3)/slot (7) in wrong state: 19
Oct 21 13:03:11 tesla xhci: [ID 617155 kern.info] NOTICE: xhci0: 
endpoint is in state 3
Oct 21 13:03:11 tesla xhci: [ID 902155 kern.info] NOTICE: xhci0: xhci 
stop endpoint command (2)/slot (7) in wrong state: 19
Oct 21 13:03:11 tesla xhci: [ID 617155 kern.info] NOTICE: xhci0: 
endpoint is in state 3
Oct 21 13:03:11 tesla xhci: [ID 902155 kern.info] NOTICE: xhci0: xhci 
stop endpoint command (3)/slot (7) in wrong state: 19
Oct 21 13:03:11 tesla xhci: [ID 617155 kern.info] NOTICE: xhci0: 
endpoint is in state 3

Is there a way to fix the USB drive auto mounting issue?


TIA


Russell




More information about the openindiana-discuss mailing list