From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [Bug 11589] New: Mass-storage USB Device does not show up when CONFIG_SCSI_MULTI_LUN is set Date: Thu, 18 Sep 2008 19:12:31 -0700 Message-ID: <20080918191231.f714eb04.akpm@linux-foundation.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from smtp1.linux-foundation.org ([140.211.169.13]:47964 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755691AbYISCMm (ORCPT ); Thu, 18 Sep 2008 22:12:42 -0400 In-Reply-To: Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: linux-usb@vger.kernel.org Cc: linux-scsi@vger.kernel.org, bugme-daemon@bugzilla.kernel.org, nico@lifeisabug.com On Thu, 18 Sep 2008 18:22:23 -0700 (PDT) bugme-daemon@bugzilla.kernel.org wrote: > 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: scsi_drivers-other@kernel-bugs.osdl.org > ReportedBy: nico@lifeisabug.com > > > 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. > Another of those might-be-usb, might-be-scsi bugs. Apparently a regression, too.