LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-09-2010, 02:44 PM   #1
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
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
 
Old 06-10-2010, 08:34 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,252

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
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?
 
Old 06-10-2010, 10:25 AM   #3
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Original Poster
Rep: Reputation: 174Reputation: 174
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
 
Old 06-11-2010, 03:03 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,252

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
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.
 
Old 06-24-2010, 04:12 PM   #5
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Original Poster
Rep: Reputation: 174Reputation: 174
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/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
catch hibernate, suspend and login, logout events naveenisback Programming 4 04-08-2010 12:30 PM
pm-suspend vs. alternatives. gnome vs. enlightenment suspend. mkultra329 Linux - Newbie 1 02-19-2010 10:56 AM
suspend problem jojo2301 Linux - Newbie 2 01-22-2009 06:51 AM
ubuntu 7.10 laptop forgets network settings on reboot/suspend/logout fullout-blaine Linux - Networking 3 04-01-2008 05:05 PM
Plz explain Suspend to Disk and Suspend to Ram pkhera_2001 Linux - Newbie 2 02-18-2008 07:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration