Nokia phones cannot be used as storage devices via USB anymore with Ubuntu intrepid

Bug #300394 reported by LGB [Gábor Lénárt]
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I could use my Nokia phone before to access the memory card inside it as USB storage device. I upgraded to intrepid (from hardy, it's fresh, up-to-date system running on 32 bit x86 mode) and now it does not work at all. If I plug the phone in, I see the USB device:

lgb@oxygene:~$ lsb_release -d
Description: Ubuntu 8.10
lgb@oxygene:~$ uname -a
Linux oxygene 2.6.27-8-generic #1 SMP Thu Nov 6 17:33:54 UTC 2008 i686 GNU/Linux

lgb@oxygene:~$ lsusb
Bus 002 Device 006: ID 0421:0429 Nokia Mobile Phones 6230i MultiMedia Card
Bus 002 Device 003: ID 046d:08da Logitech, Inc. QuickCam Messanger
Bus 002 Device 002: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Also, I see the partition:

lgb@oxygene:~$ cat /proc/partitions
major minor #blocks name

   8 0 195360984 sda
   8 1 1951866 sda1
   8 2 193406535 sda2
   7 0 4586272 loop0
   8 16 1015296 sdb

But the system does not mount it for me, I can't do it by hand neither, because there is no /dev/sdb device:

lgb@oxygene:~$ sudo mount /dev/sdb /mnt
mount: special device /dev/sdb does not exist
lgb@oxygene:~$ ls -la /dev/sdb
ls: cannot access /dev/sdb: No such file or directory

The kernel log (interesting part):

Nov 20 18:39:14 oxygene kernel: [ 324.656041] usb 2-9: new full speed USB device using ohci_hcd and address 4
Nov 20 18:39:14 oxygene kernel: [ 324.912844] usb 2-9: configuration #1 chosen from 1 choice
Nov 20 18:39:15 oxygene kernel: [ 325.167152] usbcore: registered new interface driver libusual
Nov 20 18:39:15 oxygene kernel: [ 325.219761] Initializing USB Mass Storage driver...
Nov 20 18:39:15 oxygene kernel: [ 325.222471] scsi6 : SCSI emulation for USB Mass Storage devices
Nov 20 18:39:15 oxygene kernel: [ 325.232269] usbcore: registered new interface driver usb-storage
Nov 20 18:39:15 oxygene kernel: [ 325.232696] USB Mass Storage support registered.
Nov 20 18:39:15 oxygene kernel: [ 325.233299] usb-storage: device found at 4
Nov 20 18:39:15 oxygene kernel: [ 325.233308] usb-storage: waiting for device to settle before scanning
Nov 20 18:39:16 oxygene kernel: [ 326.273240] usb 2-9: USB disconnect, address 4
Nov 20 18:39:17 oxygene kernel: [ 327.312134] usb 2-9: new full speed USB device using ohci_hcd and address 5
Nov 20 18:39:17 oxygene kernel: [ 327.568537] usb 2-9: configuration #1 chosen from 1 choice
Nov 20 18:39:17 oxygene kernel: [ 327.598651] scsi7 : SCSI emulation for USB Mass Storage devices
Nov 20 18:39:17 oxygene kernel: [ 327.603646] usb-storage: device found at 5
Nov 20 18:39:17 oxygene kernel: [ 327.603657] usb-storage: waiting for device to settle before scanning
Nov 20 18:39:17 oxygene kernel: [ 327.663484] usb 2-9: USB disconnect, address 5
Nov 20 18:39:22 oxygene kernel: [ 332.040104] usb 2-9: new full speed USB device using ohci_hcd and address 6
Nov 20 18:39:22 oxygene kernel: [ 332.291745] usb 2-9: configuration #1 chosen from 1 choice
Nov 20 18:39:22 oxygene kernel: [ 332.320085] scsi8 : SCSI emulation for USB Mass Storage devices
Nov 20 18:39:22 oxygene kernel: [ 332.323727] usb-storage: device found at 6
Nov 20 18:39:22 oxygene kernel: [ 332.323738] usb-storage: waiting for device to settle before scanning
Nov 20 18:39:27 oxygene kernel: [ 337.321223] usb-storage: device scan complete
Nov 20 18:39:27 oxygene kernel: [ 337.329329] scsi 8:0:0:0: Direct-Access Nokia Nokia 6230i 0000 PQ: 0 ANSI: 4
Nov 20 18:39:27 oxygene kernel: [ 337.355196] sd 8:0:0:0: [sdb] 2030593 512-byte hardware sectors (1040 MB)
Nov 20 18:39:27 oxygene kernel: [ 337.409097] sd 8:0:0:0: [sdb] Test WP failed, assume Write Enabled
Nov 20 18:39:27 oxygene kernel: [ 337.409112] sd 8:0:0:0: [sdb] Assuming drive cache: write through
Nov 20 18:39:27 oxygene kernel: [ 337.433141] sd 8:0:0:0: [sdb] 2030593 512-byte hardware sectors (1040 MB)
Nov 20 18:39:27 oxygene kernel: [ 337.450176] sd 8:0:0:0: [sdb] Test WP failed, assume Write Enabled
Nov 20 18:39:27 oxygene kernel: [ 337.450189] sd 8:0:0:0: [sdb] Assuming drive cache: write through
Nov 20 18:39:27 oxygene kernel: [ 337.450910] sdb:
Nov 20 18:39:27 oxygene kernel: [ 337.581165] sd 8:0:0:0: [sdb] Attached SCSI removable disk
Nov 20 18:39:27 oxygene kernel: [ 337.584893] sd 8:0:0:0: Attached scsi generic sg2 type 0
Nov 20 18:39:28 oxygene kernel: [ 337.977805] sd 8:0:0:0: [sdb] Sense Key : No Sense [current]

And then kernel continues to flood the log with these lines without end (till I detach the phone):

Nov 20 18:39:28 oxygene kernel: [ 338.312657] sd 8:0:0:0: [sdb] Add. Sense: No additional sense information
Nov 20 18:39:28 oxygene kernel: [ 338.329621] sd 8:0:0:0: [sdb] Sense Key : No Sense [current]

Phone reports "Transferring data" on its display. Sorry, I have no idea what package should be reported to have the bug ...

Pendrives work:

lgb@oxygene:~$ df | grep sdb
/dev/sdb1 62148 39740 22408 64% /media/disk

Revision history for this message
LGB [Gábor Lénárt] (lgb) wrote :

Output of lsusb -vvv is attached.

Revision history for this message
LGB [Gábor Lénárt] (lgb) wrote :

Output of udevinfo -e is attached.

Revision history for this message
LGB [Gábor Lénárt] (lgb) wrote :

Oh my god, sorry, it seems I am too tired, I have got the attachements I've sent just before without the phone attached :-( Here is the lsusb output again, sorry ....

Revision history for this message
LGB [Gábor Lénárt] (lgb) wrote :

And the udevinfo -e output with phone attached ...

Revision history for this message
LGB [Gábor Lénárt] (lgb) wrote :

I've just checked on another two intrepid machines, and it seems those two are also unable to mount my memory card of the phone. All three ones worked before with hardy.

Revision history for this message
LGB [Gábor Lénárt] (lgb) wrote :

I have just tried with newer kernel (from intrepid updates):

Linux oxygene 2.6.27-10-generic #1 SMP Fri Nov 21 12:00:22 UTC 2008 i686 GNU/Linux

The problem is still here, on all machines. :(

Revision history for this message
Ian Weisser (ian-weisser) wrote :

Since a package is assigned, marking invalid for 'Ubuntu'

Revision history for this message
Michael Monreal (mimox) wrote :

Same as bug 273372.

I can confirm the problem with my nokia 6300 phone, it worked fine on Hardy. I also see the same problem on openSUSE 11.1rc1 btw, so this is not an isolated ubuntu problem :/

Revision history for this message
Michael Monreal (mimox) wrote :

Also bug 264789 which is the first I think...

Revision history for this message
LGB [Gábor Lénárt] (lgb) wrote :

Since other people have this problem as well, I have set the status to "confirmed".

Changed in linux:
status: New → Confirmed
Revision history for this message
Vazdautan Andrei (vazdautanandrei) wrote :

I have the same problem on Nokia 3500.

Revision history for this message
Ralph (ralphhughes) wrote :

I have this exact problem with Ubuntu Intrepid and a nokia 6230i. This is very frustrating as I only recently upgraded from Hardy Heron, does anyone know if this is being worked on or when it will be fixed?

Revision history for this message
LGB [Gábor Lénárt] (lgb) wrote :

I've just tested new packages from intrepid-proposed (2.6.27-11.22, uname: Linux oxygene 2.6.27-11-generic #1 SMP Fri Dec 19 16:29:52 UTC 2008 i686 GNU/Linux) and at least this version does not work still, The problem is the same I've reported here.

Revision history for this message
LGB [Gábor Lénárt] (lgb) wrote :

Maybe can it be related to this kernel bug report? http://bugzilla.kernel.org/show_bug.cgi?id=12099

Revision history for this message
Ralph (ralphhughes) wrote :

Good work finding that kernel bug! Definitely looks promising, I've run lsusb -v with my Nokia 6230i to give the output below:

root@router1:/home/user# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 0421:0429 Nokia Mobile Phones 6230i MultiMedia Card
Bus 001 Device 004: ID 03f0:6204 Hewlett-Packard DeskJet 5150c
Bus 001 Device 003: ID 04f3:0210 Elan Microelectronics Corp. AM-400 Hama Optical Mouse
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@router1:/home/user# lsusb -v -s 001:005

Bus 001 Device 005: ID 0421:0429 Nokia Mobile Phones 6230i MultiMedia Card
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 1.10
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x0421 Nokia Mobile Phones
  idProduct 0x0429 6230i MultiMedia Card
  bcdDevice 3.70
  iManufacturer 1 Nokia
  iProduct 2 Nokia 6230i
  iSerial 3 359394001143282
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 32
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
      Self Powered
      Remote Wakeup
    MaxPower 8mA
--cut--

If I'm reading this right, it shows my phone has a firmware version that would be included in that header file both before and after the patch however the product ID is different so it isn't applying. I'm not that great at linux so I don't know if that file 'unusual_devs.h' is on my pc. However it does look like someone else has attempted to patch it:

http://archives.free.net.ph/message/20081205.004856.d56281f9.en.html

If the phone worked previously then surely someone can check the file history in whatever code versioning system linux uses. If I knew how to patch my kernel with some of these entries I could test them.

Ralph

Revision history for this message
encompass (encompass) wrote :

I have a similar issue. Attatched is my dmesg output when I plug in the phone. 3500c via usb.

Revision history for this message
encompass (encompass) wrote :

Another point is that I see my phone telling me there is data travelling between the computer and the phone. And I had accidently pressed Nokia mode and the computer wanted to setup my nokia phone for internet. Cool, but it could be related.

Revision history for this message
Pavol Klačanský (pavolzetor-deactivatedaccount) wrote :

hallo i have this problem with Nokia 6300 in ubuntu jaunty

Revision history for this message
omarkhd (omar-0724+launchpad) wrote :

I have the same problem, nokia 3500 classic....

Revision history for this message
Malcolm Lalkaka (mlalkaka) wrote :

I'm having the same problem with a Nokia 5200.

Revision history for this message
Malcolm Lalkaka (mlalkaka) wrote :
Revision history for this message
milanoblastoma (milan-ash) wrote :

This problem was repeated with nokia 3500 with ubuntu 8.10 .

but this is not reproduced with n95 where it beautifully detects the mounted mem card.

note: nokia 3500 gets shut down when tried to mount..

Revision history for this message
Koopee (koopee1234) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.