New: Mass-storage USB Device does not show up when CONFIG_SCSI_MULTI_LUN is set
http://bugzilla.kernel.org/show_bug.cgi?id=11589
Summary: Mass-storage USB Device does not show up when
CONFIG_SCSI_MULTI_LUN is set
Product: SCSI Drivers
Version: 2.5
KernelVersion: 2.6.26.5
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
AssignedTo: [email protected]
ReportedBy: [email protected]
Latest working kernel version: I *guess* all before 2.6.26 Earliest failing kernel version: Not sure. See above
Distribution: Gentoo Linux
Hardware Environment: Mobo: Abit IC7-G
Software Environment:
Problem Description:
The problem is about my mobile phone (Sony Ericsson K810i) which normally shows up as two devices (phones internal memory and the memory card in it) when plugging it to USB. Just like any USB Memory stick.
The phones internal memory is fine, it shows up as /dev/sdc1 with multi_lun enabled or disabled and it does not show any warnings, thats how the memory card in the phone used to work too. I don't know with what kernel version this started, but let me explain it:
When CONFIG_SCSI_MULTI_LUN is set, the memory card does not show up as it should, I only see /dev/sdd but not /dev/sdd1 - it's unable to mount it that way.
When CONFIG_SCSI_MULTI_LUN is not set, it does show up as /dev/sdd1 but gives me loads of warnings like "attempt to access beyond end of device", see dmesg for that. This way it is mountable and works fine except the warnings.
Steps to reproduce: Plug Sony Ericsson K810i to USB and set it to file transfer mode.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 11589] Mass-storage USB Device does not show up when CONFIG_SCSI_MULTI_LUN is set
http://bugzilla.kernel.org/show_bug.cgi?id=11589
------- Comment #1 from [email protected] 2008-09-18 18:23 ------- Created an attachment (id=17872)
--> (http://bugzilla.kernel.org/attachment.cgi?id=17872&action=view)
dmesg output when CONFIG_SCSI_MULTI_LUN is DISABLED
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 11589] Mass-storage USB Device does not show up when CONFIG_SCSI_MULTI_LUN is set
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=11589
------- Comment #2 from [email protected] 2008-09-18 18:24 ------- Created an attachment (id=17873)
--> (http://bugzilla.kernel.org/attachment.cgi?id=17873&action=view)
dmesg output when CONFIG_SCSI_MULTI_LUN is ENABLED
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
Quoted 41 lines · On Thu, 18 Sep 2008 18:22:23 -0700 (PDT) [email protected] wrote:
http://bugzilla.kernel.org/show_bug.cgi?id=11589
Summary: Mass-storage USB Device does not show up when
CONFIG_SCSI_MULTI_LUNis set
Product: SCSI Drivers
Version: 2.5
KernelVersion: 2.6.26.5
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
AssignedTo: [email protected]
ReportedBy: [email protected]Latest working kernel version: I *guess* all before 2.6.26 Earliest failing kernel version: Not sure. See above
Distribution: Gentoo Linux
Hardware Environment: Mobo: Abit IC7-G
Software Environment:
Problem Description:The problem is about my mobile phone (Sony Ericsson K810i) which normally shows up as two devices (phones internal memory and the memory card in it) when plugging it to USB. Just like any USB Memory stick.
The phones internal memory is fine, it shows up as
/dev/sdc1withmulti_lunenabled or disabled and it does not show any warnings, thats how the memory card in the phone used to work too. I don't know with what kernel version this started, but let me explain it:When
CONFIG_SCSI_MULTI_LUNis set, the memory card does not show up as it should, I only see/dev/sddbut not/dev/sdd1- it's unable to mount it that way.
WhenCONFIG_SCSI_MULTI_LUNis not set, it does show up as/dev/sdd1but gives me loads of warnings like "attempt to access beyond end of device", see dmesg for that. This way it is mountable and works fine except the warnings.
Quoted 3 lines
Steps to reproduce: Plug Sony Ericsson K810i to USB and set it to file transfer mode.
Another of those might-be-usb, might-be-scsi bugs. Apparently a regression, too.
A message that is not in the archive (sent off-list or not yet received): 20080918191231.f714eb04.akpm-de/[email protected]
Quoted 8 lines · Andrew Morton
Quoted 6 lines · On Thu, 18 Sep 2008 18:22:23 -0700 (PDT)…
When
CONFIG_SCSI_MULTI_LUNis set, the memory card does not show up as it should, I only see/dev/sddbut not/dev/sdd1- it's unable to mount it that way.
WhenCONFIG_SCSI_MULTI_LUNis not set, it does show up as/dev/sdd1but gives me loads of warnings like "attempt to access beyond end of device", see dmesg for that. This way it is mountable and works fine except the warnings.
If /dev/sdd shows up but not /dev/sdd1, then this is probably actually the partition parsing code. There was a change to reject badly formed partitions; I believe someone is trying to revert that change.
Matt
Signature · 6 lines
Matthew Dharm Home: [email protected] Maintainer, Linux USB Mass Storage Driver Pitr! That's brilliant! Funded by Microsoft refunds. What sweet irony! -- A.J. User Friendly, 2/15/1999
[Bug 11589] Mass-storage USB Device does not show up when CONFIG_SCSI_MULTI_LUN is set
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=11589
------- Comment #3 from [email protected] 2008-09-18 19:12 -------
Reply-To: [email protected]
Quoted 41 lines · On Thu, 18 Sep 2008 18:22:23 -0700 (PDT) [email protected] wrote:
http://bugzilla.kernel.org/show_bug.cgi?id=11589
Summary: Mass-storage USB Device does not show up when
CONFIG_SCSI_MULTI_LUNis set
Product: SCSI Drivers
Version: 2.5
KernelVersion: 2.6.26.5
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
AssignedTo: [email protected]
ReportedBy: [email protected]Latest working kernel version: I *guess* all before 2.6.26 Earliest failing kernel version: Not sure. See above
Distribution: Gentoo Linux
Hardware Environment: Mobo: Abit IC7-G
Software Environment:
Problem Description:The problem is about my mobile phone (Sony Ericsson K810i) which normally shows up as two devices (phones internal memory and the memory card in it) when plugging it to USB. Just like any USB Memory stick.
The phones internal memory is fine, it shows up as
/dev/sdc1withmulti_lunenabled or disabled and it does not show any warnings, thats how the memory card in the phone used to work too. I don't know with what kernel version this started, but let me explain it:When
CONFIG_SCSI_MULTI_LUNis set, the memory card does not show up as it should, I only see/dev/sddbut not/dev/sdd1- it's unable to mount it that way.
WhenCONFIG_SCSI_MULTI_LUNis not set, it does show up as/dev/sdd1but gives me loads of warnings like "attempt to access beyond end of device", see dmesg for that. This way it is mountable and works fine except the warnings.
Quoted 3 lines
Steps to reproduce: Plug Sony Ericsson K810i to USB and set it to file transfer mode.
Another of those might-be-usb, might-be-scsi bugs. Apparently a regression, too.
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
[Bug 11589] Mass-storage USB Device does not show up when CONFIG_SCSI_MULTI_LUN is set
In reply to [email protected]http://bugzilla.kernel.org/show_bug.cgi?id=11589
------- Comment #4 from [email protected] 2008-09-18 19:40 -------
Reply-To: [email protected]
Quoted 8 lines · Andrew Morton
Quoted 6 lines · On Thu, 18 Sep 2008 18:22:23 -0700 (PDT) [email protected] wrote:
When
CONFIG_SCSI_MULTI_LUNis set, the memory card does not show up as it should, I only see/dev/sddbut not/dev/sdd1- it's unable to mount it that way.
WhenCONFIG_SCSI_MULTI_LUNis not set, it does show up as/dev/sdd1but gives me loads of warnings like "attempt to access beyond end of device", see dmesg for that. This way it is mountable and works fine except the warnings.
If /dev/sdd shows up but not /dev/sdd1, then this is probably actually the partition parsing code. There was a change to reject badly formed partitions; I believe someone is trying to revert that change.
Matt
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.