Re: suspend/resume fails on second attempt in LNXVIDEO:00

From: Rafael J. Wysocki
Date: Tue Dec 16 2008 - 11:22:57 EST


On Tuesday, 16 of December 2008, Brian J. Murrell wrote:
> On Tue, 16 Dec 2008 17:13:08 +0100, Rafael J. Wysocki wrote:
> >
> > Hm, this really isn't reasonable.
>
> Many people agree with you. :-) There is a long bug open with ubuntu to
> restore this s2ram. They seem to be ignoring it though.
>
> > s2both saves the image, which takes
> > quite a lot of time, while s2ram doesn't.
>
> Indeed.
>
> > You can compile s2ram from sources, it's not too difficult.
>
> Yeah. I will probably just grab the debian package and dpkg-buildpackage
> it on my Ubuntu system.
>
> > Hm. Is that all loaded when you boot with init=/bin/bash (by which I
> > mean the minimal config)?
>
> It sure is. Most assuredly by the initrd. Debian/Ubuntu systems seem to
> put everything but the kitchen sink into their initrds. Which on the one
> hand makes them pretty portable and resilient, but on the other, yes,
> bloated.

Well, please remove as many modules as you can (using rmmod) and see if your
second resume still fails.

Thanks,
Rafael
--
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/