LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Suspend problem - suspend sometimes does a logout (https://www.linuxquestions.org/questions/linux-hardware-18/suspend-problem-suspend-sometimes-does-a-logout-813207/)

taylorkh 06-09-2010 02:44 PM

Suspend problem - suspend sometimes does a logout
 
Dell Studio XPS 8000 desktop
i7-860 CPU
8 GB RAM
swap area set to 9 GB
nVIdia GeForce GT220 1 GB
Ubuntu 10.04 64 bit, all patches, nVidia-current 195.36.15

I am finding sometimes when I "suspend" the computer and then wake it back (by pressing the power button) I am presented with a login screen and any programs which were running at the time of suspend are terminated. I have captured some differences in the system log when suspend fails and when it succeeds. I need some help in interpreting.

The suspend/unsuspend process generates about 200 lines of log starting with
Quote:

Jun 9 13:51:11 taylor12 kernel: [ 195.187118] PM: Syncing filesystems ... done.
and ending with
Quote:

Jun 9 13:51:13 taylor12 kernel: [18446744072.481007] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
The failed evolution (when I was logged out) contains the following lines which are not present in the successful evolution
Quote:

Jun 9 13:51:11 taylor12 kernel: [ 198.428919] PM: suspend of drv:nvidia dev:0000:01:00.0 complete after 109.082 msecs

Jun 9 13:51:11 taylor12 kernel: [18446744055.789408] CPU 7 MCA banks CMCI:6 CMCI:8
The successful evolution contains the additional line
Quote:

Jun 9 15:15:23 taylor12 kernel: [ 577.292332] Broke affinity for irq 12
Other that the differences shown above the logs differ only by a few duration values (a few milliseconds here and there) and one PID
Quote:

failed
Jun 9 13:51:11 taylor12 kernel: [18446744069.884193] Pid: 15004, comm: pm-suspend Tainted: P W 2.6.32-22-generic #36-Ubuntu
suscessful
Jun 9 15:15:23 taylor12 kernel: [18446744069.921965] Pid: 17666, comm: pm-suspend Tainted: P W 2.6.32-22-generic #36-Ubuntu
Any kernel log interpreting gurus willing to take a look at this?

TIA,

Ken

business_kid 06-10-2010 08:34 AM

The logs seem to be noting the fact that things closed. Do you logout inactive terminals? If you log in a bash console and do nothing at all with it, does it remain open?

How does it behave on hibernate?

taylorkh 06-10-2010 10:25 AM

Thanks business_kid,

If I simply open a bash terminal it stays there as long as I am logged on to the machine in gnome. If I suspend, and suspend works, the bash terminal is there when the computer wakes. If suspend does not work the bash terminal window is of course gone.

As to hibernate - that does NOT work AT ALL. When I attempt to wake the machine after hibernating I go through the normal boot process, am prompted to login and then find that networking is disabled(?) - no evidence that I did something other than a shutdown and reboot.

Ken

business_kid 06-11-2010 03:03 AM

It needs to be compiles into the kernel by you.
CONFIG_PM_STD_PARTITION="/dev/sda9"

That's mine - sda9 is swap, btw. It loads a kernel, but doesn't run init, it reloads from swap instead. Suspend isn't reliable on this box, so I just use hibernate.

taylorkh 06-24-2010 04:12 PM

I think I will close this thread. It seems that the suspend problems are strongly related to having a virtual machine running when the host is suspended. I have trained myself to shut down any VMs before suspending and I am having a lot fewer problems.

Ken

p.s. see also my thread http://www.linuxquestions.org/questi...zation-814995/


All times are GMT -5. The time now is 02:57 AM.