Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition | |||
|
|
Solution Type Troubleshooting Sure Solution 1018650.1 : Sun Ray[TM] Server thin client: Troubleshooting USB Mass Storage
PreviouslyPublishedAs 230349 Description This document gives advice on what to check, if a USB Mass Storage device fails to operate on a Sun Ray[TM] ultra-thin client. Steps to Follow Checks: 1. Basic checksIt is recommended to go through the basic checks first. 1.1 Sun Ray Server Software(SRSS) Checks1.1.1 Check both the OS and SRSS support The following table shows USB Mass Storage on Sun Ray support matrix.
USB Mass Storage on Sun Ray is not supported on SRSS 1.0, 1.1, 1.2, 1.3 or 2.0. 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. The new drivers are available in the 3.1.1 release of SRSS for Linux 2.6-based distributions (Red Hat Enterprise Linux AS 4.0 u3, SuSE Linux Enterprise Server 9.0 SP 3). See also
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-3.1.1-19 SUNWutstr-3.1.1-19 # /sbin/lsmod | grep utdisk utdisk 11780 0 utdiskctl 23088 3 utdisk 1.1.3 Check if USB mass storage device access has been enabled 1.1.3.1 SRSS 3.0 In the SRSS 3.0, 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 SRSS 3.1 and 3.1.1 In the SRSS 3.1, 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[TM] DTU Checks1.2.1 Check if it is a Sun Ray[TM] DeskTop Unit(DTU) with P1 motherboard % /opt/SUNWut/sbin/utdesktop -p <mac address> | grep -i model Model = SunRayP1 In this case, the DTU has a P1 motherboard. See also
1.2.2 Check that the DTU has a firmware from at least SRSS 3.0 It may not work with older firmware revisions % /opt/SUNWut/sbin/utdesktop -p <mac address> | grep -i firmware Firmware Revision = 3.0_51,REV=2004.11.10.16.18 In the case above, the DTU has the minimum required firmware (3.0_51). 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 3.x on Solaris supports the use of Flash Disks (e. g. Sun Ray Server Software 3.0 on Solaris does not support CD or DVD drives. Sun Ray Server Software 3.1 on Solaris and Sun Ray Server Software 3.1.1 on Linux allow data CDs and DVDs to be read but not written. Support for some of the "not supported device types" might come in the future. Go to http://www.sun.com/io_technologies/sunray/sunray-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 partitions and UFS slice names have sn suffixed 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[TM] 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/mnt/guest % ls -d disk* disk2 % 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/units/IEEE802.0003ba5b56f1/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 disk2s2 -> ../../devices/usb@1/hub@4/USB_2.0_Flash_Disk,USB_Mass_Storage_Device@2:2
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 appliances provide four USB 1.1 ports, or (in the new USB terminology) USB 2.0 (known as high-speed USB) products, have a design data rate of 480 2.3.2 Accessing Large File Systems Sun Ray[TM] Mass Storage is intended for low data rate and low duty cycle uses. 2.3.3 Latency The Sun Ray[TM] 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[TM] low bandwidth environment works 2.3.5 Other potential hardware issues Do not use a Sun Ray[TM] with a P1 type motherboard. See also 1.2.1. 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
Appendix
References:
Abbreviations:
Product Sun Ray Server Software 3.0 Sun Ray Server Software 3.1 Sun Ray 1 Ultra-Thin Client Sun Ray 100 Ultra-Thin Client Sun Ray 1g Ultra-Thin Client Sun Ray 150 Ultra-Thin Client Sun Ray 170 Ultra-Thin Client Sun Ray 2FS Virtual Display Client Sun Ray 2 Virtual Display Client Internal Comments n/a While Controlled Access Mode and USB mass storage support do not work together in the SRSS 3.0 FCS, a workaround can be found internally on http://webhome.sfbay/Interop/downloads/CAM_Storage_Fix.tar.gz
o http://sunray.sfbay/twiki/bin/view/Sunray/SRMS10DevInfo o BugID 6391060 USB mass storage devices get removed when SIGCONT is sent to utstoraged child process. sunray, Sun Ray, usb, mass storage, storage, hard disk, flash disk, memory stick, zip drive, compact flash, floppy, cd, dvd, drive, SanDisk, utstoraged, utmountd Previously Published As 79953 Change History emailed Author Johann Loefflmann 7/22/08 Hi Johann, In Internal Comments the link for RFE: PCFS should support unmount is not pointing to a Bug or anything that has to do with that title. If you could please fix this with the correct solution as soon as possible so that we may publish this article it would be greatly appreciated. If I can be of any assistance please let me know. Thank you Attachments This solution has no attachment |
||||||||||||||||||||||
|