public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: James Courtier-Dutton <James@superbug.co.uk>
To: Pavel Machek <pavel@ucw.cz>
Cc: linux-pm@lists.osdl.org
Subject: Re: suspend-to-ram fails resume.
Date: Sun, 19 Feb 2006 17:58:52 +0000	[thread overview]
Message-ID: <43F8B1DC.7060204@superbug.co.uk> (raw)
In-Reply-To: <20060215233300.GB3490@openzaurus.ucw.cz>

[-- Attachment #1: Type: text/plain, Size: 814 bytes --]

Pavel Machek wrote:
>> "hibernate" and restore to/from disk works fine.
>> I have been trying to resume after running a "hibernate-ram" script.
>> Just using a text console, no X.
>>
>> I attach a log with comments in it.
>> I have a Nvidia FX5200 video card.
>>
>> After resume the display is blank. ping works from a remote machine, but
>> ssh does not work.
>>
>> What can I do to help diagnose this problem?
>>     
>
> get video to work - see Doc*/power/video.txt and see
> what are last messages on console.
>   

I have sort of solved my problem.
I can exit from suspend ok now, but I have to disable the detection of 
the power button in the /etc/acpi scripts.
So, I now need some way of disabling detection of the power button while 
it is exiting from suspend.
Does anyone have any ideas how to?

James


[-- Attachment #2: power-works.txt --]
[-- Type: text/plain, Size: 6559 bytes --]

# Press the Power button to check that the power off script is disabled.

Feb 19 17:45:59 localhost logger: ACPI action power is not defined

# Run the hibernate-ram script (from gentoo)

Feb 19 17:46:24 localhost kernel: ehci_hcd 0000:00:1d.7: remove, state 1
Feb 19 17:46:24 localhost kernel: usb usb1: USB disconnect, address 1
Feb 19 17:46:24 localhost kernel: usb 1-3: USB disconnect, address 2
Feb 19 17:46:24 localhost kernel: usb 1-3.4: USB disconnect, address 3
Feb 19 17:46:24 localhost kernel: ehci_hcd 0000:00:1d.7: USB bus 1 deregistered
Feb 19 17:46:24 localhost kernel: ACPI: PCI interrupt for device 0000:00:1d.7 disabled
Feb 19 17:46:25 localhost kernel: PM: Preparing system for mem sleep
Feb 19 17:46:25 localhost kernel: Freezing cpus ...
Feb 19 17:46:25 localhost kernel: CPU 1 is now offline
Feb 19 17:46:25 localhost kernel: CPU1 is down
Feb 19 17:47:10 localhost kernel: Stopping tasks: ====================================================|
Feb 19 17:47:10 localhost kernel: ACPI: PCI interrupt for device 0000:02:01.0 disabled
Feb 19 17:47:10 localhost kernel: ACPI: PCI interrupt for device 0000:00:1f.2 disabled
Feb 19 17:47:10 localhost kernel: PM: Entering mem sleep

# System has fallen to sleep.

# Press the Power buffer to wake it up.

Feb 19 17:47:10 localhost kernel: Intel machine check architecture supported.
Feb 19 17:47:10 localhost kernel: Intel machine check reporting enabled on CPU#0.
Feb 19 17:47:10 localhost kernel: CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
Feb 19 17:47:10 localhost kernel: CPU0: Thermal monitoring enabled
Feb 19 17:47:10 localhost kernel: Back to C!
Feb 19 17:47:10 localhost kernel: PM: Finishing wakeup.
Feb 19 17:47:10 localhost kernel: PCI: Setting latency timer of device 0000:00:1e.0 to 64
Feb 19 17:47:10 localhost kernel: ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 169
Feb 19 17:47:10 localhost kernel: PCI: Setting latency timer of device 0000:00:1f.2 to 64
Feb 19 17:47:10 localhost kernel: ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 18 (level, low) -> IRQ 169
Feb 19 17:47:10 localhost kernel: PCI: Setting latency timer of device 0000:02:01.0 to 64
Feb 19 17:47:10 localhost kernel: ACPI: PCI Interrupt 0000:03:02.0[A] -> GSI 18 (level, low) -> IRQ 169
Feb 19 17:47:10 localhost kernel: ACPI: PCI Interrupt 0000:03:03.0[A] -> GSI 19 (level, low) -> IRQ 177
Feb 19 17:47:10 localhost kernel: PCI: Enabling device 0000:03:05.2 (0000 -> 0002)
Feb 19 17:47:10 localhost kernel: ACPI: PCI Interrupt 0000:03:05.2[B] -> GSI 22 (level, low) -> IRQ 193
Feb 19 17:47:10 localhost kernel: ata1: dev 0 configured for UDMA/33
Feb 19 17:47:10 localhost kernel: ata1: dev 1 configured for UDMA/33
Feb 19 17:47:10 localhost kernel: ATA: abnormal status 0x80 on port 0x177
Feb 19 17:47:10 localhost last message repeated 2 times
Feb 19 17:47:10 localhost kernel: e1000: eth0: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex
Feb 19 17:47:10 localhost kernel: ata2: slow completion (cmd ef)
Feb 19 17:47:10 localhost kernel: ata2: dev 0 configured for UDMA/133
Feb 19 17:47:10 localhost kernel: ata2: dev 1 configured for UDMA/133
Feb 19 17:47:10 localhost gconfd (jcd-6843): GConf server is not in use, shutting down.
Feb 19 17:47:10 localhost gconfd (jcd-6843): Exiting

# OOPS!!!  The pressing of the power button to exist suspend mode
# has been detected as a "power button" for OFF!!!
# But in this case it is ignored, as I disabled the script at the beginning.

Feb 19 17:47:10 localhost logger: ACPI action power is not defined
Feb 19 17:47:10 localhost kernel: Restarting tasks... done
Feb 19 17:47:10 localhost kernel: Thawing cpus ...
Feb 19 17:47:10 localhost kernel: Booting processor 1/1 eip 3000
Feb 19 17:47:10 localhost kernel: CPU 1 irqstacks, hard=c047f000 soft=c0477000
Feb 19 17:47:10 localhost kernel: Initializing CPU#1
Feb 19 17:47:10 localhost kernel: Calibrating delay using timer specific routine.. 5613.13 BogoMIPS (lpj=11226265)
Feb 19 17:47:10 localhost kernel: CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000
Feb 19 17:47:10 localhost kernel: CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000
Feb 19 17:47:10 localhost kernel: CPU: Trace cache: 12K uops, L1 D cache: 8K
Feb 19 17:47:10 localhost kernel: CPU: L2 cache: 512K
Feb 19 17:47:10 localhost kernel: CPU: Physical Processor ID: 0
Feb 19 17:47:10 localhost kernel: CPU: After all inits, caps: bfebfbff 00000000 00000000 00000080 00004400 00000000 00000000
Feb 19 17:47:10 localhost kernel: Intel machine check architecture supported.
Feb 19 17:47:10 localhost kernel: Intel machine check reporting enabled on CPU#1.
Feb 19 17:47:10 localhost kernel: CPU1: Intel P4/Xeon Extended MCE MSRs (12) available
Feb 19 17:47:10 localhost kernel: CPU1: Thermal monitoring enabled
Feb 19 17:47:10 localhost kernel: CPU1: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 09
Feb 19 17:47:10 localhost kernel: APIC error on CPU1: 00(40)
Feb 19 17:47:10 localhost kernel: CPU1 is up
Feb 19 17:47:14 localhost kernel: ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 185
Feb 19 17:47:14 localhost kernel: PCI: Setting latency timer of device 0000:00:1d.7 to 64
Feb 19 17:47:14 localhost kernel: ehci_hcd 0000:00:1d.7: EHCI Host Controller
Feb 19 17:47:14 localhost kernel: ehci_hcd 0000:00:1d.7: debug port 1
Feb 19 17:47:14 localhost kernel: PCI: cache line size of 128 is not supported by device 0000:00:1d.7
Feb 19 17:47:14 localhost kernel: ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
Feb 19 17:47:14 localhost kernel: ehci_hcd 0000:00:1d.7: irq 185, io mem 0xfc100000
Feb 19 17:47:14 localhost kernel: ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
Feb 19 17:47:14 localhost kernel: hub 1-0:1.0: USB hub found
Feb 19 17:47:14 localhost kernel: hub 1-0:1.0: 8 ports detected
Feb 19 17:47:15 localhost kernel: usb 1-3: new high speed USB device using ehci_hcd and address 2
Feb 19 17:47:15 localhost kernel: hub 1-3:1.0: USB hub found
Feb 19 17:47:15 localhost kernel: hub 1-3:1.0: 7 ports detected
Feb 19 17:47:15 localhost kernel: usb 1-3.4: new low speed USB device using ehci_hcd and address 3
Feb 19 17:47:15 localhost kernel: input: Microsoft Microsoft IntelliMouse® Explorer as /class/input/input2
Feb 19 17:47:15 localhost kernel: input: USB HID v1.00 Mouse [Microsoft Microsoft IntelliMouse® Explorer] on usb-0000:00:1d.7-3.4

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2006-02-19 17:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-12  0:33 suspend-to-ram fails resume James Courtier-Dutton
2006-02-15 23:33 ` Pavel Machek
2006-02-19 17:58   ` James Courtier-Dutton [this message]
2006-02-20 23:37     ` Nigel Cunningham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43F8B1DC.7060204@superbug.co.uk \
    --to=james@superbug.co.uk \
    --cc=linux-pm@lists.osdl.org \
    --cc=pavel@ucw.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox