Skip to contentSkip to conversation

2.6.27.9 - Resuming from hibernate locks after "CPU1 is down"

DISCUSSION Paul Rolland 3 participants 4 messages Dec 25, 2008 – Jan 10, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

I'm trying to have suspend to disk and suspend to RAM work on my machine (Dell Inspiron 6400, 2Go RAM, with an Intel Mobile 945GM/GMS, 943/940GM L Express Integrated Graphics Controller.

To suspend, I'm using the "echo mem | disk > /sys/power/state" command.

As of now, using suspend to RAM allow the machine to suspend, and resume is nearly OK except the video is not restored, and the screen stays black (but keyboard is Ok, I can launch any command I want, so I can restart).

When suspending to disk, suspend is Ok with :
echo -n 2097152000 > /sys/power/image_size ;
echo -n disk > /sys/power/state
and resuming detects the image in the swap partition. So, I have on the console, when I add "no_console_suspend" on the boot command line :
PM: loading image data pages...
PM: read xxxxx kbytes in y.zz seconds
...
[stuff about scsi/sda]
Disabling non-boot CPUs
CPU1 is now offlone
SMP alternatives: switching to UP code
CPU1 is down

and then, nothing :( machine is dead frozen. CAPS Lock doesn't toggle the keyboard LED anymore, I need to manually power off and power on the machine.

I must add that these are my first attempts. So, this is not to be considered a regression.

Is there anything else I can do to try to debug the resume ?

Regards,
Paul

Signature · 14 lines
Paul Rolland                                E-Mail : rol(at)witbe.net
CTO - Witbe.net SA                          Tel. +33 (0)1 47 67 77 77
Les Collines de l'Arche                     Fax. +33 (0)1 47 67 77 99
F-92057 Paris La Defense                    RIPE : PR12-RIPE

Please no HTML, I'm not a browser - Pas d'HTML, je ne suis pas un
navigateur "Some people dream of success... while others wake up and work
hard at it" 

"I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry that 10
or 15 years from now, she will come to me and say 'Daddy, where were you
when they took freedom of the press away from the Internet?'"
--Mike Godwin, Electronic Frontier Foundation 
#1 lore raw

Self replying, just to add that 2.6.28 has the same behavior.

Regards,
Paul

Quoted 38 lines · On Thu, 25 Dec 2008 23:09:34 +0100 Paul Rolland <[email protected]> wrote:

Hello,

I'm trying to have suspend to disk and suspend to RAM work on my machine (Dell Inspiron 6400, 2Go RAM, with an Intel Mobile 945GM/GMS, 943/940GM L Express Integrated Graphics Controller.

To suspend, I'm using the "echo mem | disk > /sys/power/state" command.

As of now, using suspend to RAM allow the machine to suspend, and resume is nearly OK except the video is not restored, and the screen stays black (but keyboard is Ok, I can launch any command I want, so I can restart).

When suspending to disk, suspend is Ok with :
echo -n 2097152000 > /sys/power/image_size ;
echo -n disk > /sys/power/state
and resuming detects the image in the swap partition. So, I have on the console, when I add "no_console_suspend" on the boot command line :
PM: loading image data pages...
PM: read xxxxx kbytes in y.zz seconds
...
[stuff about scsi/sda]
Disabling non-boot CPUs
CPU1 is now offlone
SMP alternatives: switching to UP code
CPU1 is down

and then, nothing :( machine is dead frozen. CAPS Lock doesn't toggle the keyboard LED anymore, I need to manually power off and power on the machine.

I must add that these are my first attempts. So, this is not to be considered a regression.

Is there anything else I can do to try to debug the resume ?

Regards,
Paul

Signature · 14 lines
Paul Rolland                                E-Mail : rol(at)witbe.net
CTO - Witbe.net SA                          Tel. +33 (0)1 47 67 77 77
Les Collines de l'Arche                     Fax. +33 (0)1 47 67 77 99
F-92057 Paris La Defense                    RIPE : PR12-RIPE

Please no HTML, I'm not a browser - Pas d'HTML, je ne suis pas un
navigateur "Some people dream of success... while others wake up and work
hard at it" 

"I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry that 10
or 15 years from now, she will come to me and say 'Daddy, where were you
when they took freedom of the press away from the Internet?'"
--Mike Godwin, Electronic Frontier Foundation 
#2 lore raw

Hi,

Quoted 42 lines · Paul Rolland

Self replying, just to add that 2.6.28 has the same behavior.

Regards,
Paul

Quoted 34 lines · On Thu, 25 Dec 2008 23:09:34 +0100 Paul Rolland <[email protected]> wrote:

Hello,

I'm trying to have suspend to disk and suspend to RAM work on my machine (Dell Inspiron 6400, 2Go RAM, with an Intel Mobile 945GM/GMS, 943/940GM L Express Integrated Graphics Controller.

To suspend, I'm using the "echo mem | disk > /sys/power/state" command.

As of now, using suspend to RAM allow the machine to suspend, and resume is nearly OK except the video is not restored, and the screen stays black (but keyboard is Ok, I can launch any command I want, so I can restart).

When suspending to disk, suspend is Ok with :
echo -n 2097152000 > /sys/power/image_size ;
echo -n disk > /sys/power/state
and resuming detects the image in the swap partition. So, I have on the console, when I add "no_console_suspend" on the boot command line :
PM: loading image data pages...
PM: read xxxxx kbytes in y.zz seconds
...
[stuff about scsi/sda]
Disabling non-boot CPUs
CPU1 is now offlone
SMP alternatives: switching to UP code
CPU1 is down

and then, nothing :( machine is dead frozen. CAPS Lock doesn't toggle the keyboard LED anymore, I need to manually power off and power on the machine.

I must add that these are my first attempts. So, this is not to be considered a regression.

Is there anything else I can do to try to debug the resume ?

As Pavel alread said, please boot the kernel with init=/bin/bash , mount /sys, mount /proc, run 'swapon -a' and try to hibernate-resume.

Thanks,
Rafael

#3 lore raw
In reply to Paul Rolland
Quoted 26 lines · Paul Rolland

Hello,

I'm trying to have suspend to disk and suspend to RAM work on my machine (Dell Inspiron 6400, 2Go RAM, with an Intel Mobile 945GM/GMS, 943/940GM L Express Integrated Graphics Controller.

To suspend, I'm using the "echo mem | disk > /sys/power/state" command.

As of now, using suspend to RAM allow the machine to suspend, and resume is nearly OK except the video is not restored, and the screen stays black (but keyboard is Ok, I can launch any command I want, so I can restart).

When suspending to disk, suspend is Ok with :
echo -n 2097152000 > /sys/power/image_size ;
echo -n disk > /sys/power/state
and resuming detects the image in the swap partition. So, I have on the console, when I add "no_console_suspend" on the boot command line :
PM: loading image data pages...
PM: read xxxxx kbytes in y.zz seconds
...
[stuff about scsi/sda]
Disabling non-boot CPUs
CPU1 is now offlone
SMP alternatives: switching to UP code
CPU1 is down

Quoted 7 lines

and then, nothing :( machine is dead frozen. CAPS Lock doesn't toggle the keyboard LED anymore, I need to manually power off and power on the machine.

I must add that these are my first attempts. So, this is not to be considered a regression.

Is there anything else I can do to try to debug the resume ?

Try it with minimal config, init=/bin/bash is useful.

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html