I am having some issues getting resume from suspend to work with my configuration, and I'd appreciate some assistance.
I have an ASUS K8V SE Deluxe mobo. The system seems to be responding nicely with everything except the video card. If I boot with the test_suspend=standby option, everything behaves correctly. I can also do standby (S1) successfully from X and resume. The problem is with S3 (suspend to ram). If I boot with test_suspend=mem, the system suspends to ram correctly, but when it resumes, I get no video back. I can intereact blindly with the machine well, and I always have a network connection after boot.
Similarly, I can 'echo mem > /sys/power/state' and resume (again without video). See the dmesg log below.
running 'vbetool post' consumes 100% CPU and never completes. Similarly, enabling the 're-POST video card after S3 resume' option in my bios causes the system to hang after resume.
I saw information that some NV cards don't resume from suspend well unless X is handling the resume and using NVAGP. I have not been able to get NVAGP to work because it doens't seem possible to disable GART_IOMMU on newer x86_64 kernels (see: http://www.nvnews.net/vbulletin/show....php?p=1992566
I have enabled PM_DEBUG and ACPI_DEBUG, but nothing "useful" pops out in dmesg:
[ 13.367740] PM: Adding info for No Bus:timer
[ 14.025629] nvidia: module license 'NVIDIA' taints kernel.
[ 14.287102] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 14.288833] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 180.44 Tue Mar 24 05:46:32 PST 2009
[ 194.066256] k8temp 0000:00:18.3: preparing suspend
[ 194.066259] nvidia 0000:01:00.0: preparing suspend
[ 194.066270] pcspkr pcspkr: preparing suspend
[ 194.847319] pnp 00:00: legacy suspend
[ 194.847321] nvidia 0000:01:00.0: suspend
[ 194.847520] k8temp 0000:00:18.3: suspend
[ 195.028846] pcspkr pcspkr: LATE suspend
[ 195.028850] nvidia 0000:01:00.0: LATE suspend
[ 195.028852] k8temp 0000:00:18.3: LATE suspend
[ 195.028931] k8temp 0000:00:18.3: EARLY resume
[ 195.028931] nvidia 0000:01:00.0: EARLY resume
[ 195.028931] pcspkr pcspkr: EARLY resume
[ 195.927455] k8temp 0000:00:18.3: resume
[ 195.927461] nvidia 0000:01:00.0: resume
[ 195.927691] pnp 00:00: legacy resume
[ 212.375037] pcspkr pcspkr: completing resume
[ 212.375047] nvidia 0000:01:00.0: completing resume
[ 212.375050] k8temp 0000:00:18.3: completing resume
[ 212.375119] Component: resume devices
[ 212.375120] Modules linked in: binfmt_misc ppdev bridge stp bnep video output input_polldev lp parport snd_via82xx gameport snd_mpu401_uart snd_seq_dummy snd_seq_oss snd_via82xx_modem snd_seq_midi snd_ac97_codec snd_rawmidi snd_seq_midi_event ac97_bus snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device snd_pcm nvidia(P) snd_timer snd_page_alloc snd soundcore i2c_viapro shpchp k8temp pcspkr psmouse serio_raw usbhid skge ohci1394 ieee1394 floppy vesafb fbcon tileblit font bitblit softcursor
[ 212.375152] Pid: 3413, comm: bash Tainted: P 2.6.28-11-generic #42