From owner-freebsd-usb@FreeBSD.ORG Sun Feb 22 16:45:08 2015 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3E8BD6FB for ; Sun, 22 Feb 2015 16:45:08 +0000 (UTC) Received: from r02.singnet.com.sg (r02.singnet.com.sg [202.40.249.102]) by mx1.freebsd.org (Postfix) with ESMTP id CA852886 for ; Sun, 22 Feb 2015 16:45:07 +0000 (UTC) Received: from cp-prod-rg-out-1.fuse.kc2.sg.local (172.63.64.222) by r02.singnet.com.sg (8.6.060.30) id 540568470128659E for freebsd-usb@freebsd.org; Mon, 23 Feb 2015 00:29:40 +0800 Received: from zaapth.zeepster.org (116.14.83.188) by cp-prod-rg-out-1.fuse.kc2.sg.local (8.6.122.03) id 54CF3F9701B6D797 for freebsd-usb@freebsd.org; Sun, 22 Feb 2015 16:29:44 +0000 Received: from zaapedy.zeepster.org ([172.16.38.42]) by zaapth.zeepster.org with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.83 (FreeBSD)) (envelope-from ) id 1YPZPb-000Bax-Uo for freebsd-usb@freebsd.org; Mon, 23 Feb 2015 00:29:43 +0800 Message-ID: <54EA03F9.8080900@singnet.com.sg> Date: Mon, 23 Feb 2015 00:29:45 +0800 From: Tur-Wei Chan User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-usb@freebsd.org Subject: Re: [Bug 196230] New: USB issue with Raidsonic ICY BOX IB-3640SU3 References: <54E9F2DE.9060307@singnet.com.sg> In-Reply-To: <54E9F2DE.9060307@singnet.com.sg> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2015 16:45:08 -0000 HI, On 22/2/2015 11:16 PM, Tur-Wei Chan wrote: > Hi, > > On 24/12/2014 12:05 AM, bugzilla-noreply@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.bandi@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: at usbus1 >> Dec 23 13:34:49 tristania kernel: umass0: > 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: >> 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 >> >> 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: at usbus1 >> Dec 12 09:23:25 tristania kernel: umass0: > 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: >> 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: >> 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: 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-