public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] USB external hard drive erratic behaviour
@ 2007-01-18  0:01 b.n.
  2007-01-28  5:57 ` James Lockie
  0 siblings, 1 reply; 3+ messages in thread
From: b.n. @ 2007-01-18  0:01 UTC (permalink / raw
  To: gentoo-user

Hi,
I have an external USB hard drive that is giving me troubles about half 
of the time. Symptoms are the following:
- Writing a large file very often stalls for a few seconds and is 
overall slow (sometimes VERY slow, that is half an hour/gb)
- Trying to start a vmware image on the external drive automatically 
*unmounts* the drive without notice. /var/log/messages in this case 
shows me the following errors:
kernel: usb 1-4: device descriptor read/64, error -110
Some other time the image starts but the guest OS finds lots of troubles 
and I/O errors on the virtual disk.
- Read/write operations result in thousands of the following lines:

Jan 17 23:55:31 voynich usb-storage: *** thread sleeping.
Jan 17 23:55:31 voynich usb-storage: queuecommand called
Jan 17 23:55:31 voynich usb-storage: *** thread awakened.
Jan 17 23:55:31 voynich usb-storage: Command READ_10 (10 bytes)
Jan 17 23:55:31 voynich usb-storage:  28 00 06 b0 cc ef 00 00 40 00
Jan 17 23:55:31 voynich usb-storage: Bulk Command S 0x43425355 T 0x240d 
L 32768 F 128 Trg 0 LUN 0 CL 10
Jan 17 23:55:31 voynich usb-storage: usb_stor_bulk_transfer_buf: xfer 31 
bytes
Jan 17 23:55:31 voynich usb-storage: Status code 0; transferred 31/31
Jan 17 23:55:31 voynich usb-storage: -- transfer complete
Jan 17 23:55:31 voynich usb-storage: Bulk command transfer result=0
Jan 17 23:55:31 voynich usb-storage: usb_stor_bulk_transfer_sglist: xfer 
32768 bytes, 3 entries
Jan 17 23:55:31 voynich usb-storage: Status code 0; transferred 32768/32768
Jan 17 23:55:31 voynich usb-storage: -- transfer complete
Jan 17 23:55:31 voynich usb-storage: Bulk data transfer result 0x0
Jan 17 23:55:31 voynich usb-storage: Attempting to get CSW...
Jan 17 23:55:31 voynich usb-storage: usb_stor_bulk_transfer_buf: xfer 13 
bytes
Jan 17 23:55:31 voynich usb-storage: Status code 0; transferred 13/13
Jan 17 23:55:31 voynich usb-storage: -- transfer complete
Jan 17 23:55:31 voynich usb-storage: Bulk status result = 0
Jan 17 23:55:31 voynich usb-storage: Bulk Status S 0x53425355 T 0x240d R 
0 Stat 0x0
Jan 17 23:55:31 voynich usb-storage: scsi cmd done, result=0x0
Jan 17 23:55:31 voynich usb-storage: *** thread sleeping.

The drive seems to work good on Ubuntu and Windows XP, and has also 
*sometimes* worked well here.

Any hint?

Thanks,

m.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] USB external hard drive erratic behaviour
  2007-01-18  0:01 [gentoo-user] USB external hard drive erratic behaviour b.n.
@ 2007-01-28  5:57 ` James Lockie
  2007-01-28 20:47   ` b.n.
  0 siblings, 1 reply; 3+ messages in thread
From: James Lockie @ 2007-01-28  5:57 UTC (permalink / raw
  To: gentoo-user

b.n. wrote:
> Hi,
> I have an external USB hard drive that is giving me troubles about 
> half of the time. Symptoms are the following:
> - Writing a large file very often stalls for a few seconds and is 
> overall slow (sometimes VERY slow, that is half an hour/gb)
> - Trying to start a vmware image on the external drive automatically 
> *unmounts* the drive without notice. /var/log/messages in this case 
> shows me the following errors:
> kernel: usb 1-4: device descriptor read/64, error -110
> Some other time the image starts but the guest OS finds lots of 
> troubles and I/O errors on the virtual disk.
> - Read/write operations result in thousands of the following lines:
>
> Jan 17 23:55:31 voynich usb-storage: *** thread sleeping.
> Jan 17 23:55:31 voynich usb-storage: queuecommand called
> Jan 17 23:55:31 voynich usb-storage: *** thread awakened.
> Jan 17 23:55:31 voynich usb-storage: Command READ_10 (10 bytes)
> Jan 17 23:55:31 voynich usb-storage:  28 00 06 b0 cc ef 00 00 40 00
> Jan 17 23:55:31 voynich usb-storage: Bulk Command S 0x43425355 T 
> 0x240d L 32768 F 128 Trg 0 LUN 0 CL 10
> Jan 17 23:55:31 voynich usb-storage: usb_stor_bulk_transfer_buf: xfer 
> 31 bytes
> Jan 17 23:55:31 voynich usb-storage: Status code 0; transferred 31/31
> Jan 17 23:55:31 voynich usb-storage: -- transfer complete
> Jan 17 23:55:31 voynich usb-storage: Bulk command transfer result=0
> Jan 17 23:55:31 voynich usb-storage: usb_stor_bulk_transfer_sglist: 
> xfer 32768 bytes, 3 entries
> Jan 17 23:55:31 voynich usb-storage: Status code 0; transferred 
> 32768/32768
> Jan 17 23:55:31 voynich usb-storage: -- transfer complete
> Jan 17 23:55:31 voynich usb-storage: Bulk data transfer result 0x0
> Jan 17 23:55:31 voynich usb-storage: Attempting to get CSW...
> Jan 17 23:55:31 voynich usb-storage: usb_stor_bulk_transfer_buf: xfer 
> 13 bytes
> Jan 17 23:55:31 voynich usb-storage: Status code 0; transferred 13/13
> Jan 17 23:55:31 voynich usb-storage: -- transfer complete
> Jan 17 23:55:31 voynich usb-storage: Bulk status result = 0
> Jan 17 23:55:31 voynich usb-storage: Bulk Status S 0x53425355 T 0x240d 
> R 0 Stat 0x0
> Jan 17 23:55:31 voynich usb-storage: scsi cmd done, result=0x0
> Jan 17 23:55:31 voynich usb-storage: *** thread sleeping.
>
> The drive seems to work good on Ubuntu and Windows XP, and has also 
> *sometimes* worked well here.
>
> Any hint?
>
> Thanks,
>
> m.
Sounds like it is not caching all writes.
Search for "USB Linux cache 'slow write'".

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] USB external hard drive erratic behaviour
  2007-01-28  5:57 ` James Lockie
@ 2007-01-28 20:47   ` b.n.
  0 siblings, 0 replies; 3+ messages in thread
From: b.n. @ 2007-01-28 20:47 UTC (permalink / raw
  To: gentoo-user

James Lockie ha scritto:
> Sounds like it is not caching all writes.
> Search for "USB Linux cache 'slow write'".

Thanks for your answer.
I googled for the keywords you gave me but I had no significant result.

m.


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-01-28 19:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-18  0:01 [gentoo-user] USB external hard drive erratic behaviour b.n.
2007-01-28  5:57 ` James Lockie
2007-01-28 20:47   ` b.n.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox