[ltp] Suspension to Memory / Disk using ACPI in T30

Min-Ho Shin linux-thinkpad@linux-thinkpad.org
Thu, 15 Dec 2005 17:34:40 -0500 (EST)


Hi,

I cannot get suspention-to-mem and to-disk working with my T30.
I tried both swsusp and suspend2.
I also used script which resolves T30 specific problem where the
backlight doesn't switch off (thinkwiki.org/wiki/How_to_configure_acpid.
I used above script and also hibernate scripts.
I also followed gentoo-suspend2 kernel and instructions, no luck.

Now I'm back to apm and I can only do suspend-to-memory.
I didn't try yet suspend2 with apm.

What happens is, when I issue suspend-to-memory, it suspends.
But, when I awake it up by pressing Fn-F4 or opening up lid,
it just reboots the system, not resuming.

When I issue suspend-to-disk, it just cannot go into sleep state and
wakes back up.

I disabled pcmcia cardbus service, all network devices and usb support.
No luck !

Anybody has the same experience ?

I use :
model = T30 2366-92U
dist = Gentoo
kernel = linux-2.4.12-gentoo-r10
                linux-2.4.13-suspend2-r4
                linux-2.4.14-gentoo-r4
              ( I tried all of them )

The following is what I see from /var/log/messages
when I try suspend-to-disk

-------------------------------------------------------------------------------------------
Dec 12 06:56:10 klugh Software Suspend 2.2-rc6: Swapwriter: Signature
found.
Dec 12 06:56:10 klugh Software Suspend 2.2-rc6: Suspending enabled.
Dec 12 06:56:10 klugh Software Suspend 2.2-rc6: Initiating a software
suspend cycle.
Dec 12 06:56:10 klugh suspend_userui: userui_program not configured.
suspend_userui disabled.
Dec 12 06:56:10 klugh Software Suspend 2.2-rc6: Swapwriter: Signature
found.
Dec 12 06:56:10 klugh Software Suspend 2.2-rc6: Suspending enabled.
Dec 12 06:56:10 klugh Freezing processes
Dec 12 06:56:20 klugh Preparing Image.
Dec 12 06:56:20 klugh Starting to save the image..
Dec 12 06:56:20 klugh Writing caches...
Dec 12 06:56:20 klugh 20%...40%...60%...80%...100%...done.
Dec 12 06:56:20 klugh Doing atomic copy.
Dec 12 06:56:20 klugh ACPI: PCI interrupt for device 0000:02:00.1 disabled
Dec 12 06:56:20 klugh ACPI: PCI interrupt for device 0000:02:00.0 disabled
Dec 12 06:56:20 klugh ACPI: PCI interrupt for device 0000:00:1f.5 disabled
Dec 12 06:56:20 klugh PCI: Setting latency timer of device 0000:00:1e.0 to
64
Dec 12 06:56:20 klugh ACPI: PCI Interrupt 0000:00:1f.1[A] -> Link
[LNKC] -> GSI 11 (level, low) -> IRQ 11
Dec 12 06:56:20 klugh ACPI: PCI Interrupt 0000:00:1f.5[B] -> Link
[LNKB] -> GSI 11 (level, low) -> IRQ 11
Dec 12 06:56:20 klugh PCI: Setting latency timer of device 0000:00:1f.5 to
64
Dec 12 06:56:20 klugh ACPI: PCI Interrupt 0000:02:00.0[A] -> Link
[LNKA] -> GSI 11 (level, low) -> IRQ 11
Dec 12 06:56:20 klugh ACPI: PCI Interrupt 0000:02:00.1[B] -> Link
[LNKB] -> GSI 11 (level, low) -> IRQ 11
Dec 12 06:56:20 klugh Writing kernel & process data...
Dec 12 06:56:20 klugh 20%...40%...60%...80%...100%...done.
Dec 12 06:56:20 klugh Seeking to enter ACPI state
Dec 12 06:56:20 klugh ACPI: PCI interrupt for device 0000:02:00.1 disabled
Dec 12 06:56:20 klugh ACPI: PCI interrupt for device 0000:02:00.0 disabled
Dec 12 06:56:20 klugh ACPI: PCI interrupt for device 0000:00:1f.5 disabled
Dec 12 06:56:20 klugh Failed to enter state.
Dec 12 06:56:20 klugh PCI: Setting latency timer of device 0000:00:1e.0 to
64
Dec 12 06:56:20 klugh ACPI: PCI Interrupt 0000:00:1f.1[A] -> Link
[LNKC] -> GSI 11 (level, low) -> IRQ 11
Dec 12 06:56:20 klugh ACPI: PCI Interrupt 0000:00:1f.5[B] -> Link
[LNKB] -> GSI 11 (level, low) -> IRQ 11
Dec 12 06:56:20 klugh PCI: Setting latency timer of device 0000:00:1f.5 to
64
Dec 12 06:56:20 klugh ACPI: PCI Interrupt 0000:02:00.0[A] -> Link
[LNKA] -> GSI 11 (level, low) -> IRQ 11
Dec 12 06:56:20 klugh ACPI: PCI Interrupt 0000:02:00.1[B] -> Link
[LNKB] -> GSI 11 (level, low) -> IRQ 11
Dec 12 06:56:20 klugh Reading caches...
Dec 12 06:56:20 klugh 20%...40%...60%...80%...100%...done.
Dec 12 06:56:20 klugh Software Suspend 2.2-rc6: Suspend failed, trying
to recover...
Dec 12 06:56:20 klugh Please include the following information in bug
reports:
Dec 12 06:56:20 klugh - SUSPEND core   : 2.2-rc6
Dec 12 06:56:20 klugh - Kernel Version : 2.6.13-suspend2-r4
Dec 12 06:56:20 klugh - Compiler vers. : 3.3
Dec 12 06:56:20 klugh - Attempt number : 3
Dec 12 06:56:20 klugh - Pageset sizes  : 4565 (4565 low) and 9289 (9289
low).
Dec 12 06:56:20 klugh - Parameters     : 0 32 0 1 300 5
Dec 12 06:56:20 klugh - Calculations   : Image size: 14057. Ram to
suspend: 1760.
Dec 12 06:56:20 klugh - Limits         : 65376 pages RAM. Initial boot:
62212.
Dec 12 06:56:20 klugh - Overall expected compression percentage: 0.
Dec 12 06:56:20 klugh - Swapwriter active.
Dec 12 06:56:20 klugh Swap available for image: 125116 pages.
Dec 12 06:56:20 klugh - Preemptive kernel.
Dec 12 06:56:20 klugh - SMP kernel.
Dec 12 06:56:20 klugh - Max extents used: 6
Dec 12 06:56:20 klugh - I/O speed: Write 22 MB/s, Read 17 MB/s.
-------------------------------------------------------------------------------------------

Thanks,
Min