From owner-freebsd-usb@FreeBSD.ORG Sun Sep 16 01:12:24 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8E7916A419 for ; Sun, 16 Sep 2007 01:12:24 +0000 (UTC) (envelope-from vss@73rus.com) Received: from tail.lionet.info (tail.lionet.info [216.218.215.226]) by mx1.freebsd.org (Postfix) with ESMTP id 82BFC13C428 for ; Sun, 16 Sep 2007 01:12:24 +0000 (UTC) (envelope-from vss@73rus.com) Received: from [192.168.1.100] (adsl-68-127-208-148.dsl.pltn13.pacbell.net [68.127.208.148]) (authenticated bits=0) by tail.lionet.info (8.13.8/8.13.6) with ESMTP id l8G1CKf1002317 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 15 Sep 2007 18:12:20 -0700 (PDT) (envelope-from vss@73rus.com) Message-ID: <46EC831D.5010808@73rus.com> Date: Sat, 15 Sep 2007 18:13:01 -0700 From: Vlad Skvortsov User-Agent: Thunderbird 1.5.0.13 (Macintosh/20070809) MIME-Version: 1.0 To: Vlad Skvortsov References: <46D36F3B.70400@73rus.com> <46D3B32A.7080603@yandex.ru> <46D47646.7080509@73rus.com> <20070828.150235.1723238677.imp@bsdimp.com> <46D49603.5070301@73rus.com> In-Reply-To: <46D49603.5070301@73rus.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (tail.lionet.info [216.218.215.226]); Sat, 15 Sep 2007 18:12:21 -0700 (PDT) Cc: freebsd-usb@freebsd.org Subject: Re: low USB tranfer rate with external IDE X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Sep 2007 01:12:24 -0000 Vlad Skvortsov wrote: [skipped] > > Ok, I have compiled a kernel with ehci in. Here is a snippet of dmesg > output (right after rebooting the box): > > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-0 device > da0: 40.000MB/s transfers > da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C) > umass0: BBB reset failed, TIMEOUT > umass0: BBB reset failed, TIMEOUT > umass0: Invalid CSW: sig 0x4628f8ff should be 0x53425355 > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 > > > Note that it displays high transfer rate this time. I've ran 'diskinfo > -t' to check the actual rate; the seek tests have passed but transfers > hung. 'dd' froze either: > > 13:31 [vss@bear] ~ > dd if=/dev/da0 of=/dev/null bs=1m count=10 > ^C > > Nothing relevant in /var/log/messages. How can I debug it further? > By googling around it seems that these messages may indicate a hardware (enclosure) problem. Can someone share what IDE USB 2.0 enclosures are known to be working OK so that I can rule that possible cause out? -- Vlad Skvortsov, vss@73rus.com, http://vss.73rus.com