Bug 781882 - Writes to usb mass storage device fails w/ I/O error
Summary: Writes to usb mass storage device fails w/ I/O error
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 16
Hardware: i686
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-15 22:46 UTC by Michael Carney
Modified: 2012-11-14 17:03 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-14 17:03:18 UTC
Type: ---


Attachments (Terms of Use)
dmesg text showing phone attaching (1.49 KB, text/plain)
2012-01-15 22:46 UTC, Michael Carney
no flags Details
udevadm monitor output (48.67 KB, text/plain)
2012-01-15 22:48 UTC, Michael Carney
no flags Details
lsusb output (8.40 KB, application/octet-stream)
2012-01-15 22:49 UTC, Michael Carney
no flags Details
/var/log/message text showing write failure (10.28 KB, text/plain)
2012-01-15 22:50 UTC, Michael Carney
no flags Details
lsusb output -- this time explicitly plain text (8.40 KB, text/plain)
2012-01-15 22:56 UTC, Michael Carney
no flags Details
fdisk output showing mounted phone (801 bytes, text/plain)
2012-01-15 23:03 UTC, Michael Carney
no flags Details
usb-storage.ko build w/ debug messages (121.77 KB, text/plain)
2012-01-17 22:52 UTC, Michael Carney
no flags Details

Description Michael Carney 2012-01-15 22:46:59 UTC
Created attachment 555394 [details]
dmesg text showing phone attaching

Description of problem:

I have a Pantech HotShot phone which can act as an USB mass storage device when attached via usb cable. When I attach the phone to the machine, the media system mounts it up OK -- I can see the contents and copy files *from* the phone to my computer, but copying files from the computer to the phone fail rather spectacularly. If I attach the phone to a Windows 7 machine, I can easily copy files in both directions without a problem.


Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
1. Configure Phone to USB mass storage mode
2. Attach using USB cable
3. Wait for media system to detect and mount it, then try to copy files to phone.
  
Actual results: Copy to phone appears to work until explicit sync or implicit sync through umount.


Expected results: Should have same experience as when using Windows 7 box


Additional info: See attachments for the gory details

Comment 1 Michael Carney 2012-01-15 22:48:24 UTC
Created attachment 555395 [details]
udevadm monitor output

udevadm monitor output

Comment 2 Michael Carney 2012-01-15 22:49:19 UTC
Created attachment 555396 [details]
lsusb output

lsusb output

Comment 3 Michael Carney 2012-01-15 22:50:32 UTC
Created attachment 555397 [details]
/var/log/message text showing write failure

/var/log/message text showing the write failure

Comment 4 Michael Carney 2012-01-15 22:56:05 UTC
Created attachment 555398 [details]
lsusb output -- this time explicitly plain text

Comment 5 Michael Carney 2012-01-15 22:59:50 UTC
media system mounts phone as:

/dev/sdd1               vfat      1.9G  9.9M  1.9G   1% /media/FC30-3DA9

Comment 6 Michael Carney 2012-01-15 23:03:27 UTC
Created attachment 555400 [details]
fdisk output showing mounted phone

Comment 7 Michael Carney 2012-01-17 22:52:26 UTC
Created attachment 555877 [details]
usb-storage.ko build w/ debug messages

I built usb-storage.ko w/ debug turned on. This attachment shows the resulting messages. Note that the WRITE_10 at line 1217 fails after 268 bytes of 1024 are written, and things go downhill from there.

Comment 8 Michael Carney 2012-01-22 06:49:02 UTC
My computer is a Dell Workstation 530n with Dual 2Ghz Xeons running FC16. I tried connecting my Pantech to a IBM thinkpad R40 running FC15, and surprisingly enough, it works just fine for both reads and writes -- 1.5Gs worth. No USB errors at all. Strange.

Comment 9 Michael Carney 2012-01-22 06:50:05 UTC
Note that my iPod and Kindle work just fine with both my Dell Workstation 530n and the IBM thinkpad R40.

Comment 10 Dave Jones 2012-03-22 16:55:01 UTC
[mass update]
kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.
Please retest with this update.

Comment 11 Dave Jones 2012-03-22 16:58:37 UTC
[mass update]
kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.
Please retest with this update.

Comment 12 Dave Jones 2012-03-22 17:10:04 UTC
[mass update]
kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.
Please retest with this update.

Comment 13 Michael Carney 2012-03-22 17:25:23 UTC
Still fails with kernel-3.3.0-4.fc16 as reported on Dell Workstation 530n.

Comment 14 Dave Jones 2012-10-23 15:40:05 UTC
# Mass update to all open bugs.

Kernel 3.6.2-1.fc16 has just been pushed to updates.
This update is a significant rebase from the previous version.

Please retest with this kernel, and let us know if your problem has been fixed.

In the event that you have upgraded to a newer release and the bug you reported
is still present, please change the version field to the newest release you have
encountered the issue with.  Before doing so, please ensure you are testing the
latest kernel update in that release and attach any new and relevant information
you may have gathered.

If you are not the original bug reporter and you still experience this bug,
please file a new report, as it is possible that you may be seeing a
different problem. 
(Please don't clone this bug, a fresh bug referencing this bug in the comment is sufficient).

Comment 15 Justin M. Forbes 2012-11-14 17:03:18 UTC
With no response, we are closing this bug under the assumption that it is no longer an issue. If you still experience this bug, please feel free to reopen the bug report.


Note You need to log in before you can comment on or make changes to this bug.