HI,

On 22/2/2015 11:16 PM, Tur-Wei Chan wrote:
Hi,

On 24/12/2014 12:05 AM, bugzilla-nore...@freebsd.org wrote:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196230

             Bug ID: 196230
            Summary: USB issue with Raidsonic ICY BOX IB-3640SU3
            Product: Base System
            Version: 10.1-RELEASE
           Hardware: Any
                 OS: Any
             Status: New
           Severity: Affects Many People
           Priority: ---
          Component: usb
           Assignee: freebsd-usb@FreeBSD.org
           Reporter: szalai.ba...@gmail.com

Hi Guys,

I have a Raidsonic ICY BOX IB-3640SU3 external HDD rack, which is connected to the computer via USB 3.0. In the rack, there are two SATA HDDs, but only the
first one recognized. Kernel log output (FreeBSD 10.1):

Dec 23 13:34:49 tristania kernel: ugen1.2: <vendor 0x152d> at usbus1
Dec 23 13:34:49 tristania kernel: umass0: <vendor 0x152d product 0x0539, class
0/0, rev 3.00/28.12, addr 1> on usbus1
Dec 23 13:34:54 tristania kernel: umass0: Get Max Lun not supported
(USB_ERR_TIMEOUT)
Dec 23 13:34:59 tristania kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12
00 00 00 24 00
Dec 23 13:34:59 tristania kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB
request completed with an error
Dec 23 13:34:59 tristania kernel: (probe0:umass-sim0:0:0:0): Retrying command Dec 23 13:34:59 tristania kernel: (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB:
a0 00 00 00 00 00 00 00 00 10 00 00
Dec 23 13:34:59 tristania kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI
Status Error
Dec 23 13:34:59 tristania kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check
Condition
Dec 23 13:34:59 tristania kernel: (probe0:umass-sim0:0:0:0): SCSI sense:
ILLEGAL REQUEST asc:20,0 (Invalid command operation code)
Dec 23 13:34:59 tristania kernel: (probe0:umass-sim0:0:0:0): Error 22,
Unretryable error
Dec 23 13:34:59 tristania kernel: da0 at umass-sim0 bus 0 scbus7 target 0 lun 0 Dec 23 13:34:59 tristania kernel: da0: <WDC WD20 EARS-00MVWB0 0X0B> Fixed
Direct Access SCSI-6 device
Dec 23 13:34:59 tristania kernel: da0: Serial Number
Dec 23 13:34:59 tristania kernel: da0: 400.000MB/s transfers
Dec 23 13:34:59 tristania kernel: da0: 1907729MB (3907029168 512 byte sectors:
255H 63S/T 243201C)
Dec 23 13:34:59 tristania kernel: da0: quirks=0xa<NO_6_BYTE,4K>

The second HDD is not recognized, because "Get Max Lun not supported
(USB_ERR_TIMEOUT)" error.

However, with FreeBSD 9.1, the external rack worked without any issue:

Dec 12 09:23:25 tristania kernel: ugen1.2: <JMicron> at usbus1
Dec 12 09:23:25 tristania kernel: umass0: <JMicron USB to ATAATAPI Bridge,
class 0/0, rev 3.00/28.12, addr 1> on usbus1
Dec 12 09:23:25 tristania kernel: (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB:
a0 0 0 0 0 0 0 0 0 10 0 0
Dec 12 09:23:25 tristania kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI
Status Error
Dec 12 09:23:25 tristania kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check
Condition
Dec 12 09:23:25 tristania kernel: (probe0:umass-sim0:0:0:0): SCSI sense:
ILLEGAL REQUEST asc:20,0 (Invalid command operation code)
Dec 12 09:23:25 tristania kernel: (probe0:umass-sim0:0:0:0): Error 22,
Unretryable error
Dec 12 09:23:25 tristania kernel: da0 at umass-sim0 bus 0 scbus6 target 0 lun 0 Dec 12 09:23:25 tristania kernel: da0: <WDC WD20 EARS-00MVWB0 0X0B> Fixed
Direct Access SCSI-6 device
Dec 12 09:23:25 tristania kernel: da0: 400.000MB/s transfers
Dec 12 09:23:25 tristania kernel: da0: 1907729MB (3907029168 512 byte sectors:
255H 63S/T 243201C)
Dec 12 09:23:25 tristania kernel: da1 at umass-sim0 bus 0 scbus6 target 0 lun 1 Dec 12 09:23:25 tristania kernel: da1: <WDC WD20 EARS-00MVWB0 0X0B> Fixed
Direct Access SCSI-6 device
Dec 12 09:23:25 tristania kernel: da1: 400.000MB/s transfers
Dec 12 09:23:25 tristania kernel: da1: 1907729MB (3907029168 512 byte sectors:
255H 63S/T 243201C)


I have a similar problem to this issue; I too have 2 SATA HDDs mounted on an external USB3 HDD dock (Mediasonic ProBox 4-bay Dock), with the same USB VID/PID: ugen1.2: <product 0x0539 vendor 0x152d> at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (2mA)

In my case, with 10-Stable prior to r278278, I can get both /dev/da0 and /dev/da1 albeit after some delay after plugging in. With r278278 and later, however, I get only the same errror as above (umass0: Get Max Lun not supported (USB_ERR_TIMEOUT)), and only /dev/da0 turns up.

I attach 2 logs, one with kernel at r278277 and the 2nd at r278278 with hw.usb.xhci.debug=16, hopefully these can help shed some light on the problem...


Oops, mail ate my log.  Trying with these links:

r278277: http://justpaste.it/twchan-fbsd-dmesg-ok
r278278: http://justpaste.it/twchan-fbsd-dmesg-nok

Regards

  -T.W.Chan-




_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to