Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253034 - usb mass storage (nokia 6300) problems with sys-kernel/gentoo-sources-2.6.27-r7 and sys-kernel/gentoo-sources-2.6.28
Summary: usb mass storage (nokia 6300) problems with sys-kernel/gentoo-sources-2.6.27-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-12-29 19:41 UTC by Petr Lanc
Modified: 2009-01-19 12:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/log/messages with kernel error messages (messages_2.6.27.txt,5.17 KB, text/plain)
2008-12-29 19:42 UTC, Petr Lanc
Details
/proc/bus/usb/devices (devices1.txt,1.37 KB, text/plain)
2009-01-04 18:08 UTC, Petr Lanc
Details
/proc/bus/usb/device after abort Mass Storage mode (devices2.txt,3.21 KB, text/plain)
2009-01-04 18:10 UTC, Petr Lanc
Details
possible fix (6300_patch,510 bytes, patch)
2009-01-04 18:44 UTC, Sergey Ovcharenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Lanc 2008-12-29 19:41:21 UTC
I upgrade kernel from sys-kernel/gentoo-sources-2.6.26-r4 to sys-kernel/gentoo-sources-2.6.27-r7 and my nokia 6300 in mass storage mode stop to works. In /var/log/messages wrotes
Dec 29 19:17:36 kaname sd 6:0:0:0: [sdc] Sense Key : No Sense [current]
Dec 29 19:17:36 kaname sd 6:0:0:0: [sdc] Add. Sense: No additional sense information
in infinitive loop. I try sys-kernel/gentoo-sources-2.6.28 with the same result. In sys-kernel/gentoo-sources-2.6.26-r4 it works without any problem.
My mp3 mass storage player works good on all kernels without noticing any problem.

Reproducible: Always

Steps to Reproduce:
1. make oldconfig && make -j3 && make modules_install install
2. reboot new kernel
3. attach mobile phone

Actual Results:  
No block device in /dev created, writing errors to log

Expected Results:  
Create /dev/sd?.
Comment 1 Petr Lanc 2008-12-29 19:42:49 UTC
Created attachment 176793 [details]
/var/log/messages with kernel error messages
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-01-03 02:10:34 UTC

*** This bug has been marked as a duplicate of bug 250789 ***
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2009-01-03 10:10:53 UTC
not a dup of that bug, different device...
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2009-01-03 10:11:51 UTC
Sergey, perhaps you're interested in looking at this one?
Comment 5 Sergey Ovcharenko 2009-01-03 15:36:11 UTC
Daniel,yeah,i'll come up with the patch today,thanks.
Petr could you post your /proc/bus/usb/devices please.
Comment 6 Petr Lanc 2009-01-04 18:08:16 UTC
Created attachment 177369 [details]
/proc/bus/usb/devices

This is /proc/bus/usb/devices after I connect phone to USB port and switch it to Mass storage mode.
Comment 7 Petr Lanc 2009-01-04 18:10:29 UTC
Created attachment 177370 [details]
/proc/bus/usb/device after abort Mass Storage mode

This is /proc/bus/usb/devices after I abort Mass Storage mode on mobile phone menu, but before was USB cable disconnect.

Thanks for help.
Comment 8 Sergey Ovcharenko 2009-01-04 18:44:23 UTC
Created attachment 177376 [details, diff]
possible fix

Please apply this patch and tell us if it (hopefully :) fixes the bug.
Comment 9 Petr Lanc 2009-01-04 20:06:01 UTC
(In reply to comment #8)
> Created an attachment (id=177376) [edit]
> possible fix
> 
> Please apply this patch and tell us if it (hopefully :) fixes the bug.
> 

It works just nice!
Thank You for resolving this.
Comment 10 Sergey Ovcharenko 2009-01-04 20:25:12 UTC
Thanks for helping fix it!
Comment 11 Daniel Drake (RETIRED) gentoo-dev 2009-01-11 10:42:32 UTC
Sergey, did you see the mail upstream where they rejected your patch due to minor formatting errors? Please resubmit when you have a chance. thanks.
Comment 12 Sergey Ovcharenko 2009-01-13 10:32:47 UTC
Daniel,i've just resubmitted the patch.Sorry for the delay,i was passing exams these days,had absolutely no free time :(
Comment 13 Sergey Ovcharenko 2009-01-14 19:38:56 UTC
Petr,i submitted the patch upstream and kernel developers told me all Nokia devices are handled in a generic way in 2.6.29.
It would be very helpful if you tested 2.6.29-r1 kernel without the patch and told us if it works.
Thanks!
Comment 14 Petr Lanc 2009-01-15 18:44:09 UTC
I tried sys-kernel/vanilla-sources-2.6.29_rc1 and it realy works without any problems.
Thank You!
Comment 15 Sergey Ovcharenko 2009-01-15 19:02:02 UTC
Thanks for testing!
Comment 16 Daniel Drake (RETIRED) gentoo-dev 2009-01-19 12:56:11 UTC
fixed in gentoo-sources-2.6.28-r1 and gentoo-sources-2.6.27-r8