cannot copy from nokia 5200 mass storage device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
usbmount (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I recently bought a Nokia 5200 phone with a microSD card.
If I plug it into USB I can copy files on it and the phone can read those files correctly but I cannot copy them back to my hard disk.
If I connect the phone in "Printing & media" mode I can download the files using KDE's camera:// protocol (which automatically pops up).
Here is what dmesg lists when the error occures:
[ 2263.183529] usb 3-2: new full speed USB device using uhci_hcd and address 8
[ 2263.360484] usb 3-2: configuration #1 chosen from 1 choice
[ 2263.362525] scsi1 : SCSI emulation for USB Mass Storage devices
[ 2263.362674] usb-storage: device found at 8
[ 2263.362676] usb-storage: waiting for device to settle before scanning
[ 2268.358672] usb-storage: device scan complete
[ 2268.361691] scsi 1:0:0:0: Direct-Access Nokia Nokia 5200 0000 PQ: 0 ANSI: 4
[ 2268.366631] SCSI device sda: 2012161 512-byte hdwr sectors (1030 MB)
[ 2268.369641] sda: Write Protect is off
[ 2268.369647] sda: Mode Sense: 03 00 00 00
[ 2268.369649] sda: assuming drive cache: write through
[ 2268.381885] SCSI device sda: 2012161 512-byte hdwr sectors (1030 MB)
[ 2268.384640] sda: Write Protect is off
[ 2268.384647] sda: Mode Sense: 03 00 00 00
[ 2268.384649] sda: assuming drive cache: write through
[ 2268.384656] sda: sda1
[ 2268.811452] sd 1:0:0:0: Attached scsi removable disk sda
[ 2268.811501] sd 1:0:0:0: Attached scsi generic sg0 type 0
[ 2283.756874] usb 3-2: reset full speed USB device using uhci_hcd and address 8
[ 2283.876811] usb 3-2: device descriptor read/64, error -71
[ 2284.100703] usb 3-2: device descriptor read/64, error -71
[ 2284.316591] usb 3-2: reset full speed USB device using uhci_hcd and address 8
[ 2284.436524] usb 3-2: device descriptor read/64, error -71
[ 2284.660413] usb 3-2: device descriptor read/64, error -71
[ 2284.876308] usb 3-2: reset full speed USB device using uhci_hcd and address 8
[ 2285.284073] usb 3-2: device not accepting address 8, error -71
[ 2285.340095] usb 3-2: USB disconnect, address 8
[ 2285.340547] sd 1:0:0:0: SCSI error: return code = 0x00010000
[ 2285.340551] end_request: I/O error, dev sda, sector 2000864
[ 2285.340579] Buffer I/O error on device sda1, logical block 569
[ 2285.340582] lost page write due to I/O error on sda1
[ 2285.340599] sd 1:0:0:0: SCSI error: return code = 0x00010000
[ 2285.340602] end_request: I/O error, dev sda, sector 2001104
[ 2285.354554] scsi 1:0:0:0: rejecting I/O to dead device
[ 2285.356307] scsi 1:0:0:0: rejecting I/O to dead device
[ 2285.356403] scsi 1:0:0:0: rejecting I/O to dead device
[ 2285.356468] scsi 1:0:0:0: rejecting I/O to dead device
[ 2285.356473] scsi 1:0:0:0: rejecting I/O to dead device
[ 2285.356478] sda : READ CAPACITY failed.
[ 2285.356479] sda : status=0, message=00, host=1, driver=00
[ 2285.356481] sda : sense not available.
[ 2285.356486] scsi 1:0:0:0: rejecting I/O to dead device
[ 2285.356490] sda: Write Protect is off
[ 2285.356492] sda: Mode Sense: 00 00 00 00
[ 2285.356494] sda: assuming drive cache: write through
[ 2291.728753] usb 3-2: new full speed USB device using uhci_hcd and address 9
[ 2291.907672] usb 3-2: configuration #1 chosen from 1 choice
[ 2291.988647] drivers/
[ 2291.988664] cdc_acm 3-2:1.1: ttyACM0: USB ACM device
[ 2304.510144] scsi 1:0:0:0: rejecting I/O to dead device
[ 2304.510550] FAT: unable to read inode block for updating (i_pos 9108)
[ 2310.886852] usb 3-2: USB disconnect, address 9
As you can see, when I start copying the kernel keeps resetting the USB device up to the point where the phone disconnects itself (at 2285.340095) and goes into the third usb mode, which is the USB ACM device. I can copy only the first 64kb.
The last disconnect at 2310.886852 appeared because I unplugged the USB cable.
I use Ubuntu Feisty, every package is up to date.
Changed in usbmount: | |
status: | Incomplete → New |
I would like to add that today I tried to download from the phone a large file (344Mb) in "Printing & media" mode and it did not work. For a long time the KDE's copy window said that the copying is Stalled then the window just disappeared without copying anything. Only small files can be downloaded.
I checked the phone with an M$ vindoze and the phone works perfectly with that as a mass storage device.