Can't run VM created by CLI
Posted: 4. Dec 2009, 19:14
Host: Mac OS X 10.6.2
Guest: JeOS (http://hub.opensolaris.org/bin/view/Pro ... +Prototype, reproducible with any other O/S)
Step to reproduce:
No errors here.
Next step - try to run:
VBox.log:
Step to resolve issue:
Run VirtualBox application GUI, select VM (JeOS in "Aborted" state), press "Settings", press "Ok". Result:
Step to make correction in CLI:
NOT just en1, you should use "en1: AirPort".
Diff GUI vs CLI:
Is it normal?
Guest: JeOS (http://hub.opensolaris.org/bin/view/Pro ... +Prototype, reproducible with any other O/S)
Step to reproduce:
Code: Select all
VBoxManage createvm --name JeOS --ostype OpenSolaris_64 --register
VBoxManage modifyvm JeOS --nic1 bridged --nictype1 82540EM --bridgeadapter1 en1 \
--memory "768" --hwvirtex on --vtxvpid on --boot1 disk \
--vrdp on --vrdpport 3389 --vrdpauthtype null
VBoxManage storagectl JeOS --name ide-boot --add ide --controller ICH6
VBoxManage storageattach JeOS --storagectl ide-boot --port 0 --device 0 \
--type hdd \
--medium /Users/ilyxa/Desktop/OSOL0906JeOSProto/JeOS-0906-proto-x86-b002-preview-v10.vdi
VBoxManage storageattach JeOS --storagectl ide-boot --port 0 --device 1 \
--type hdd \
--medium /Users/ilyxa/Desktop/OSOL0906JeOSProto/instance.vdi
Next step - try to run:
Code: Select all
vintage-c2d:~ ilyxa$ VBoxHeadless -s JeOS
VirtualBox Headless Interface 3.1.0
(C) 2008-2009 Sun Microsystems, Inc.
All rights reserved.
Listening on port 3389.
Error: failed to start machine. Error message: Unknown error creating VM (VERR_GENERAL_FAILURE)
vintage-c2d:~ ilyxa$ Code: Select all
00:00:00.053 VirtualBox 3.1.0 r55467 darwin.x86 (Nov 30 2009 12:26:34) release log
00:00:00.053 Log opened 2009-12-04T17:07:12.793356000Z
00:00:00.053 OS Product: Darwin
00:00:00.053 OS Release: 10.2.0
00:00:00.053 OS Version: Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386
00:00:00.053 Host RAM: 4096MB RAM, available: 1625MB
00:00:00.053 Executable: /Applications/VirtualBox.app/Contents/MacOS/VBoxHeadless
00:00:00.053 Process ID: 3199
00:00:00.053 Package type: DARWIN_32BITS_GENERIC
00:00:00.058 VRDP: TCP server listening on port 3389.
00:00:00.067 SUP: Loaded VMMR0.r0 (/Applications/VirtualBox.app/Contents/MacOS/VMMR0.r0) at 0x70885060 - ModuleInit at 00000000708989f0 and ModuleTerm at 0000000070898a80
00:00:00.067 SUP: VMMR0EntryEx located at 0000000070899860, VMMR0EntryFast at 0000000070899990 and VMMR0EntryInt at 0000000070898b10
00:00:00.108 VMSetError: /Users/vbox/tinderbox/mac-rel/src/VBox/VMM/VM.cpp(323) int VMR3Create(uint32_t, void (*)(VM*, void*, int, const char*, unsigned int, const char*, const char*, char*), void*, int (*)(VM*, void*), void*, VM**)
00:00:00.108 VMSetError: Unknown error creating VM
00:00:00.108 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={6375231a-c17c-464b-92cb-ae9e128d71c3} aComponent={Console} aText={Unknown error creating VM (VERR_GENERAL_FAILURE)} aWarning=false, preserve=false
00:00:00.110 Power up failed (vrc=VERR_GENERAL_FAILURE, rc=NS_ERROR_FAILURE (0X80004005))
00:00:00.112 VRDP: TCP server closed.
Run VirtualBox application GUI, select VM (JeOS in "Aborted" state), press "Settings", press "Ok". Result:
Code: Select all
vintage-c2d:~ ilyxa$ VBoxHeadless -s JeOS
VirtualBox Headless Interface 3.1.0
(C) 2008-2009 Sun Microsystems, Inc.
All rights reserved.
Listening on port 3389.Code: Select all
VBoxManage modifyvm JeOS --nic1 bridged --nictype1 82540EM --bridgeadapter1 "en1: AirPort" \
--memory "768" --hwvirtex on --vtxvpid on --boot1 disk \
--vrdp on --vrdpport 3389 --vrdpauthtype null
Diff GUI vs CLI:
Code: Select all
vintage-c2d:~ ilyxa$ diff JeOS-cli.xml JeOS-gui.xml 3c3,8
< <Machine uuid="{454f55c9-050c-48a4-8ca9-8031904a5c3c}" name="JeOS" OSType="OpenSolaris_64" lastStateChange="2009-12-04T17:07:12Z">
---
> <Machine uuid="{454f55c9-050c-48a4-8ca9-8031904a5c3c}" name="JeOS" OSType="OpenSolaris_64" lastStateChange="2009-12-04T17:10:29Z" aborted="true">
> <ExtraData>
> <ExtraDataItem name="GUI/MiniToolBarAlignment" value="bottom"/>
> <ExtraDataItem name="GUI/SaveMountedAtRuntime" value="yes"/>
> <ExtraDataItem name="GUI/ShowMiniToolBar" value="yes"/>
> </ExtraData>
31c36
< <BridgedInterface name="en1"/>
---
> <BridgedInterface name="en1: AirPort"/>
53c58,60
< <GuestProperties/>
---
> <GuestProperties>
> <GuestProperty name="/VirtualBox/HostInfo/GUI/LanguageID" value="C" timestamp="1259946619746070000" flags=""/>
> </GuestProperties>
vintage-c2d:~ ilyxa$