View Single Post
Old 12-13-05, 07:41 PM   #1
cyberjun
Registered User
 
Join Date: Mar 2005
Posts: 30
Unhappy acpi suspend garbled consoles [UNSOLVED]

Hi,
I am running the latest 8174 drivers. Have problems with acpi suspend. Machine suspends fine and comes back alive also.

If I suspend from within X without using the chvt jugglery, the display comes back up. However the virtual consoles are all F***** up. They take commands though.

If I suspend from a console with X running on vt 7, then also everything seems normal but as soon as I switch to X and come back to consoles, they are SC***** up. The results are not very different with chvt jugglery also.

I am not using framebuffer. Just plain vga console. Whats the remedy?

Thanks a lot!

--cyberjun

Code:
localhost ~ # lspci | grep -i nvidia
0000:01:00.0 VGA compatible controller: nVidia Corporation NV34M [GeForce FX Go5200] (rev a1)
Code:
localhost ~ # cat suspend-to-ram.sh
#!/bin/bash

if [ -e /root/.suspending ]; then
        echo "Suspend already in progress. Quitting....."
else
        touch /root/.suspending
#       chvt 1
        sync
        vbetool dpms off
        vbetool vbestate save > /root/.vbe_state
        echo "mem" > /sys/power/state
#       vbetool post
        vbetool vbestate restore < /root/.vbe_state
        /sbin/hwclock --hctosys
        vbetool dpms on
#       chvt 7
        rm /root/.vbe_state
        rm /root/.suspending
fi
From /var/log/dmesg:
Code:
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
pnp: the driver 'system' has been registered
pnp: match found with the PnP device '00:00' and the driver 'system'
pnp: match found with the PnP device '00:09' and the driver 'system'
PCI: Failed to allocate mem resource #6:20000@f0000000 for 0000:01:00.0
PCI: Bridge: 0000:00:01.0
  IO window: disabled.
  MEM window: c1000000-c1ffffff
  PREFETCH window: e0000000-efffffff
P.S. The reason I have commented out "vbetool post" is that it results in "Illegal instruction". And if vbetool dpms is not used, the screen never comes back on.

Last edited by cyberjun; 12-15-05 at 08:09 PM. Reason: change of title
cyberjun is offline   Reply With Quote