[SunRay-Users] SRSS 4.1 USB storage problems
Bob Doolittle
Robert.Doolittle at Sun.COM
Sun Jun 21 18:47:23 EEST 2009
Did you try formatting the sticks under Solaris (or Linux)?
Does Linux handle them if you plug them directly into the Linux host?
I don't know about Linux, but on Solaris we rely on pcfs, and it can be
finicky.
Do the sticks that fail require special software under Windows?
Often flash disks these days come with proprietary encrypted partitions
that require special Windows drivers to access.
Those should be accessible under Windows via Sun Ray Windows Connector
in our next release. If you don't want to wait or you need to access
them natively then reformatting them may be necessary...
-Bob
Andrej Brkic wrote:
> Hi,
>
> I have run into strange problems with using usb sticks on srss4.1 (using
> SunRay 270 DTU-s). The
> problem is that 2 of 10 sticks just don't work. There is no particular
> usb size or brand involved, it
> happens with both new and old devices regardless of brand or size. When
> such usb stick is connected
> to the DTU the block device is created under
> /tmp/SUNWut/units/IEEE802.<macaddr>/dev/dsk but
> any operation on the block device fails. Doing a bit of debugging on
> utstoraged I can see that it
> recognizes the device but it fails to detect its size (log output when a
> 2GB Kingston stick was plugged
> in) :
>
> 2009.06.19 00:22:48.816396 CEST new media status
> /tmp/SUNWut/units/IEEE802.00144fd3589d/devices/usb at 1/hub at 1/KingstonDataTraveler_2.0,lun=0
> 2009.06.19 00:22:48.816658 CEST capacity: ctl=1, nblocks=0, bsize=0
> 2009.06.19 00:22:48.816735
> CEST/tmp/SUNWut/units/IEEE802.00144fd3589d/devices/usb at 1/hub at 1/KingstonDataTraveler_2.0,lun=0,
> ctlmin=1, nb=0, bs=0
> 2009.06.19 00:22:48.816853 CEST
> ut_mknode:/tmp/SUNWut/units/IEEE802.00144fd3589d/devices/usb at 1/hub at 1/Kingston,DataTraveler_2.0 at 1,ctl
> 2009.06.19 00:22:48.817032 CEST
> mknodes:/tmp/SUNWut/units/IEEE802.00144fd3589d/devices/usb at 1/hub at 1/Kingston,DataTraveler_2.0 at 1,ctl[1]
> 2009.06.19 00:22:48.817181 CEST
> ut_mknode:/tmp/SUNWut/units/IEEE802.00144fd3589d/dev/dsk/disk1
> 2009.06.19 00:22:48.817309 CEST
> ut_chowner:/tmp/SUNWut/units/IEEE802.00144fd3589d/dev/dsk/disk1
> 2009.06.19 00:22:48.822271 CEST
> servicing/tmp/SUNWut/units/IEEE802.00144fd3589d/devices/usb at 1/hub at 1/KingstonDataTraveler_2.0,lun=0,
> ctlmin=1, uid=1000, xid=11
> 2009.06.19 00:22:53.872453 CEST [0] get capacity failed
> 2009.06.19 00:22:58.918619 CEST [0] get capacity failed
> 2009.06.19 00:23:08.963957 CEST [0] get capacity failed
> 2009.06.19 00:23:13.999194 CEST [0] get capacity failed
> 2009.06.19 00:23:22.868681 CEST [0] get capacity failed
> 2009.06.19 00:23:29.055740 CEST [0] get capacity failed
> 2009.06.19 00:23:34.983287 CEST [0] get capacity failed
> 2009.06.19 00:23:44.113241 CEST [0] get capacity failed
> 2009.06.19 00:23:49.145440 CEST [0] get capacity failed
> 2009.06.19 00:23:59.188802 CEST [0] get capacity failed
> 2009.06.19 00:24:04.396191 CEST [0] get capacity failed
> 2009.06.19 00:24:11.314065 CEST [0] get capacity failed
> 2009.06.19 00:24:19.451671 CEST [0] get capacity failed
>
> Tracing the utstoraged process reveals that its constantly sending ioctl
> 0x5546 requests and just keeps spinning there.
> Any attempt to read any amount of data for the block device returns
> nothing. For example trying to read the partition table
> (first 512 bytes) returns 0:
>
> open("disk1", O_RDONLY|O_LARGEFILE) = 4
> read(4, ""..., 512) = 0
>
> I have tested this on srss4.1 running on both Solaris & Linux and the
> debug is identical on both. Of course all 'problematic'
> usb sticks work correctly when plugged into a PC running Windows or even
> directly to the server running Solaris or Linux.
> Is it possible that this is a DTU (firmware) bug ? Or a bug in
> utstoraged ? Since I have quite a few people using sunrays having
> 20% of sticks not working is bad. Does anyone have any idea how to solve
> this problem or at least point me in the right
> direction in debugging it ?
>
> Thanks,
> Andrej
>
>
> _______________________________________________
> SunRay-Users mailing list
> SunRay-Users at filibeto.org
> http://www.filibeto.org/mailman/listinfo/sunray-users
>
More information about the SunRay-Users
mailing list