USB flash drive on SunBlade 100

From: BERTHOLD Jean (Jean.BERTHOLD@eosholding.ch)
Date: Thu Sep 04 2003 - 11:29:57 EDT


Hello,

I try to use a 256 MB flash disk under Solaris 8 on a SunBlade 100.
I cannot find any documentation about USB at Sunsolve.

how to mount and manage USB disk devices under Solaris 8 or 9 ?

When I connect the usb device, I can see in the /var/adm/messages :

Sep 4 12:17:12 zanzibar pcipsy: [ID 370704 kern.info] PCI-device:
card-reader@40, scmi2c1
Sep 4 12:17:12 zanzibar genunix: [ID 936769 kern.info] scmi2c1 is
/pci@1f,0/pmu@3/i2c@0,0/card-reader@40
Sep 4 12:23:59 zanzibar usba: [ID 855233 kern.info] USB-device: storage@2,
scsa2usb0 at bus address 4
Sep 4 12:23:59 zanzibar usba: [ID 349649 kern.info] Generic, Mass Storage
Device, Mass Storage Device
Sep 4 12:23:59 zanzibar genunix: [ID 936769 kern.info] scsa2usb0 is
/pci@1f,0/usb@c,3/storage@2
Sep 4 12:23:59 zanzibar genunix: [ID 408114 kern.info]
/pci@1f,0/usb@c,3/storage@2 (scsa2usb0) online
Sep 4 12:24:00 zanzibar scsi: [ID 193665 kern.info] usb_sd0 at scsa2usb0:
target 0 lun 0
Sep 4 12:24:00 zanzibar genunix: [ID 936769 kern.info] usb_sd0 is
/pci@1f,0/usb@c,3/storage@2/disk@0,0
Sep 4 12:24:00 zanzibar genunix: [ID 408114 kern.info]
/pci@1f,0/usb@c,3/storage@2/disk@0,0 (usb_sd0) online
Sep 4 14:44:38 zanzibar genunix: [ID 408114 kern.info]
/pci@1f,0/usb@c,3/storage@2/disk@0,0 (usb_sd0) offline

Before connecting the usb device :

root@zanzibar # cd /dev/usb
root@zanzibar # ls -l
total 6
lrwxrwxrwx 1 root root 44 Feb 19 2002 hid0 ->
<mailto:../../devices/pci@1f,0/usb@c,3/mouse@3:mouse>
../../devices/pci@1f,0/usb@c,3/mouse@3:mouse
lrwxrwxrwx 1 root root 50 Feb 19 2002 hid1 ->
<mailto:../../devices/pci@1f,0/usb@c,3/keyboard@4:keyboard>
../../devices/pci@1f,0/usb@c,3/keyboard@4:keyboard
lrwxrwxrwx 1 root root 37 Jan 25 2002 hub0 ->
<mailto:../../devices/pci@1f,0/usb@c,3:devctl>
../../devices/pci@1f,0/usb@c,3:devctl
root@zanzibar #

After connecting the usb device:

root@zanzibar # ls -l
total 8
lrwxrwxrwx 1 root root 44 Feb 19 2002 hid0 ->
<mailto:../../devices/pci@1f,0/usb@c,3/mouse@3:mouse>
../../devices/pci@1f,0/usb@c,3/mouse@3:mouse
lrwxrwxrwx 1 root root 50 Feb 19 2002 hid1 ->
<mailto:../../devices/pci@1f,0/usb@c,3/keyboard@4:keyboard>
../../devices/pci@1f,0/usb@c,3/keyboard@4:keyboard
lrwxrwxrwx 1 root root 37 Jan 25 2002 hub0 ->
<mailto:../../devices/pci@1f,0/usb@c,3:devctl>
../../devices/pci@1f,0/usb@c,3:devctl
lrwxrwxrwx 1 root root 49 Sep 4 14:52 mass-storage0 ->
<mailto:../../devices/pci@1f,0/usb@c,3/storage@2:scsa2usb>
../../devices/pci@1f,0/usb@c,3/storage@2:scsa2usb
root@zanzibar #

Mount:

root@zanzibar # mount /dev/usb/mass-storage0 /mnt
mount: /dev/usb/mass-storage0 not a block device
root@zanzibar #

What is wrong in my mount command ?

Thanks for your help

 __________________________________________

Jean Berthold
EOS - energie ouest suisse
Chemin de Mornex 10 , CP 570
CH-1001 Lausanne , Switzerland
Tel. : +41 (0)21 341 24 58
Fax : +41 (0)21 341 20 49
E-Mail : jean.berthold@eos-gd.ch
---------------------------------
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:04 EDT