[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Problem with making a guest of CentOS 5 image of jailtime.


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Jim van Wel" <jim@xxxxxxxxxxxxx>
  • Date: Thu, 7 Jun 2007 11:57:22 +0200 (CEST)
  • Delivery-date: Thu, 07 Jun 2007 02:55:44 -0700
  • Importance: Normal
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi all,

I have a strange problem with the CentOS 5 package on jailtime. All the
other images work just fine, but this one is not. Now i'm wondering why.
Here is the output.

xen.cfg:

kernel = "/boot/vmlinuz-2.6.18-xen_3.1.0"
ramdisk = "/boot/initrd-2.6.18-xen_3.1.0.img"
memory = 512
name = "alleenregistratie.nl"
vif = [ 'mac=00:16:3E:7C:45:E1, vifname=alleenregistratie' ]
#dhcp = "dhcp"
disk = ['file:/home/registratie/centos5/centos.5-0.img,sda1,w',
'file:/home/registratie/centos5/centos.swap,sda2,w']
root = "/dev/sda1 ro"

Starting it gives this error:

[root@vps1 xen]# xm create -c /etc/xen/alleenregistratie.nl.cfg
Using config file "/etc/xen/alleenregistratie.nl.cfg".
Error: Device 0 (vif) could not be connected. Hotplug scripts not working.

xend.log:

[2007-06-07 11:43:36 4886] DEBUG (XendDomainInfo:78)
XendDomainInfo.create(['vm', ['name', 'alleenregistratie.nl'], ['memory',
512], ['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop',
'ignore'], ['image', ['linux', ['kernel',
'/boot/vmlinuz-2.6.18-xen_3.1.0'], ['root', '/dev/sda1 ro']]], ['device',
['vbd', ['uname', 'file:/home/registratie/centos5/centos.5-0.img'],
['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname',
'file:/home/registratie/centos5/centos.swap'], ['dev', 'sda2'], ['mode',
'w']]], ['device', ['vif', ['mac', '00:16:3E:7C:45:E1'], ['vifname',
'alleenregistratie']]]])
[2007-06-07 11:43:36 4886] DEBUG (XendDomainInfo:1414)
XendDomainInfo.constructDomain
[2007-06-07 11:43:36 4886] DEBUG (balloon:113) Balloon: 525244 KiB free;
need 2048; done.
[2007-06-07 11:43:36 4886] DEBUG (XendDomain:434) Adding Domain: 4
[2007-06-07 11:43:36 4886] DEBUG (XendDomainInfo:1468)
XendDomainInfo.initDomain: 4 256
[2007-06-07 11:43:36 4886] DEBUG (XendDomainInfo:1500)
_initDomain:shadow_memory=0x0, memory_static_max=0x20000000,
memory_static_min=0x0.
[2007-06-07 11:43:36 4886] DEBUG (balloon:113) Balloon: 525244 KiB free;
need 524288; done.
[2007-06-07 11:43:36 4886] INFO (image:129) buildDomain os=linux dom=4
vcpus=1
[2007-06-07 11:43:36 4886] DEBUG (image:198) domid          = 4
[2007-06-07 11:43:36 4886] DEBUG (image:199) memsize        = 512
[2007-06-07 11:43:36 4886] DEBUG (image:200) image          =
/boot/vmlinuz-2.6.18-xen_3.1.0
[2007-06-07 11:43:36 4886] DEBUG (image:201) store_evtchn   = 1
[2007-06-07 11:43:36 4886] DEBUG (image:202) console_evtchn = 2
[2007-06-07 11:43:36 4886] DEBUG (image:203) cmdline        =
root=/dev/sda1 ro
[2007-06-07 11:43:36 4886] DEBUG (image:204) ramdisk        =
[2007-06-07 11:43:36 4886] DEBUG (image:205) vcpus          = 1
[2007-06-07 11:43:36 4886] DEBUG (image:206) features       =
[2007-06-07 11:43:36 4886] INFO (XendDomainInfo:1316) createDevice: vbd :
{'uuid': '844bd7f6-90bb-19a0-03aa-0c7f2d95bd68', 'bootable': 1, 'driver':
'paravirtualised', 'dev': 'sda1', 'uname':
'file:/home/registratie/centos5/centos.5-0.img', 'mode': 'w'}
[2007-06-07 11:43:36 4886] DEBUG (DevController:115) DevController:
writing {'backend-id': '0', 'virtual-device': '2049', 'device-type':
'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/4/2049'} to
/local/domain/4/device/vbd/2049.
[2007-06-07 11:43:36 4886] DEBUG (DevController:117) DevController:
writing {'domain': 'alleenregistratie.nl', 'frontend':
'/local/domain/4/device/vbd/2049', 'uuid':
'844bd7f6-90bb-19a0-03aa-0c7f2d95bd68', 'dev': 'sda1', 'state': '1',
'params': '/home/registratie/centos5/centos.5-0.img', 'mode': 'w',
'online': '1', 'frontend-id': '4', 'type': 'file'} to
/local/domain/0/backend/vbd/4/2049.
[2007-06-07 11:43:36 4886] INFO (XendDomainInfo:1316) createDevice: vbd :
{'uuid': '52d2cbaf-ecef-3893-ac37-9f2aa88a5a2a', 'bootable': 0, 'driver':
'paravirtualised', 'dev': 'sda2', 'uname':
'file:/home/registratie/centos5/centos.swap', 'mode': 'w'}
[2007-06-07 11:43:36 4886] DEBUG (DevController:115) DevController:
writing {'backend-id': '0', 'virtual-device': '2050', 'device-type':
'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/4/2050'} to
/local/domain/4/device/vbd/2050.
[2007-06-07 11:43:36 4886] DEBUG (DevController:117) DevController:
writing {'domain': 'alleenregistratie.nl', 'frontend':
'/local/domain/4/device/vbd/2050', 'uuid':
'52d2cbaf-ecef-3893-ac37-9f2aa88a5a2a', 'dev': 'sda2', 'state': '1',
'params': '/home/registratie/centos5/centos.swap', 'mode': 'w', 'online':
'1', 'frontend-id': '4', 'type': 'file'} to
/local/domain/0/backend/vbd/4/2050.
[2007-06-07 11:43:36 4886] INFO (XendDomainInfo:1316) createDevice: vif :
{'mac': '00:16:3E:7C:45:E1', 'vifname': 'alleenregistratie', 'uuid':
'f0fb63df-21da-379d-da97-b4401a06c79c'}
[2007-06-07 11:43:36 4886] DEBUG (DevController:115) DevController:
writing {'backend-id': '0', 'mac': '00:16:3E:7C:45:E1', 'handle': '0',
'state': '1', 'backend': '/local/domain/0/backend/vif/4/0'} to
/local/domain/4/device/vif/0.
[2007-06-07 11:43:36 4886] DEBUG (DevController:117) DevController:
writing {'domain': 'alleenregistratie.nl', 'handle': '0', 'uuid':
'f0fb63df-21da-379d-da97-b4401a06c79c', 'script':
'/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend':
'/local/domain/4/device/vif/0', 'mac': '00:16:3E:7C:45:E1', 'vifname':
'alleenregistratie', 'online': '1', 'frontend-id': '4', 'type':
'netfront'} to /local/domain/0/backend/vif/4/0.
[2007-06-07 11:43:36 4886] DEBUG (XendDomainInfo:1973) Storing VM details:
{'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid':
'2f134688-385a-2982-6bad-5ece567e955a', 'on_reboot': 'restart',
'start_time': '1181209416.56', 'on_poweroff': 'destroy', 'on_xend_start':
'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1',
'vcpu_avail': '1', 'image': "(linux (kernel
/boot/vmlinuz-2.6.18-xen_3.1.0) (args 'root=/dev/sda1 ro ') (notes
(HV_START_LOW -176160768) (FEATURES
'writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel')
(VIRT_BASE -1073741824) (GUEST_VERSION 2.6) (PADDR_OFFSET -1073741824)
(GUEST_OS linux) (HYPERCALL_PAGE -1072689152) (LOADER generic)
(SUSPEND_CANCEL 1) (PAE_MODE yes) (ENTRY -1072693248) (XEN_VERSION
xen-3.0)))", 'name': 'alleenregistratie.nl'}
[2007-06-07 11:43:36 4886] DEBUG (XendDomainInfo:824) Storing domain
details: {'console/ring-ref': '149072', 'image/entry': '-1072693248',
'console/port': '2', 'store/ring-ref': '149073', 'image/loader':
'generic', 'vm': '/vm/2f134688-385a-2982-6bad-5ece567e955a',
'control/platform-feature-multiprocessor-suspend': '1',
'image/hv-start-low': '-176160768', 'image/guest-os': 'linux',
'image/features/writable-descriptor-tables': '1', 'image/virt-base':
'-1073741824', 'memory/target': '524288', 'image/guest-version': '2.6',
'image/features/supervisor-mode-kernel': '1', 'image/pae-mode': 'yes',
'console/limit': '1048576', 'image/paddr-offset': '-1073741824',
'image/hypercall-page': '-1072689152', 'image/suspend-cancel': '1',
'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1',
'image/features/writable-page-tables': '1',
'image/features/auto-translated-physmap': '1', 'name':
'alleenregistratie.nl', 'domid': '4', 'image/xen-version': 'xen-3.0',
'store/port': '1'}
[2007-06-07 11:43:36 4886] DEBUG (DevController:115) DevController:
writing {'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/console/4/0'} to
/local/domain/4/device/console/0.
[2007-06-07 11:43:36 4886] DEBUG (DevController:117) DevController:
writing {'domain': 'alleenregistratie.nl', 'protocol': 'vt100', 'uuid':
'c2b9abbd-4e8a-80ee-8f47-666dd27ae119', 'frontend':
'/local/domain/4/device/console/0', 'state': '1', 'location': '2',
'online': '1', 'frontend-id': '4'} to /local/domain/0/backend/console/4/0.
[2007-06-07 11:43:36 4886] DEBUG (XendDomainInfo:824) Storing domain
details: {'console/ring-ref': '149072', 'image/entry': '-1072693248',
'console/port': '2', 'store/ring-ref': '149073', 'image/loader':
'generic', 'vm': '/vm/2f134688-385a-2982-6bad-5ece567e955a',
'control/platform-feature-multiprocessor-suspend': '1',
'image/hv-start-low': '-176160768', 'image/guest-os': 'linux',
'image/features/writable-descriptor-tables': '1', 'image/virt-base':
'-1073741824', 'memory/target': '524288', 'image/guest-version': '2.6',
'image/features/supervisor-mode-kernel': '1', 'image/pae-mode': 'yes',
'console/limit': '1048576', 'image/paddr-offset': '-1073741824',
'image/hypercall-page': '-1072689152', 'image/suspend-cancel': '1',
'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1',
'image/features/writable-page-tables': '1',
'image/features/auto-translated-physmap': '1', 'name':
'alleenregistratie.nl', 'domid': '4', 'image/xen-version': 'xen-3.0',
'store/port': '1'}
[2007-06-07 11:43:36 4886] DEBUG (XendDomainInfo:908)
XendDomainInfo.handleShutdownWatch
[2007-06-07 11:43:36 4886] DEBUG (DevController:148) Waiting for devices vif.
[2007-06-07 11:43:36 4886] DEBUG (DevController:153) Waiting for 0.
[2007-06-07 11:43:36 4886] DEBUG (DevController:539) hotplugStatusCallback
/local/domain/0/backend/vif/4/0/hotplug-status.
[2007-06-07 11:45:16 4886] DEBUG (XendDomainInfo:824) Storing domain
details: {'console/ring-ref': '149072', 'image/entry': '-1072693248',
'console/port': '2', 'store/ring-ref': '149073', 'image/loader':
'generic', 'vm': '/vm/2f134688-385a-2982-6bad-5ece567e955a',
'control/platform-feature-multiprocessor-suspend': '1',
'image/hv-start-low': '-176160768', 'image/guest-os': 'linux',
'image/features/writable-descriptor-tables': '1', 'image/virt-base':
'-1073741824', 'memory/target': '524288', 'image/guest-version': '2.6',
'image/features/supervisor-mode-kernel': '1', 'image/pae-mode': 'yes',
'console/limit': '1048576', 'image/paddr-offset': '-1073741824',
'image/hypercall-page': '-1072689152', 'image/suspend-cancel': '1',
'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1',
'image/features/writable-page-tables': '1',
'image/features/auto-translated-physmap': '1', 'name':
'alleenregistratie.nl', 'domid': '4', 'image/xen-version': 'xen-3.0',
'store/port': '1'}
[2007-06-07 11:45:16 4886] DEBUG (XendDomainInfo:1660)
XendDomainInfo.destroy: domid=4
[2007-06-07 11:45:16 4886] DEBUG (XendDomainInfo:1677)
XendDomainInfo.destroyDomain(4)
[2007-06-07 11:45:19 4886] DEBUG (DevController:539) hotplugStatusCallback
/local/domain/0/backend/vif/4/0/hotplug-status.
[2007-06-07 11:45:19 4886] DEBUG (DevController:539) hotplugStatusCallback
/local/domain/0/backend/vif/4/0/hotplug-status.
[2007-06-07 11:45:19 4886] DEBUG (DevController:539) hotplugStatusCallback
/local/domain/0/backend/vif/1/0/hotplug-status.
[2007-06-07 11:45:19 4886] DEBUG (DevController:539) hotplugStatusCallback
/local/domain/0/backend/vif/3/0/hotplug-status.
[2007-06-07 11:45:19 4886] DEBUG (DevController:539) hotplugStatusCallback
/local/domain/0/backend/vif/4/0/hotplug-status.

I also have seen this post:

http://lists.xensource.com/archives/html/xen-users/2007-05/msg00035.html

But when I try to make a new initrd like this:

mkinitrd -v -f --with=xennet --preload=xenblk /boot/xen-initrd.img
2.6.18-xen_3.1.0

I get:

Creating initramfs
Looking for deps of module xenblk
No module xenblk found for kernel 2.6.18-xen_3.1.0, aborting.

And this is really frustrating, because on Fedora 6 and RedHat 5 this
command is working very well. I'm missing some modules. So need I do some
other command?
Help is appreciated.

I'm using RHEL 4.5 with XEN 3.1 packages of:

http://www.xensource.com/download/dl_31rhel4.html

Greetings,
Jim.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.