Date: Tue, 28 Aug 2007 14:39:15 -0700 From: Vlad Skvortsov <vss@73rus.com> To: "M. Warner Losh" <imp@bsdimp.com> Cc: freebsd-usb@freebsd.org Subject: Re: low USB tranfer rate with external IDE Message-ID: <46D49603.5070301@73rus.com> In-Reply-To: <20070828.150235.1723238677.imp@bsdimp.com> References: <46D36F3B.70400@73rus.com> <46D3B32A.7080603@yandex.ru> <46D47646.7080509@73rus.com> <20070828.150235.1723238677.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
M. Warner Losh wrote: > In message: <46D47646.7080509@73rus.com> > Vlad Skvortsov <vss@73rus.com> writes: > : Andrey V. Elsukov wrote: > : > Vlad Skvortsov wrote: > : > > : >> Any clues? Where should I look at? I'm concerned with 'USB revision > : >> 1.0' in the output -- could that be the problem? > : > > : > Do you have "device ehci" in your kernel config? > : > > : > : No, I don't. Should I? The man page says: > : > : "The driver is not finished and is quite buggy." > > The man page takes a too pessimistic view of ehci. It works for most > people. > > Warner > 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: <Maxtor 6 L250R0 BAJ4> 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? -- Vlad Skvortsov, vss@73rus.com, http://vss.73rus.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46D49603.5070301>