Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751616AbXEXPGw (ORCPT ); Thu, 24 May 2007 11:06:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750954AbXEXPGp (ORCPT ); Thu, 24 May 2007 11:06:45 -0400 Received: from antispam.upcomillas.es ([130.206.70.245]:58719 "EHLO antispam.upcomillas.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750855AbXEXPGn convert rfc822-to-8bit (ORCPT ); Thu, 24 May 2007 11:06:43 -0400 Subject: Long delay in resume from RAM (Was Re: [patch 00/69] -stablereview) From: Romano Giannetti To: Linus Torvalds Cc: Chris Wright , Chuck Ebbert , linux-kernel@vger.kernel.org, stable@kernel.org, Justin Forbes , Zwane Mwaikambo , "Theodore Ts'o" , Randy Dunlap , Dave Jones , Chuck Wolber , Chris Wedgwood , Michael Krufky , akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk In-Reply-To: <1180008394.15600.26.camel@localhost> References: <20070521191612.800400000@sous-sol.org> <4652070D.3090509@redhat.com> <20070521212522.GL3429@sequoia.sous-sol.org> <1179870110.16656.2.camel@localhost> <1180008394.15600.26.camel@localhost> Content-Type: text/plain; charset=utf-8 Date: Thu, 24 May 2007 17:06:41 +0200 Message-Id: <1180019201.15600.57.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2689 Lines: 54 (Changing subject to something more informative. You are lost, original thread is at http://lkml.org/lkml/2007/5/23/38 ) On Thu, 2007-05-24 at 14:06 +0200, Romano Giannetti wrote: > On Tue, 2007-05-22 at 15:07 -0700, Linus Torvalds wrote: > > > > On Tue, 22 May 2007, Romano Giannetti wrote: > > > > > > It's not known, no, and yeah, that's scary (and 60 seconds is long enough > > that most people would have grown bored and pushed the power button for > > five seconds, having considered the resume a failure). > > > > > [ 1.617972] pcmcia: registering new device pcmcia1.0 > > > [ 61.612517] PM: Writing back config space on device 0000:00:[...] > > > More data. I compiled 2.6.21.2 + the patch "Fix ACPI suspend / device suspend ordering problem (52ade9b3b97fd3bea42842a056fe0786c28d0555) and I discovered that if I do not put the 3Com 3CXEM556B card into the pcmcia slot, the suspend/resume (and the snapshot/restore) works ok, without delay at all. It continues to work even with a cardbus wifi in the slot, so my conclusions are that the probable culprit is restricted to: * a race when loading the .cis file from userspace * the serial_cs or 3c589_cs driver (only when the device is in; they are loaded still now and all is working ok) ...what now? Romano -- Romano Giannetti --- romano.giannetti@gmail.com Sorry for the following disclaimer, it's attached by our otugoing server and I cannot shut it up. -- La presente comunicación tiene carácter confidencial y es para el exclusivo uso del destinatario indicado en la misma. Si Ud. no es el destinatario indicado, le informamos que cualquier forma de distribución, reproducción o uso de esta comunicación y/o de la información contenida en la misma están estrictamente prohibidos por la ley. Si Ud. ha recibido esta comunicación por error, por favor, notifíquelo inmediatamente al remitente contestando a este mensaje y proceda a continuación a destruirlo. Gracias por su colaboración. This communication contains confidential information. It is for the exclusive use of the intended addressee. If you are not the intended addressee, please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited by law. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy this message. Thank you for your cooperation. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/