You are not logged in.

#1 2008-10-20 09:26:40

eazy
Member
From: London, UK
Registered: 2008-01-20
Posts: 97
Website

Nokia USB connection doesn't work (anymore)

Hey buddies,
I've got a strange issue with the newer kernel (2.6.27). Whenever I connect my Nokia (5610 xpressmusic) via USB, my kernel log fills with a strange error and never gets to a resolution (i.e. can't mount the device, no usual device file /dev/sdb* is created, seems to be stuck somewhere):

Here it is:

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

Thousands of them...

In Windows everything works, in 2.6.26 it has always worked flawlessly.

I've found this bug report on the net: http://linux.derkeiler.com/Mailing-List … 12252.html
As far as I can tell, it seems that this bug has hit people with other kernel version than 2.6.27...

I *really* hope I don't have to patch my kernel to make it work!

Does anyone has experienced this issue?


no masters to rule us, no gods to fool us

Offline

#2 2008-10-20 12:46:26

jcci
Member
From: China / Germany
Registered: 2007-06-10
Posts: 185

Re: Nokia USB connection doesn't work (anymore)

My Nokia phone is also unmountable, as well as a Sony media player from a friend. dmesg outputs: device not accepting address 19, error -71. The address is different with any further attempt. The problem exists on my Arch notebook, my Arch office computer as well as the Ubuntu notebook from my friend. Most devices work very well, so I never had a problem with a USB stick, a hard drive, my camera and more.
Both non-functional devices I mentioned shoud mount as ordinary mass storage devices.

Anybody can imagine a solution?

Offline

#3 2008-10-20 12:52:57

eazy
Member
From: London, UK
Registered: 2008-01-20
Posts: 97
Website

Re: Nokia USB connection doesn't work (anymore)

I don't know if your issue is related to mine, anyway for further reference I post the complete messages:

usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
scsi 3:0:0:0: Direct-Access     Nokia    Nokia 5610d-1    0000 PQ: 0 ANSI: 4
sd 3:0:0:0: [sdb] 1990657 512-byte hardware sectors (1019 MB)
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 04 00 00 00
sd 3:0:0:0: [sdb] Assuming drive cache: write through
sd 3:0:0:0: [sdb] 1990657 512-byte hardware sectors (1019 MB)
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 04 00 00 00
sd 3:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 3:0:0:0: [sdb] Attached SCSI removable disk
sd 3:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
sd 3:0:0:0: [sdb] Sense Key : 0x0 [current] 
sd 3:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
sd 3:0:0:0: [sdb] Sense Key : 0x0 [current] 
sd 3:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
sd 3:0:0:0: [sdb] Sense Key : 0x0 [current] 
sd 3:0:0:0: [sdb] ASC=0x0 ASCQ=0x0

  and so on... i forcefully remove the cable...

usb 1-1: USB disconnect, address 5
scsi 3:0:0:0: [sdb] Result: hostbyte=0x01 driverbyte=0x00
end_request: I/O error, dev sdb, sector 1990656
__ratelimit: 62 callbacks suppressed
Buffer I/O error on device sdb, logical block 1990656
Buffer I/O error on device sdb, logical block 1990656
Buffer I/O error on device sdb, logical block 1990648
Buffer I/O error on device sdb, logical block 1990649
Buffer I/O error on device sdb, logical block 1990650
Buffer I/O error on device sdb, logical block 1990651
Buffer I/O error on device sdb, logical block 1990652
Buffer I/O error on device sdb, logical block 1990653
Buffer I/O error on device sdb, logical block 1990654
Buffer I/O error on device sdb, logical block 1990655

Last edited by eazy (2008-10-20 12:53:16)


no masters to rule us, no gods to fool us

Offline

#4 2008-10-20 13:06:03

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: Nokia USB connection doesn't work (anymore)

I can't contribute any help, but it at least isn't a general problem. Just to see if I could help I connected my Nokia 5310 Xpress, but it works flawlessly as before (kernel 2.6.27-2).

dmesg:

usb-storage: device found at 3                                                                                                               
usb-storage: waiting for device to settle before scanning                                                                                   
scsi 4:0:0:0: Direct-Access     Nokia    Nokia 5310 Xpres 0000 PQ: 0 ANSI: 4                                                                 
sd 4:0:0:0: [sdb] 3987456 512-byte hardware sectors (2042 MB)                                                                               
sd 4:0:0:0: [sdb] Write Protect is off                                                                                                       
sd 4:0:0:0: [sdb] Mode Sense: 04 00 00 00                                                                                                   
sd 4:0:0:0: [sdb] Assuming drive cache: write through                                                                                       
sd 4:0:0:0: [sdb] 3987456 512-byte hardware sectors (2042 MB)                                                                               
sd 4:0:0:0: [sdb] Write Protect is off                                                                                                       
sd 4:0:0:0: [sdb] Mode Sense: 04 00 00 00                                                                                                   
sd 4:0:0:0: [sdb] Assuming drive cache: write through                                                                                       
sdb: sdb1                                                                                                                                   
sd 4:0:0:0: [sdb] Attached SCSI removable disk                                                                                               
sd 4:0:0:0: Attached scsi generic sg2 type 0                                                                                                 
usb-storage: device scan complete

Offline

#5 2008-10-20 22:22:08

MarianoC
Member
Registered: 2008-10-16
Posts: 20

Re: Nokia USB connection doesn't work (anymore)

I have de same problems...When i updated to 2.6.27 the error was:

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

And with the last update (2.6.27.1-1), the error is:

usb 1-6: new full speed USB device using ohci_hcd and address 2
usb 1-6: device descriptor read/64, error -62
usb 1-6: device descriptor read/64, error -62
usb 1-6: new full speed USB device using ohci_hcd and address 3
usb 1-6: device descriptor read/64, error -62
usb 1-6: device descriptor read/64, error -62
usb 1-6: new full speed USB device using ohci_hcd and address 4
usb 1-6: device not accepting address 4, error -62
usb 1-6: new full speed USB device using ohci_hcd and address 5
usb 1-6: device not accepting address 5, error -62
hub 1-0:1.0: unable to enumerate USB device on port 6

I have a Nokia 6131.

Bye

Offline

#6 2008-10-21 01:54:40

jcci
Member
From: China / Germany
Registered: 2007-06-10
Posts: 185

Re: Nokia USB connection doesn't work (anymore)

The problem definitely depends on the device. I just have no idea about the difference. Before I used a Nokia N95 (stolen) which worked flawless. No its an E66 which doesn't work. No idea why.

Offline

#7 2008-10-21 08:42:49

eazy
Member
From: London, UK
Registered: 2008-01-20
Posts: 97
Website

Re: Nokia USB connection doesn't work (anymore)

The issue seems to be (from my link above):

The problem is one we've seen many times in the past: The device
reports that it contains one sector more than it really does contain.
When the system tries to access the non-existent "last" sector, all
sorts of problems occur. In your case the device returned no data,
together with an indication that a problem existed (Check Condition
status) and no indication of what the problem actually was (no Sense
data).

Still I don't understand why they've changed a not-so-perfect behavior that works with semi-standard devices (Nokia) in a completely right and orthodox behavior that breaks with those devices. Where can I download the latest 2.6.26 binary? I can't compile a kernel on this old laptop... I'd really like to test.


no masters to rule us, no gods to fool us

Offline

#8 2008-10-22 06:33:31

jcci
Member
From: China / Germany
Registered: 2007-06-10
Posts: 185

Re: Nokia USB connection doesn't work (anymore)

Sorry, but with 2.6.26 my Nokia already refused to work and my friend's Ubuntu notebook uses an older kernel as well.

Offline

#9 2008-10-22 10:06:42

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: Nokia USB connection doesn't work (anymore)

I can confirm this with my Nokia 6300, it stopped working in storage mode since the kernel upgrade. There is a nokia storage mode patch in the .27 kernel changelog, maybe fixing a few nokia phones broken others?
Btw had anyone filed a bugreport yet?

Offline

#10 2008-10-22 10:12:08

eazy
Member
From: London, UK
Registered: 2008-01-20
Posts: 97
Website

Re: Nokia USB connection doesn't work (anymore)

I didn't. Too busy lately and don't have a machine to compile a patched kernel..


no masters to rule us, no gods to fool us

Offline

#11 2008-10-22 20:25:59

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: Nokia USB connection doesn't work (anymore)

What pathced kernel? I think you talk about the one in the opening post, which has been merged into the 2.6.27 kernel. (and which cause us the problem IMHO)

Offline

#12 2008-10-23 12:46:18

eazy
Member
From: London, UK
Registered: 2008-01-20
Posts: 97
Website

Re: Nokia USB connection doesn't work (anymore)

@ijanos: The link in the opening post talks about whitelisting the device and recompiling the kernel. Hope this is not the resolution to the issue, and I'm not a hardcore kernel coder to search what has changed and why it doesn't work with .27.
As soon as it's possible, I'd like to try with a Intrepid live-cd to see if it works (IIRC, it should ship with 2.6.27)


no masters to rule us, no gods to fool us

Offline

#13 2008-10-23 15:26:01

eazy
Member
From: London, UK
Registered: 2008-01-20
Posts: 97
Website

Re: Nokia USB connection doesn't work (anymore)

Found this bug report for 2.6.27.. maybe you can help reporting: http://bugzilla.kernel.org/show_bug.cgi?id=11768


no masters to rule us, no gods to fool us

Offline

#14 2008-10-25 10:00:35

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: Nokia USB connection doesn't work (anymore)

"The problem is simple: Your 6300 has newer firmware than the kernel knows about.  The patch below should fix the problem."

If you dont want to patch your kernel then you should downgrade to .26 or wait for the merge in 2.6.28 and upgrade

Offline

#15 2008-12-27 13:19:38

marcinkr
Member
Registered: 2008-12-27
Posts: 3

Re: Nokia USB connection doesn't work (anymore)

Still not working with my Nokia 6131 in Storage Mode. Kernel 2.6.28 from Testing.

dmesg:

usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning                                                                                                    
scsi 2:0:0:0: Direct-Access     Nokia    Nokia 6131       0000 PQ: 0 ANSI: 4                                                                                 
sd 2:0:0:0: [sdc] 1989633 512-byte hardware sectors: (1.01 GB/971 MiB)                                                                                       
sd 2:0:0:0: [sdc] Test WP failed, assume Write Enabled                                                                                                       
sd 2:0:0:0: [sdc] Assuming drive cache: write through                                                                                                        
sd 2:0:0:0: [sdc] 1989633 512-byte hardware sectors: (1.01 GB/971 MiB)                                                                                       
sd 2:0:0:0: [sdc] Test WP failed, assume Write Enabled                                                                                                       
sd 2:0:0:0: [sdc] Assuming drive cache: write through                                                                                                        
 sdc: sdc1                                                                                                                                                   
sd 2:0:0:0: [sdc] Attached SCSI removable disk                                                                                                               
sd 2:0:0:0: Attached scsi generic sg3 type 0                                                                                                                 
usb-storage: device scan complete                                                                                                                            
sd 2:0:0:0: [sdc] Sense Key : 0x0 [current]                                                                                                                  
sd 2:0:0:0: [sdc] ASC=0x0 ASCQ=0x0                                                                                                                           
sd 2:0:0:0: [sdc] Sense Key : 0x0 [current]                                                                                                                  
sd 2:0:0:0: [sdc] ASC=0x0 ASCQ=0x0                                                                                                                           
sd 2:0:0:0: [sdc] Sense Key : 0x0 [current]                                                                                                                  
sd 2:0:0:0: [sdc] ASC=0x0 ASCQ=0x0                                                                                                                           
sd 2:0:0:0: [sdc] Sense Key : 0x0 [current]                                                                                                                  
sd 2:0:0:0: [sdc] ASC=0x0 ASCQ=0x0                                                                                                                           
sd 2:0:0:0: [sdc] Sense Key : 0x0 [current]                                                                                                                  
sd 2:0:0:0: [sdc] ASC=0x0 ASCQ=0x0

Offline

#16 2008-12-27 14:43:30

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: Nokia USB connection doesn't work (anymore)

Track the bug in the kernel bugzilla, it is still not closed.

Offline

#17 2008-12-29 10:59:14

quantumphaze
Member
From: Melbourne, Australia
Registered: 2008-11-14
Posts: 175

Re: Nokia USB connection doesn't work (anymore)

ijanos wrote:

I can confirm this with my Nokia 6300

Good to see I'm not the only one with the same problem with the 6300.

I'll be manually inserting the MicroSD card until the kernel is fixed and in Core. (or a quick fix is found)


▁▂▃▄▅▆▇█▉▊▋▌▍▎▏▏▎▍▌▋▊▉█▇▆▅▄▃▂▁

Offline

#18 2008-12-29 14:03:18

Xauthority
Member
From: ../
Registered: 2008-11-03
Posts: 61

Re: Nokia USB connection doesn't work (anymore)

And I can confirm it with my 3500 classic. Thats what I found about the problem.
http://marc.info/?l=linux-kernel&m=122762731503933&w=4
http://bugzilla.kernel.org/show_bug.cgi?id=12099
EDIT: I also found out that it has something to do with the nokia firmware on it. Different versions may work...

Last edited by Xauthority (2008-12-29 14:04:45)

Offline

#19 2009-01-30 02:25:39

adityaj
Member
Registered: 2008-10-04
Posts: 4

Re: Nokia USB connection doesn't work (anymore)

Hi

After the upgrade to kernel "2.6.28-ARCH #1 SMP PREEMPT Sun Jan 25 10:13:11 UTC 2009 i686" the problem has been resolved. BTW, i had the same problems as above in my nokia 5610 phone.

HTH

Last edited by adityaj (2009-01-31 00:03:42)

Offline

#20 2009-01-30 03:56:36

koch
Member
From: Germany
Registered: 2008-01-26
Posts: 369

Re: Nokia USB connection doesn't work (anymore)

yes, it works here with an 6500 slide. just copied my images and videos in storage mode. big_smile

Offline

#21 2009-04-29 08:05:08

cliffbreaker
Member
From: Tiraspol, Transnistria
Registered: 2008-11-23
Posts: 52

Re: Nokia USB connection doesn't work (anymore)

And now I use 2.6.29 kernel and my motorola k1m has the same issue in storage mode!! Even /dev/* is not created and lsusb hangs when I try to execute it. Sure it is a kernel problem. It works good only in ubuntu 7.10 but it isn't supported anymore(( Hope there will be a patch


Windows works in 80 % cases, Linux in 20%, but you can make linux work in other 80% cases whilst you can never make windows work in last 20%

Offline

#22 2009-04-29 11:43:35

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: Nokia USB connection doesn't work (anymore)

cliffbreaker wrote:

And now I use 2.6.29 kernel and my motorola k1m has the same issue in storage mode!! Even /dev/* is not created and lsusb hangs when I try to execute it. Sure it is a kernel problem. It works good only in ubuntu 7.10 but it isn't supported anymore(( Hope there will be a patch

Then you should file a bureport in the kernel's bugzilla, or if you sure its the same problem then reopen the prevoius.

Last edited by ijanos (2009-04-29 11:44:36)

Offline

#23 2009-05-07 06:07:34

wazow
Member
From: Europe
Registered: 2008-11-11
Posts: 39

Re: Nokia USB connection doesn't work (anymore)

I cannot mount my ipod shuffle anymore.  Seems to be the same problem.  Using 2.6.29-ARCH

Offline

#24 2009-05-07 08:27:08

eazy
Member
From: London, UK
Registered: 2008-01-20
Posts: 97
Website

Re: Nokia USB connection doesn't work (anymore)

wazow wrote:

I cannot mount my ipod shuffle anymore.  Seems to be the same problem.  Using 2.6.29-ARCH

I have no issues with my ipod nano.. Could you paste your dmesg when you plug in the device?


no masters to rule us, no gods to fool us

Offline

#25 2009-05-07 09:10:56

wazow
Member
From: Europe
Registered: 2008-11-11
Posts: 39

Re: Nokia USB connection doesn't work (anymore)

eazy wrote:
wazow wrote:

I cannot mount my ipod shuffle anymore.  Seems to be the same problem.  Using 2.6.29-ARCH

I have no issues with my ipod nano.. Could you paste your dmesg when you plug in the device?

Now I am a bit puzzled with this myself. Dmesg is completely quiet, as if udev was not working at all.  No messages whatsoever. lsusb does not show the device.  Reboot does not help.  /var/log/messages is also quiet.

Ipod blinks when connecting as if it was seeing the PC, but perhaps it is the ipod that is broken.  I will investigate this further later today.

Offline

Board footer

Powered by FluxBB