mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: 2.6.27.9 - Resuming from hibernate locks after "CPU1 is down"
  2008-12-25 22:09 2.6.27.9 - Resuming from hibernate locks after "CPU1 is down" Paul Rolland
@ 1970-01-01  6:50 ` Pavel Machek
  2008-12-25 19:12 ` Paul Rolland
  1 sibling, 0 replies; 4+ messages in thread
From: Pavel Machek @ 1970-01-01  6:50 UTC (permalink / raw)
  To: Paul Rolland; +Cc: Linux Kernel Mailing List, Rafael J. Wysocki

On Thu 2008-12-25 23:09:34, Paul Rolland 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 ?

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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.27.9 - Resuming from hibernate locks after "CPU1 is down"
  2008-12-25 22:09 2.6.27.9 - Resuming from hibernate locks after "CPU1 is down" Paul Rolland
  1970-01-01  6:50 ` Pavel Machek
@ 2008-12-25 19:12 ` Paul Rolland
  2009-01-10 22:15   ` Rafael J. Wysocki
  1 sibling, 1 reply; 4+ messages in thread
From: Paul Rolland @ 2008-12-25 19:12 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Paul Rolland

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

Regards,
Paul

On Thu, 25 Dec 2008 23:09:34 +0100
Paul Rolland <rol@as2917.net> 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
> 


-- 
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 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* 2.6.27.9 - Resuming from hibernate locks after "CPU1 is down"
@ 2008-12-25 22:09 Paul Rolland
  1970-01-01  6:50 ` Pavel Machek
  2008-12-25 19:12 ` Paul Rolland
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Rolland @ 2008-12-25 22:09 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: rol

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

-- 
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 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.27.9 - Resuming from hibernate locks after "CPU1 is down"
  2008-12-25 19:12 ` Paul Rolland
@ 2009-01-10 22:15   ` Rafael J. Wysocki
  0 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2009-01-10 22:15 UTC (permalink / raw)
  To: Paul Rolland; +Cc: Linux Kernel Mailing List, Pavel Machek

Hi,

On Thursday 25 December 2008, Paul Rolland wrote:
> Self replying, just to add that 2.6.28 has the same behavior.
> 
> Regards,
> Paul
> 
> On Thu, 25 Dec 2008 23:09:34 +0100
> Paul Rolland <rol@as2917.net> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-01-10 22:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-25 22:09 2.6.27.9 - Resuming from hibernate locks after "CPU1 is down" Paul Rolland
1970-01-01  6:50 ` Pavel Machek
2008-12-25 19:12 ` Paul Rolland
2009-01-10 22:15   ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®