Anand Gupta
2006-Dec-27 12:13 UTC
[Xen-devel] Error: Kernel image does not exist: /usr/lib/xen/boot/hvmloader
I have installed xen 3.0.4 from
http://xenbits.xensource.com/xen-3.0.4-testing.hg. Now when i want to setup
winxp as a domu on this server. The server is a Intel Core 2 Duo with 4GB
RAM.
I took the xmexample.hvm as an example for the config. Here is the edited
version.
# -*- mode: python; -*-
#===========================================================================#
Python configuration setup for ''xm create''.
# This script sets the parameters used when a domain is created using
''xm
create''.
# You use a separate script for each domain you want to create, or
# you can set the parameters for the domain on the xm command line.
#===========================================================================
import os, re
arch = os.uname()[4]
if re.search(''64'', arch):
arch_libdir = ''lib64''
else:
arch_libdir = ''lib''
#----------------------------------------------------------------------------
# Kernel image file.
kernel = "/usr/lib/xen/boot/hvmloader"
# The domain build function. HVM domain uses ''hvm''.
builder=''hvm''
# Initial memory allocation (in megabytes) for the new domain.
#
# WARNING: Creating a domain with insufficient memory may cause out of
# memory errors. The domain needs enough memory to boot kernel
# and modules. Allocating less than 32MBs is not recommended.
memory = 128
# Shadow pagetable memory for the domain, in MB.
# Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.
shadow_memory = 8
# A name for your domain. All domains must have different names.
name = "ExampleHVMDomain"
# 128-bit UUID for the domain. The default behavior is to generate a new
UUID
# on each call to ''xm create''.
#uuid = "06ed00fe-1162-4fc4-b5d8-11993ee4a8b9"
#-----------------------------------------------------------------------------
# The number of cpus guest platform has, default=1
#vcpus=1
# Enable/disable HVM guest PAE, default=1 (enabled)
#pae=1
# Enable/disable HVM guest ACPI, default=1 (enabled)
#acpi=1
# Enable/disable HVM APIC mode, default=1 (enabled)
# Note that this option is ignored if vcpus > 1
#apic=1
# List of which CPUS this domain is allowed to use, default Xen picks
#cpus = "" # leave to Xen to pick
#cpus = "0" # all vcpus run on CPU0
#cpus = "0-3,5,^1" # run on cpus 0,2,3,5
# Optionally define mac and/or bridge for the network interfaces.
# Random MACs are assigned if not given.
#vif = [ ''type=ioemu, mac=00:16:3e:00:00:11, bridge=xenbr0,
model=ne2k_pci''
]
# type=ioemu specify the NIC is an ioemu device not netfront
vif = [ ''type=ioemu''] #, bridge=xenbr0'' ]
#----------------------------------------------------------------------------
# Define the disk devices you want the domain to have access to, and
# what you want them accessible as.
# Each disk entry is of the form phy:UNAME,DEV,MODE
# where UNAME is the device, DEV is the device name the domain will see,
# and MODE is r for read-only, w for read-write.
#disk = [ ''phy:hda1,hda1,r'' ]
disk = [ ''phy:/dev/vg01/vol1,sda,w'',
'',hdc:cdrom,r'' ]
#----------------------------------------------------------------------------
# Configure the behaviour when a domain exits. There are three
''reasons''
# for a domain to stop: poweroff, reboot, and crash. For each of these you
# may specify:
#
# "destroy", meaning that the domain is cleaned up as normal;
# "restart", meaning that a new domain is started in place of
the
old
# one;
# "preserve", meaning that no clean-up is done until the
domain is
# manually destroyed (using xm destroy, for example); or
# "rename-restart", meaning that the old domain is not cleaned up,
but is
# renamed and a new domain started in its place.
#
# The default is
#
# on_poweroff = ''destroy''
# on_reboot = ''restart''
# on_crash = ''restart''
#
# For backwards compatibility we also support the deprecated option restart
#
# restart = ''onreboot'' means on_poweroff =
''destroy''
# on_reboot = ''restart''
# on_crash = ''destroy''
#
# restart = ''always'' means on_poweroff =
''restart''
# on_reboot = ''restart''
# on_crash = ''restart''
#
# restart = ''never'' means on_poweroff =
''destroy''
# on_reboot = ''destroy''
# on_crash = ''destroy''
#on_poweroff = ''destroy''
#on_reboot = ''restart''
#on_crash = ''restart''
#===========================================================================
# New stuff
device_model = ''/usr/'' + arch_libdir +
''/xen/bin/qemu-dm''
#-----------------------------------------------------------------------------
# boot on floppy (a), hard disk (c) or CD-ROM (d)
# default: hard disk, cd-rom, floppy
boot="d"
#-----------------------------------------------------------------------------
# write to temporary files instead of disk image files
#snapshot=1
#----------------------------------------------------------------------------
# enable SDL library for graphics, default = 0
sdl=0
#----------------------------------------------------------------------------
# enable VNC library for graphics, default = 1
vnc=1
#----------------------------------------------------------------------------
# address that should be listened on for the VNC server if vnc is set.
# default is to use ''vnc-listen'' setting from
/etc/xen/xend-config.sxp
#vnclisten="127.0.0.1"
#----------------------------------------------------------------------------
# set VNC display number, default = domid
#vncdisplay=1
#----------------------------------------------------------------------------
# try to find an unused port for the VNC server, default = 1
#vncunused=1
#----------------------------------------------------------------------------
# enable spawning vncviewer for domain''s console
# (only valid when vnc=1), default = 0
#vncconsole=0
#----------------------------------------------------------------------------
# set password for domain''s VNC console
# default is depents on vncpasswd in xend-config.sxp
vncpasswd=''''
#----------------------------------------------------------------------------
# no graphics, use serial port
#nographic=0
#----------------------------------------------------------------------------
# enable stdvga, default = 0 (use cirrus logic device model)
stdvga=0
#-----------------------------------------------------------------------------
# serial port re-direct to pty deivce, /dev/pts/n
# then xm console or minicom can connect
serial=''pty''
#-----------------------------------------------------------------------------
# enable sound card support, [sb16|es1370|all|..,..], default none
#soundhw=''sb16''
#-----------------------------------------------------------------------------
# set the real time clock to local time [default=0 i.e. set to utc]
#localtime=1
#-----------------------------------------------------------------------------
# start in full screen
#full-screen=1
#-----------------------------------------------------------------------------
# Enable USB support (specific devices specified at runtime through the
# monitor window)
#usb=1
# Enable USB mouse support (only enable one of the following, `mouse''
for
# PS/2 protocol relative mouse, `tablet''
for
# absolute mouse)
#usbdevice=''mouse''
#usbdevice=''tablet''
#-----------------------------------------------------------------------------
# Set keyboard layout, default is en-us keyboard.
#keymap=''ja''
Now when i run "xm create xm1", it gives me the following error:
Using config file "./xm1".
Error: Kernel image does not exist: /usr/lib/xen/boot/hvmloader
I checked in the /usr/lib/xen/boot directory and it seems to be empty. Can
anyone please tell me how to get this hvmloader ??
Thanks.
--
regards,
Anand Gupta
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Tim Post
2006-Dec-27 13:28 UTC
Re: [Xen-users] Error: Kernel image does not exist: /usr/lib/xen/boot/hvmloader
On Wed, 2006-12-27 at 17:43 +0530, Anand Gupta wrote:> I have installed xen 3.0.4 from > http://xenbits.xensource.com/xen-3.0.4-testing.hg. Now when i want to > setup winxp as a domu on this server. The server is a Intel Core 2 Duo > with 4GB RAM. > > I took the xmexample.hvm as an example for the config. Here is the > edited version.[snip]> > Now when i run "xm create xm1", it gives me the following error: > > Using config file "./xm1". > Error: Kernel image does not exist: /usr/lib/xen/boot/hvmloader > > I checked in the /usr/lib/xen/boot directory and it seems to be empty. > Can anyone please tell me how to get this hvmloader ?? >In 3.0.3, if it failed to compile some of the hvm tools the build would still continue. You may simply just be missing bcc or cpp respectively. I find its handy to redirect make output (nohup or tree is handy for this) to a file so I can review it later to see if something went wrong. I''m not 100% sure that in 3.0.4 the build process won''t halt if it can''t build some of the qemu / hvm related tools. More than likely you were missing stuff make needed to build it, but it didn''t halt .. and just flew by. Best, -Tim> Thanks. > > -- > regards, > > Anand Gupta > _______________________________________________ > 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
Anand Gupta
2006-Dec-27 13:49 UTC
[Xen-devel] Re: [Xen-users] Error: Kernel image does not exist: /usr/lib/xen/boot/hvmloader
Thanks for the quick response Tim.
Inside xen 3.0.4, tools directory, i ran "make all; make install" and
i got
hvmloader now inside /usr/lib/xen/boot. However when i try to start the
domU, it just hangs.
Here is the log extract from xend.log
[2006-12-27 19:16:09 xend.XendDomainInfo 10046] DEBUG (XendDomainInfo:94)
XendDomainInfo.create([''vm'', [''name'',
''xm1''], [''memory'', 512],
[''shadow_memory'', 8], [''vcpus'', 1],
[''on_xend_start'', ''ignore''],
[''on_xend_stop'', ''ignore''],
[''image'', [''hvm'',
[''kernel'',
''/usr/lib/xen/boot/hvmloader''],
[''device_model'',
''/usr/lib64/xen/bin/qemu-dm''], [''pae'', 1],
[''vcpus'', 1], [''boot'',
''d''],
[''fda'', ''''], [''fdb'',
''''], [''localtime'', 0],
[''serial'', ''pty''],
[''stdvga'',
0], [''isa'', 0], [''nographic'', 0],
[''soundhw'', ''''], [''vnc'',
1], [''vncunused'',
1], [''sdl'', 0], [''display'',
'':0.0''], [''xauthority'',
''/root/.Xauthority''],
[''acpi'', 1], [''apic'', 1],
[''usb'', 1], [''usbdevice'',
''mouse''], [''keymap'',
''''], [''vncpasswd'',
''XXXXXXXX'']]], [''device'',
[''vbd'', [''uname'',
''phy:/dev/vg01/vol1''], [''dev'',
''hda''], [''mode'', ''w'']]],
[''device'', [''vbd'',
[''uname'', ''''], [''dev'',
''hdc:cdrom''], [''mode'',
''r'']]], [''device'', [''vif'',
[''bridge'', ''xenbr0''],
[''type'', ''ioemu'']]]])
[2006-12-27 19:16:09 xend.XendConfig 10046] WARNING (XendConfig:604)
Unconverted key: cpus
[2006-12-27 19:16:09 xend.XendDomainInfo 10046] DEBUG (XendDomainInfo:1284)
XendDomainInfo.constructDomain
[2006-12-27 19:16:09 xend.XendDomainInfo 10046] DEBUG (XendDomainInfo:1330)
XendDomainInfo.initDomain: 7 256
[2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: boot, val: d
[2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: fda, val:
[2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: fdb, val:
[2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: soundhw, val:
[2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: localtime, val: 0
[2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: serial, val: pty
[2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: std-vga, val: 0
[2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: isa, val: 0
[2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: vcpus, val: 1
[2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: acpi, val: 1
[2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: usb, val: 1
[2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: usbdevice, val:
mouse
[2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: k, val:
[2006-12-27 19:16:09 xend 10046] DEBUG (balloon:127) Balloon: 541328 KiB
free; need 540672; done.[2006-12-27 19:16:09 xend 10046] INFO (image:125)
buildDomain os=hvm dom=7 vcpus=1
[2006-12-27 19:16:09 xend 10046] DEBUG (image:347) domid = 7
[2006-12-27 19:16:09 xend 10046] DEBUG (image:348) image
/usr/lib/xen/boot/hvmloader
[2006-12-27 19:16:09 xend 10046] DEBUG (image:349) store_evtchn = 2
[2006-12-27 19:16:09 xend 10046] DEBUG (image:350) memsize = 512
[2006-12-27 19:16:09 xend 10046] DEBUG (image:351) vcpus = 1
[2006-12-27 19:16:09 xend 10046] DEBUG (image:352) pae = 1
[2006-12-27 19:16:09 xend 10046] DEBUG (image:353) acpi = 1
[2006-12-27 19:16:09 xend 10046] DEBUG (image:354) apic = 1
[2006-12-27 19:16:09 xend 10046] DEBUG (image:521) hvm shutdown watch
registered
[2006-12-27 19:16:09 xend 10046] DEBUG (image:560) hvm reboot feature watch
registered
[2006-12-27 19:16:09 xend.XendDomainInfo 10046] INFO (XendDomainInfo:1194)
createDevice: vbd : {''uname'':
''phy:/dev/vg01/vol1'', ''driver'':
''paravirtualised'', ''mode'':
''w'', ''dev'': ''hda'',
''uuid'':
''b50395bb-52ce-c084-3806-27a64b6d0718''}
[2006-12-27 19:16:09 xend 10046] DEBUG (DevController:115) DevController:
writing {''backend-id'': ''0'',
''virtual-device'': ''768'',
''device-type'': ''disk'',
''state'': ''1'', ''backend'':
''/local/domain/0/backend/vbd/7/768''} to
/local/domain/7/device/vbd/768.
[2006-12-27 19:16:09 xend 10046] DEBUG (DevController:117) DevController:
writing {''domain'': ''xm1'',
''frontend'':
''/local/domain/7/device/vbd/768'',
''uuid'':
''b50395bb-52ce-c084-3806-27a64b6d0718'',
''dev'': ''hda'', ''state'':
''1'',
''params'': ''/dev/vg01/vol1'',
''mode'': ''w'', ''online'':
''1'', ''frontend-id'': ''7'',
''type'': ''phy''} to
/local/domain/0/backend/vbd/7/768.
[2006-12-27 19:16:09 xend.XendDomainInfo 10046] INFO (XendDomainInfo:1194)
createDevice: vif : {''bridge'': ''xenbr0'',
''type'': ''ioemu'', ''uuid'':
''3c269233-cce4-5cb0-6253-a2f027ea862f''}
[2006-12-27 19:16:09 xend 10046] DEBUG (DevController:115) DevController:
writing {''state'': ''1'',
''backend-id'': ''0'',
''backend'':
''/local/domain/0/backend/vif/7/0''} to
/local/domain/7/device/vif/0.[2006-12-27 19:16:09 xend 10046] DEBUG
(DevController:117) DevController: writing {''bridge'':
''xenbr0'', ''domain'':
''xm1'', ''handle'': ''0'',
''uuid'':
''3c269233-cce4-5cb0-6253-a2f027ea862f'',
''script'': ''/etc/xen/scripts/vif-bridge'',
''state'': ''1'', ''frontend'':
''/local/domain/7/device/vif/0'', ''mac'':
''00:16:3e:57:68:fb'', ''online'':
''1'',
''frontend-id'': ''7'',
''type'': ''ioemu''} to
/local/domain/0/backend/vif/7/0.
[2006-12-27 19:16:09 xend.XendDomainInfo 10046] INFO (XendDomainInfo:1194)
createDevice: vbd : {''uname'': '''',
''driver'': ''paravirtualised'',
''mode'': ''r'',
''dev'': ''hdc:cdrom'',
''uuid'':
''53b2adb8-d0bd-f323-a019-9e49190a27db''}
[2006-12-27 19:16:09 xend 10046] DEBUG (DevController:115) DevController:
writing {''backend-id'': ''0'',
''virtual-device'': ''5632'',
''device-type'':
''cdrom'', ''state'': ''1'',
''backend'':
''/local/domain/0/backend/vbd/7/5632''} to
/local/domain/7/device/vbd/5632.
[2006-12-27 19:16:09 xend 10046] DEBUG (DevController:117) DevController:
writing {''domain'': ''xm1'',
''frontend'':
''/local/domain/7/device/vbd/5632'',
''uuid'':
''53b2adb8-d0bd-f323-a019-9e49190a27db'',
''dev'': ''hdc'', ''state'':
''1'',
''params'': '''', ''mode'':
''r'', ''online'': ''1'',
''frontend-id'': ''7'',
''type'': ''''} to
/local/domain/0/backend/vbd/7/5632.
[2006-12-27 19:16:09 xend 10046] INFO (image:489) spawning device models:
/usr/lib64/xen/bin/qemu-dm [''/usr/lib64/xen/bin/qemu-dm'',
''-d'', ''7'', ''-m'',
''512'', ''-boot'', ''d'',
''-serial'', ''pty'',
''-vcpus'', ''1'', ''-acpi'',
''-usb'',
''-usbdevice'', ''mouse'',
''-domain-name'', ''xm1'',
''-net'',
''nic,vlan=1,macaddr=00:16:3e:6b:aa:bd,model=rtl8139'',
''-net'',
''tap,vlan=1,bridge=xenbr0'', ''-vncunused'',
''-vnclisten'', ''127.0.0.1'']
[2006-12-27 19:16:09 xend 10046] INFO (image:493) device model pid: 10934
[2006-12-27 19:16:09 xend.XendDomainInfo 10046] DEBUG (XendDomainInfo:1714)
Storing VM details: {''on_xend_stop'':
''ignore'', ''shadow_memory'':
''8'', ''uuid'':
''75c73fa7-94c8-94b9-3a97-c3e833aa9353'',
''name'': ''xm1'',
''on_reboot'':
''restart'', ''start_time'':
''1167227169.59'', ''on_poweroff'':
''destroy'',
''on_xend_start'': ''ignore'',
''on_crash'': ''restart'',
''xend/restart_count'': ''0'',
''vcpus'': ''1'',
''vcpu_avail'': ''1'',
''memory'': ''512'', ''image'':
''(hvm (kernel
/usr/lib/xen/boot/hvmloader) (nographic 0) (vnc 1) (sdl 0) (vncunused 1)
(vncpasswd ) (device_model /usr/lib64/xen/bin/qemu-dm) (display :0.0)
(xauthority /root/.Xauthority) (pae 1) (apic 1) (acpi 1) (boot d) (isa 0)
(localtime 0) (serial pty) (usb 1) (usbdevice mouse) (vcpus 1))'',
''maxmem'':
''512''}
[2006-12-27 19:16:09 xend.XendDomainInfo 10046] DEBUG (XendDomainInfo:731)
Storing domain details: {''console/port'':
''3'', ''name'': ''xm1'',
''console/limit'': ''1048576'',
''vm'':
''/vm/75c73fa7-94c8-94b9-3a97-c3e833aa9353'',
''domid'': ''7'',
''cpu/0/availability'': ''online'',
''memory/target'': ''524288'',
''store/ring-ref'':
''131070'', ''store/port'':
''2''}
[2006-12-27 19:16:09 xend 10046] DEBUG (XendDomain:428) Adding Domain: 7
[2006-12-27 19:16:09 xend 10046] DEBUG (image:547) hvm_shutdown fired,
shutdown reason=None
[2006-12-27 19:16:09 xend 10046] DEBUG (DevController:148) Waiting for
devices vif.
[2006-12-27 19:16:09 xend 10046] DEBUG (image:579) hvm_reboot_feature fired,
module status=None
[2006-12-27 19:16:09 xend 10046] DEBUG (DevController:153) Waiting for 0.
[2006-12-27 19:16:09 xend.XendDomainInfo 10046] DEBUG (XendDomainInfo:731)
Storing domain details: {''console/port'':
''3'', ''name'': ''xm1'',
''console/limit'': ''1048576'',
''vm'':
''/vm/75c73fa7-94c8-94b9-3a97-c3e833aa9353'',
''domid'': ''7'',
''cpu/0/availability'': ''online'',
''memory/target'': ''524288'',
''store/ring-ref'':
''131070'', ''store/port'':
''2''}
[2006-12-27 19:16:09 xend.XendDomainInfo 10046] DEBUG (XendDomainInfo:798)
XendDomainInfo.handleShutdownWatch
[2006-12-27 19:16:09 xend 10046] DEBUG (DevController:521)
hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status.
[2006-12-27 19:16:09 xend 10046] DEBUG (DevController:521)
hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status.
[2006-12-27 19:16:09 xend 10046] DEBUG (DevController:535)
hotplugStatusCallback 1.
[2006-12-27 19:16:10 xend 10046] DEBUG (DevController:148) Waiting for
devices usb.
[2006-12-27 19:16:10 xend 10046] DEBUG (DevController:148) Waiting for
devices vbd.
[2006-12-27 19:16:10 xend 10046] DEBUG (DevController:153) Waiting for 768.
[2006-12-27 19:16:10 xend 10046] DEBUG (DevController:521)
hotplugStatusCallback /local/domain/0/backend/vbd/7/768/hotplug-status.
[2006-12-27 19:16:10 xend 10046] DEBUG (DevController:521)
hotplugStatusCallback /local/domain/0/backend/vbd/7/768/hotplug-status.
[2006-12-27 19:16:10 xend 10046] DEBUG (DevController:535)
hotplugStatusCallback 1.
[2006-12-27 19:16:10 xend 10046] DEBUG (DevController:153) Waiting for 5632.
[2006-12-27 19:16:10 xend 10046] DEBUG (DevController:521)
hotplugStatusCallback /local/domain/0/backend/vbd/7/5632/hotplug-status.
[2006-12-27 19:16:10 xend 10046] DEBUG (DevController:535)
hotplugStatusCallback 1.
[2006-12-27 19:16:10 xend 10046] DEBUG (DevController:148) Waiting for
devices irq.
[2006-12-27 19:16:10 xend 10046] DEBUG (DevController:148) Waiting for
devices vkbd.
[2006-12-27 19:16:10 xend 10046] DEBUG (DevController:148) Waiting for
devices vfb.
[2006-12-27 19:16:10 xend 10046] DEBUG (DevController:148) Waiting for
devices pci.
[2006-12-27 19:16:10 xend 10046] DEBUG (DevController:148) Waiting for
devices ioports.
[2006-12-27 19:16:10 xend 10046] DEBUG (DevController:148) Waiting for
devices tap.
[2006-12-27 19:16:10 xend 10046] DEBUG (DevController:148) Waiting for
devices vtpm.
[2006-12-27 19:16:10 xend 10046] INFO (XendDomain:1020) Domain xm1 (7)
unpaused.
--
regards,
Anand Gupta
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Ryan Worsley
2006-Dec-27 19:56 UTC
Re: [Xen-users] Error: Kernel image does not exist: /usr/lib/xen/boot/hvmloader
Hey There, We''ll need to see your latest qemu log file located in /var/log/xen/ Ryan. Anand Gupta wrote:> Thanks for the quick response Tim. > > Inside xen 3.0.4, tools directory, i ran "make all; make install" and > i got hvmloader now inside /usr/lib/xen/boot. However when i try to > start the domU, it just hangs. > > Here is the log extract from xend.log > > [2006-12-27 19:16:09 xend.XendDomainInfo 10046] DEBUG > (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''xm1''], > [''memory'', 512], [''shadow_memory'', 8], [''vcpus'', 1], [''on_xend_start'', > ''ignore''], [''on_xend_stop'', ''ignore''], [''image'', [''hvm'', [''kernel'', > ''/usr/lib/xen/boot/hvmloader''], [''device_model'', > ''/usr/lib64/xen/bin/qemu-dm''], [''pae'', 1], [''vcpus'', 1], [''boot'', > ''d''], [''fda'', ''''], [''fdb'', ''''], [''localtime'', 0], [''serial'', ''pty''], > [''stdvga'', 0], [''isa'', 0], [''nographic'', 0], [''soundhw'', ''''], [''vnc'', > 1], [''vncunused'', 1], [''sdl'', 0], [''display'', '': 0.0''], [''xauthority'', > ''/root/.Xauthority''], [''acpi'', 1], [''apic'', 1], [''usb'', 1], > [''usbdevice'', ''mouse''], [''keymap'', ''''], [''vncpasswd'', ''XXXXXXXX'']]], > [''device'', [''vbd'', [''uname'', ''phy:/dev/vg01/vol1''], [''dev'', ''hda''], > [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''''], [''dev'', > ''hdc:cdrom''], [''mode'', ''r'']]], [''device'', [''vif'', [''bridge'', > ''xenbr0''], [''type'', ''ioemu'']]]]) > [2006-12-27 19:16:09 xend.XendConfig 10046] WARNING (XendConfig:604) > Unconverted key: cpus > [2006-12-27 19:16:09 xend.XendDomainInfo 10046] DEBUG > (XendDomainInfo:1284) XendDomainInfo.constructDomain > [2006-12-27 19:16:09 xend.XendDomainInfo 10046] DEBUG > (XendDomainInfo:1330) XendDomainInfo.initDomain: 7 256 > [2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: boot, val: d > [2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: fda, val: > [2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: fdb, val: > [2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: soundhw, val: > [2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: localtime, > val: 0 > [2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: serial, val: pty > [2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: std-vga, val: 0 > [2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: isa, val: 0 > [2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: vcpus, val: 1 > [2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: acpi, val: 1 > [2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: usb, val: 1 > [2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: usbdevice, > val: mouse > [2006-12-27 19:16:09 xend 10046] DEBUG (image:397) args: k, val: > [2006-12-27 19:16:09 xend 10046] DEBUG (balloon:127) Balloon: 541328 > KiB free; need 540672; done.[2006-12-27 19:16:09 xend 10046] INFO > (image:125) buildDomain os=hvm dom=7 vcpus=1 > [2006-12-27 19:16:09 xend 10046] DEBUG (image:347) domid = 7 > [2006-12-27 19:16:09 xend 10046] DEBUG (image:348) image = > /usr/lib/xen/boot/hvmloader > [2006-12-27 19:16:09 xend 10046] DEBUG (image:349) store_evtchn = 2 > [2006-12-27 19:16:09 xend 10046] DEBUG (image:350) memsize = 512 > [2006-12-27 19:16:09 xend 10046] DEBUG (image:351) vcpus = 1 > [2006-12-27 19:16:09 xend 10046] DEBUG (image:352) pae = 1 > [2006-12-27 19:16:09 xend 10046] DEBUG (image:353) acpi = 1 > [2006-12-27 19:16:09 xend 10046] DEBUG (image:354) apic = 1 > [2006-12-27 19:16:09 xend 10046] DEBUG (image:521) hvm shutdown watch > registered > [2006-12-27 19:16:09 xend 10046] DEBUG (image:560) hvm reboot feature > watch registered > [2006-12-27 19:16:09 xend.XendDomainInfo 10046] INFO > (XendDomainInfo:1194) createDevice: vbd : {''uname'': > ''phy:/dev/vg01/vol1'', ''driver'': ''paravirtualised'', ''mode'': ''w'', ''dev'': > ''hda'', ''uuid'': ''b50395bb-52ce-c084-3806-27a64b6d0718''} > [2006-12-27 19:16:09 xend 10046] DEBUG (DevController:115) > DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''768'', > ''device-type'': ''disk'', ''state'': ''1'', ''backend'': > ''/local/domain/0/backend/vbd/7/768''} to /local/domain/7/device/vbd/768. > [2006-12-27 19:16:09 xend 10046] DEBUG (DevController:117) > DevController: writing {''domain'': ''xm1'', ''frontend'': > ''/local/domain/7/device/vbd/768'', ''uuid'': > ''b50395bb-52ce-c084-3806-27a64b6d0718'', ''dev'': ''hda'', ''state'': ''1'', > ''params'': ''/dev/vg01/vol1'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': > ''7'', ''type'': ''phy''} to /local/domain/0/backend/vbd/7/768. > [2006-12-27 19:16:09 xend.XendDomainInfo 10046] INFO > (XendDomainInfo:1194) createDevice: vif : {''bridge'': ''xenbr0'', ''type'': > ''ioemu'', ''uuid'': ''3c269233-cce4-5cb0-6253-a2f027ea862f''} > [2006-12-27 19:16:09 xend 10046] DEBUG (DevController:115) > DevController: writing {''state'': ''1'', ''backend-id'': ''0'', ''backend'': > ''/local/domain/0/backend/vif/7/0''} to > /local/domain/7/device/vif/0.[2006-12-27 19:16:09 xend 10046] DEBUG > (DevController:117) DevController: writing {''bridge'': ''xenbr0'', > ''domain'': ''xm1'', ''handle'': ''0'', ''uuid'': > ''3c269233-cce4-5cb0-6253-a2f027ea862f'', ''script'': > ''/etc/xen/scripts/vif-bridge'', ''state'': ''1'', ''frontend'': > ''/local/domain/7/device/vif/0'', ''mac'': ''00:16:3e:57:68:fb'', ''online'': > ''1'', ''frontend-id'': ''7'', ''type'': ''ioemu''} to > /local/domain/0/backend/vif/7/0. > [2006-12-27 19:16:09 xend.XendDomainInfo 10046] INFO > (XendDomainInfo:1194) createDevice: vbd : {''uname'': '''', ''driver'': > ''paravirtualised'', ''mode'': ''r'', ''dev'': ''hdc:cdrom'', ''uuid'': > ''53b2adb8-d0bd-f323-a019-9e49190a27db''} > [2006-12-27 19:16:09 xend 10046] DEBUG (DevController:115) > DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''5632'', > ''device-type'': ''cdrom'', ''state'': ''1'', ''backend'': > ''/local/domain/0/backend/vbd/7/5632''} to /local/domain/7/device/vbd/5632. > [2006-12-27 19:16:09 xend 10046] DEBUG (DevController:117) > DevController: writing {''domain'': ''xm1'', ''frontend'': > ''/local/domain/7/device/vbd/5632'', ''uuid'': > ''53b2adb8-d0bd-f323-a019-9e49190a27db'', ''dev'': ''hdc'', ''state'': ''1'', > ''params'': '''', ''mode'': ''r'', ''online'': ''1'', ''frontend-id'': ''7'', ''type'': > ''''} to /local/domain/0/backend/vbd/7/5632. > [2006-12-27 19:16:09 xend 10046] INFO (image:489) spawning device > models: /usr/lib64/xen/bin/qemu-dm [''/usr/lib64/xen/bin/qemu-dm'', > ''-d'', ''7'', ''-m'', ''512'', ''-boot'', ''d'', ''-serial'', ''pty'', ''-vcpus'', ''1'', > ''-acpi'', ''-usb'', ''-usbdevice'', ''mouse'', ''-domain-name'', ''xm1'', ''-net'', > ''nic,vlan=1,macaddr=00:16:3e:6b:aa:bd,model=rtl8139'', ''-net'', > ''tap,vlan=1,bridge=xenbr0'', ''-vncunused'', ''-vnclisten'', '' 127.0.0.1 > <http://127.0.0.1>''] > [2006-12-27 19:16:09 xend 10046] INFO (image:493) device model pid: 10934 > [2006-12-27 19:16:09 xend.XendDomainInfo 10046] DEBUG > (XendDomainInfo:1714) Storing VM details: {''on_xend_stop'': ''ignore'', > ''shadow_memory'': ''8'', ''uuid'': ''75c73fa7-94c8-94b9-3a97-c3e833aa9353'', > ''name'': ''xm1'', ''on_reboot'': ''restart'', ''start_time'': '' 1167227169.59'', > ''on_poweroff'': ''destroy'', ''on_xend_start'': ''ignore'', ''on_crash'': > ''restart'', ''xend/restart_count'': ''0'', ''vcpus'': ''1'', ''vcpu_avail'': ''1'', > ''memory'': ''512'', ''image'': ''(hvm (kernel /usr/lib/xen/boot/hvmloader) > (nographic 0) (vnc 1) (sdl 0) (vncunused 1) (vncpasswd ) (device_model > /usr/lib64/xen/bin/qemu-dm) (display : 0.0) (xauthority > /root/.Xauthority) (pae 1) (apic 1) (acpi 1) (boot d) (isa 0) > (localtime 0) (serial pty) (usb 1) (usbdevice mouse) (vcpus 1))'', > ''maxmem'': ''512''} > [2006-12-27 19:16:09 xend.XendDomainInfo 10046] DEBUG > (XendDomainInfo:731) Storing domain details: {''console/port'': ''3'', > ''name'': ''xm1'', ''console/limit'': ''1048576'', ''vm'': > ''/vm/75c73fa7-94c8-94b9-3a97-c3e833aa9353'', ''domid'': ''7'', > ''cpu/0/availability'': ''online'', ''memory/target'': ''524288'', > ''store/ring-ref'': ''131070'', ''store/port'': ''2''} > [2006-12-27 19:16:09 xend 10046] DEBUG (XendDomain:428) Adding Domain: 7 > [2006-12-27 19:16:09 xend 10046] DEBUG (image:547) hvm_shutdown fired, > shutdown reason=None > [2006-12-27 19:16:09 xend 10046] DEBUG (DevController:148) Waiting for > devices vif. > [2006-12-27 19:16:09 xend 10046] DEBUG (image:579) hvm_reboot_feature > fired, module status=None > [2006-12-27 19:16:09 xend 10046] DEBUG (DevController:153) Waiting for 0. > [2006-12-27 19:16:09 xend.XendDomainInfo 10046] DEBUG > (XendDomainInfo:731) Storing domain details: {''console/port'': ''3'', > ''name'': ''xm1'', ''console/limit'': ''1048576'', ''vm'': > ''/vm/75c73fa7-94c8-94b9-3a97-c3e833aa9353'', ''domid'': ''7'', > ''cpu/0/availability'': ''online'', ''memory/target'': ''524288'', > ''store/ring-ref'': ''131070'', ''store/port'': ''2''} > [2006-12-27 19:16:09 xend.XendDomainInfo 10046] DEBUG > (XendDomainInfo:798) XendDomainInfo.handleShutdownWatch > [2006-12-27 19:16:09 xend 10046] DEBUG (DevController:521) > hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status. > [2006-12-27 19:16:09 xend 10046] DEBUG (DevController:521) > hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status. > [2006-12-27 19:16:09 xend 10046] DEBUG (DevController:535) > hotplugStatusCallback 1. > [2006-12-27 19:16:10 xend 10046] DEBUG (DevController:148) Waiting for > devices usb. > [2006-12-27 19:16:10 xend 10046] DEBUG (DevController:148) Waiting for > devices vbd. > [2006-12-27 19:16:10 xend 10046] DEBUG (DevController:153) Waiting for > 768. > [2006-12-27 19:16:10 xend 10046] DEBUG (DevController:521) > hotplugStatusCallback /local/domain/0/backend/vbd/7/768/hotplug-status. > [2006-12-27 19:16:10 xend 10046] DEBUG (DevController:521) > hotplugStatusCallback /local/domain/0/backend/vbd/7/768/hotplug-status. > [2006-12-27 19:16:10 xend 10046] DEBUG (DevController:535) > hotplugStatusCallback 1. > [2006-12-27 19:16:10 xend 10046] DEBUG (DevController:153) Waiting for > 5632. > [2006-12-27 19:16:10 xend 10046] DEBUG (DevController:521) > hotplugStatusCallback /local/domain/0/backend/vbd/7/5632/hotplug-status. > [2006-12-27 19:16:10 xend 10046] DEBUG (DevController:535) > hotplugStatusCallback 1. > [2006-12-27 19:16:10 xend 10046] DEBUG (DevController:148) Waiting for > devices irq. > [2006-12-27 19:16:10 xend 10046] DEBUG (DevController:148) Waiting for > devices vkbd. > [2006-12-27 19:16:10 xend 10046] DEBUG (DevController:148) Waiting for > devices vfb. > [2006-12-27 19:16:10 xend 10046] DEBUG (DevController:148) Waiting for > devices pci. > [2006-12-27 19:16:10 xend 10046] DEBUG (DevController:148) Waiting for > devices ioports. > [2006-12-27 19:16:10 xend 10046] DEBUG (DevController:148) Waiting for > devices tap. > [2006-12-27 19:16:10 xend 10046] DEBUG (DevController:148) Waiting for > devices vtpm. > [2006-12-27 19:16:10 xend 10046] INFO (XendDomain:1020) Domain xm1 (7) > unpaused. > > -- > regards, > > Anand Gupta > ------------------------------------------------------------------------ > > _______________________________________________ > 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
Anand Gupta
2006-Dec-27 20:38 UTC
[Xen-devel] Re: [Xen-users] Error: Kernel image does not exist: /usr/lib/xen/boot/hvmloader
Dear Ryan, Here is the latest log file content. If i missed in my earlier post, the file system which i was passing in the config is basically a raw lvm which i planned to use for the installation. The system was suppose to boot up from the cdrom. domid: 8 qemu: the number of cpus is 1 qemu_map_cache_init nr_buckets = 200 shared page at pfn:1ffff buffered io page at pfn:1fffd xs_read(): vncpasswd get error. /vm/c4e43b63-a488-90eb-1f7a-ed8c168b90a9/vncpasswd. char device redirected to /dev/pts/1 I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 On 12/28/06, Ryan Worsley <R.C.Worsley@sussex.ac.uk> wrote:> > We''ll need to see your latest qemu log file located in /var/log/xen/ >Thanks. -- regards, Anand Gupta _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ryan Worsley
2006-Dec-27 22:29 UTC
Re: [Xen-users] Error: Kernel image does not exist: /usr/lib/xen/boot/hvmloader
Anand, It would seem that you have some kind of vnc bug, I can''t help you there. You might want to try turning vnc off in the config file and set sdl=1 instead. This of course requires your having sdl support in your system. Ryan. Anand Gupta wrote:> Dear Ryan, > > Here is the latest log file content. If i missed in my earlier post, > the file system which i was passing in the config is basically a raw > lvm which i planned to use for the installation. The system was > suppose to boot up from the cdrom. > > domid: 8 > qemu: the number of cpus is 1 > qemu_map_cache_init nr_buckets = 200 > shared page at pfn:1ffff > buffered io page at pfn:1fffd > xs_read(): vncpasswd get error. > /vm/c4e43b63-a488-90eb-1f7a-ed8c168b90a9/vncpasswd. > char device redirected to /dev/pts/1 > I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 > > On 12/28/06, *Ryan Worsley* < R.C.Worsley@sussex.ac.uk > <mailto:R.C.Worsley@sussex.ac.uk>> wrote: > > We''ll need to see your latest qemu log file located in /var/log/xen/ > > > Thanks. > > -- > regards, > > Anand Gupta > ------------------------------------------------------------------------ > > _______________________________________________ > 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
Anand Gupta
2006-Dec-28 10:20 UTC
Re: [Xen-users] Error: Kernel image does not exist: /usr/lib/xen/boot/hvmloader
Dear Ryan, Thanks for the response. The base system i have here is Centos 4.4. Surprising about the vnc bug. I will try with vnc off. Can you tell me what is sdl ? On 12/28/06, Ryan Worsley <R.C.Worsley@sussex.ac.uk> wrote:> It would seem that you have some kind of vnc bug, I can''t help you > there. You might want to try turning vnc off in the config file and set > sdl=1 instead. This of course requires your having sdl support in your > system. >-- regards, Anand Gupta _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Keir Fraser
2006-Dec-28 14:53 UTC
Re: [Xen-devel] Re: [Xen-users] Error: Kernel image does not exist: /usr/lib/xen/boot/hvmloader
On 27/12/06 1:28 pm, "Tim Post" <tim.post@netkinetics.net> wrote:> I''m not 100% sure that in 3.0.4 the build process won''t halt if it can''t > build some of the qemu / hvm related tools. More than likely you were > missing stuff make needed to build it, but it didn''t halt .. and just > flew by.It''s still just a warning, so you have to keep an eye out for it. Possibly we should make bcc a build requirement now, as I''m sure most people building Xen want the HVM functionality. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ryan Worsley
2006-Dec-28 17:55 UTC
Re: [Xen-users] Error: Kernel image does not exist: /usr/lib/xen/boot/hvmloader
Anand, SDL is a windowing system in linux as far as I know. You may need to have various dependencies satisfied and re-compile the Xen tools for it to work. The dependencies are explained in the PDF instructions on the xensource web page. Good luck, Ryan. Anand Gupta wrote:> Dear Ryan, > > Thanks for the response. > > The base system i have here is Centos 4.4. Surprising about the vnc bug. > > I will try with vnc off. Can you tell me what is sdl ? > > On 12/28/06, *Ryan Worsley* <R.C.Worsley@sussex.ac.uk > <mailto:R.C.Worsley@sussex.ac.uk>> wrote: > > It would seem that you have some kind of vnc bug, I can''t help you > there. You might want to try turning vnc off in the config file > and set > sdl=1 instead. This of course requires your having sdl support in > your > system. > > > > -- > regards, > > Anand Gupta_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tim Post
2006-Dec-28 18:03 UTC
Re: [Xen-users] Error: Kernel image does not exist: /usr/lib/xen/boot/hvmloader
On Thu, 2006-12-28 at 17:55 +0000, Ryan Worsley wrote:> Anand, > > SDL is a windowing system in linux as far as I know. You may need to > have various dependencies satisfied and re-compile the Xen tools for it > to work. The dependencies are explained in the PDF instructions on the > xensource web page. > > Good luck, > > Ryan. >The libx11-dev meta package (or its yum-ish equiv) should suffice and pull in everything needed. If your doing this over SSH, remember that you''ll need X over SSH forwarding enabled and it could be frustratingly slow depending on your connection.> > Anand Gupta wrote: > > Dear Ryan, > > > > Thanks for the response. > > > > The base system i have here is Centos 4.4. Surprising about the vnc bug. > > > > I will try with vnc off. Can you tell me what is sdl ? > > > > On 12/28/06, *Ryan Worsley* <R.C.Worsley@sussex.ac.uk > > <mailto:R.C.Worsley@sussex.ac.uk>> wrote: > > > > It would seem that you have some kind of vnc bug, I can''t help you > > there. You might want to try turning vnc off in the config file > > and set > > sdl=1 instead. This of course requires your having sdl support in > > your > > system. > > > > > > > > -- > > regards, > > > > Anand Gupta > > > _______________________________________________ > 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