On Friday, 4 May 2007 16:56, Johannes Berg wrote: > On Fri, 2007-05-04 at 10:51 -0400, Alan Stern wrote: > > > Exactly because we are waffling on this issue. If we settled the matter > > once and for all (devices must ALWAYS be reinitialized after the snapshot > > is restored) then we wouldn't have those problems. (We might have other > > problems though...) > > From what I've understood so far, ACPI is very unhappy on some machines > if you go to S5 after hiberation. I still don't understand why, if the > ACPI code would properly re-initialise itself (treat ACPI as a device > and apply your "devices must ALWAYS be reinitialized after the snapshot > is restored") then this shouldn't be possible to happen. I agree, and that's why I suspect that the ACPI driver's .resume() routines make some, well, ACPIish assumptions about the resume from hibernation, which is the source of the problem. If we separate the hibernation code from the suspend (s2ram, standby) code completely, this issue will have to be resolved somehow. > And at that point I agree that the issue becomes completely orthogonal. > > (btw, it's always possible right now to go to S5 instead of S4 when > doing hibernation simply by changing /sys/power/disk to "shutdown") That's correct. Greetings, Rafael _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm