WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-devel] Re: [Xen-users] Error: Kernel image does not exist: /usr/lib

To: tim.post@xxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: [Xen-users] Error: Kernel image does not exist: /usr/lib/xen/boot/hvmloader
From: "Anand Gupta" <xen.mails@xxxxxxxxx>
Date: Wed, 27 Dec 2006 19:19:13 +0530
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Xen Users <Xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 27 Dec 2006 05:49:04 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=m+p65lwG7bUEQtxLCWBGsUI0Rsx9Mujdrx2Y/vzvAICHYYBLyxOHPsnEyCP59yT9hQgywdhUnyaVV4eEYczwWVvHnA4n7Br7bIeSlJgVZqyp3N16CBmtmgofMhZaHULNnlxmf7iFEBmNKw3nKnAxNhnMNilrVwEzgeProsS0m+A=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1167226128.7667.268.camel@tower>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <acb757c00612270413o2d3157d3t81c2b4f2f6c56206@xxxxxxxxxxxxxx> <1167226128.7667.268.camel@tower>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel