On Fri, 23 Mar 2007 14:40:02 +0100
Johannes Berg <[EMAIL PROTECTED]> wrote:

> Hi Tim,
> 
> I gave it a try now...
> 
> Here are a few things:
>  - compression is totally messed up on my machine, it writes about 8% of
>    the image and then gets an -ENOSPC error from the compression
>    algorithm (I put printk's into the kernel and it doesn't come from
>    the kernel)

OK, have to see what liblzf claims to support. But compression is not
essential, lets first see if we can get it to work without.

>  - resume needs to grow a timeout on the question -- my laptop has USB
>    keyboard only and interaction with it isn't possible during boot.

I thought that the kernel had support for that, maybe that is dependent
on your machine... Anyway, I think we can do a timeout.

>  - is it possible to resume an image the kernel wrote, or will resume
>    ignore it and I can still use echo ... > /sys/power/resume?

It will ignore it (and vice versa). They both write a sightly different
signature on disk.

>  - on my machine, resume is unable to read the image and prints a huge
>    message. I made sure that I'm booting the exact kernel and everything
>    so I don't know why it tells me that the image isn't usable.

Hmm, that is a bit disappointing, I had hoped suspend was written clean
enough that it would run on powerpc too...
I don't have that much experience with powerpc, but they are
big-endian, right? 

Judging from what message your get it is mostly likely failing in
init_swap_reader, but that is just a guess. It would help if you could
pinpoint where resume fails. It is not that much code, so if you feel
like it, maybe you could add some printfs;)

I'm adding the suspend-devel list to cc, maybe rafeal or pavel have 
some idea what is most likely to fail on powerpc?

grts Tim

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to