* S3 resume problems on HP compaq nc4010
@ 2004-05-05 17:23 Scott James Remnant
[not found] ` <1083777804.4093.71.camel-ad/8hwxc12xSZ/j2TXCDgVaTQe2KTcn/@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Scott James Remnant @ 2004-05-05 17:23 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: text/plain, Size: 1779 bytes --]
Hi there,
This seemed like the most likely place to bring up my ACPI woes :) I've
recently purchased an HP compaq nc4010 (it's mostly identical to the
nc4000) and haven't been able to get ACPI S3 (memory) suspend working.
I've tried a handful of different 2.6 kernels (including 2.6.6-rc3.mm1
for kicks) all of which exhibit the same behaviour. On the whole, ACPI
works flawlessly and returns incredibly detailed information about every
part of the system.
I can enter S3 sleep by "echo -n 3>/proc/acpi/sleep" or
"echo mem>/sys/power/state" and the laptop switches to a console vt,
prints a few things which seem reasonable about going to sleep, and
powers down.
The wireless goes out, and the power light flashes in a manner I'd
expect from a sleeping laptop.
If I reactive the laptop (usually with the power button) the wireless
light comes back on, the power light goes green and the fan spins up.
But nothing else.
The screen remains black and un-backlit, the keyboard doesn't respond to
events (caps lock key doesn't light the light and typing "find /"
doesn't produce disk activity) and afaict the network card doesn't come
back either (I can't ping the machine from elsewhere).
So it almost entirely seems to be not waking up from sleep.
I've tried the various tricks outlined in the kernel documentation, an
all-modules kernel with no framebuffer booted with init=/bin/bash still
produces the same behaviour.
I'd like to get this working; are there any further tricks I could try?
If not, what's the best way to go about starting to debug *why* this
doesn't work?
Thanks,
Scott
(Please Cc: me, I'm not subscribed)
--
Have you ever, ever felt like this?
Had strange things happen? Are you going round the twist?
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: S3 resume problems on HP compaq nc4010
[not found] ` <1083777804.4093.71.camel-ad/8hwxc12xSZ/j2TXCDgVaTQe2KTcn/@public.gmane.org>
@ 2004-05-09 1:55 ` Pavel Machek
[not found] ` <20040509015516.GA5487-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Pavel Machek @ 2004-05-09 1:55 UTC (permalink / raw)
To: Scott James Remnant; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi!
> This seemed like the most likely place to bring up my ACPI woes :) I've
> recently purchased an HP compaq nc4010 (it's mostly identical to the
> nc4000) and haven't been able to get ACPI S3 (memory) suspend
> working.
Does ACPI S4 work for you? Try that first, its easier.
Pavel
--
When do you have heart between your knees?
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: S3 resume problems on HP compaq nc4010
[not found] ` <20040509015516.GA5487-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
@ 2004-05-09 15:50 ` Scott James Remnant
[not found] ` <1084117826.2372.32.camel-ImmFMecdQhGzQB+pC5nmwQ@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Scott James Remnant @ 2004-05-09 15:50 UTC (permalink / raw)
To: Pavel Machek; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
On Sun, 2004-05-09 at 03:55 +0200, Pavel Machek wrote:
> > This seemed like the most likely place to bring up my ACPI woes :) I've
> > recently purchased an HP compaq nc4010 (it's mostly identical to the
> > nc4000) and haven't been able to get ACPI S3 (memory) suspend
> > working.
>
> Does ACPI S4 work for you? Try that first, its easier.
>
Nope, swsusp does actually resume the keyboard and screen but then locks
up. pm-disk doesn't even suspend.
Scott
--
Have you ever, ever felt like this?
Had strange things happen? Are you going round the twist?
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: S3 resume problems on HP compaq nc4010
[not found] ` <1084117826.2372.32.camel-ImmFMecdQhGzQB+pC5nmwQ@public.gmane.org>
@ 2004-05-09 21:39 ` Pavel Machek
[not found] ` <20040509213919.GA13603-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
2004-05-10 0:19 ` Stefan Seyfried
1 sibling, 1 reply; 11+ messages in thread
From: Pavel Machek @ 2004-05-09 21:39 UTC (permalink / raw)
To: Scott James Remnant; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi!
> > > This seemed like the most likely place to bring up my ACPI woes :) I've
> > > recently purchased an HP compaq nc4010 (it's mostly identical to the
> > > nc4000) and haven't been able to get ACPI S3 (memory) suspend
> > > working.
> >
> > Does ACPI S4 work for you? Try that first, its easier.
> >
> Nope, swsusp does actually resume the keyboard and screen but then locks
> up. pm-disk doesn't even suspend.
What are the last messages? Do you suspend from singleuser mode, no
modules?
Pavel
--
Horseback riding is like software...
...vgf orggre jura vgf serr.
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: S3 resume problems on HP compaq nc4010
[not found] ` <20040509213919.GA13603-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
@ 2004-05-09 21:52 ` Scott James Remnant
[not found] ` <1084139548.14657.4.camel-ImmFMecdQhGzQB+pC5nmwQ@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Scott James Remnant @ 2004-05-09 21:52 UTC (permalink / raw)
To: Pavel Machek; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: text/plain, Size: 1181 bytes --]
On Sun, 2004-05-09 at 23:39 +0200, Pavel Machek wrote:
> > > > This seemed like the most likely place to bring up my ACPI woes :) I've
> > > > recently purchased an HP compaq nc4010 (it's mostly identical to the
> > > > nc4000) and haven't been able to get ACPI S3 (memory) suspend
> > > > working.
> > >
> > > Does ACPI S4 work for you? Try that first, its easier.
> > >
> > Nope, swsusp does actually resume the keyboard and screen but then locks
> > up. pm-disk doesn't even suspend.
>
> What are the last messages? Do you suspend from singleuser mode, no
> modules?
>
For both S3 and S4 you get a message about switching to the sleep state,
S4 you get some messages as it writes the pages to the disk, then the
machine powers off.
S3 resume you get nothing, because the screen never comes back (and
nothing in the logs either).
S4 you get the messages about restoring from swap, then the screen
switches to show the messages it showed whilst suspending and it locks.
Have tried by booting init=/bin/bash with no modules loaded.
Scott
--
Have you ever, ever felt like this?
Had strange things happen? Are you going round the twist?
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: S3 resume problems on HP compaq nc4010
[not found] ` <1084139548.14657.4.camel-ImmFMecdQhGzQB+pC5nmwQ@public.gmane.org>
@ 2004-05-09 21:56 ` Pavel Machek
[not found] ` <20040509215621.GB15307-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Pavel Machek @ 2004-05-09 21:56 UTC (permalink / raw)
To: Scott James Remnant; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi!
> > > > > This seemed like the most likely place to bring up my ACPI woes :) I've
> > > > > recently purchased an HP compaq nc4010 (it's mostly identical to the
> > > > > nc4000) and haven't been able to get ACPI S3 (memory) suspend
> > > > > working.
> > > >
> > > > Does ACPI S4 work for you? Try that first, its easier.
> > > >
> > > Nope, swsusp does actually resume the keyboard and screen but then locks
> > > up. pm-disk doesn't even suspend.
> >
> > What are the last messages? Do you suspend from singleuser mode, no
> > modules?
> >
> For both S3 and S4 you get a message about switching to the sleep state,
> S4 you get some messages as it writes the pages to the disk, then the
> machine powers off.
>
> S3 resume you get nothing, because the screen never comes back (and
> nothing in the logs either).
>
> S4 you get the messages about restoring from swap, then the screen
> switches to show the messages it showed whilst suspending and it
> locks.
>
>
> Have tried by booting init=/bin/bash with no modules loaded.
Can you confirm that you did not have intel-agp or similar (AGP or DRI
drivers) loaded? Even loading then unloading it hurts.
If so, you can try following tricks....
If you want to trick swsusp/S3 into working, you might want to try:
* go with minimal config, turn off drivers like USB, AGP you don't
really need
* turn off APIC and preempt
* use ext2. At least it has working fsck. [If something seemes to go
wrong, force fsck when you have a chance]
* turn off modules
* use vga text console, shut down X. [If you really want X, you might
want to try vesafb later]
* try running as few processes as possible, preferably go to single
user mode.
* due to video issues, swsusp should be easier to get working than
S3. Try that first.
Pavel
--
Horseback riding is like software...
...vgf orggre jura vgf serr.
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: S3 resume problems on HP compaq nc4010
[not found] ` <20040509215621.GB15307-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
@ 2004-05-09 22:00 ` Scott James Remnant
[not found] ` <1084140024.14657.8.camel-ImmFMecdQhGzQB+pC5nmwQ@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Scott James Remnant @ 2004-05-09 22:00 UTC (permalink / raw)
To: Pavel Machek; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: text/plain, Size: 1795 bytes --]
On Sun, 2004-05-09 at 23:56 +0200, Pavel Machek wrote:
> > S3 resume you get nothing, because the screen never comes back (and
> > nothing in the logs either).
> >
> > S4 you get the messages about restoring from swap, then the screen
> > switches to show the messages it showed whilst suspending and it
> > locks.
> >
> > Have tried by booting init=/bin/bash with no modules loaded.
>
> Can you confirm that you did not have intel-agp or similar (AGP or DRI
> drivers) loaded? Even loading then unloading it hurts.
>
I deliberately compiled those out as modules, and when booting with
init=/bin/bash the agpgart and ati_agp aren't loaded. (if they're
loaded, it makes no difference).
> * go with minimal config, turn off drivers like USB, AGP you don't
> really need
>
Tried it.
> * turn off APIC and preempt
>
Tried it.
> * use ext2. At least it has working fsck. [If something seemes to go
> wrong, force fsck when you have a chance]
>
Would the filesystem really make a difference to whether it can or can't
come back?
> * turn off modules
>
Tried it.
> * use vga text console, shut down X. [If you really want X, you might
> want to try vesafb later]
>
Tried it.
> * try running as few processes as possible, preferably go to single
> user mode.
>
Tried it.
> * due to video issues, swsusp should be easier to get working than
> S3. Try that first.
>
Doesn't work either. I got swsusp2 to work, but that has to shut down X
and unload all the modules otherwise it won't resume; and that takes
longer than a simple shutdown and boot -- so I abandoned it. Plus it
scared me -- too much pretty :)
Scott
--
Have you ever, ever felt like this?
Had strange things happen? Are you going round the twist?
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: S3 resume problems on HP compaq nc4010
[not found] ` <1084140024.14657.8.camel-ImmFMecdQhGzQB+pC5nmwQ@public.gmane.org>
@ 2004-05-09 23:28 ` Pavel Machek
[not found] ` <20040509232856.GA2504-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Pavel Machek @ 2004-05-09 23:28 UTC (permalink / raw)
To: Scott James Remnant; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi!
> > * use ext2. At least it has working fsck. [If something seemes to go
> > wrong, force fsck when you have a chance]
> >
> Would the filesystem really make a difference to whether it can or can't
> come back?
It should not... but if you damage your reseir/whatever don't come
back to me ;-).
> > * due to video issues, swsusp should be easier to get working than
> > S3. Try that first.
> >
> Doesn't work either. I got swsusp2 to work, but that has to shut down X
> and unload all the modules otherwise it won't resume; and that takes
> longer than a simple shutdown and boot -- so I abandoned it. Plus it
> scared me -- too much pretty :)
Can you try just without dri/agp with swsusp2? That might do the
trick. Try to locate exactly which modules cause problems.
dri/agp are known offenders, and fix is known by now.
Complain to Nigel about prettyness... I certainly did ;-).
Pavel
--
Horseback riding is like software...
...vgf orggre jura vgf serr.
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: S3 resume problems on HP compaq nc4010
[not found] ` <1084117826.2372.32.camel-ImmFMecdQhGzQB+pC5nmwQ@public.gmane.org>
2004-05-09 21:39 ` Pavel Machek
@ 2004-05-10 0:19 ` Stefan Seyfried
[not found] ` <20040510001943.GC9213-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
1 sibling, 1 reply; 11+ messages in thread
From: Stefan Seyfried @ 2004-05-10 0:19 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Sun, May 09, 2004 at 04:50:26PM +0100, Scott James Remnant wrote:
> On Sun, 2004-05-09 at 03:55 +0200, Pavel Machek wrote:
> > > This seemed like the most likely place to bring up my ACPI woes :) I've
> > > recently purchased an HP compaq nc4010 (it's mostly identical to the
> > > nc4000) and haven't been able to get ACPI S3 (memory) suspend
> > > working.
> >
> > Does ACPI S4 work for you? Try that first, its easier.
> >
> Nope, swsusp does actually resume the keyboard and screen but then locks
> up. pm-disk doesn't even suspend.
Even with init=/bin/bash? I have reports from people successfully using
swsusp on an nc4000.
Please elaborate "does actually resume the keyboard and screen", what does
it print before locking up? Do you have $VENDOR-agp loaded? Which kernel
version?
--
Stefan Seyfried
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: S3 resume problems on HP compaq nc4010
[not found] ` <20040510001943.GC9213-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
@ 2004-05-10 2:15 ` Stefan Seyfried
0 siblings, 0 replies; 11+ messages in thread
From: Stefan Seyfried @ 2004-05-10 2:15 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Mon, May 10, 2004 at 02:19:43AM +0200, Stefan Seyfried wrote:
> Even with init=/bin/bash? I have reports from people successfully using
> swsusp on an nc4000.
> Please elaborate "does actually resume the keyboard and screen", what does
> it print before locking up? Do you have $VENDOR-agp loaded? Which kernel
> version?
ok. I was offline writing this, now i see Pavel has already adressed
these issues.
--
Stefan Seyfried
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: S3 resume problems on HP compaq nc4010
[not found] ` <20040509232856.GA2504-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
@ 2004-05-10 3:32 ` Nigel Cunningham
0 siblings, 0 replies; 11+ messages in thread
From: Nigel Cunningham @ 2004-05-10 3:32 UTC (permalink / raw)
To: Pavel Machek; +Cc: Scott James Remnant, ACPI List
Hi.
On Mon, 2004-05-10 at 09:28, Pavel Machek wrote:
> > > * due to video issues, swsusp should be easier to get working than
> > > S3. Try that first.
> > >
> > Doesn't work either. I got swsusp2 to work, but that has to shut down X
> > and unload all the modules otherwise it won't resume; and that takes
> > longer than a simple shutdown and boot -- so I abandoned it. Plus it
> > scared me -- too much pretty :)
>
> Can you try just without dri/agp with swsusp2? That might do the
> trick. Try to locate exactly which modules cause problems.
It should work fine without having to shutdown X, and even better now we
have last week's pagedir patch applied.
> dri/agp are known offenders, and fix is known by now.
>
> Complain to Nigel about prettyness... I certainly did ;-).
You can't please everyone :> If you want it to look ugly, turn on
debugging info!
Nigel
--
Nigel & Michelle Cunningham
C/- Westminster Presbyterian Church Belconnen
61 Templeton Street, Cook, ACT 2614.
+61 (2) 6251 7727(wk); +61 (2) 6254 0216 (home)
Evolution (n): A hypothetical process whereby infinitely improbable events occur
with alarming frequency, order arises from chaos, and no one is given credit.
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2004-05-10 3:32 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-05 17:23 S3 resume problems on HP compaq nc4010 Scott James Remnant
[not found] ` <1083777804.4093.71.camel-ad/8hwxc12xSZ/j2TXCDgVaTQe2KTcn/@public.gmane.org>
2004-05-09 1:55 ` Pavel Machek
[not found] ` <20040509015516.GA5487-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-05-09 15:50 ` Scott James Remnant
[not found] ` <1084117826.2372.32.camel-ImmFMecdQhGzQB+pC5nmwQ@public.gmane.org>
2004-05-09 21:39 ` Pavel Machek
[not found] ` <20040509213919.GA13603-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
2004-05-09 21:52 ` Scott James Remnant
[not found] ` <1084139548.14657.4.camel-ImmFMecdQhGzQB+pC5nmwQ@public.gmane.org>
2004-05-09 21:56 ` Pavel Machek
[not found] ` <20040509215621.GB15307-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
2004-05-09 22:00 ` Scott James Remnant
[not found] ` <1084140024.14657.8.camel-ImmFMecdQhGzQB+pC5nmwQ@public.gmane.org>
2004-05-09 23:28 ` Pavel Machek
[not found] ` <20040509232856.GA2504-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
2004-05-10 3:32 ` Nigel Cunningham
2004-05-10 0:19 ` Stefan Seyfried
[not found] ` <20040510001943.GC9213-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
2004-05-10 2:15 ` Stefan Seyfried
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox