Bug 11066 (V3xx-USB-patch) - motorola razr v3xx needs the US_FL_FIX_CAPACITY in usb-storage
Summary: motorola razr v3xx needs the US_FL_FIX_CAPACITY in usb-storage
Status: RESOLVED INVALID
Alias: V3xx-USB-patch
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Greg Kroah-Hartman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-09 22:30 UTC by Jost Diederichs
Modified: 2012-02-22 20:56 UTC (History)
0 users

See Also:
Kernel Version: 2.6.25.*
Subsystem:
Regression: No
Bisected commit-id:


Attachments
add razr v3xx US_FL_FIX_CAPACITY flag to unusual_devs.h in usb-storage (570 bytes, patch)
2008-07-09 22:35 UTC, Jost Diederichs
Details | Diff

Description Jost Diederichs 2008-07-09 22:30:51 UTC
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
Comment 1 Jost Diederichs 2008-07-09 22:35:18 UTC
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.
Comment 2 Anonymous Emailer 2008-07-09 22:44:18 UTC
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
> 
Comment 3 Greg Kroah-Hartman 2008-07-11 21:20:38 UTC
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.
Comment 4 Greg Kroah-Hartman 2012-02-22 20:56:44 UTC
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.

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