1 |
b.n. wrote: |
2 |
> Hi, |
3 |
> I have an external USB hard drive that is giving me troubles about |
4 |
> half of the time. Symptoms are the following: |
5 |
> - Writing a large file very often stalls for a few seconds and is |
6 |
> overall slow (sometimes VERY slow, that is half an hour/gb) |
7 |
> - Trying to start a vmware image on the external drive automatically |
8 |
> *unmounts* the drive without notice. /var/log/messages in this case |
9 |
> shows me the following errors: |
10 |
> kernel: usb 1-4: device descriptor read/64, error -110 |
11 |
> Some other time the image starts but the guest OS finds lots of |
12 |
> troubles and I/O errors on the virtual disk. |
13 |
> - Read/write operations result in thousands of the following lines: |
14 |
> |
15 |
> Jan 17 23:55:31 voynich usb-storage: *** thread sleeping. |
16 |
> Jan 17 23:55:31 voynich usb-storage: queuecommand called |
17 |
> Jan 17 23:55:31 voynich usb-storage: *** thread awakened. |
18 |
> Jan 17 23:55:31 voynich usb-storage: Command READ_10 (10 bytes) |
19 |
> Jan 17 23:55:31 voynich usb-storage: 28 00 06 b0 cc ef 00 00 40 00 |
20 |
> Jan 17 23:55:31 voynich usb-storage: Bulk Command S 0x43425355 T |
21 |
> 0x240d L 32768 F 128 Trg 0 LUN 0 CL 10 |
22 |
> Jan 17 23:55:31 voynich usb-storage: usb_stor_bulk_transfer_buf: xfer |
23 |
> 31 bytes |
24 |
> Jan 17 23:55:31 voynich usb-storage: Status code 0; transferred 31/31 |
25 |
> Jan 17 23:55:31 voynich usb-storage: -- transfer complete |
26 |
> Jan 17 23:55:31 voynich usb-storage: Bulk command transfer result=0 |
27 |
> Jan 17 23:55:31 voynich usb-storage: usb_stor_bulk_transfer_sglist: |
28 |
> xfer 32768 bytes, 3 entries |
29 |
> Jan 17 23:55:31 voynich usb-storage: Status code 0; transferred |
30 |
> 32768/32768 |
31 |
> Jan 17 23:55:31 voynich usb-storage: -- transfer complete |
32 |
> Jan 17 23:55:31 voynich usb-storage: Bulk data transfer result 0x0 |
33 |
> Jan 17 23:55:31 voynich usb-storage: Attempting to get CSW... |
34 |
> Jan 17 23:55:31 voynich usb-storage: usb_stor_bulk_transfer_buf: xfer |
35 |
> 13 bytes |
36 |
> Jan 17 23:55:31 voynich usb-storage: Status code 0; transferred 13/13 |
37 |
> Jan 17 23:55:31 voynich usb-storage: -- transfer complete |
38 |
> Jan 17 23:55:31 voynich usb-storage: Bulk status result = 0 |
39 |
> Jan 17 23:55:31 voynich usb-storage: Bulk Status S 0x53425355 T 0x240d |
40 |
> R 0 Stat 0x0 |
41 |
> Jan 17 23:55:31 voynich usb-storage: scsi cmd done, result=0x0 |
42 |
> Jan 17 23:55:31 voynich usb-storage: *** thread sleeping. |
43 |
> |
44 |
> The drive seems to work good on Ubuntu and Windows XP, and has also |
45 |
> *sometimes* worked well here. |
46 |
> |
47 |
> Any hint? |
48 |
> |
49 |
> Thanks, |
50 |
> |
51 |
> m. |
52 |
Sounds like it is not caching all writes. |
53 |
Search for "USB Linux cache 'slow write'". |
54 |
|
55 |
-- |
56 |
gentoo-user@g.o mailing list |