From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S939759AbXGSQnh (ORCPT ); Thu, 19 Jul 2007 12:43:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S937186AbXGSQnM (ORCPT ); Thu, 19 Jul 2007 12:43:12 -0400 Received: from tim.rpsys.net ([194.106.48.114]:41102 "EHLO tim.rpsys.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936366AbXGSQnK (ORCPT ); Thu, 19 Jul 2007 12:43:10 -0400 Subject: Re: MMC/SD Root filesystem suspend/resume problems From: Richard Purdie To: Pierre Ossman Cc: kernel list In-Reply-To: <1184860419.29634.10.camel@localhost.localdomain> References: <1184860419.29634.10.camel@localhost.localdomain> Content-Type: text/plain Date: Thu, 19 Jul 2007 17:42:54 +0100 Message-Id: <1184863375.29634.17.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2007-07-19 at 16:57 +0100, Richard Purdie wrote: > Lots of Linux handhelds use MMC/SD devices as the root file system. This > has worked quite reliably for many kernel versions. In 2.6.22, it seems > that if you suspend such a system then resume it, the device locks up. > Trying to execute anything on the filesystem results in a "Permission > Denied" message. I did see a message from the MMC subsystem saying it > had redetected the card. There are also messages on the console like > "MMC: killing requests for dead queue" each time you suspend/resume. > > I'm away from my serial cables at the moment but I may be able to > provide more debug when I have them over the weekend. Have you any ideas > on why this is breaking? > > For reference, I've reproduced the problem with both the PXA host driver > and different driver not merged into mainline (ASIC3). Just to follow up, if I boot with a rootfs from elsewhere and mount the mmc card then suspend/resume, it corrupts the data on the card too so it looks like some general suspend/resume problem on mounted filesystems. Richard