Jens Gustedt | 17 Jul 13:24
Face
Favicon

big silence when trying to hibernate

Hi Nigel and everybody,
I have a problem since 2.6.25, so way old, but I never found the time
to investigate it further. Now my time budget looks a bit better...

Problem: since 2.6.25 tuxonice simply wouldn't hibernate for me. I now
tried a lot of things, different kernel versions (most recent 2.6.26),
many different compile options, switched off everything fancy that I
could via the /sys interface, changed my bios from plain sata to ahci
back and forth, changed from encrypted swap to normal ... nothing
helped.

On first boot TOI correctly detects everything, sees that this is not
an hibernated image and continues booting. Then when trying to
hibernate, nothing happens, even in single user mode the

echo > /sys/power/tuxonice/do_hibernate

just blocks. Nothing, no error message, no logs, nada. (Fortunately
sysrq still works, so I can power down almost correctly)

suspend to ram and vanilla swsusp work. (suspend to ram produces a
lockup of the machine for one in 10 tries in wakeup, but I can't
imagine this related.)

This is a dual core (Intel(R) Core(TM)2 Duo CPU T7100) 64 bit
system. I attach my .config, for 2.6.26 with TOI from git.
Perhaps I just have overlooked something
stupid, any help would be apreciated.

Thanks
(Continue reading)

Nigel Cunningham | 23 Jul 23:02
Favicon

Re: big silence when trying to hibernate

Hi Jens.

On Thu, 2008-07-17 at 13:27 +0200, Jens Gustedt wrote:
> Hi Nigel and everybody,
> I have a problem since 2.6.25, so way old, but I never found the time
> to investigate it further. Now my time budget looks a bit better...
> 
> Problem: since 2.6.25 tuxonice simply wouldn't hibernate for me. I now
> tried a lot of things, different kernel versions (most recent 2.6.26),
> many different compile options, switched off everything fancy that I
> could via the /sys interface, changed my bios from plain sata to ahci
> back and forth, changed from encrypted swap to normal ... nothing
> helped.
> 
> On first boot TOI correctly detects everything, sees that this is not
> an hibernated image and continues booting. Then when trying to
> hibernate, nothing happens, even in single user mode the
> 
> echo > /sys/power/tuxonice/do_hibernate
> 
> just blocks. Nothing, no error message, no logs, nada. (Fortunately
> sysrq still works, so I can power down almost correctly)
> 
> suspend to ram and vanilla swsusp work. (suspend to ram produces a
> lockup of the machine for one in 10 tries in wakeup, but I can't
> imagine this related.)
> 
> This is a dual core (Intel(R) Core(TM)2 Duo CPU T7100) 64 bit
> system. I attach my .config, for 2.6.26 with TOI from git.
> Perhaps I just have overlooked something
(Continue reading)

Jens Gustedt | 24 Jul 00:54
Face
Favicon

Re: big silence when trying to hibernate

Hi Nigel,

Nigel Cunningham schrieb:

> I think I found the problem last night, and committed a fix before
> releasing the 2.6.26 patch that's now on the website. If you're using
> git, or willing to use 2.6.26, would you please update and give it a
> try?

Great, so you were able to reproduce it?

I hope I will be able to try it out tomorrow.

Thanks a lot!

Jens

--

-- 
:: INRIA Nancy Grand Est :: http://www.loria.fr/~gustedt/ ::
:: Bat B - AlGorille :::::::::::::::::: fon +33 383593090 ::
:: campus scientifique, BP 239 :::::::: gsm +33 688495246 ::
:: 54506 Vand½uvre lès Nancy, France :: fax +33 383278319 ::

_______________________________________________
TuxOnIce-devel mailing list
TuxOnIce-devel <at> lists.tuxonice.net
http://lists.tuxonice.net/mailman/listinfo/tuxonice-devel
Nigel Cunningham | 24 Jul 07:48
Favicon

Re: big silence when trying to hibernate

Hi.

On Thu, 2008-07-24 at 00:54 +0200, Jens Gustedt wrote:
> Hi Nigel,
> 
> Nigel Cunningham schrieb:
> 
> 
> > I think I found the problem last night, and committed a fix before
> > releasing the 2.6.26 patch that's now on the website. If you're using
> > git, or willing to use 2.6.26, would you please update and give it a
> > try?
> 
> Great, so you were able to reproduce it?

No, but I saw that an error path didn't have a mutex unlock, which would
result in a hang on the next attempt at doing anything with TuxOnIce.
There isn't a lot else that could account for that.

> I hope I will be able to try it out tomorrow.
> 
> Thanks a lot!

You're welcome.

Nigel
Jens Gustedt | 24 Jul 08:53
Face
Favicon

Re: big silence when trying to hibernate

Hi Nigel,
   sorry this didn't help. compiled 2.6.26 with rc7a from fresh, same 
symptoms.

> No, but I saw that an error path didn't have a mutex unlock, which would
> result in a hang on the next attempt at doing anything with TuxOnIce.

Nice that this let you find this one by inspection ;-)

> There isn't a lot else that could account for that.

oh, yes, me doing something stupid in my config :-(

any other idea what I could try?

Best

Jens

--

-- 
:: INRIA Nancy Grand Est :: http://www.loria.fr/~gustedt/ ::
:: Bat B - AlGorille :::::::::::::::::: fon +33 383593090 ::
:: campus scientifique, BP 239 :::::::: gsm +33 688495246 ::
:: 54506 Vand½uvre lès Nancy, France :: fax +33 383278319 ::

_______________________________________________
TuxOnIce-devel mailing list
TuxOnIce-devel <at> lists.tuxonice.net
(Continue reading)


Gmane