From: Matt Fleming Subject: Re: [Bugme-new] [Bug 18602] New: mmc_block / tifm_sd not completely registering when a new sd card is inserted Date: Fri, 17 Sep 2010 14:54:14 +0100 Message-ID: <20100917135414.GB11462@console-pimps.org> References: <20100915123854.e36e432c.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from arkanian.console-pimps.org ([212.110.184.194]:42024 "EHLO arkanian.console-pimps.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752016Ab0IQNyP (ORCPT ); Fri, 17 Sep 2010 09:54:15 -0400 Content-Disposition: inline In-Reply-To: <20100915123854.e36e432c.akpm@linux-foundation.org> Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Andrew Morton Cc: linux-mmc@vger.kernel.org, bugzilla-daemon@bugzilla.kernel.org, bugme-daemon@bugzilla.kernel.org, pioto@pioto.org, Alex Dubov (CC'ing maintainer) On Wed, Sep 15, 2010 at 12:38:54PM -0700, Andrew Morton wrote: > > (switched to email. Please respond via emailed reply-to-all, not via the > bugzilla web interface). > > On Wed, 15 Sep 2010 13:48:30 GMT > bugzilla-daemon@bugzilla.kernel.org wrote: > > > https://bugzilla.kernel.org/show_bug.cgi?id=18602 > > > > Summary: mmc_block / tifm_sd not completely registering when a > > new sd card is inserted > > Product: Drivers > > Version: 2.5 > > Kernel Version: 2.6.35.4 > > Platform: All > > OS/Version: Linux > > Tree: Mainline > > Status: NEW > > Severity: normal > > Priority: P1 > > Component: MMC/SD > > AssignedTo: drivers_mmc-sd@kernel-bugs.osdl.org > > ReportedBy: pioto@pioto.org > > Regression: No > > > > > > After I insert an SD card once after booting, mount it, unmount it, then pop > > out the card, if I try to insert the card again, the /dev/mmcblk* devices do > > not show again. I have to unload the mmc_block and tifm_sd (and mmc_core) > > modules, then reload them, in order for the device node to apear again. I don't > > think this was always the case, but I can't remember the specific version that > > this problem first occurred. > > > > On the first insertion cycle, dmsg looks like this: > > > > [204702.558153] tifm_core: MMC/SD card detected in socket 0:1 > > [204702.834915] mmc0: new SD card at address 4f9a > > [204702.878743] mmcblk0: mmc0:4f9a SD02G 1.83 GiB > > [204702.878802] mmcblk0: p1 > > # ... do stuff with the card > > [204908.381864] tifm0 : demand removing card from socket 0:1 > > [204908.381936] mmc0: card 4f9a removed > > > > # now, insert the card again > > [204913.581176] tifm_core: MMC/SD card detected in socket 0:1 > > # and remove it again > > [204926.188570] tifm0 : demand removing card from socket 0:1 > > > > lspci identifies my SD card reader as: > > > > 0f:06.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant > > SD Host Controller > > > > Any advice would be appreciated. Thanks. > > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-mmc" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html