[OpenIndiana-discuss] USB Access issues

russell stream at willows7.myzen.co.uk
Tue Apr 27 08:52:11 UTC 2021


Good Morning John

The output of format -e for the USB Flash drive

        9. c7t0d0 <USB-FlashDisk-1100 cyl 954 alt 2 hd 128 sec 32>
/pci at 0,0/pci1022,1483 at 1,2/pci1b21,1142 at 0/hub at 6/storage at 3/disk at 0,0

Running parted  /dev/dsk/c7t0d0p0

GNU Parted 1.8.8
Using /dev/dsk/c7t0d0p0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Model: Generic Ide (ide)
Disk /dev/dsk/c7t0d0p0: 2005MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
  1      1049kB  2005MB  2004MB  primary  fat32        lba

# iostat -En reports

c7t0d0           Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: USB      Product: Flash Disk       Revision: 1100 Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0

So the drive is seen but it is not mounted automatically.
I make a temporary directory and then manually mount it then it does 
become accessible

# mkdir /tmp/russ
# mount -f pcfs /dev/dsk/c7t0d0p1 /tmp/russ

Below is a list of all the active services, rvolmgr is running.

root at tesla:/home/russell# svcs -a | grep online
online          8:41:25 svc:/system/svc/restarter:default
online          8:41:25 svc:/system/early-manifest-import:default
online          8:41:25 svc:/network/datalink-management:default
online          8:41:25 svc:/network/netcfg:default
online          8:41:25 svc:/network/ip-interface-management:default
online          8:41:26 svc:/system/filesystem/root:default
online          8:41:26 svc:/system/cryptosvc:default
online          8:41:26 svc:/system/scheduler:default
online          8:41:26 svc:/system/auditset:default
online          8:41:26 svc:/network/loopback:default
online          8:41:26 svc:/system/boot-archive:default
online          8:41:26 svc:/system/filesystem/usr:default
online          8:41:26 svc:/system/pfexec:default
online          8:41:26 svc:/system/device/local:default
online          8:41:26 svc:/network/ipsec/ipsecalgs:default
online          8:41:26 svc:/system/keymap:default
online          8:41:26 svc:/system/filesystem/minimal:default
online          8:41:26 
svc:/application/desktop-cache/gio-module-cache:default
online          8:41:26 svc:/system/ca-certificates:default
online          8:41:26 svc:/system/zones-monitoring:default
online          8:41:26 svc:/system/hostid:default
online          8:41:26 svc:/system/dbus:default
online          8:41:26 svc:/system/rbac:default
online          8:41:26 svc:/system/logadm-upgrade:default
online          8:41:26 svc:/system/resource-mgmt:default
online          8:41:26 svc:/system/sysevent:default
online          8:41:26 svc:/system/rmtmpfiles:default
online          8:41:26 svc:/network/ipsec/policy:default
online          8:41:26 svc:/system/pkgserv:default
online          8:41:27 svc:/application/font/fc-cache:default
online          8:41:27 svc:/application/opengl/ogl-select:default
online          8:41:27 svc:/system/upower:default
online          8:41:27 svc:/network/npiv_config:default
online          8:41:27 svc:/system/name-service-cache:default
online          8:41:27 svc:/system/device/fc-fabric:default
online          8:41:27 svc:/milestone/devices:default
online          8:41:27 svc:/system/manifest-import:default
online          8:41:27 svc:/system/coreadm:default
online          8:41:27 svc:/application/print/service-selector:default
online          8:41:27 svc:/system/power:default
online          8:41:27 svc:/system/device/audio:default
online          8:41:28 svc:/network/physical:default
online          8:41:28 svc:/milestone/network:default
online          8:41:28 svc:/system/identity:domain
online          8:41:28 svc:/network/iptun:default
online          8:41:28 svc:/system/fcoe_initiator:default
online          8:41:28 svc:/network/initial:default
online          8:41:28 svc:/network/service:default
online          8:41:28 svc:/network/netmask:default
online          8:41:28 svc:/network/dns/client:default
online          8:41:28 svc:/milestone/name-services:default
online          8:41:28 svc:/network/iscsi/initiator:default
online          8:41:28 svc:/application/cups/scheduler:default
online          8:41:29 svc:/network/ntp:default
online          8:41:29 svc:/network/routing-setup:default
online          8:41:29 svc:/system/identity:node
online          8:41:29 svc:/network/rpc/bind:default
online          8:41:29 svc:/milestone/single-user:default
online          8:41:29 svc:/system/picl:default
online          8:41:29 svc:/network/routing/route:default
online          8:41:34 svc:/system/hal:default
online          8:41:35 svc:/system/filesystem/local:default
online          8:41:35 svc:/application/desktop-cache/dconf-update:default
online          8:41:35 svc:/system/sysding:system
online          8:41:35 svc:/application/x11/x11-init:default
online          8:41:35 svc:/system/cron:default
online          8:41:35 svc:/system/filesystem/autofs:default
online          8:41:35 svc:/system/xvm/vnc-config:default
online          8:41:35 svc:/system/consolekit:default
online          8:41:35 svc:/application/vlc-cache-gen:default
online          8:41:35 svc:/network/shares/group:zfs
online          8:41:35 svc:/system/boot-archive-update:default
online          8:41:35 svc:/application/virtualbox/run-once:default
online          8:41:35 svc:/network/shares/group:default
online          8:41:35 svc:/milestone/sysconfig:default
online          8:41:35 
svc:/application/desktop-cache/mime-types-cache:default
online          8:41:35 
svc:/application/desktop-cache/desktop-mime-cache:default
online          8:41:35 svc:/system/sac:default
online          8:41:35 svc:/system/dumpadm:default
online          8:41:35 
svc:/application/desktop-cache/pixbuf-loaders-installer:default
online          8:41:35 svc:/system/utmp:default
online          8:41:35 svc:/network/inetd:default
online          8:41:35 svc:/system/console-login:default
online          8:41:35 svc:/application/desktop-cache/gconf-cache:default
online          8:41:35 svc:/system/system-log:default
online          8:41:35 svc:/network/sendmail-client:default
online          8:41:35 
svc:/application/desktop-cache/input-method-cache:default
online          8:41:35 svc:/network/smtp:sendmail
online          8:41:35 svc:/milestone/multi-user:default
online          8:41:35 svc:/application/graphical-login/lightdm:default
online          8:41:35 svc:/system/intrd:default
online          8:41:35 svc:/system/boot-config:default
online          8:41:35 svc:/system/fmd:default
online          8:41:35 svc:/network/rpc/gss:default
online          8:41:35 svc:/network/rpc/smserver:default
online          8:41:35 svc:/network/security/ktkt_warn:default
online          8:41:35 svc:/milestone/multi-user-server:default
online          8:41:35 svc:/system/zones:default
online          8:41:35 svc:/application/texinfo-update:default
online          8:41:36 svc:/application/desktop-cache/icon-cache:default
online          8:41:37 svc:/network/dns/server:default
online          8:41:37 svc:/network/routing/ndp:default
online          8:41:38 svc:/system/update-man-index:default
online          9:35:17 svc:/system/filesystem/rmvolmgr:default

Any suggestions on how to get automounting working?

In respect of the USB passthrough could that be linked to USB 
automounting not working or the fact I get "Failed to connect to AMD 
IOMMU" error message on boot.
I have tried the fix of setting the Power Supply Idle option to typical 
but had no effect (I have updated the illumos bug). My VMs work fine 
except for USB passthrough.

TIA

Russell




More information about the openindiana-discuss mailing list