Latest working kernel version: unknown Earliest failing kernel version: at least 2.6.25 Distribution: fedora Hardware Environment: amd64 Software Environment: fedora 9 Problem Description: io errors when mounting phone's sd-card via the phones usb port Steps to reproduce: mount Motorola Razr v3xx phones sd-card on Linux Desktop via usb cable. Phones USB port must be in memory card mode. DEBUG output: Jul 9 19:32:41 micky kernel: Buffer I/O error on device sdd, logical block 3970048 Jul 9 19:32:41 micky kernel: sd 11:0:0:0: [sdd] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK Jul 9 19:32:41 micky kernel: sd 11:0:0:0: [sdd] Sense Key : Medium Error [current] Jul 9 19:32:41 micky kernel: sd 11:0:0:0: [sdd] Add. Sense: No additional sense information Jul 9 19:32:41 micky kernel: end_request: I/O error, dev sdd, sector 3970048
Created attachment 16780 [details] add razr v3xx US_FL_FIX_CAPACITY flag to unusual_devs.h in usb-storage This is another motorola phone that incorrectly reports the sector count (off by one). I tested this patch on fedora 9 with 2.6.25.9-76.fc9 kernel. It eliminates the IO errors.
Reply-To: akpm@linux-foundation.org (switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Wed, 9 Jul 2008 22:30:52 -0700 (PDT) bugme-daemon@bugzilla.kernel.org wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=11066 > > Summary: motorola razr v3xx needs the US_FL_FIX_CAPACITY in usb- > storage > Product: Drivers > Version: 2.5 > KernelVersion: 2.6.25.* > Platform: All > OS/Version: Linux > Tree: Mainline > Status: NEW > Severity: normal > Priority: P1 > Component: USB > AssignedTo: greg@kroah.com > ReportedBy: jost@qdusa.com > > > Latest working kernel version: unknown > Earliest failing kernel version: at least 2.6.25 > Distribution: fedora > Hardware Environment: amd64 > Software Environment: fedora 9 > Problem Description: io errors when mounting phone's sd-card via the phones > usb > port > > Steps to reproduce: mount Motorola Razr v3xx phones sd-card on Linux Desktop > via usb cable. Phones USB port must be in memory card mode. > > DEBUG output: > Jul 9 19:32:41 micky kernel: Buffer I/O error on device sdd, logical block > 3970048 > Jul 9 19:32:41 micky kernel: sd 11:0:0:0: [sdd] Result: hostbyte=DID_OK > driverbyte=DRIVER_SENSE,SUGGEST_OK > Jul 9 19:32:41 micky kernel: sd 11:0:0:0: [sdd] Sense Key : Medium Error > [current] > Jul 9 19:32:41 micky kernel: sd 11:0:0:0: [sdd] Add. Sense: No additional > sense information > Jul 9 19:32:41 micky kernel: end_request: I/O error, dev sdd, sector 3970048 >
On Wed, Jul 09, 2008 at 10:35:18PM -0700, bugme-daemon@bugzilla.kernel.org wrote: > Created an attachment (id=16780) > --> (http://bugzilla.kernel.org/attachment.cgi?id=16780&action=view) > add razr v3xx US_FL_FIX_CAPACITY flag to unusual_devs.h in usb-storage > > This is another motorola phone that incorrectly reports the sector count (off > by one). > > I tested this patch on fedora 9 with 2.6.25.9-76.fc9 kernel. It eliminates > the > IO errors. Please send me this patch, as per the instructions in Documentation/SubmittingPatches, picking them out of bugzilla is not our normal workflow.
All USB bugs should be sent to the linux-usb@vger.kernel.org mailing list, and not entered into bugzilla. Please bring this issue up there, if it is still a problem in the latest kernel release.