[ltp] hang when resume from Suspend-to-RAM

Guilherme Menegon Arantes linux-thinkpad@linux-thinkpad.org
Thu, 23 Mar 2006 22:31:17 -0300


Hi there list,

I am having trouble when resuming from a Suspend-to-RAM.

If I suspend/resume over console, everything goes fine until I startx
when it hangs and beeps continuously around window manager startup
(after the X driver is loaded). 
If I suspend/resume over X, it resumes OK, images are fine, but as soon
as I change window/application, it hangs+beeps.
It happens either when I use a (ACPI activated) sleep.sh script (with
'echo mem > /sys/power/state' or 'echo -n 3 >/proc/acpi/sleep'), or a
hibernate + a hibernate.conf.ram
(http://linux.spiney.org/system/files?file=hibernate.conf.ram)

Disabled APIC from kernel, rmmod uhci_hcd, uhci_hcd (but not usbcore),
and it still hangs.

Same trouble when resuming from Suspend-to-Disk (done with 'echo disk >
/sys/power/state').

I am using the radeon Xorg driver (see xorg.conf bellow), vbetool, and
pass append="acpi_sleep=s3_bios" to kernel (otherwise I get a black 
screen after resume).

Anyone has the same problem? Solutions??? Tips?? 

Regards,

G

-------------------------------------

Config: R52, ATI Radeon Mobility M300. Debian unstable, kernel 2.6.16.
X Protocol Version 11, Revision 0, Release 6.8.2

Xorg.conf extract:
Section "Device"
	Identifier	"ATI"
	Driver		"radeon"
	BusID		"PCI:1:0:0"
	VideoRam	65536
	Option		"DynamicClocks" "on"
	Option      "MergedFB" "on"
	Option      "CRT2Hsync" "50-75"
	Option      "CRT2VRefresh" "50-82"
	#
EndSection
Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
EndSection

Resume info (from Suspend-to-RAM):
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI 16 (level, low) -> IRQ 169
ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 20 (level, low) -> IRQ 177
ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI 22 (level, low) -> IRQ 185
PCI: Enabling device 0000:00:1d.7 (0000 -> 0002)
ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 19 (level, low) -> IRQ 50
usb usb5: root hub lost power or was reset
ehci_hcd 0000:00:1d.7: debug port 1
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
ACPI: PCI Interrupt 0000:00:1e.2[A] -> GSI 22 (level, low) -> IRQ 185
acpi_bus-0201 [14] bus_set_power         : Device is not power
manageable
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 169
ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 16 (level, low) -> IRQ 169
eth1: Coming out of suspend...
ACPI: PCI Interrupt 0000:04:02.0[A] -> GSI 21 (level, low) -> IRQ 58
pnp: Device 00:07 does not supported activation.
pnp: Device 00:08 does not supported activation.
pnp: Device 00:0b activated.
ata1: dev 0 configured for UDMA/100
Restarting tasks... done


______________________________________________________

Guilherme Menegon Arantes            Sao Paulo, Brasil
______________________________________________________