Page 1 of 2

New installation v6.2 won't shutdown

Posted: 2012/02/19 16:18:39
by artw
I know next to nothing about Linux (but am trying to learn). Now that we have that out of the way ...

I have an i5 - quad core 3.3Ghz, 16GB, 1TB SATA drives running (as plain as possible) Windows 7 Ultimate x64host - current on patches. On top of that I am running VMware Workstation v8 - VMware-workstation-full-8.0.2-591240 (latest update).

I have downloaded and installed http://ftp.telus.net/pub/centos/6.2/isos/x86_64/CentOS-6.2-x86_64-bin-DVD1.iso as a guest VM. I also installed the VMware tools into this CentOS installation.

The issue I'm facing is when I attempt to shutdown or restart CentOS, I am presented a black (non-graphical) screen with :

Shutting Down...Running guests on default URI:

(if it's a restart, replace "Shutting Down" with "Restarting")

and it just sits there. Every other VM (including Windows 7, Red Hat v6.2 and Fedora 16) shuts down "properly" and "powers off" the VM.

I did some searching on that text and came up with a few indications that it was something to do with Linux's Virtual environment .... possibly a bug in earlier versions.

I did a - yum remove *virt* - which did nothing to affect my issue.

Any (easy to follow :-) ) suggestions?

Cheers,
Art

Re: New installation v6.2 won't shutdown

Posted: 2012/02/19 21:16:29
by TrevorH
[quote]
I did a - yum remove *virt* - which did nothing to affect my issue.
[/quote]

What does `yum list \*virt\*` say?

Re: New installation v6.2 won't shutdown

Posted: 2012/02/20 01:30:41
by artw
Installed Packages
libvirt.x86_64 0.9.4-23.el6_2.4 @updates
libvirt-client.x86_64 0.9.4-23.el6_2.4 @updates
libvirt-devel.x86_64 0.9.4-23.el6_2.4 @updates
libvirt-java.noarch 0.4.7-1.el6 @anaconda-CentOS-201112091719.x86_64/6.2
libvirt-java-devel.noarch 0.4.7-1.el6 @anaconda-CentOS-201112091719.x86_64/6.2
libvirt-python.x86_64 0.9.4-23.el6_2.4 @updates
python-virtinst.noarch 0.600.0-5.el6 @anaconda-CentOS-201112091719.x86_64/6.2
virt-what.x86_64 1.11-1.1.el6 @base
Available Packages
...

Re: New installation v6.2 won't shutdown

Posted: 2012/02/20 01:32:29
by artw
Sorry, I think I did a - yum remove virt* - and installed that virt-what today ... it comes back and says vmware.

New installation v6.2 won't shutdown

Posted: 2012/02/20 16:10:56
by pschaff
You are inappropriately installing the hypervisor tools inside a virtual machine. I don't know if that is the cause of the shutdown issue, but it is certainly not a good thing to do.

Re: New installation v6.2 won't shutdown

Posted: 2012/02/20 17:09:32
by artw
[quote]
pschaff wrote:
You are inappropriately installing the hypervisor tools inside a virtual machine. I don't know if that is the cause of the shutdown issue, but it is certainly not a good thing to do.[/quote]

Pardon? VMware Tools is an appropriate thing to install. Other than that, I didn't intentionally select any other hypervisor tools and tried to remove virt* things.

What needs to be removed, or installed "appropriately"?

Cheers,
Art

Re: New installation v6.2 won't shutdown

Posted: 2012/02/20 17:56:07
by pschaff
Pardon me, but nothing listed in post #3 is from VMware Tools.

Re: New installation v6.2 won't shutdown

Posted: 2012/02/20 21:13:20
by TrevorH
Remove all that libvirt\* set of packages, none of them should be installed on a client. The virt-what utility just tells you which virtualization package your guest is running underneath - your case you are apparently on a VMWare virtual machine.

Re: New installation v6.2 won't shutdown

Posted: 2012/02/20 21:25:08
by gbohn
> Shutting Down...Running guests on default URI:

I just went through this myself running CentOS 6.2 64-bit under a VMware Workstation 8.0.2 host (Windows-7). If your issue is the same as mine, then this is a bug in the VMware Workstation 8.0.2 BIOS.

See the thread at http://communities.vmware.com/thread/391186?tstart=0 .

In my case, I tried the workaround of changing

vcpu.hotadd = "TRUE"

to

vcpu.hotadd = "FALSE"

in the VMs .vmx file and this solved my issue.

I was even able to start a nested Guest VM after this.

Alternately (if you don't care about getting nested Virtualization working), I found another way to avoid the shutdown issue. I discovered that I could just disable and stop the libvirt-guest service (from the System/Services panel) to avoid the shutdown issue (before I changed the VMware VMs .vmx file).

Good Luck.

Re: New installation v6.2 won't shutdown

Posted: 2012/02/21 11:23:22
by pschaff
First report I've seen on [url=http://www.google.com/search?q=nested+virtualization&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a]nested virtualization[/url] working - apparently a recent development, but still seems rather bleeding-edge.