Long delay in resume from RAM (Was Re: [patch 00/69] -stablereview)

From: Romano Giannetti
Date: Thu May 24 2007 - 11:06:54 EST


(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@xxxxxxxxx
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/