From: Jerry Peters on
David W. Hodgins <dwhodgins(a)nomail.afraid.org> wrote:
> On Fri, 09 Apr 2010 22:50:04 -0400, Grant Edwards <invalid(a)invalid.invalid> wrote:
>
>> Can somebody explain why IDE DMA timing would affect a USB attached
>> drive?
>
> As I understand it, even though the usb-storage module is being used
> to provide the raw access, the ide modules are used to actually do
> the data transfer. I may be wrong in this, which is why I'd like
> to know if either of the workarounds I suggested actually work.
>
> Both of those workarounds were from when the ata module(s) were
> detecting 80 wire ide cables when 40 wire ide cables were actually
> installed. In that case, the kernel module selected udma transfer
> rates, that the cables could not handle.
>
> This may have no impact in this case, but I can't think of any other
> reason why the use of usb to access the drive would fail, while the
> same drive works fine when internally connected, other then a problem
> with the enclosure.
>
> Note that usb uses dma access too.
>
> Regards, Dave Hodgins
>
No, AFAIK USB storage uses the *SCSI* drivers, in this case sd.

One possibility is that the IDE/USB bridge is having problems. How big
is the disk? Perhaps the bridge doesn't support the larger LBA modes.

Jerry
From: Kevin the Drummer on
Jerry Peters <jerry(a)example.invalid> wrote:

> No, AFAIK USB storage uses the *SCSI* drivers, in this case sd.
>
> One possibility is that the IDE/USB bridge is having problems. How big
> is the disk? Perhaps the bridge doesn't support the larger LBA modes.

The disk is 1TB and the enclosure is rated for up to 2GB.

I've got the disk installed internally now on the SATA bus. It's
working just fine. I have 3 partitions of 15GB and one partition
of around 880GB. Does that tell you anything?

Thanks...

--
PLEASE post a SUMMARY of the answer(s) to your question(s)!
Unless otherwise noted, the statements herein reflect my personal
opinions and not those of any organization with which I may be affiliated.
From: Grant Edwards on
On 2010-04-10, Kevin the Drummer <nobody(a)cosgroves.us> wrote:
> Grant Edwards <invalid(a)invalid.invalid> wrote:
>
>> > This may have no impact in this case, but I can't think of any other
>> > reason why the use of usb to access the drive would fail, while the
>> > same drive works fine when internally connected, other then a problem
>> > with the enclosure.
>>
>> I think you've hit the nail on the head: the USB<->IDE chip in the
>> enclosure is buggy.
>
> Is there a USB<->IDE chip in my enclosure if it supports SATA
> drives and not ATA (IDE) drives?

No, then it's a USB<->SATA chip, and it's probably buggy.

--
Grant

From: Jerry Peters on
Kevin the Drummer <nobody(a)cosgroves.us> wrote:
> Jerry Peters <jerry(a)example.invalid> wrote:
>
>> No, AFAIK USB storage uses the *SCSI* drivers, in this case sd.
>>
>> One possibility is that the IDE/USB bridge is having problems. How big
>> is the disk? Perhaps the bridge doesn't support the larger LBA modes.
>
> The disk is 1TB and the enclosure is rated for up to 2GB.
>
> I've got the disk installed internally now on the SATA bus. It's
> working just fine. I have 3 partitions of 15GB and one partition
> of around 880GB. Does that tell you anything?
>
> Thanks...
>
I'm assuming you meant 2TB. Should be fine from the adressing
standpoint. I'd still guess bad SATA to USB bridge chip, or poorly
designed enclosure (marginal power supply, poor pcb layout, etc).
A lot of these enclosures are just plain junk.

Jerry
From: Kevin the Drummer on
Jerry Peters <jerry(a)example.invalid> wrote:

> I'm assuming you meant 2TB.

Yes. It'll take me a while to type a T instead of a G, like when it
took a while to get over the M or change the year when I write checks
(what are those?).

> Should be fine from the adressing standpoint. I'd still guess
> bad SATA to USB bridge chip, or poorly designed enclosure
> (marginal power supply, poor pcb layout, etc). A lot of these
> enclosures are just plain junk.

I'm thinking I've either got bad gear, or incompatible gear. The
enclosures have an RMA and I'll be sending them back, trying NexStar
next.

Thanks....

--
PLEASE post a SUMMARY of the answer(s) to your question(s)!
Unless otherwise noted, the statements herein reflect my personal
opinions and not those of any organization with which I may be affiliated.