Palle Lyckegaard ??: > Hi, > > I have problems getting an external USB disk enclosure to work > properly with OpenSolaris/SPARC. > > The unit identifies it self as > Prolific Technology Inc. Mass Storage Device (usb67b,2506) > (http://www.prolific.com.tw/eng/Products.asp?ID=69) > > The device is known to work properly with Window Vista and the > external disk is formatted with an NTFS filesystem. > > dmesg shows this: > > Mar 31 17:31:45 odin usba: [ID 912658 kern.info] USB 2.0 device > (usb67b,2506) operating at hi speed (USB 2.x) on USB 2.0 root hub: > storage at 6, scsa2usb0 at bus address 2 > Mar 31 17:31:45 odin usba: [ID 349649 kern.info] Prolific Technology > Inc. Mass Storage Device 000000000000 > Mar 31 17:31:45 odin genunix: [ID 936769 kern.info] scsa2usb0 is > /pci at 1f,0/pci at 1/usb at 4,3/storage at 6 > Mar 31 17:31:45 odin genunix: [ID 408114 kern.info] > /pci at 1f,0/pci at 1/usb at 4,3/storage at 6 (scsa2usb0) online > Mar 31 17:31:45 odin scsi: [ID 193665 kern.info] sd0 at scsa2usb0: > target 0 lun 0 > Mar 31 17:31:45 odin genunix: [ID 936769 kern.info] sd0 is > /pci at 1f,0/pci at 1/usb at 4,3/storage at 6/disk at 0,0 > > > The output from rmformat is (with a several minute delay between the > two entries): > > Looking for devices... > 1. Logical Node: /dev/rdsk/c0t1d0s2 > Physical Node: /pci at 1f,0/pci at 1,1/ide at 3/sd at 1,0 > Connected Device: SAMSUNG CDRW/DVD SM-352F T900 > Device Type: DVD Reader > Bus: IDE > Size: <Unknown> > Label: <Unknown> > Access permissions: <Unknown> > 2. Logical Node: /dev/rdsk/c2t0d0s2 > Physical Node: /pci at 1f,0/pci at 1/usb at 4,3/storage at 6/disk at 0,0 > Connected Device: Prolific Mass Storage Dev 0100 > Device Type: <Unknown> > Bus: USB > Size: <Unknown> > Label: <Unknown> > Access permissions: <Unknown> It seems Inquiry command was not processed correctly. > > > Trying to use rmformat to format the disk with > /usr/bin/rmformat -F long /dev/rdsk/c2t0d0s2 > gives a "No media in specified device" error message. > > iostat -Ei output: > sd0 Soft Errors: 0 Hard Errors: 14 Transport Errors: 90 > Vendor: Prolific Product: Mass Storage Dev Revision: 0100 Device Id: > Size: 0.00GB <0 bytes> > Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 > Illegal Request: 2 Predictive Failure Analysis: 0 > > > I have tried to add the device (usb67b,2506) to the scsa2usb driver in > the /etc/driver_aliases file using the update_drv(1M) command and also > updated the /kernel/drv/scsa2usb.conf file with two lines like this: > ... > attribute-override-list = > "vid=* reduced-cmd-support=true"; > ... After you set this, did you reboot the system?
Could you get the debug infos from mdb as follows and send it to me? #echo "::usba_clear_debug_buf" |mdb -wk then Plug in your usb device and wait several seconds #echo "::usba_debug_buf" |mdb -k > /tmp/usblog #echo "::prtusb" | mdb -k >> /tmp/usblog #dmesg >> /tmp/usblog #prtconf -D >> /tmp/usblog Thanks Guoqing > > > Have I overlooked something or is the device not supported properly by > the scsa2usb driver? > > I'm running an older version of OpenSolaris (SunOS odin 5.11 snv_90 > sun4u sparc SUNW,Ultra-5_10). > > Regards > Palle > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > driver-usb mailing list > driver-usb at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/driver-usb