Bug 12367 - Nokia 5310 Xpress usb-storage not mounting "again"
Summary: Nokia 5310 Xpress usb-storage not mounting "again"
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Greg Kroah-Hartman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-05 13:04 UTC by Jiri Burda
Modified: 2009-03-10 13:57 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.28
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Jiri Burda 2009-01-05 13:04:31 UTC
Latest working kernel version: N/A
Earliest failing kernel version: N/A
Distribution: ArchLinux
Hardware Environment: USB(ohci,ehci)
Software Environment: gcc 4.3.2, glibc 2.9
Problem Description:

I just pluged in my recently bought Nokia 5310 and nothing happend.
Dmesg says:
usb 1-1: new full speed USB device using uhci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
scsi 2:0:0:0: Direct-Access     Nokia    Nokia 5310 Xpres 0000 PQ: 0 ANSI: 4
sd 2:0:0:0: [sdb] 3842049 512-byte hardware sectors (1967 MB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 04 00 00 00
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] 3842049 512-byte hardware sectors (1967 MB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 04 00 00 00
sd 2:0:0:0: [sdb] Assuming drive cache: write through
 sdb:
sd 2:0:0:0: [sdb] Attached SCSI removable disk
sd 2:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
sd 2:0:0:0: [sdb] Sense Key : 0x0 [current] 
sd 2:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
sd 2:0:0:0: [sdb] Sense Key : 0x0 [current] 
sd 2:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
sd 2:0:0:0: [sdb] Sense Key : 0x0 [current] 
sd 2:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
sd 2:0:0:0: [sdb] Sense Key : 0x0 [current] 
sd 2:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
sd 2:0:0:0: [sdb] Sense Key : 0x0 [current] 
sd 2:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
....

This behavior is same as in bug 12099, but according to lsusb:
lsusb -vs 001:002                      

Bus 001 Device 002: ID 0421:006a Nokia Mobile Phones 
Device Descriptor:                                   
  bLength                18                          
  bDescriptorType         1                          
  bcdUSB               2.00                          
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0                             
  bDeviceProtocol         0                             
  bMaxPacketSize0        64                             
  idVendor           0x0421 Nokia Mobile Phones         
  idProduct          0x006a                             
  bcdDevice            8.32
  iManufacturer           1
  iProduct                2
  iSerial                 3
  bNumConfigurations      1

my new Nokia 5310 has newer firmware 8.32.

So this fixed this bug on my computer:
-- linux-2.6.28/drivers/usb/storage/unusual_devs.h
+++ linux-2.6.28-NOKIA/drivers/usb/storage/unusual_devs.h
@@ -182,7 +182,7 @@
                US_FL_FIX_CAPACITY ),

 /* Patch for Nokia 5310 capacity */
-UNUSUAL_DEV(  0x0421, 0x006a, 0x0000, 0x0701,
+UNUSUAL_DEV(  0x0421, 0x006a, 0x0000, 0x0832,
                "Nokia",
                "5310",
                US_SC_DEVICE, US_PR_DEVICE, NULL,



Steps to reproduce:
plug in nokia 5310 via usb with fimware v. 8.32
Comment 1 Anonymous Emailer 2009-01-12 14:49:10 UTC
Reply-To: akpm@linux-foundation.org


(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

On Mon,  5 Jan 2009 13:04:33 -0800 (PST)
bugme-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=12367
> 
>            Summary: Nokia 5310 Xpress usb-storage not mounting "again"
>            Product: Drivers
>            Version: 2.5
>      KernelVersion: 2.6.28
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: USB
>         AssignedTo: greg@kroah.com
>         ReportedBy: jburda@email.cz
> 
> 
> Latest working kernel version: N/A
> Earliest failing kernel version: N/A
> Distribution: ArchLinux
> Hardware Environment: USB(ohci,ehci)
> Software Environment: gcc 4.3.2, glibc 2.9
> Problem Description:
> 
> I just pluged in my recently bought Nokia 5310 and nothing happend.
> Dmesg says:
> usb 1-1: new full speed USB device using uhci_hcd and address 2
> usb 1-1: configuration #1 chosen from 1 choice
> Initializing USB Mass Storage driver...
> scsi2 : SCSI emulation for USB Mass Storage devices
> usbcore: registered new interface driver usb-storage
> USB Mass Storage support registered.
> usb-storage: device found at 2
> usb-storage: waiting for device to settle before scanning
> scsi 2:0:0:0: Direct-Access     Nokia    Nokia 5310 Xpres 0000 PQ: 0 ANSI: 4
> sd 2:0:0:0: [sdb] 3842049 512-byte hardware sectors (1967 MB)
> sd 2:0:0:0: [sdb] Write Protect is off
> sd 2:0:0:0: [sdb] Mode Sense: 04 00 00 00
> sd 2:0:0:0: [sdb] Assuming drive cache: write through
> sd 2:0:0:0: [sdb] 3842049 512-byte hardware sectors (1967 MB)
> sd 2:0:0:0: [sdb] Write Protect is off
> sd 2:0:0:0: [sdb] Mode Sense: 04 00 00 00
> sd 2:0:0:0: [sdb] Assuming drive cache: write through
>  sdb:
> sd 2:0:0:0: [sdb] Attached SCSI removable disk
> sd 2:0:0:0: Attached scsi generic sg2 type 0
> usb-storage: device scan complete
> sd 2:0:0:0: [sdb] Sense Key : 0x0 [current] 
> sd 2:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
> sd 2:0:0:0: [sdb] Sense Key : 0x0 [current] 
> sd 2:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
> sd 2:0:0:0: [sdb] Sense Key : 0x0 [current] 
> sd 2:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
> sd 2:0:0:0: [sdb] Sense Key : 0x0 [current] 
> sd 2:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
> sd 2:0:0:0: [sdb] Sense Key : 0x0 [current] 
> sd 2:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
> ....
> 
> This behavior is same as in bug 12099, but according to lsusb:
> lsusb -vs 001:002                      
> 
> Bus 001 Device 002: ID 0421:006a Nokia Mobile Phones 
> Device Descriptor:                                   
>   bLength                18                          
>   bDescriptorType         1                          
>   bcdUSB               2.00                          
>   bDeviceClass            0 (Defined at Interface level)
>   bDeviceSubClass         0                             
>   bDeviceProtocol         0                             
>   bMaxPacketSize0        64                             
>   idVendor           0x0421 Nokia Mobile Phones         
>   idProduct          0x006a                             
>   bcdDevice            8.32
>   iManufacturer           1
>   iProduct                2
>   iSerial                 3
>   bNumConfigurations      1
> 
> my new Nokia 5310 has newer firmware 8.32.
> 
> So this fixed this bug on my computer:
> -- linux-2.6.28/drivers/usb/storage/unusual_devs.h
> +++ linux-2.6.28-NOKIA/drivers/usb/storage/unusual_devs.h
> @@ -182,7 +182,7 @@
>                 US_FL_FIX_CAPACITY ),
> 
>  /* Patch for Nokia 5310 capacity */
> -UNUSUAL_DEV(  0x0421, 0x006a, 0x0000, 0x0701,
> +UNUSUAL_DEV(  0x0421, 0x006a, 0x0000, 0x0832,
>                 "Nokia",
>                 "5310",
>                 US_SC_DEVICE, US_PR_DEVICE, NULL,
> 
> 
> 
> Steps to reproduce:
> plug in nokia 5310 via usb with fimware v. 8.32

Thanks, but please submit patches via email, as per
Documentation/SubmittingPatches?

Suitable recipients for this patch would be:

linux-usb@vger.kernel.org
Greg KH <greg@kroah.com>
Andrew Morton <akpm@linux-foundation.org>
Comment 2 Alan Stern 2009-03-09 13:57:01 UTC
Does the device work okay with the most recent stable kernel?
Comment 3 Jiri Burda 2009-03-10 09:37:22 UTC
Yes, succesfully tested with 2.6.29-rc1.
Comment 4 Alan Stern 2009-03-10 12:25:54 UTC
Okay, good.  Then this bug report can be closed.
Comment 5 Greg Kroah-Hartman 2009-03-10 13:57:25 UTC
closing out.

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