Re: Suspend/resume works in 2.6.29-0.19.rc0.git9.fc11.i686, butfails in later versions

From: Pavel Machek
Date: Mon Jan 19 2009 - 14:17:37 EST


On Fri 2009-01-16 23:43:08, MartinG wrote:
> On Fri, Jan 16, 2009 at 9:53 AM, Pavel Machek <pavel@xxxxxxx> wrote:
> > Can you boot non-working kernel, and try "cd /sys/devices/system/cpu;
> > echo 0 > cpu1/online; echo 1 > cpu1/online" ?
> >
> > If it breaks, try just doing "echo 0 > online" followed by s2ram. That
> > should work.
>
> Ok, thanks for the reply. This is what I've tried (I have a single
> core (old) cpu):
> # uname -r
> 2.6.29-0.35.rc1.git4.fc11.i686
> # cd /sys/devices/system/cpu
> # find .|grep online
> ./online
> # cat online
> 0
> # echo 0 > online; echo 1 > online
> -bash: online: Permission denied
> -bash: online: Permission denied
> # chmod +rw online
> # echo 0 > online; echo 1 > online
> -bash: echo: write error: Input/output error
> -bash: echo: write error: Input/output error
>
> Yep, I am a bit confused - any hints appreciated!

Ok, that is not going to work on single core. Can you try if
suspending works in init=/bin/bash mode?

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/