Hiya - I thought this mgiht interest you:
I am experiencing low memory and system hang with USB-STORAGE, when I try
to transfer bigger files (~400MB) to a USB HDD. At first everything seems
normal, but then transfer becomes very slow, hangs for some time,
continues, but ultimately system locks up.

I am using a normal HDD (a Seagate 120 GB disc) - ST3120022A, also
reported as:

Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: ST312002 Model: 2A               Rev:  0 0
  Type:   Direct-Access                    ANSI SCSI revision: 02

The disk is attached to a USB to IDE connector:
maikiri root # lsusb 
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 001: ID 0000:0000  
Bus 001 Device 002: ID 04b4:6830 Cypress Semiconductor Corp.

I use the uhci module (but I tried both uhci modules, the effect is the
same with both of them).

When I transfer the file, I see memory dropping very low, due to
cache/buffers:
             total       used       free     shared    buffers     cached
Mem:        774400     770052       4348          0       8120     659056

Another thing I noticed is, that after the cp command is finished and
control returns to the terminal, the drive LED still signals being busy.
It takes long minutes before this finally stops - more then 5 minutes.
dmesg shows activity.
Starting new transfers after the first one is even more likely to produce
a lock.

Do you need the output of dmesg during transfer? What other information
can I provide? :)

Ah, yes, the kernelversions I tested this with:
2.4.18,2.4.21, 2.4.22pre5, 2.6.0-test1, the result was the same
everywhere. Modules used were uhci (VIA.. and alternate driver for 2.4.x)
and usb-storage.

I hope this information helps you and ultimately me.

Kind regards,
Bernd Pressler

-- 
Today is Pungenday, the 52nd day of Confusion in the YOLD 3169

Attachment: dmesg.out
Description: Binary data

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to