On Mon, 2007-04-09 at 22:16 +0200, Rafael J. Wysocki wrote:
> On Monday, 9 April 2007 22:05, Johannes Berg wrote:
> > On Mon, 2007-04-09 at 19:26 +0200, Cedric Boutillier wrote:
> > > On 4/9/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote:
> > > > You can try to add "shutdown method = shutdown" to
On Monday, 9 April 2007 22:05, Johannes Berg wrote:
> On Mon, 2007-04-09 at 19:26 +0200, Cedric Boutillier wrote:
> > On 4/9/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote:
> > > You can try to add "shutdown method = shutdown" to the s2disk's
> > > configuration
> > > file as a workaround.
> >
>
On Mon, 2007-04-09 at 19:26 +0200, Cedric Boutillier wrote:
> On 4/9/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote:
> > You can try to add "shutdown method = shutdown" to the s2disk's
> > configuration
> > file as a workaround.
>
> Thanks ! This did the trick. Now s2disk works as expected.
Urk
On 4/9/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote:
> You can try to add "shutdown method = shutdown" to the s2disk's configuration
> file as a workaround.
Thanks ! This did the trick. Now s2disk works as expected.
-
Take
Hi,
On Monday, 9 April 2007 19:07, Cedric Boutillier wrote:
> Hi all !
>
> I did some more tests this week. I have still difficulties to identify
> the modules preventing the system from resuming properly. One of them
> is certainly sungem, but even if my list of blacklisted modules is
> quite lo
Hi all !
I did some more tests this week. I have still difficulties to identify
the modules preventing the system from resuming properly. One of them
is certainly sungem, but even if my list of blacklisted modules is
quite long (appletouch, ohci_hcd, ehci_hcd, sungem, usbhid, hid), and
even if I t
On Tue, 3 Apr 2007 00:39:04 +0200
"Cédric Boutillier" <[EMAIL PROTECTED]> wrote:
> Hi all !
>
> Thanks to Alan Stern's help on usb-devel list, I have a working
> suspend-to-disk. My USB issues seem to have gone away thanks to his
> patch.
That is good news.
> I need to unload (resp. reload) som
Hi all !
Thanks to Alan Stern's help on usb-devel list, I have a working
suspend-to-disk. My USB issues seem to have gone away thanks to his
patch.
I need to unload (resp. reload) some modules before (resp. after)
suspending, in order to avoid a lockup after resuming (no prompt, and
limit keyboar
On Sun, 2007-04-01 at 22:57 +0200, Tim Dijkstra wrote:
> That was the initial idea, so I added the /dev/pmu stuff to s2ram. I
> misunderstood however how s2both uses the bits from s2ram. Rafael/Pavel
> added a ioctl to /dev/snapshot to trigger suspend to state s3, this
> uses more or less the same
On Sun, 01 Apr 2007 10:15:22 +0200
Johannes Berg <[EMAIL PROTECTED]> wrote:
> On Sat, 2007-03-31 at 22:17 +0200, Tim Dijkstra wrote:
>
> > Hmm, ok I misunderstood then. I thought that in our previous tests
> > you said it used echo mem ... maybe you were using your patches;)
>
> Yes, I do of cou
On Sun, 2007-04-01 at 18:18 +0200, Cédric Boutillier wrote:
> Yes it resumes,
I'll test it again tomorrow if I can get around to it.
> but I am stuck at some point because after the image
> is reloaded from swap, the system freezes when (usb) modules are
> reloaded. That is a problem I got with
Hi !
On 4/1/07, Johannes Berg <[EMAIL PROTECTED]> wrote:
> Have you gotten it to resume?
> I'd test s2both but I haven't gotten s2disk to resume yet... Need to
> test that patch.
Yes it resumes, but I am stuck at some point because after the image
is reloaded from swap, the system freezes when (us
On Sun, 2007-04-01 at 17:31 +0200, Cédric Boutillier wrote:
> Indeed, cat /sys/power/state returns only disk.
Phew. Yeah, could be that we still had the bug in .16, I lost track.
> I must have got the colorful screen with an old 2.6.16 kernel. This is
> the only one that let me reproduce that, s
Hi !
On 4/1/07, Johannes Berg <[EMAIL PROTECTED]> wrote:
> What kernel are you running? I thought we fixed that bug where echo mem
Oh ! I apologize ! I tested so many kernels on Friday that I
completely lost myself in all the versions
I tried to reproduce this colorful screen using echo mem >
> What I got is the following :
> a) a colorfull screen and no suspend with
>- s2both
>- echo mem > /s/p/s
What kernel are you running? I thought we fixed that bug where echo mem
> ... crapped out... Oh well. I'll fix it for good (by making it work)
in .22
johannes
signature.asc
Descri
On Sat, 2007-03-31 at 22:17 +0200, Tim Dijkstra wrote:
> Hmm, ok I misunderstood then. I thought that in our previous tests
> you said it used echo mem ... maybe you were using your patches;)
Yes, I do of course run my patches. "Eat your own dogfood" ;)
> That would maybe explain why s2both does
On 3/31/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote:
> On Saturday, 31 March 2007 21:08, Tim Dijkstra wrote:
> > Cédric Boutillier schreef:
> >
> > Cedric gets a `colorful' screen and no suspend when using
> > echo mem > /s/p/s, but using the ioctl on /dev/pmu works OK
> >
>
> Hm, I thought h
Johannes Berg schreef:
> On Sat, 2007-03-31 at 21:08 +0200, Tim Dijkstra wrote:
>
>> And to ask your earlier question, s2both uses something slightly
>> different
>> than s2ram. s2ram tries first some ioctl on /dev/pmu, if that fails it
>> tries
>> echo mem > /sys/power/state.
>>
>> Johannes told m
On Sat, 2007-03-31 at 21:08 +0200, Tim Dijkstra wrote:
> And to ask your earlier question, s2both uses something slightly different
> than s2ram. s2ram tries first some ioctl on /dev/pmu, if that fails it
> tries
> echo mem > /sys/power/state.
>
> Johannes told me these two should be more or less
On Saturday, 31 March 2007 21:08, Tim Dijkstra wrote:
> Cédric Boutillier schreef:
> > Hi !
>
>
> Cedric gets a `colorful' screen and no suspend when using
> echo mem > /s/p/s, but using the ioctl on /dev/pmu works OK
>
Hm, I thought he got:
(a) a `colorful' screen and no suspend when using ec
Cédric Boutillier schreef:
> Hi !
Cedric gets a `colorful' screen and no suspend when using
echo mem > /s/p/s, but using the ioctl on /dev/pmu works OK
>
> On 3/30/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote:
>> Which version of the suspend utilities do you use?
>
> Well, I do not know exa
On 3/31/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote:
> On Saturday, 31 March 2007 19:02, you wrote:
> > Hi !
> >
> > On 3/30/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote:
> > > Which version of the suspend utilities do you use?
> >
> > Well, I do not know exactly what you mean by "suspend ut
Hi !
On 3/30/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote:
> Which version of the suspend utilities do you use?
Well, I do not know exactly what you mean by "suspend utilities" but I
am using kernel 2.6.18.
I compiled a "mini" kernel from debian sources (2.6.18) without any
USB, wireless, bl
On Friday, 30 March 2007 14:28, Johannes Berg wrote:
> On Fri, 2007-03-30 at 14:01 +0200, Tim Dijkstra wrote:
>
> > --- suspend.c 16 Mar 2007 16:02:22 - 1.70
> > +++ suspend.c 29 Mar 2007 19:42:43 -
> > @@ -207,8 +207,13 @@
> > swap.dev = blkdev;
> > swap.offset =
On Friday, 30 March 2007 21:22, Cédric Boutillier wrote:
> Hi all !
>
> On 3/29/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote:
> > I think this should be reported to the USB development team
> > (linux-usb-devel@lists.sourceforge.net) possibly with a Cc to LKML.
>
> I sent an email to the usb l
Hi all !
On 3/29/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote:
> I think this should be reported to the USB development team
> (linux-usb-devel@lists.sourceforge.net) possibly with a Cc to LKML.
I sent an email to the usb list. We'll see if they can help me with this.
I did some experiments,
On Fri, 2007-03-30 at 14:01 +0200, Tim Dijkstra wrote:
> --- suspend.c 16 Mar 2007 16:02:22 - 1.70
> +++ suspend.c 29 Mar 2007 19:42:43 -
> @@ -207,8 +207,13 @@
> swap.dev = blkdev;
> swap.offset = offset;
> error = ioctl(dev, SNAPSHOT_SET_SWAP_AREA, &swap)
On Fri, 30 Mar 2007 12:41:11 +0200
Johannes Berg <[EMAIL PROTECTED]> wrote:
> On Fri, 2007-03-30 at 11:27 +0200, Tim Dijkstra wrote:
> > On Sat, 24 Mar 2007 21:16:52 +0100
> > Tim Dijkstra <[EMAIL PROTECTED]> wrote:
> >
> > We're trying to debug s2disk/s2both on somebody else his powerpc, there
>
On Friday, 30 March 2007 00:26, Tim Dijkstra wrote:
> Op Thu, 29 Mar 2007 23:54:13 +0200
> schreef "Rafael J. Wysocki" <[EMAIL PROTECTED]>:
>
> > Okay, so the patch works. Tim, if you don't mind, I'd like to apply
> > this one.
>
> Sure, go ahead. If I read it right the cast is now done when cal
Op Thu, 29 Mar 2007 23:54:13 +0200
schreef "Rafael J. Wysocki" <[EMAIL PROTECTED]>:
> Okay, so the patch works. Tim, if you don't mind, I'd like to apply
> this one.
Sure, go ahead. If I read it right the cast is now done when calling
set_swap_file().
>
>
> > > ---
> > > suspend.c |2 +-
On Thursday, 29 March 2007 23:44, Cédric Boutillier wrote:
> Hi Raphael,
>
> On 3/29/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote:
>
> > I think so, but I'd like Cédric to try one more thing: revert your patch
> > and apply the
> > appended one. If that works, the comment won't even be neces
Hi Raphael,
On 3/29/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote:
> I think so, but I'd like Cédric to try one more thing: revert your patch and
> apply the
> appended one. If that works, the comment won't even be necessary (I think).
I reverted Tim's patch and applied yours. I got exactly
On Thursday, 29 March 2007 23:06, Cédric Boutillier wrote:
> Hi !
>
> On 3/29/07, Tim Dijkstra <[EMAIL PROTECTED]> wrote:
> > To narrow the problem down a bit further, could you make sure that in
> > your /etc/uswsusp.conf you have:
> > shutdown method = poweroff
>
> When I addthis line to my /e
Hi !
On 3/29/07, Tim Dijkstra <[EMAIL PROTECTED]> wrote:
> To narrow the problem down a bit further, could you make sure that in
> your /etc/uswsusp.conf you have:
> shutdown method = poweroff
When I addthis line to my /etc/uswsusp.conf, I get an error when I try
to dpkg-reconfigure uswsusp. I f
On Thursday, 29 March 2007 21:46, Tim Dijkstra wrote:
> On Thu, 29 Mar 2007 00:28:07 +0200
> "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote:
>
> > On Thursday, 29 March 2007 00:14, Tim Dijkstra wrote:
> > > On Tue, 27 Mar 2007 23:11:41 +0200
> > > "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote:
> >
On Thu, 29 Mar 2007 00:28:07 +0200
"Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote:
> On Thursday, 29 March 2007 00:14, Tim Dijkstra wrote:
> > On Tue, 27 Mar 2007 23:11:41 +0200
> > "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote:
> >
> > > > diff -u -r1.70 suspend.c
> > > > --- suspend.c 16 Mar 2
On Thu, Mar 29, 2007 at 11:37:52AM +0200, Cédric Boutillier wrote:
> I've just made a fresh backup. So I can go for more testing :)
Good. I lost data once due to an old suspend image in a swap partition,
so i know from experience that this can happen ;-)
> > What did you exactly do? You started
On Thu, 29 Mar 2007 11:37:52 +0200
"Cédric Boutillier" <[EMAIL PROTECTED]> wrote:
> I have not seen any message from resume. I unpacked the initramfs
> using your script: everything seems in place:
> ./etc/uswsusp.conf
And has the same contents as the one in your regular /-partition, right?
Jus
Hi Tim,
On 3/28/07, Tim Dijkstra <[EMAIL PROTECTED]> wrote:
> Did you see any messages from resume? I guess you didn't else resume
> would have restored the swap signature. Do you have resume
> and /etc/uswsusp.conf on your initramfs? You can unpack it with the
> little script I attached.
I have
On Thursday, 29 March 2007 00:14, Tim Dijkstra wrote:
> On Tue, 27 Mar 2007 23:11:41 +0200
> "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote:
>
> > > diff -u -r1.70 suspend.c
> > > --- suspend.c 16 Mar 2007 16:02:22 - 1.70
> > > +++ suspend.c 27 Mar 2007 20:36:52 -
> > > @@ -208,7 +
On Tue, 27 Mar 2007 23:11:41 +0200
"Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote:
> > diff -u -r1.70 suspend.c
> > --- suspend.c 16 Mar 2007 16:02:22 - 1.70
> > +++ suspend.c 27 Mar 2007 20:36:52 -
> > @@ -208,7 +208,7 @@
> > swap.offset = offset;
> > error = ioctl
Hi Cédric,
On Wed, 28 Mar 2007 23:03:12 +0200
"Cédric Boutillier" <[EMAIL PROTECTED]> wrote:
> When I reboot after having executed s2both, I see the following message:
> "Invalidating stale suspend image" or something similar (I cannot find
> it in the logs though). I don't know if this helps und
Hi !
When I reboot after having executed s2both, I see the following message:
"Invalidating stale suspend image" or something similar (I cannot find
it in the logs though). I don't know if this helps understanding what
happens.
Cedric
On 3/28/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote:
> I
On Wednesday, 28 March 2007 17:52, Stefan Seyfried wrote:
> On Wed, Mar 28, 2007 at 03:22:51PM +0200, Cédric Boutillier wrote:
> > Hi !
> >
> > Here are some news. Thanks to Tim's patch, I got to the next step :
> >
> > I got a screen, saying that tasks are being stopped, and memory is
> > being
On Wed, Mar 28, 2007 at 03:22:51PM +0200, Cédric Boutillier wrote:
> Hi !
>
> Here are some news. Thanks to Tim's patch, I got to the next step :
>
> I got a screen, saying that tasks are being stopped, and memory is
> being written to disk. Everything seems to go fine, but then, the
> system do
Hi !
Here are some news. Thanks to Tim's patch, I got to the next step :
I got a screen, saying that tasks are being stopped, and memory is
being written to disk. Everything seems to go fine, but then, the
system does not suspend ! Instead, the screen becomes white/red, and
gets darker and dark
On Tuesday, 27 March 2007 22:41, Tim Dijkstra wrote:
> On Tue, 27 Mar 2007 21:18:17 +0200
> "Cédric Boutillier" <[EMAIL PROTECTED]> wrote:
>
> > Hi !
> >
> > Tim said:
> > > Apparently it should be an `unsigned long long', which would make
> > > printf("blkdev: %llu \n", blkdev); the correct way
On Tue, 27 Mar 2007 21:18:17 +0200
"Cédric Boutillier" <[EMAIL PROTECTED]> wrote:
> Hi !
>
> Tim said:
> > Apparently it should be an `unsigned long long', which would make
> > printf("blkdev: %llu \n", blkdev); the correct way to print it.
>
> héhé ! I got a non zero result !!! Thanks Tim ! (Sh
Hi !
Tim said:
> Apparently it should be an `unsigned long long', which would make
> printf("blkdev: %llu \n", blkdev); the correct way to print it.
héhé ! I got a non zero result !!! Thanks Tim ! (Should I be happy ? :) )
$sudo s2both
suspend: resume_dev = 268462812
blkdev: 771
suspend: Could n
On Tue, 27 Mar 2007 13:23:44 +0200
"Cédric Boutillier" <[EMAIL PROTECTED]> wrote:
> Hi !
>
> > Apparently, resume_dev = 268462812 before calling set_swap_file().
> > I've no idea where these 0:0 come from, but I do have idea why it doesn't
> > work. I don't know how to fix that right now, though
Hi !
> Apparently, resume_dev = 268462812 before calling set_swap_file().
> I've no idea where these 0:0 come from, but I do have idea why it doesn't
> work. I don't know how to fix that right now, though.
>
> Greetings,
> Rafael
The fact that I got 0:0 might come from the fact that I am far fro
On Monday, 26 March 2007 00:29, Luca Tettamanti wrote:
> On 3/25/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote:
> > On Sunday, 25 March 2007 18:13, Cédric Boutillier wrote:
> > > Hi !
> > >
> > > > Could you print out `blkdev'? Just to be sure, could you send the
> > > > output of
> > > > ls -l
On 3/25/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote:
> On Sunday, 25 March 2007 18:13, Cédric Boutillier wrote:
> > Hi !
> >
> > > Could you print out `blkdev'? Just to be sure, could you send the output
> > > of
> > > ls -l /dev/hda3 ?
> >
> > I didn't know exactly how to print blkdev, but I
On Sunday, 25 March 2007 21:08, Cédric Boutillier wrote:
> On 3/25/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote:
> > Hm, this shouldn't be 0:0 in any case.
> >
> > Can you please post your suspend.conf?
> >
> > Rafael
> >
> Here is the content of the file:
>
> % cat /etc/uswsusp.conf
>
> # /et
On 3/25/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote:
> Hm, this shouldn't be 0:0 in any case.
>
> Can you please post your suspend.conf?
>
> Rafael
>
Here is the content of the file:
% cat /etc/uswsusp.conf
# /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both
resume device = /dev/hd
On Sunday, 25 March 2007 18:13, Cédric Boutillier wrote:
> Hi !
>
> > Could you print out `blkdev'? Just to be sure, could you send the output of
> > ls -l /dev/hda3 ?
>
> I didn't know exactly how to print blkdev, but I finally managed to
> write something.
>
> error = ioctl(dev, SNAPSHOT_SET_S
Hi !
> Could you print out `blkdev'? Just to be sure, could you send the output of
> ls -l /dev/hda3 ?
I didn't know exactly how to print blkdev, but I finally managed to
write something.
error = ioctl(dev, SNAPSHOT_SET_SWAP_AREA, &swap);
printf("Error: errno = %d\n", errno);
if
On Sunday, 25 March 2007 01:14, Tim Dijkstra wrote:
> On Sun, 25 Mar 2007 00:17:22 +0100
> "Cédric Boutillier" <[EMAIL PROTECTED]> wrote:
>
> > > Which kernel are you using? Could you try to catch the error code that
> > > s2both returns? Or just add two printf's that print out the error code?
> >
On Sun, 25 Mar 2007 00:17:22 +0100
"Cédric Boutillier" <[EMAIL PROTECTED]> wrote:
> > Which kernel are you using? Could you try to catch the error code that
> > s2both returns? Or just add two printf's that print out the error code?
>
> I have modified the three lines you mentionned as follows:
>
Hi Tim !
On 3/24/07, Tim Dijkstra <[EMAIL PROTECTED]> wrote:
> First of all, thanks for testing!
I am glad if I can be of any help on this. I am pretty interested in
having a suspend-to-disk solution working on my iBook.
> Which kernel are you using? Could you try to catch the error code that
>
On Sat, 2007-03-24 at 21:16 +0100, Tim Dijkstra wrote:
> 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.
True. Getting -ENOSPC is a bit weird, should be easy to find though.
> > - resume needs to grow a timeout
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
Hi Cédric,
First of all, thanks for testing! I'm cc-ing the suspend-devel list
maybe they can chime in if they have some idea...
On Fri, 23 Mar 2007 17:03:34 +0100
"Cédric Boutillier" <[EMAIL PROTECTED]> wrote:
> Hi !
>
> I compiled successfully uswsusp on my iBook (mid 2005), and installed
>
63 matches
Mail list logo