s2both on powerpc
Alan, Dave, could you please have a look at this?
Rafael
---------- Forwarded Message ----------
Subject: Re: [Suspend-devel] s2both on powerpc
Date: Sunday, 1 April 2007 18:18
From: "Cédric Boutillier" <[email protected]>
To: "Johannes Berg" <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>, "Tim Dijkstra" <[email protected]>, [email protected]
Hi !
Quoted 3 lines · Johannes Berg
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 (usb) modules are reloaded. That is a problem I got with suspend-to-disk with recent kernels : 2.6.18 leads to oops, and 2.6.20 / 2.6.21-rc5 lead to lockup.
If I unload usb modules before suspending, the system resumes and I get a prompt, but I get also some errors from usb (root hub lost power or was reset). (see
http://marc.info/?l=linux-usb-devel&m=117528005511118&w=2)
I would appreciate If you had an idea on that .
Cedric
Quoted 16 lines · Rafael J. Wysocki
Alan, Dave, could you please have a look at this?
Rafael
---------- Forwarded Message ----------
Subject: Re: [Suspend-devel] s2both on powerpc
Date: Sunday, 1 April 2007 18:18
From: "Cédric Boutillier" <[email protected]>
To: "Johannes Berg" <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>, "Tim Dijkstra" <[email protected]>,
[email protected]Hi !
On 4/1/07, Johannes Berg <[email protected]> wrote:
Quoted 7 lines
Quoted 3 lines
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 (usb) modules are reloaded.
Which module? I'm guessing just ehci-hcd, but you should try each of the relevant HCDs by themselves. (And if you have any external USB devices connected, their drivers ... and also see whether the connection of the external device is itself a factor.)
There's something platform-specific going on, and some clues will be needed to sort it out.
All this used to work, as I recall...
- Dave
Quoted 13 lines
That is a problem I got with suspend-to-disk with recent kernels : 2.6.18 leads to oops, and 2.6.20 / 2.6.21-rc5 lead to lockup.
If I unload usb modules before suspending, the system resumes and I get a prompt, but I get also some errors from usb (root hub lost power or was reset). (see
http://marc.info/?l=linux-usb-devel&m=117528005511118&w=2)
I would appreciate If you had an idea on that .Cedric
Quoted 30 lines · David Brownell
Quoted 16 lines · Rafael J. Wysocki
Alan, Dave, could you please have a look at this?
Rafael
---------- Forwarded Message ----------
Subject: Re: [Suspend-devel] s2both on powerpc
Date: Sunday, 1 April 2007 18:18
From: "Cédric Boutillier" <[email protected]>
To: "Johannes Berg" <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>, "Tim Dijkstra" <[email protected]>,
[email protected]Hi !
On 4/1/07, Johannes Berg <[email protected]> wrote:Quoted 7 lines
Quoted 3 lines
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 (usb) modules are reloaded.
Which module? I'm guessing just ehci-hcd, but you should try each of the relevant HCDs by themselves. (And if you have any external USB devices connected, their drivers ... and also see whether the connection of the external device is itself a factor.)
Quoted 4 lines
There's something platform-specific going on, and some clues will be needed to sort it out.
All this used to work, as I recall...
This has already been handled by Alan (identified as a hardware bug, patch is available).
Thanks,
Rafael
Quoted 31 lines · Rafael J. Wysocki
Quoted 30 lines · David Brownell
Quoted 16 lines · Rafael J. Wysocki
Alan, Dave, could you please have a look at this?
Rafael
---------- Forwarded Message ----------
Subject: Re: [Suspend-devel] s2both on powerpc
Date: Sunday, 1 April 2007 18:18
From: "Cédric Boutillier" <[email protected]>
To: "Johannes Berg" <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>, "Tim Dijkstra" <[email protected]>,
[email protected]Hi !
On 4/1/07, Johannes Berg <[email protected]> wrote:Quoted 7 lines
Quoted 3 lines
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 (usb) modules are reloaded.
Which module? I'm guessing just ehci-hcd, but you should try each of the relevant HCDs by themselves. (And if you have any external USB devices connected, their drivers ... and also see whether the connection of the external device is itself a factor.)
Quoted 7 lines
Quoted 4 lines
There's something platform-specific going on, and some clues will be needed to sort it out.
All this used to work, as I recall...
This has already been handled by Alan (identified as a hardware bug, patch is available).
In case you're curious, the problem and the patch are here:
http://marc.info/?l=linux-usb-devel&m=117545150508671&w=2
I'm just about to submit it to Greg. AFAICS, removing that code will never cause any problems. Hubs should automatically clear the suspend feature whenever a port is reset, which is the next thing to happen on that pathway.
Alan Stern