LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-18-2010, 02:42 PM   #1
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,186

Rep: Reputation: 95
Suspend vs. Visualization


Here is the latest in my saga of me vs. Suspend in Utuntu.

Dell Studio XPS 8000 desktop
i7-860 CPU
8 GB RAM
swap area set to 9 GB (because I was experimenting with hibernate)
nVIdia GeForce GT220 1 GB
Ubuntu 10.04 64 bit, all patches, nVidia-current 195.36.24

So I was poking around in BIOS and looking at CPU Features. I have also a problem with my VMWare machines sucking up a core or 2 at 100% after suspending and waking the host. Just for the halibut I Disabled CPU Visualization. My VMWare XP guest now starts up a lot faster! (?)

and I have discovered... If I do a suspend of the host BEFORE starting and LOGGING IN to a VM it seems to work great. I can wake the host and am presented with the locked screen dialog asking for my password. I have done about 20 suspend/wakes with no problems. So far, so good.

Upon further testing I find that I can start a VMWare or Virtualbox XP guest machine and still suspend/wake - at least so far with a limited number of tries.

Most importantly, if I log into the guest (VMWare or Virtualbox) I find that suspend/wake fails 100% of the time. By fail I mean that the host suspends but when I attempt to wake it I find that I am logged out of the host and all programs which were running at suspend time are no longer running. Firefox restores the previous session indicating that it was shut down incorrectly or unexpectedly.

Let me post this and move onto my next experiment - logging out of the guest before suspend or shutting down the guest before suspend.

Any advice or comments appreciated.

TIA,

Ken
 
Old 06-18-2010, 03:24 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 163Reputation: 163
In my experience this isn't unusual, I've had significant issues suspending/hibernating while there are running virtual machines that I'm actively logged into also (with vmware, never tried it with virtualbox), I think a lot of the issue comes from the fact that the guests never get the operations completed before needing to shutdown and it has detrimental effects when they come back up.
 
Old 06-19-2010, 02:59 PM   #3
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,186

Original Poster
Rep: Reputation: 95
Thanks for the reply rweaver. I really thought I was on to something. I did several suspend/wake cycles and seemed to have pinned the issue to being logged into a VM. Then I shut down the host completely, powered it back up, started a VM, logged in and back out of the VM and then tried the suspend/wake. It FAILED I was back to the host login.

So I did not do any more experimentation last evening. Today I needed to run a Ubuntu 64 bit VM and VMWare told me it could not be run without virtualization being enabled in BIOS. I re-enabled it BIOS, did my VM testing then left it enabled.

I tried running my XP VM, logging in and then doing a standby. This closes the VM in VMWare and saves the state. Once suspend/wake worked and the next time it did not. I seem to be having success with suspend/wake if I completely shutdown the VM before the host suspend. What a pain.

Ken
 
Old 06-22-2010, 11:29 AM   #4
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 163Reputation: 163
That would largely match up to my expectations of it at this point. It's one of those finer details they just seem to have not quite ironed out perfectly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
font visualization morfeus80 Linux - Newbie 2 04-15-2008 03:56 AM
Plz explain Suspend to Disk and Suspend to Ram pkhera_2001 Linux - Newbie 2 02-18-2008 07:23 AM
Font visualization morfeus80 Linux - Software 2 02-18-2008 05:36 AM
music visualization without x xehn Linux - Desktop 2 10-11-2006 05:35 PM
Visualization in XMMS? THX1138 Linux - Newbie 4 11-05-2003 12:06 AM


All times are GMT -5. The time now is 04:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration