![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||||
Solution Type Troubleshooting Sure Solution 1018650.1 : Sun Ray Client: Troubleshooting USB Mass Storage
PreviouslyPublishedAs 230349 Applies to:Sun Ray Hardware - Version Sun Ray 2 to Sun Ray 3Plus [Release 1.0]Sun Ray Software - Version SRS 4 to SRS 5.4.5 [Release 4.0 to 5.0] Sun Ray Hardware - Version SROS 11.0 to SROS 11.1.7 [Release 11.0] All Platforms PurposeHow to troubleshoot USB Mass Storage with Sun Ray Troubleshooting StepsEnter the Main Content
1. Basic checksIt is recommended to go through the basic checks first. 1.1 Sun Ray Server Software(SRS) Checks1.1.1 Check both the OS and SRS support The following table shows USB Mass Storage on Sun Ray support matrix.
USB Mass Storage on Sun Ray is ***not supported*** on SRS 1.x or 2.x. USB Mass Storage on Linux is ***not supported*** on older Linuxes, because the Sun Ray USB mass storage drivers simply do not exist in the current supported Linux releases. This is because of limitations in the 2.4 kernel that those distros (RHAS3, SLES8, JDS2) are based on. New drivers are available starting with SRS 4.x release for Linux 2.6-based distributions (Red Hat Enterprise Linux AS 4.0 u3, SuSE Linux Enterprise Server 9.0 SP 3). 1.1.2 Check if the SRMS packages are installed On Solaris: # /usr/bin/pkginfo SUNWutsto SUNWutstr SUNWutstk system SUNWutstk Sun Ray server mass storage drivers (usr) system SUNWutsto Sun Ray server mass storage software (opt) system SUNWutstr Sun Ray server mass storage configuration (root) On Linux: # /bin/rpm -q SUNWutsto SUNWutstr SUNWutsto SUNWutstr # /sbin/lsmod | grep utdisk utdisk 40580 0 utdiskctl 52648 3 utdisk 1.1.3 Check if USB mass storage device access has been enabled 1.1.3.1 SRS 5.x SRS 5.x, USB mass storage device access can only be either completely enabled, or completely disabled. # /opt/SUNWut/sbin/utusbadm DISABLED To enable it run # /opt/SUNWut/sbin/utusbadm -e # /opt/SUNWut/sbin/utrestart -c # /opt/SUNWut/sbin/utusbadm ENABLED 1.1.3.2 SRS 5.x SRS 5.x, the utusbadm command has been deprecated. By default, the USB # /opt/SUNWut/sbin/utdevadm Sun Ray Device Service Status ------------------------------ ------------ internal_serial enabled internal_smartcard_reader enabled usb disabled To enable it, run # /opt/SUNWut/sbin/utdevadm -e -s usb # /opt/SUNWut/sbin/utrestart -c # /opt/SUNWut/sbin/utdevadm Sun Ray Device Service Status ------------------------------ ------------ internal_serial enabled internal_smartcard_reader enabled usb enabled 1.2 Sun Ray DTU Checks1.2.1 Check Sun Ray DeskTop Unit(DTU) model % /opt/SUNWut/sbin/utdesktop -p <mac address> | grep -i model Model = SunRayPx See also
1.2.2 Check that the DTU has a firmware from at least SRS 5.x It may not work with older firmware revisions % /opt/SUNWut/sbin/utdesktop -p <mac address> | grep -i firmware Firmware Revision = <Revision>
1.3 Connection Checks1.3.1 General connection checks Make sure all cables are connected. The USB specification limits the length For troubleshooting, do not use USB-Repeater or USB-Line-Extender. 1.3.2 USB hubs USB hubs can be bus powered(they get the power by the USB cable) or self If connected to a self-powered USB hub, ensure the hub is connected correctly, and has power. Do not use a bus-powered hub between the storage device and the DTU, because a For troubleshooting, we recommend connecting the USB device directly rather than using a USB hub in between. 1.4 Mass Storage Checks1.4.1 Check if the mass storage is a supported device Sun Ray Server Software 5.x on Solaris supports the use of Flash Disks (e. g. Sun Ray Server Software x.0 on Solaris does support CD and DVD drives. Go to http://http://www.oracle.com/technetwork/server-storage/sunrayproducts/docs/index.html for a list of mass 1.4.2 Check if your mass storage has a supported file system Supported file systems are UFS and PCFS. Note: FAT/FAT32 partitions and UFS slice names have a suffix to them to denote traditional SunOS slices, e.g. disk1s0, disk1s6. See also: 2. Checks for a Specific ProblemIt is recommended to go through the basic checks first, even if there is a specific problem. 2.1 Mount ProblemsYou plugged in a flash disk at your Sun Ray appliance, and nothing happened. Here is how to find out what went wrong. 2.1.1 Check, if a mount point has been created under $DTDEVROOT/mnt % cd $DTDEVROOT/mnt % pwd /tmp/SUNWut/sessions/60/mnt % ls -d disk* disk6/ % ls -la disk* lrwxrwxrwx 1 root root 28 Jan 14 12:35 disk2 -> /tmp/SUNWut/mnt/guest/noname 2.1.2 Did the mass storage service (utstoraged) create device links in $UTDEVROOT/dev/dsk ? % cd $UTDEVROOT/dev/dsk % pwd /tmp/SUNWut/sessions/60/unit/dev/dsk % ls -la total 48 drwxr-xr-x 2 root other 181 Jan 14 12:35 . drwxr-xr-x 4 root root 238 Jan 14 12:35 .. lrwxrwxrwx 1 root other 72 Jan 14 12:35 disk6p0 -> ../../devices/usb@1/hub@1/JetFlash,Mass_Storage_Device@6:8 If device links exist, but the device is not mounted, it is possible that
If device links do not exist, it could mean that the disk is running a USB
You will have to wait for a future release of utstoraged to implement the remaining USB protocols. 2.1.3 Is the mass storage service up and running ? # ps -ef | grep utstoraged root 18473 18471 0 12:34:39 ? 0:00 /opt/SUNWut/lib/utstoraged -r root 18474 18473 0 12:34:39 ? 0:00 /opt/SUNWut/lib/utstoraged -r root 18471 1 0 12:34:39 pts/7 0:00 /bin/ksh -p /opt/SUNWut/lib/utlog -o /var/opt/SUNWut/log/utstoraged.log If the daemons are not running, start up services with: # /etc/init.d/utstorage start starting mounter service starting storage service 2.1.4 Is the mounter daemon is up and running ? # ps -ef | grep utmountd root 18470 18469 0 12:34:39 pts/7 0:00 /opt/SUNWut/lib/utmountd root 18469 1 0 12:34:39 pts/7 0:00 /bin/ksh -p /opt/SUNWut/lib/utlog -o /var/opt/SUNWut/log/utmountd.log If the daemon is not running, start up services with: # /etc/init.d/utstorage start starting mounter service 2.2 Write ProblemsIf there are problems writing on the mass storage, check if it has hardware 2.3 Performance Problems2.3.1 Slow-, Full- and High-speed USB devices Sun Ray 2FS has three USB 2.0 ports supporting only USB 1.1. 2.3.2 Accessing Large File Systems Sun Ray Mass Storage is intended for low data rate and low duty cycle uses. 2.3.3 Latency The Sun Ray USB protocol is tuned for low latency and does not perform well 2.3.4 Low bandwidth environments Using USB mass storage devices in a Sun Ray low bandwidth environment works 2.3.5 Other potential hardware issues
2.4 Unmount Problems2.4.1 Device is busy % /opt/SUNWut/bin/utdiskadm -r disk1 utdomount: /tmp/SUNWut/mnt/guest/unamed: Device busy utdiskadm: unmount /tmp/SUNWut/mnt/guest/unnamed failed % pwd /tmp/SUNWut/mnt/guest/unnamed Place the working directory outside the mounted directory to fix the problem % cd / % /opt/SUNWut/bin/utdiskadm -r disk1 disk1 is ready for unplugging 2.5 Sync ProblemsIf your Palm won't sync with the Sun Ray, do the following: # cd /usr/sfw/lib/libusb_plugins # ln -s /opt/SUNWut/lib/libusbut.so.1 libusbut.so 3. Log Files3.1 Check the logs for errors Have a look in the log files. Sometimes there is useful information which can
3.2 Set debug levels
AppendixReferences: Abbreviations:
Attachments This solution has no attachment |
||||||||||||||||||||||
|