Opened 11 years ago

Closed 4 weeks ago

#1577 closed bug (fixed)

USB/EHCI transfers sometimes time out

Reported by: axeld Owned by: nobody
Priority: normal Milestone: R1
Component: Drivers/USB/EHCI Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

After Luzern, I updated my USB installation again, and since then I have serious problems with accessing USB mass storage devices. Some blocks/files whatever are listed in Tracker, but cannot be accessed, reading their data fails. It's even 100% reproducible with the same files. I have these problems with HDs as well as flash memory cards. Log file from a failed transfer is attached; the problem occurs at the end of the log.

Attachments (2)

usb_log (188.8 KB) - added by axeld 11 years ago.
usb_log2 (18.4 KB) - added by axeld 11 years ago.

Download all attachments as: .zip

Change History (13)

Changed 11 years ago by axeld

Attachment: usb_log added

comment:1 Changed 11 years ago by axeld

Summary: USB/EHCI transfers sometimes don't workUSB/EHCI transfers sometimes time out

comment:2 Changed 11 years ago by axeld

Just tried with hrev21904, but the problem persists. It might happen only on certain disks (I didn't have that flash disk before, and only rarely used that HD).

comment:3 Changed 11 years ago by siarzhuk

Cc: siarzhuk added

Which version of usb_scsi do you use? The one from bebits has some problem during converting READ_6/WRITE_6 to READ_10/WRITE_10. Patched version is here: http://zharik.host.sk/prahramy/usb_scsi-0.1.0-dev-9994.zip. Can you try it on your system?

comment:4 Changed 11 years ago by axeld

Cc: siarzhuk removed
Owner: changed from mmlr to siarzhuk

I thought I would be using the latest version from Haiku's repository that allowed to be used with BeOS. Anyway, with that new version, the problems are gone, thanks!

Does the version in the repository still suffer from this problem? If not, I would just close this bug.

comment:5 Changed 11 years ago by siarzhuk

Status: newassigned

Hm... it looks a bit suspect. Actual repository code already have this fix for 6-->10 conversion. Please left this bug opened until I check my working copy, that is targeted to cvs at sourceforge. It is possible that it still have some changes, that are not commited. The version, we have now in Haiku repository was transferred directly from my CVS at sis4be.sf.net.

comment:6 Changed 11 years ago by axeld

It (or something very similar) just happened again, attached another log. It just doesn't seem to happen very often anymore, now.

Changed 11 years ago by axeld

Attachment: usb_log2 added

comment:7 Changed 11 years ago by axeld

Milestone: R1/alphaR1
Priority: highnormal

comment:8 Changed 4 years ago by waddlesplash

Component: Drivers/USBDrivers/USB/EHCI

Sorting out Drivers/USB/EHCI tickets from Drivers/USB.

comment:9 Changed 3 years ago by siarzhuk

Owner: changed from siarzhuk to nobody
Status: in-progressassigned

comment:10 Changed 7 months ago by cocobean

hrev_51986 x86_64 tested. I transferred 1-2GB files from USB sticks to HD without 'failed transfers' on any files. No issue retrieving any files from any USB NTFS-formatted drives.

Don't perceive this as a major issue at this time. Please reverify.

comment:11 Changed 4 weeks ago by waddlesplash

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.