Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1921098.1
Update Date:2018-04-18
Keywords:

Solution Type  Technical Instruction Sure

Solution  1921098.1 :   Using USB thumbdrive on M10  


Related Items
  • Fujitsu M10-4
  •  
  • Fujitsu M10-4S
  •  
  • Fujitsu M10-1
  •  
Related Categories
  • PLA-Support>Sun Systems>SPARC>Enterprise>SN-SPARC: Fujitsu M10
  •  




In this Document
Goal
Solution
References


Applies to:

Fujitsu M10-1 - Version All Versions to All Versions [Release All Releases]
Fujitsu M10-4 - Version All Versions to All Versions [Release All Releases]
Fujitsu M10-4S - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.

Goal

 Provide some basic examples of using a USB thumbdrive with Solaris on an M10 machine

Solution

Once Solaris is up, simply plug in the USB thumbdrive into either the front (port 1) or rear (port 0) USB ports. Not the USB port on the XSCFU.

See attached pictures for USB port locations.

You can then check disk usage using the df -kl command. You should see something like this below:

root@m10-4s-ppar0:~# df -k
Filesystem           1024-blocks        Used   Available Capacity  Mounted on
...
....
/dev/dsk/c1t0d0s2:1     15713272      373176    15340096     3%    /media/RootThumbDrive

.........

You can verify the thumbdrive is mounted by typing this:

root@m10-4s-ppar0:~# eject -l

/dev/dsk/c1t0d0s2:1 rmdisk,rmdisk0,RootThumbDrive,/media/RootThumbDrive

Use the eject command before removing the thumbdrive:

root@m10-4s-ppar0:~$ eject -l
/dev/dsk/c3t0d0s2:1  rmdisk,rmdisk0,RootThumbDrive,/media/RootThumbDrive
root@m10-4s-ppar0:~$ eject rmdisk0
rmdisk0 /dev/dsk/c3t0d0s2:1 unmounted
root@m10-4s-b-ppar0:~$ eject -l
/dev/dsk/c3t0d0s2:1  rmdisk,rmdisk0,RootThumbDrive


PATH_TO_INST Info

-----------------------------------

Reloaded fresh OS with no usb thimbdrive installed

root@m10-4s-ppar0:/etc# grep -i usb path_to_inst
"/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1" 0 "ehci"
"/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/hub@2" 0 "hubd"
"/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4" 0 "ohci"

 
With OS running, I inserted the usb thimbdrive NOTE: Two lines get automatically added to path_to_inst after insert.

root@m10-4s-ppar0:/etc# grep -i usb path_to_inst
"/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1" 0 "ehci"
"/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/hub@2" 0 "hubd"
"/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/storage@1" 0 "scsa2usb"          <----  Line ADDED after insertion
"/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/storage@1/disk@0,0" 4 "sd"      <----  Line ADDED after insertion
"/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4" 0 "ohci"

 
After moving the thumbdrive from front (port 1) to rear (port 0) a few times I  saw additional lines were added to path_to_inst
-----------------------------------------------

root@m10-4s-ppar0:/etc# grep usb path_to_inst
"/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1" 0 "ehci"
"/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/hub@2" 0 "hubd"
"/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/hub@2/storage@1" 1 "scsa2usb"       <--- Line ADDED
"/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/hub@2/storage@1/disk@0,0" 5 "sd"   <--- Line ADDED
"/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/storage@1" 0 "scsa2usb"
"/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/storage@1/disk@0,0" 4 "sd"
"/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4" 0 "ohci" 

Power cycle with no usb thumbdrive inserted
----------------------------------------

ok show-devs
....
/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1
/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4
/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/hub@2

inserted thumbdrive in front (port 1) and reset-all
---------------------------------  

ok show-devs
....
/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1
/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4
/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/hub@2
/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/hub@2/storage@1
/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/hub@2/storage@1/dis

 

  

inserted thumbdrive in rear (port 0) and reset-all
---------------------------------

ok show-devs
.....
/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1
/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4
/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/hub@2
/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/storage@1
/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/storage@1/disk

  

root@m10-4s-ppar0:~# rmformat
Looking for devices...
     1. Logical Node: /dev/rdsk/c3t0d0s2
        Physical Node: /pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/storage@1/disk@0,0
        Connected Device: Corsair  Flash Voyager    1100
        Device Type: Removable
        Bus: USB
        Size: 15.4 GB
        Label: <None>
        Access permissions: Medium is not write protected.

  

modinfo | grep -i usb  After USB thumbdrive has been hot inserted
100 7ba4e000  141a8  54   1  ehci (USB EHCI Driver)
101 7ba62000  34900   -   1  usba (USBA: USB Architecture 2.0 1.66)
103 7baa4000   f508 155   1  ohci (USB OpenHCI Driver)
128 7bed3dd0    330  84   1  hubd (USB Hub Driver)
267 7b220000   8e08 206   1  scsa2usb (SCSA to USB Driver)  <<--- Dynamically loaded upon thumbdrive insertion

 

 For more information see these docs:

External USB-DVD Drive User Guide IO-PRJ/12/0067

System Operation and Administration Guide C120-E679-08EN - Section 4.5 Connecting an external DVD drive

References

<NOTE:1553734.1> - Fujitsu M10-1/M10-4/M10-4S Servers: Booting from an External DVD

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback