Hi I am trying to boot a HVM domain for the very first time without a GUI. My config is as follows (64bit ubuntu hardy dom0): kernel = ''/usr/lib/xen/boot/hvmloader'' builder = ''hvm'' memory = ''512'' device_model=''/usr/lib/xen/bin/qemu-dm'' #disk = [ ''phy:raid/windows,ioemu:hda,w'',''file:/root/w2k3.iso,ioemu:hdc:cdrom,r'' ] disk = [ ''phy:/dev/raid/windows,ioemu:hda,w'' ] cdrom = ''/root/w2k3.iso'' name = ''windows'' vif = [''type=ioemu,mac=00:16:3e:00:00:08,ip=78.46.250.160/32''] boot=''d'' vnc=1 vncviewer=0 It says: Using config file "./windows.conf". S tarted domain windows But this is wrong. The domain is NOT running. The only thing I can find in the logs is: # cat /var/log/xen/qemu-dm-22.log ... xs_read(): vncpasswd get error. /vm/24f1fde3-dcb5-4720-26d0-b0335585e708/vncpasswd. ... What can I do? Where can I start searching? Regards, Steffen _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Try something like: vfb = [ ''type=vnc,vnclisten=0.0.0.0,vncdisplay=4,vncpasswd=lolz'' ] in the config. -Ray On Tue, Jul 1, 2008 at 7:30 PM, Steffen Heil <lists@steffen-heil.de> wrote:> Hi > > I am trying to boot a HVM domain for the very first time without a GUI. > My config is as follows (64bit ubuntu hardy dom0): > > kernel = ''/usr/lib/xen/boot/hvmloader'' > builder = ''hvm'' > memory = ''512'' > device_model=''/usr/lib/xen/bin/qemu-dm'' > #disk = [ > ''phy:raid/windows,ioemu:hda,w'',''file:/root/w2k3.iso,ioemu:hdc:cdrom,r'' ] > disk = [ ''phy:/dev/raid/windows,ioemu:hda,w'' ] > cdrom = ''/root/w2k3.iso'' > name = ''windows'' > vif = [''type=ioemu,mac=00:16:3e:00:00:08,ip=78.46.250.160/32''] > boot=''d'' > vnc=1 > vncviewer=0 > > It says: > Using config file "./windows.conf". > S tarted domain windows > > But this is wrong. The domain is NOT running. > The only thing I can find in the logs is: > > # cat /var/log/xen/qemu-dm-22.log > ... > xs_read(): vncpasswd get error. > /vm/24f1fde3-dcb5-4720-26d0-b0335585e708/vncpasswd. > ... > > What can I do? Where can I start searching? > > Regards, > Steffen > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi I modified my config as follows: kernel = ''/usr/lib/xen/boot/hvmloader'' builder = ''hvm'' memory = ''512'' device_model=''/usr/lib/xen/bin/qemu-dm'' #disk = [ ''phy:raid/windows,ioemu:hda,w'',''file:/root/w2k3.iso,ioemu:hdc:cdrom,r'' ] disk = [ ''phy:/dev/raid/windows,ioemu:hda,w'' ] cdrom = ''/root/w2k3.iso'' name = ''windows'' vif = [''type=ioemu,mac=00:16:3e:00:00:08,ip=78.46.250.160/32''] vfb = [''type=vnc,vnclisten=0.0.0.0,vncdisplay=4,vncpasswd=cisco''] boot=''d'' However, trying to boot this gives: # xm create -c windows.conf Using config file "./windows.conf". Started domain windows Unexpected error: <type ''exceptions.OSError''> Please report to xen-devel@lists.xensource.com Traceback (most recent call last): File "/usr/sbin/xm", line 10, in <module> main.main(sys.argv) File "/usr/lib/python2.5/site-packages/xen/xm/main.py", line 2535, in main _, rc = _run_cmd(cmd, cmd_name, args) File "/usr/lib/python2.5/site-packages/xen/xm/main.py", line 2559, in _run_cmd return True, cmd(args) File "<string>", line 1, in <lambda> File "/usr/lib/python2.5/site-packages/xen/xm/main.py", line 1309, in xm_importcommand cmd.main([command] + args) File "/usr/lib/python2.5/site-packages/xen/xm/create.py", line 1176, in main do_console(sxp.child_value(config, ''name'', -1)) File "/usr/lib/python2.5/site-packages/xen/xm/create.py", line 1198, in do_console (p, rv) = os.waitpid(cpid, os.WNOHANG) OSError: [Errno 10] No child processes Any hints? Regards, Steffen _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2008-Jul-02 08:26 UTC
Re: [Xen-users] Windows 2003 Server installation fails
Steffen Heil wrote:> Hi > > I modified my config as follows: > > kernel = ''/usr/lib/xen/boot/hvmloader'' > builder = ''hvm'' > memory = ''512'' > device_model=''/usr/lib/xen/bin/qemu-dm'' > #disk = [ > ''phy:raid/windows,ioemu:hda,w'',''file:/root/w2k3.iso,ioemu:hdc:cdrom,r'' ] > disk = [ ''phy:/dev/raid/windows,ioemu:hda,w'' ] > cdrom = ''/root/w2k3.iso'' > name = ''windows'' > vif = [''type=ioemu,mac=00:16:3e:00:00:08,ip=78.46.250.160/32''] > vfb = [''type=vnc,vnclisten=0.0.0.0,vncdisplay=4,vncpasswd=cisco''] > boot=''d'' > > >I don''t think that''s correct. You don''t need vfb for HVM domains, and don''t start it with "-c". Just start it with xm create, and connect with vnc afterwards. Here''s my config : ============================import os, re arch = os.uname()[4] if re.search(''64'', arch): arch_libdir = ''lib64'' else: arch_libdir = ''lib'' device_model = ''/usr/'' + arch_libdir + ''/xen/bin/qemu-dm'' kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 1000 vcpus=2 cpus = "^0" vif = [ ''type=ioemu, mac=xx:xx:xx:xx:xx:xx, bridge=brxx'' ] disk = [ ''phy:/dev/vg/winlv,hda,w'', ''file:iso_file_name,hdc:cdrom,r'' ] boot="dc" sdl=0 vnc=1 vnclisten="0.0.0.0" vncpasswd='''' stdvga=0 serial=''pty'' localtime=1 usbdevice=''tablet'' apic=1 acpi=1 pae=1 ============================ Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users