Guest OS hangs on Guest OS Restart(Windows 2003)

Discussions related to using VirtualBox on Linux hosts.
Post Reply
illa
Posts: 46
Joined: 2. Jul 2008, 15:02

Guest OS hangs on Guest OS Restart(Windows 2003)

Post by illa »

I just setup a new Vbox server running 64 bit ubuntu 8.0.4. Im runing vboxheadless for my vm's(on vbox 1.6.4 bit)

Whenever i shutdown Windows 2003 guest it shutsdown fine and VBoxHeadless closes. If I issue a restart, the screen goes black and stays that way, at first I thought it may be the ACPI settings or something?

Im not sure..

I dont think this is related to the VDI as this happens with various VDI's I try and restart. Once the screen goes black I have to kill VboxHeadless, restart it and Im good to go.

Machine Config:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!-- Sun xVM VirtualBox Machine Configuration -->
<VirtualBox xmlns="http://www.innotek.de/VirtualBox-settings" version="1.3-linux">
  <Machine uuid="{2338d498-69ff-42ef-3d93-a84856574851}" name="betabox01" OSType="unknown" lastStateChange="2008-08-08T15:38:49Z">
    <Hardware>
      <CPU>
        <HardwareVirtEx enabled="true"/>
        <PAE enabled="false"/>
      </CPU>
      <Memory RAMSize="256"/>
      <Boot>
        <Order position="1" device="Floppy"/>
        <Order position="2" device="DVD"/>
        <Order position="3" device="HardDisk"/>
      </Boot>
      <Display VRAMSize="8" MonitorCount="1"/>
      <RemoteDisplay enabled="true" authType="Null" authTimeout="5000"/>
      <BIOS>
        <ACPI enabled="true"/>
        <IOAPIC enabled="false"/>
        <Logo fadeIn="true" fadeOut="true" displayTime="0"/>
        <BootMenu mode="MessageAndMenu"/>
        <TimeOffset value="0"/>
        <PXEDebug enabled="false"/>
        <IDEController type="PIIX4"/>
      </BIOS>
      <DVDDrive passthrough="false"/>
      <FloppyDrive enabled="false"/>
      <USBController enabled="false" enabledEhci="false"/>
      <SATAController enabled="false" PortCount="30" IDE0MasterEmulationPort="0" IDE0SlaveEmulationPort="1" IDE1MasterEmulationPort="2" IDE1SlaveEmulationPort="3"/>
      <Network>
        <Adapter slot="0" enabled="true" MACAddress="08002797F514" cable="true" speed="0" type="Am79C973">
          <HostInterface name="vbox0"/>
        </Adapter>
        <Adapter slot="1" enabled="false" MACAddress="080027A97962" cable="true" speed="0" type="Am79C973"/>
        <Adapter slot="2" enabled="false" MACAddress="0800271084F8" cable="true" speed="0" type="Am79C973"/>
        <Adapter slot="3" enabled="false" MACAddress="0800279684A0" cable="true" speed="0" type="Am79C973"/>
      </Network>
      <UART>
        <Port slot="0" enabled="false" IOBase="0x3f8" IRQ="4" hostMode="Disconnected"/>
        <Port slot="1" enabled="false" IOBase="0x3f8" IRQ="4" hostMode="Disconnected"/>
      </UART>
      <LPT>
        <Port slot="0" enabled="false" IOBase="0x378" IRQ="4"/>
        <Port slot="1" enabled="false" IOBase="0x378" IRQ="4"/>
      </LPT>
      <AudioAdapter controller="AC97" driver="Null" enabled="false"/>
      <SharedFolders/>
      <Clipboard mode="Bidirectional"/>
      <Guest memoryBalloonSize="0" statisticsUpdateInterval="0"/>
    </Hardware>
    <HardDiskAttachments>
      <HardDiskAttachment hardDisk="{43066c7b-51d4-436c-b4ca-8cf624ea5e7c}" bus="IDE" channel="0" device="0"/>
    </HardDiskAttachments>
  </Machine>
</VirtualBox>
illa
Posts: 46
Joined: 2. Jul 2008, 15:02

Post by illa »

weird restarted the host OS and the guest OS's restart fine now
illa
Posts: 46
Joined: 2. Jul 2008, 15:02

Post by illa »

weird.. i didnt touch my server for a week.. came back installed some software on my guest.. restarted it(Im accessing via vrdp..) screen goes black and OS never restarts, kill the process, and restart vboxheadless...

-the machine gets a 169. address via DHCP(Im using hostif), try ipconfig /renew and fails
-cleanly shutdown machine, restart vbooxheadless, OS loads
-still a 169.* ip
-shutdown machine
-ifconfig vbox0 down, ifconfig vbox0 up. restart vboxheadless, gets a real ip from dhcp again...

so its abit of a pain.. i guess my next step is to find out why the OS isnt restarting correctly sometimes.. is there a specific logging I can do?
pgonzalez
Posts: 1
Joined: 17. Sep 2008, 11:31

Post by pgonzalez »

I'm having the same problem as you, but I started worying not about the black screen (kind of a trouble, but not really scary) but about the network. I've found that networking DOESN'T work anymore in VBoxHeadless... it does in the "normal" way of running VMs though.

I've found also that sometimes, when I issue a savestate (VBoxManage controlvms <name> savestate) for a machine running under the headless server, that machine's config is modified so that the VRDP configuration is set (and it wasn't before, as it's not necessary to work with VBoxHeadless)

I really hope someone could bring some light to this problem.
Post Reply